1 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
3 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
4 if LIBC_EXTRA_LIB is present.
5 * libc/Makefile.in: Regenerated.
6 * libc/libc.texinfo: Add blank line.
7 * libc/argz/Makefile.am: Add doc support.
8 * libc/search/Makefile.am: Ditto.
9 * libc/argz/Makefile.in: Regenerated.
10 * libc/search/Makefile.in: Ditto.
11 * libc/misc/misc.tex: Add ffs function.
12 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
14 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
16 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
17 definition that was removed in error.
19 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
21 * libc/include/machine/ieeefp.h: Change to only define
22 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
23 __IEEE_LITTLE_ENDIAN must be defined for each platform).
24 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
25 remove redundant floating point definitions.
27 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
29 * libc/sys/linux/callocr.c: Fix so code references
32 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
34 * libc/sys/linux/Makefile.am: Add new files.
35 * libc/sys/linux/Makefile.in: Regenerated.
36 * libc/sys/linux/bp-sym.h: Moved to include directory.
37 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
38 * libc/sys/linux/inode.c: Set _LIBC to 1.
39 * libc/sys/linux/mq_close.c: Ditto.
40 * libc/sys/linux/mq_getattr.c: Ditto.
41 * libc/sys/linux/mq_open.c: Ditto.
42 * libc/sys/linux/mq_receive.c: Ditto.
43 * libc/sys/linux/mq_send.c: Ditto.
44 * libc/sys/linux/mq_setattr.c: Ditto.
45 * libc/sys/linux/mq_unlink.c: Ditto.
46 * libc/sys/linux/calloc.c: New file.
47 * libc/sys/linux/callocr.c: Ditto.
48 * libc/sys/linux/cfreer.c: Ditto.
49 * libc/sys/linux/config.h: Ditto.
50 * libc/sys/linux/free.c: Ditto.
51 * libc/sys/linux/freer.c: Ditto.
52 * libc/sys/linux/msize.c: Ditto.
53 * libc/sys/linux/msizer.c: Ditto.
54 * libc/sys/linux/mstats.c: Ditto.
55 * libc/sys/linux/mtrim.c: Ditto.
56 * libc/sys/linux/mtrimr.c: Ditto.
57 * libc/sys/linux/pvallocr.c: Ditto.
58 * libc/sys/linux/realloc.c: Ditto.
59 * libc/sys/linux/reallocr.c: Ditto.
60 * libc/sys/linux/thread-m.h: Ditto.
61 * libc/sys/linux/vallocr.c: Ditto.
62 * libc/sys/linux/bp-checks.h: Ditto.
63 * libc/sys/linux/libc-symbols.h: Ditto.
64 * libc/sys/linux/libc-tsd.h: Ditto.
65 * libc/sys/linux/libintl.h: Ditto.
66 * libc/sys/linux/malign.c: Ditto.
67 * libc/sys/linux/malignr.c: Ditto.
68 * libc/sys/linux/mallinfor.c: Ditto.
69 * libc/sys/linux/malloc.c: Ditto.
70 * libc/sys/linux/mallocr.c: Ditto.
71 * libc/sys/linux/malloptr.c: Ditto.
72 * libc/sys/linux/mallstatsr.c: Ditto.
73 * libc/sys/linux/mcheck.c: Ditto.
74 * libc/sys/linux/mhooks.h: Ditto.
75 * libc/sys/linux/include/bp-sym.h: Ditto.
76 * libc/sys/linux/include/malloc.h: Ditto.
77 * libc/sys/linux/include/mcheck.h: Ditto.
78 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
80 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
81 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
82 * libc/sys/linux/machine/i386/getpagesize.c: New file.
83 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
84 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
85 * libc/sys/linux/machine/i386/sysdep.h: New file.
86 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
87 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
88 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
90 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
92 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
93 instead of <asm/siginfo.h>.
94 * libc/sys/linux/sys/signal.h: Change to include various linux
95 <bits/xxx.h> header files, rather than <linux/signal.h> so as
96 to work with multiple releases of glibc header files.
98 2002-07-11 Chris Demetriou <cgd@broadcom.com>
100 * testsuite/newlib.search/hsearchtest.c: New file to test
102 * testsuite/newlib.search/hsearchtest.exp: Likewise.
104 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
106 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
108 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
110 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
112 * libc/include/math.h (MAXFLOAT): Added.
114 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
116 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
117 Make strcmp.S unconditional.
118 * libc/machine/sh/Makefile.in: Regenerate.
119 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
120 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
123 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
125 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
126 define before including <sys/lock.h>.
128 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
130 * libc/include/utime.h: Add include of <_ansi.h>.
131 * libc/sys/linux/Makefile.am: Add utimes.c.
132 * libc/sys/linux/Makefile.in: Regenerated.
133 * libc/sys/linux/inode.c(__umask): New static routine.
134 (umask): Written to use __umask and attempt to thread lock.
135 (getumask): New function written to use __umask and thread lock.
136 * libc/sys/linux/utimes.c: New file.
137 * libc/sys/linux/sys/time.h: Fix utimes prototype.
138 * libc/sys/linux/sys/utime.h: New file.
140 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
142 * libtool.m4: New file.
143 * libc/sys/linux/process.c: Implement vfork in terms of fork,
144 rather than as a syscall.
146 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
148 * libc/include/stdio.h: Add new prototypes.
149 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
150 * libc/stdio/Makefile.in: Regenerated.
151 * libc/stdio/fseek.c: Add fseeko documentation.
152 * libc/stdio/ftell.c: Add ftello documentation.
153 * libc/stdio/fseeko.c: New file.
154 * libc/stdio/ftello.c: New file.
156 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
158 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
159 * libc/stdio/Makefile.in: Regenerated.
160 * libc/stdio/asprintf.c: New file.
161 * libc/stdio/vasprintf.c: Ditto.
162 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
163 the buffer for asprintf support.
164 * libc/stdio/sprintf.c: Add asprintf documentation.
165 * libc/stdio/vfprintf.c: Add vasprintf documentation.
166 * libc/include/stdio.h: Add new prototypes.
168 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
170 * libc/search/hcreate.c: Remove advertising clause from license.
171 * libc/search/hcreate_r.c: Likewise.
173 2002-07-02 Chris Demetriou <cgd@broadcom.com>
175 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
176 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
177 Check that one of them is defined and error out if not.
178 Add any platforms defined in <machine/ieeefp.h> that are missing.
179 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
180 (DB_LITTLE_ENDIAN): New defines.
181 * libc/search/hash.c: Replace all incorrect checks for
182 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
183 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
184 * libc/search/hash_page.c: Likewise.
186 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
188 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
190 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
192 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
193 * libc/include/time.h: Same.
194 * libc/include/string.h: Same.
195 * libc/include/stdlib.h: Same.
196 * libc/include/signal.h: Same.
197 * libc/include/setjmp.h: Same.
198 * libc/include/math.h: Same.
199 * libc/include/locale.h: Same.
200 * libc/include/ctype.h: Same.
201 * libc/include/machine/setjmp.h: Same.
202 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
205 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
207 * libc/include/sys/_types.h: Define _ssize_t as int if int is
208 32-bits, otherwise define it as long.
209 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
210 and define ssize_t as _ssize_t.
211 * libc/reent/readr.c: Change return type to _ssize_t.
212 * libc/reent/writer.c: Ditto.
213 * libc/sys/linux/Makefile.am: Add aio.c.
214 * libc/sys/linux/Makefile.in: Regenerated.
215 * libc/sys/linux/aio.c: New file.
216 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
217 * libm/common/fdlibm.h: Undef __P before defining it.
219 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
221 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
222 exponent_is_even_int variable. Handle case where x is
223 negative, and y is an odd integer.
224 * libm/mathfp/sf_pow.c (powf): Likewise.
226 * libm/mathfp/er_lgamma.c: Remove __kernel references.
227 * libm/mathfp/erf_lgamma.c: Likewise.
228 * libm/mathfp/s_tgamma.c: Likewise.
229 * libm/mathfp/sf_tgamma.c: Likewise.
231 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
233 * libc/sys/linux/Makefile.am: Add new clock routines.
234 * libc/sys/linux/Makefile.in: Regenerated.
235 * libc/sys/linux/clock_getres.c: New file.
236 * libc/sys/linux/clock_gettime.c: Ditto.
237 * libc/sys/linux/clock_settime.c: Ditto.
238 * libc/sys/linux/hp-timing.h: Ditto.
239 * libc/sys/linux/libc-internal.h: Ditto.
240 * libc/sys/linux/sysconf.c: Fix typo.
241 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
242 * libc/sys/linux/machine/hp-timing.h: New file.
243 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
244 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
245 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
246 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
247 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
248 * libc/sys/linux/sys/linux_time.h: New file.
249 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
250 replace with <sys/linux_time.h>.
252 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
254 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
256 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
258 * libc/sys/linux/Makefile.am: Consolidate additional items under
260 * libc/sys/linux/Makefile.in: Regenerated.
262 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
264 * libc/sys/linux/sethostname.c: New file.
265 * libc/sys/linux/Makefile.am: Add sethostname.c support.
266 * libc/sys/linux/Makefile.in: Regenerated.
268 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
270 * libc/search/db_local.h: New file.
271 * libc/include/db.h: Remove.
272 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
273 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
275 * libc/search/hash_bigkey.c: Likewise.
276 * libc/search/hash_buf.c: Likewise.
277 * libc/search/hash_func.c: Likewise.
278 * libc/search/hash_log2.c: Likewise.
279 * libc/search/hash_page.c: Likewise.
281 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
283 * libc/machine/sh/strlen.S: New file.
284 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
285 * libc/machine/sh/Makefile.am: Regenerate.
287 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
289 * libc/sys/linux/gethostname.c: Change name to __gethostname and
290 add gethostname alias.
292 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
294 * libc/include/math.h: Remove <sys/types.h>.
295 (__dmath): Use __ULong instead of __uint32_t.
296 * libc/include/sys/reent.h: If long or int is not 32-bits,
297 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
298 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
299 * libm/common/fdlibm.h: Ditto.
301 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
303 * libc/include/ndbm.h: Remove.
304 * libc/search/ndbm.c: Remove.
306 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
308 * libc/stdio/fseek.c (fseek): Fix braces.
310 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
312 * libc/time/strftime.c (strftime): Add %e format specifier.
314 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
316 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
319 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
321 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
322 (BYTE_ORDER): Define as appropriate for the target.
324 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
326 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
328 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
330 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
332 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
333 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
334 [HAVE_GETDATE](getdate_err): New error code.
335 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
336 * libc/stdio/Makefile.in: Regenerated.
337 * libc/stdio/getdelim.c: New file.
338 * libc/stdio/getline.c: Ditto.
339 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
340 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
341 * libc/sys/linux/Makefile.in: Regenerated.
342 * libc/sys/linux/getdate.c: New file.
343 * libc/sys/linux/getdate_err.c: Ditto.
344 * libc/sys/linux/ntp_gettime.c: Ditto.
345 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
346 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
348 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
350 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
351 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
352 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
353 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
354 * libc/include/sys/param.h: Remove i386 case which is handled
356 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
357 definitions in case they are already defined.
358 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
359 _IEEE_LITTLE_ENDIAN flags.
360 * libc/include/sys/reent.h: Change __uint32_t references to
362 (_REENT_GETDATE_REENT_P): New macro.
363 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
364 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
365 * libc/search/hash.h: Add default setting of BYTE_ORDER,
366 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
367 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
368 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
369 pid_t, off_t, loff_t, caddr_t, and daddr_t type
370 definitions which are done by subsequent glibc headers.
371 Add macro definitions to prevent subsequent header files from
372 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
373 intptr_t to after glibc definitions of types they are based on.
375 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
377 * libc/include/errno.h: Protect from multiple inclusion.
379 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
381 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
383 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
385 * Makefile.am (LIB_OBJECTLISTS): Add
386 libc/search/objectlist.awk.in.
387 * libc/Makefile.am (SUBDIRS): Add search.
388 (SUBLIBS): Add search/libsearch.la.
389 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
390 * libc/search: New directory.
391 * libc/search/Makefile.am: New file.
392 * libc/search/extern.h: New file.
393 * libc/search/hash.c: New file.
394 * libc/search/hash.h: New file.
395 * libc/search/hash_bigkey.c: New file.
396 * libc/search/hash_buf.c: New file.
397 * libc/search/hash_func.c: New file.
398 * libc/search/hash_log2.c: New file.
399 * libc/search/hash_page.c: New file.
400 * libc/search/hcreate.3: New file.
401 * libc/search/hcreate.c: New file.
402 * libc/search/hcreate_r.c: New file.
403 * libc/search/ndbm.c: New file.
404 * libc/search/page.h: New file.
405 * libc/search/tdelete.c: New file.
406 * libc/search/tdestroy.c: New file.
407 * libc/search/tfind.c: New file.
408 * libc/search/tsearch.3: New file.
409 * libc/search/tsearch.c: New file.
410 * libc/search/twalk.c: New file.
411 * libc/include/db.h: New file.
412 * libc/include/ndbm.h: New file.
413 * libc/include/search.h: New file.
414 * libc/include/sys/queue.h: New file.
415 * libc/include/sys/cdefs.h: New file.
416 * libc/include/sys/param.h
417 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
418 LITTLE_ENDIAN or BIG_ENDIAN.
419 * libc/include/sys/errno.h (EFTYPE): New macro.
420 * libc/search/bsearch.c: Move from libc/stdlib.
421 * libc/search/qsort.c: Likewise.
422 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
424 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
425 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
427 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
429 * libc/sys/linux/Makefile.am: Add support for message queue routines,
430 ipc routines, and ftok.
431 * libc/sys/linux/Makefile.in: Regenerated.
432 * libc/sys/linux/ftok.c: New file.
433 * libc/sys/linux/ipc.c: Ditto.
434 * libc/sys/linux/mq_close.c: Ditto.
435 * libc/sys/linux/mq_getattr.c: Ditto.
436 * libc/sys/linux/mq_notify.c: Ditto.
437 * libc/sys/linux/mq_open.c: Ditto.
438 * libc/sys/linux/mq_receive.c: Ditto.
439 * libc/sys/linux/mq_send.c: Ditto.
440 * libc/sys/linux/mq_setattr.c: Ditto.
441 * libc/sys/linux/mq_unlink.c: Ditto.
442 * libc/sys/linux/mqlocal.h: Ditto.
443 * libc/sys/linux/include/mqueue.h: Ditto.
444 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
447 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
449 * libm/common/sf_lround.c (round): Change name to: (lround).
450 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
453 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
455 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
457 (newlib_pass_fail): Change to compile and run only one file.
458 * testsuite/newlib.locale/locale.exp: Use new
459 newlib_pass_fail_all procedure.
460 * testsuite/newlib.string/string.exp: Likewise.
462 2002-06-18 Dave Brolley <brolley@redhat.com>
464 From Catherine Moore, Michael Meissner, Richard Sandiford:
465 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
467 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
468 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
469 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
470 * configure.host: Support frv-*-*.
471 * libc/machine/frv/Makefile.am: New file.
472 * libc/machine/frv/configure.in: New file.
473 * libc/machine/frv/setjmp.S: New file.
475 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
477 * libc/include/ctype.h: Remove isblank macro.
479 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
480 * libc/ctype/isblank.c: New file.
481 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
482 declaration. Add isblank macro.
484 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
486 * testsuite/newlib.stdlib/atexit.c: New file.
487 * testsuite/newlib.stdlib/atexit.exp: Ditto.
488 * testsuite/newlib.string/tstring.c: Change default start size
489 to something more reasonable for embedded platforms.
491 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
493 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
495 * libc/argz: New directory.
496 * libc/argz/*: New files.
497 * libc/argz/argz_add.c: New file.
498 * libc/argz/argz_add_sep.c: New file.
499 * libc/argz/argz_append.c: New file.
500 * libc/argz/argz_count.c: New file.
501 * libc/argz/argz_create.c: New file.
502 * libc/argz/argz_create_sep.c: New file.
503 * libc/argz/argz_delete.c: New file.
504 * libc/argz/argz_extract.c: New file.
505 * libc/argz/argz_insert.c: New file.
506 * libc/argz/argz_next.c: New file.
507 * libc/argz/argz_replace.c: New file.
508 * libc/argz/argz_stringify.c: New file.
509 * libc/argz/buf_findstr.c: New file.
510 * libc/argz/envz_add.c: New file.
511 * libc/argz/envz_entry.c: New file.
512 * libc/argz/envz_get.c: New file.
513 * libc/argz/envz_merge.c: New file.
514 * libc/argz/envz_remove.c: New file.
515 * libc/argz/envz_strip.c: New file.
516 * libc/include/argz.h: New file.
517 * libc/include/envz.h: New file.
518 * Makefile.am (LIBC_OBJECTLISTS): Add
519 libc/argz/objectlist.awk.in.
520 * libc/Makefile.am (SUBDIRS): Add argz.
521 (SUBLIBS): Add argz/libargz.la.
522 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
523 * libc/include/errno.h: Add error_t typedef.
525 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
527 * libc/include/stdlib.h: Add _Exit prototype.
528 * libc/stdlib/Makefile.am: Add _Exit.c support.
529 * libc/stdlib/Makefile.in: Ditto.
530 * libc/stdlib/_Exit.c: New file.
532 2002-06-13 Stephen L. Moshier <steve@moshier.net>
534 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
535 x is close to -1.0 and y is very large to use ax (absolute value)
537 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
539 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
541 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
542 Fix clobbering bytes before destination if src and dst have same
543 non-zero misalignment.
545 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
546 Fixed bug in writing end of set region.
548 2002-06-10 Christopher Faylor <cgf@redhat.com>
550 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
553 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
555 * libm/common/s_fdim.c: New file.
556 * libm/common/s_fma.c: Likewise.
557 * libm/common/s_fmax.c: Likewise.
558 * libm/common/s_fmin.c: Likewise.
559 * libm/common/s_fpclassify.c: Likewise.
560 * libm/common/s_lrint.c: Likewise.
561 * libm/common/s_lround.c: Likewise.
562 * libm/common/s_nearbyint.c: Likewise.
563 * libm/common/s_remquo.c: Likewise.
564 * libm/common/s_round.c: Likewise.
565 * libm/common/s_scalbln.c: Likewise.
566 * libm/common/s_signbit.c: Likewise.
567 * libm/common/s_trunc.c: Likewise.
568 * libm/common/sf_fdim.c: Likewise.
569 * libm/common/sf_fma.c: Likewise.
570 * libm/common/sf_fmax.c: Likewise.
571 * libm/common/sf_fmin.c: Likewise.
572 * libm/common/sf_lrint.c: Likewise.
573 * libm/common/sf_lround.c: Likewise.
574 * libm/common/sf_nearbyint.c: Likewise.
575 * libm/common/sf_remquo.c: Likewise.
576 * libm/common/sf_round.c: Likewise.
577 * libm/common/sf_scalbln.c: Likewise.
578 * libm/common/sf_trunc.c: Likewise.
579 * libm/math/w_exp2.c: Likewise.
580 * libm/math/w_tgamma.c: Likewise.
581 * libm/math/wf_exp2.c: Likewise.
582 * libm/math/wf_tgamma.c: Likewise.
583 * libm/mathfp/s_exp2.c: Likewise.
584 * libm/mathfp/s_tgamma.c: Likewise.
585 * libm/mathfp/sf_exp2.c: Likewise.
586 * libm/mathfp/sf_tgamma.c: Likewise.
587 * libm/math/er_gamma.c: Fix return value.
588 * libm/math/erf_gamma.c: Likewise.
589 * libm/mathfp/er_gamma.c: Likewise.
590 * libm/mathfp/erf_gamma.c: Likewise.
591 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
592 declarations and macros.
593 Regenerated all Makefile.in, aclocal.m4 and configure files to
594 use new libtool macros in top-level libtool.m4
596 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
598 * libc/include/string.h[__linux__]: Add strsignal prototype.
599 * libc/include/sys/lock.h: New file with default locking support.
600 * libc/include/sys/reent.h: Add signal buffer support for strsignal
602 * libc/posix/Makefile.am: Add support for readdir_r.c.
603 * libc/posix/Makefile.in: Regenerated.
604 * libc/posix/closedir.c: Add locking support and hash table cleanup.
605 * libc/posix/opendir.c: Add lock support.
606 * libc/posix/readdir.c: Ditto.
607 * libc/posix/rewinddir.c: Ditto.
608 * libc/posix/scandir.c: Ditto.
609 * libc/posix/seekdir.c: Ditto.
610 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
611 clean up leftover hash table entries.
612 * libc/posix/readdir_r.c: New file.
613 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
614 * libc/sys/linux/Makefile.in: Regenerated.
615 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
616 * libc/sys/linux/sys/signal.h: Add psignal prototype.
617 * libc/sys/linux/psignal.c: New file.
618 * libc/sys/linux/strsignal.c: Ditto.
620 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
622 * libc/include/sys/types.h: Don't define dev_t when compiling for
625 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
627 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
628 make siglist.inc dependent on sig.c instead of signal.c.
629 * libc/sys/linux/Makefile.in: Regenerated.
630 * libc/sys/linux/sig.c: Rename from signal.c and change code to
631 use NSIG instead of _NSIG.
632 * libc/sys/linux/sigaction.c: New file.
633 * libc/sys/linux/signal.c: Changed to be linux signal() function
634 so as to override regular newlib default signal.c.
635 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
636 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
637 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
638 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
639 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
640 default linux sigset_t typedef by defining it equal to __sigset_t.
641 * libc/unix/sigset.c: Add check so code isn't compiled on systems
642 with a sigset_t that isn't implemented with a single int.
644 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
646 * libc/sys/linux/Makefile.am: Add support for new files.
647 * libc/sys/linux/Makefile.in: Regenerated.
648 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
649 * libc/sys/linux/signal.c: Change to use real-time syscalls for
650 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
651 it is in a separate file now.
652 * libc/sys/linux/machine/i386/Makefile.am
653 * libc/sys/linux/machine/i386/Makefile.in
654 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
655 * libc/sys/linux/sigaction.c: New file.
656 * libc/sys/linux/sigqueue.c: Ditto.
657 * libc/sys/linux/sigwait.c: Ditto.
658 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
659 * libc/sys/linux/kernel_sigaction.h: Ditto.
661 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
663 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
665 * libc/sys/linux/Makefile.in: Regenerated.
666 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
667 tcgetpgrp(), and tcsetpgrp() functions.
668 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
669 to get __MAX_BAUD rate.
670 * libc/sys/linux/machine/i386/include/termios.h: New file.
671 * libc/include/machine/termios.h: Ditto.
672 * libc/sys/linux/cfspeed.c: Ditto.
673 * libc/sys/linux/tcsendbrk.c: Ditto.
675 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
677 * libc/include/string.h: Add strnlen and strerror_r prototypes.
678 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
679 * libc/string/Makefile.in: Regenerated.
680 * libc/string/strerror_r.c: New file.
681 * libc/string/strnlen.c: New file.
682 * libc/sys/linux/Makefile.am: Add rename.c.
683 * libc/sys/linux/Makefile.in: Regenerated.
684 * libc/sys/linux/rename.c: New file to override default rename.
686 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
688 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
689 * libc/sys/linux/sys/time.h: Add conversion macros.
690 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
691 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
692 * libc/sys/linux/gethostname.c: New file.
693 * libc/sys/linux/seteuid.c: New file.
694 * libc/sys/linux/sysctl.c: New file.
696 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
698 * libc/string/Makefile.am: Add support for strsep.c.
699 * libc/string/Makefile.in: Regenerated.
700 * libc/string/strsep.c: New file.
701 * libc/string/strtok.c: Change to call __strtok_r service routine.
702 * libc/string/strtok_r.c: Add __strtok_r routine which takes
703 additional flag parameter regarding whether to skip leading delimeters.
704 Change strtok_r to call __strtok_r.
706 2002-05-23 Gareth Pearce <tilps@hotmail.com>
708 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
709 * libc/stdio/Makefile.in: Regenerated.
710 * libc/stdio/setbuffer.c: New file.
711 * libc/stdio/setlinebuf.c: New file.
713 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
715 * libc/sys/linux/Makefile.am: Add resource.c.
716 * libc/sys/linux/Makefile.in: Regenerated.
717 * libc/sys/linux/resource.c: New file.
718 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
719 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
720 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
721 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
722 are now found in libc/sys/linux/resource.c.
724 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
726 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
727 to use void * pointers and comply with Single Unix spec.
728 * libc/string/bcmp.c: Change to use void * instead of char *.
729 * libc/string/bcopy.c: Ditto.
730 * libc/string/bzero.c: Ditto.
732 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
734 * libc/sys/linux/shm_open.c: New file.
735 * libc/sys/linux/shm_unlink.c: Ditto.
736 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
738 * libc/sys/linux/Makefile.in: Regenerated.
739 * libc/sys/linux/sys/types.h: Add some additional checks to see
740 if clock_t or time_t is already defined.
742 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
744 * Makefile.am: Don't pass $toollibdir down directly in
745 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
746 Pass it under the name: top_toollibdir.
747 * Makefile.in: Regenerated.
749 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
751 * libc/include/sys/types.h: Revert previous patch.
753 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
755 * libc/include/sys/types.h: Include cygwin/types.h always under
756 Cygwin, not only if _POSIX_THREADS is defined.
758 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
760 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
762 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
764 * Makefile.am: Copy and install headers from sys/machine/include
765 directory. Also pass $toollibdir to lower-level directories.
766 * Makefile.in: Regenerated.
767 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
768 stderr to use _REENT macro instead of _impure_ptr directly.
769 * libc/include/sys/config.h[__i386__][__linux__]: Define
771 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
772 call to __getreent() function if !__SINGLE_THREAD__ and
773 __DYNAMIC_REENT__ is set.
774 * libc/reent/Makefile.am: Add support for getreent.c.
775 * libc/reent/Makefile.in: Regenerated.
776 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
777 * libc/sys/linux/Makefile.am: Add support for new files.
778 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
779 * libc/sys/linux/Makefile.in: Regenerated.
780 * libc/sys/linux/configure: Ditto.
781 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
782 __close, __read, __write, __poll, __open, __lseek, __fcntl from
783 their __libc_ counterparts.
784 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
785 and weak-alias to regular names.
786 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
787 to pread64 and __pread64.
788 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
789 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
790 weak-alias to pwrite64.
791 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
792 __libc_sched_getscheduler, __libc_sched_get_priority_max,
793 __libc_sched_get_priority_min, and __libc_sched_setschedule to
794 name with __ instead of __libc_.
795 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
796 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
797 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
798 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
800 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
801 __libc_send to __send.
802 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
804 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
805 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
806 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
807 type and typedef __jmp_buf to jmp_buf.
808 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
810 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
811 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
813 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
814 prefix for function macros and then use weak_alias() to regular names.
815 * libc/sys/linux/machine/i386/syscall.h: Ditto.
816 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
817 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
818 to be flockfile() and funlockfile() respectively.
819 * libc/sys/linux/sys/types.h
820 * libc/reent/getreent.c: New file.
821 * libc/sys/linux/flockfile.c: Ditto.
822 * libc/sys/linux/funlockfile.c: Ditto.
823 * libc/sys/linux/getreent.c: Ditto.
824 * libc/sys/linux/pread.c: Ditto.
825 * libc/sys/linux/pwrite.c: Ditto.
826 * libc/sys/linux/raise.c: Ditto.
827 * libc/sys/linux/system.c: Ditto.
828 * libc/sys/linux/tcdrain.c: Ditto.
829 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
830 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
831 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
832 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
833 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
835 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
837 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
838 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
839 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
840 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
842 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
844 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
845 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
848 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
850 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
851 options when testing natively on i[3456]86-*-linux.
853 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
854 only one pass or fail per test file. Trim \r's from output
855 values received from test programs. Remove support for named
857 * testsuite/newlib.locale/UTF-8.exp: Update to support new
858 newlib_check_output behaviour.
859 * testsuite/newlib.locale/UTF-8.c: Likewise.
861 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
863 * libc/include/stdlib.h: Add on_exit prototype.
864 * libc/include/sys/reent.h (struct _atexit): Add argument array
865 and bits to track type of exit routine to support both on_exit
867 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
868 by default and change the setting of the atexit structure.
869 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
870 * libc/stdlib/on_exit.c: New file.
871 * libc/stdlib/Makefile.am: Add support for on_exit.
872 * libc/stdlib/Makefile.in: Regenerated.
873 * libc/stdlib/atexit.c: Change to initialize types field.
874 * libc/stdlib/exit.c: Change to look at types field for each
875 exit routine and either call an atexit-style or an on_exit-style
878 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
880 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
881 allow v specifier with n or L specifiers. For vector c format,
882 move tmp declaration to the top.
884 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
886 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
887 the original format specifier when looping for vectors to compensate
888 for any changes made in vector %g format processing.
889 Also add syntax checking for various invalid scenarios
890 involving vector format extensions.
891 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
892 return code setting for vector formats. Also treat vector
893 separator mismatch as a match error instead of an input error.
894 Perform some syntax checking for vector formats.
896 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
898 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
899 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
900 * libc/string/strlcat.c: New file.
901 * libc/string/strlcpy.c: New file.
903 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
905 * libc/string/strchr.c: Fix comment typo.
907 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
909 * acinclude.m4: Add support for --enable-newlib-multithread.
910 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
911 --enable-newlib-multithread=no.
913 * libc/stdio/getc_u.c: New file.
914 * libc/stdio/getchar_u.c: New file.
915 * libc/stdio/putc_u.c: New file.
916 * libc/stdio/putchar_u.c: New file.
917 * libc/include/stdio.h: Add declarations for getc_unlocked,
918 getchar_unlocked, putc_unlocked and putchar_unlocked.
919 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
920 (CHEWOUT_FILES): Add new files' .def's.
921 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
923 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
925 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
926 Also handle as single quad word when destination ends at last
927 byte of first quad word. Fix byte selection in single quad code.
929 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
931 * libc/include/sys/stdio.h: New file.
932 * libc/sys/linux/sys/stdio.h: New file.
933 * libc/include/stdio.h: Add declarations for flockfile,
934 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
935 * libc/stdio/clearerr.c: Add file locking.
936 * libc/stdio/fclose.c: Likewise.
937 * libc/stdio/feof.c: Likewise.
938 * libc/stdio/ferror.c: Likewise.
939 * libc/stdio/fflush.c: Likewise.
940 * libc/stdio/fgetc.c: Likewise.
941 * libc/stdio/fgetpos.c: Likewise.
942 * libc/stdio/fgets.c: Likewise.
943 * libc/stdio/fileno.c: Likewise.
944 * libc/stdio/fputc.c: Likewise.
945 * libc/stdio/fputs.c: Likewise.
946 * libc/stdio/fread.c: Likewise.
947 * libc/stdio/freopen.c: Likewise.
948 * libc/stdio/fseek.c: Likewise.
949 * libc/stdio/ftell.c: Likewise.
950 * libc/stdio/fwrite.c: Likewise.
951 * libc/stdio/getc.c: Likewise.
952 * libc/stdio/putc.c: Likewise.
953 * libc/stdio/setvbuf.c: Likewise.
954 * libc/stdio/ungetc.c: Likewise.
955 * libc/stdio/vfprintf.c: Likewise.
957 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
959 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
960 support for 'p' format. Fix code to print bytes for vector
961 integer formats that do not specify 'h' or 'l'.
962 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
963 for 'p' specifier. Fix code to scan 16 bytes for vector integer
964 formats that do not specify 'h' or 'l'.
966 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
968 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
970 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
971 (_sbrk): Add cast of return value.
973 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
975 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
976 (_REENT_L64A_BUF): New macro for accessing area.
977 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
978 * libc/stdlib/Makefile.in: Regenerated.
979 * libc/stdlib/a64l.c: New file.
980 * libc/stdlib/l64a.c: New file.
982 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
984 * libc/unix/pread.c: Fix typo for _pread_r.
985 * libc/unix/pwrite.c: Fix type for _pwrite_r.
986 * libc/sys/linux/pread64.c: Fix typo for read syscall.
987 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
989 2002-05-03 Christopher Faylor <cgf@redhat.com>
991 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
993 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
995 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
997 2002-05-01 Christopher Faylor <cgf@redhat.com>
999 * utmp.h: Define more UNIX constants.
1001 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1003 * Makefile.am: Add support for checking multilibs.
1005 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
1006 (SUBDEFS): Add LIBC_EXTRA_DEF.
1007 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
1008 (LIBC_EXTRA_DEF): Likewise.
1009 (extra_dir): Likewise.
1010 * libc/machine/xscale/machine: New directory.
1011 * libc/machine/xscale/machine/profile.h: New file.
1013 * Makefile.am (site.exp): Remove newlib_cflags. Add
1015 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
1016 * testsuite/lib/flags.exp: New file.
1017 * testsuite/lib/newlib.exp: Load flags.exp.
1018 (newlib_target_compile): Remove libgloss directory references.
1019 (newlib_init): Remove newlib_cflags references.
1021 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1023 * testsuite/lib/newlib.exp (newlib_target_compile): Change
1024 method of finding libgloss_target_dir.
1026 * Makefile.am (site.exp): Change host_alias, host_triplet,
1027 target_alias, target_triplet to refer to gcc's host and target
1028 variables (newlib's build and host variables).
1029 * testsuite/lib/newlib.exp (newlib_init): Change build
1030 references to host references, host references to target
1031 references to reflect Makefile.am changes.
1032 (newlib_target_compile): Likewise.
1033 (newlib_finish): Likewise.
1035 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
1037 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
1039 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
1041 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
1042 (_system): New function. Ditto.
1043 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
1044 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
1047 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
1049 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
1050 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
1051 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
1052 * libc/sys/linux/Makefile.in: Regenerated.
1053 * libc/unix/Makefile.in: Ditto.
1054 * libc/sys/linux/pread64.c: New file.
1055 * libc/sys/linux/pwrite64.c: Ditto.
1056 * libc/unix/pread.c: Ditto.
1057 * libc/unix/pwrite.c: Ditto.
1059 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
1061 * libc/sys/linux/Makefile.am: Add io64.c.
1062 * libc/sys/linux/Makefile.in: Regenerated.
1063 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
1064 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
1065 * libc/sys/linux/io64.c: New file.
1067 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
1069 * configure.in (CC_FOR_NEWLIB): New variable that
1070 bases on $(CC) and adds targ-include and libc/include as
1071 -isystem directives if they are not already part of $(CC).
1072 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
1074 * configure: Regenerated.
1075 * Makefile.in: Ditto.
1077 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
1079 * libc/sys/linux/Makefile.am: Add support for sched.c.
1080 * libc/sys/linux/Makefile.in: Regenerated.
1081 * libc/sys/linux/sched.c: New file.
1082 * libc/sys/linux/sys/types.h: Add struct timespec.
1084 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1086 * configure.in (CC_FOR_BUILD): Set to gcc whether
1087 cross-compiling or not.
1088 (CC): Add -isystem's for targ-include and libc/include when they
1089 do not already appear in CC.
1091 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1093 * Makefile.am (check-DEJAGNU): New target.
1094 (site.exp): Likewise.
1095 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
1096 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
1097 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
1098 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
1099 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
1100 * testsuite: New directory.
1101 * testsuite/config: Likewise.
1102 * testsuite/lib: Likewise.
1103 * testsuite/newlib.locale: Likewise.
1104 * testsuite/newlib.string: Likewise.
1105 * testsuite/config/default.exp: New file.
1106 * testsuite/lib/checkoutput.exp: New file.
1107 * testsuite/lib/newlib.exp: New file.
1108 * testsuite/lib/passfail.exp: New file.
1109 * testsuite/newlib.locale/UTF-8.c: New file.
1110 * testsuite/newlib.locale/UTF-8.exp: New file.
1111 * testsuite/newlib.locale/locale.exp: New file.
1112 * testsuite/newlib.string/string.exp: New file.
1113 * testsuite/newlib.string/tstring.c: New file.
1115 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
1117 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
1118 * libc/sys/linux/Makefile.am: Add support for mmap.c.
1119 * libc/sys/linux/Makefile.in: Regenerated.
1120 * libc/sys/linux/mmap.c: New file.
1121 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
1122 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
1124 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1126 * acinclude.m4 (newlib_cflags): Remove include directories that
1127 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
1129 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
1131 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
1132 * libc/machine/xscale/memcmp.c: Ditto.
1133 * libc/machine/xscale/memcpy.c: Ditto.
1134 * libc/machine/xscale/memmove.c: Ditto.
1135 * libc/machine/xscale/memset.c: Ditto.
1136 * libc/machine/xscale/strchr.c: Ditto.
1137 * libc/machine/xscale/strcmp.c: Ditto.
1138 * libc/machine/xscale/strcpy.c: Ditto.
1139 * libc/machine/xscale/strlen.c: Ditto.
1141 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
1143 * libc/include/sys/config.h: Remove include of <limits.h>.
1144 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
1145 define INT_MAX and LONG_MAX. Use them in tests.
1147 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
1149 * configure.host: Add support for powerpc-eabialtivec*.
1150 * libc/include/malloc.h: Add include of <machine/malloc.h>.
1151 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
1152 * libc/include/machine/malloc.h: New file.
1153 * libc/include/machine/stdlib.h: Ditto.
1154 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
1155 * libc/machine/powerpc/Makefile.am: Add conditional objects and
1156 sources based on configuration.
1157 * libc/machine/powerpc/Makefile.in: Regenerated.
1158 * libc/machine/powerpc/configure: Ditto.
1159 * libc/machine/powerpc/configure.in: Add check for
1160 powerpc-eabialtivec* in which case add in additional source files.
1161 * libc/machine/powerpc/setjmp.S: Add altivec support.
1162 * libc/machine/powerpc/vec_calloc.c: New file.
1163 * libc/machine/powerpc/vec_free.c: Ditto.
1164 * libc/machine/powerpc/vec_malloc.c: Ditto.
1165 * libc/machine/powerpc/vec_mallocr.c: Ditto.
1166 * libc/machine/powerpc/vec_realloc.c: Ditto.
1167 * libc/machine/powerpc/machine/malloc.h: Ditto.
1168 * libc/machine/powerpc/machine/stdlib.h: Ditto.
1169 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
1170 with added altivec format specifiers.
1171 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
1172 added altivec format specifiers.
1174 2002-04-19 Joel Sherrill <joel@OARcorp.com>
1176 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
1177 while autoconf is trying to link main(){}.
1179 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1181 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
1182 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
1184 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1186 * libc/time/time.tex: Add tzset info.
1188 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1190 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
1191 (strptime): Moved prototype to be within !__STRICT_ANSI__.
1192 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1193 (tzname): Defined for all platforms.
1194 (daylight, timezone): Defined only for CYGWIN.
1195 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1197 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1198 environment variable is set.
1199 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1201 * libc/time/Makefile.in: Regenerated.
1202 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1203 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1204 * libc/time/lcltime_r.c (lcltime_r): Ditto.
1205 * libc/time/local.h: New local header file.
1206 * libc/time/mktime.c (mktime): Add timezone support.
1207 * libc/time/mktm_r.c: New file which is the common engine
1208 for gmtime_r and lcltime_r. This code has timezone support.
1209 * libc/time/strftime.c (strftime): Add %Z timezone support.
1210 * libc/time/tzlock.c: New file containing timezone lock stubs.
1211 * libc/time/tzset.c: New file containing tzset() routine.
1212 * libc/time/tzset_r.c: New file containing _tzset_r and
1213 internal routine for calculating timezone changes for specified year.
1215 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1217 * configure.in (CRT0_DIR): Set to libc/.
1218 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1219 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1220 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
1221 $(CRT1_DIR)/$(CRT1).
1222 * libc/machine/xstormy16/Makefile.in: Regenerated.
1223 * libc/machine/xstormy16/aclocal.m4: Regenerated.
1224 * libc/machine/xstormy16/configure: Regenerated.
1226 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
1228 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1229 fails, don't bail out, and try to correct next time.
1231 * libc/include/sys/config.h: Include limits.h.
1233 2002-04-12 Eric Norum <eric.norum@usask.com>
1235 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1236 routine to allow autoconf to determine that building executables
1238 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1239 (rtems_gxx_mutex_once): Ditto.
1241 2002-04-09 Tom Rix <trix@redhat.com>
1243 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1245 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1247 * libc/include/time.h: Fix strptime declaration.
1248 * libc/time/Makefile.am: Add strptime.c.
1249 * libc/time/Makefile.in: Regenerated.
1250 * libc/time/strptime.c: New file.
1252 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
1254 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1255 siglongjmp prototype, and sigsetjmp macro definition.
1256 * libc/sys/linux/siglongjmp.c: New file.
1257 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1258 * libc/sys/linux/Makefile.in: Regenerated.
1260 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
1262 * Makefile.am: Add support for installing crt1.o if one exists.
1263 * configure.host: Specify crt1.o for linux.
1264 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1265 * Makefile.in: Regenerated.
1267 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1268 Added for non-Cygwin, non-RTEMS configurations.
1269 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1270 * libc/sys/linux/Makefile.in: Regenerated.
1271 * libc/sys/linux/crt1.c: New empty file to override one defaulted
1272 by gcc. This fixes problem with reconfiguring linux newlib build.
1273 * libc/sys/linux/sysconf.c: New file.
1275 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
1277 * configure.host: Add support for machine subdirectory of
1279 * configure.in: Add check for sys machine subdirectory.
1280 * Makefile.am: Ditto.
1281 * configure: Regenerated.
1282 * Makefile.in: Ditto.
1283 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1284 * libc/sys/linux/sys/syscall.h: Ditto.
1285 * libc/sys/linux/sleep.c: New file.
1286 * libc/sys/linux/socket.c: Ditto.
1287 * libc/sys/linux/sockops.h: Ditto.
1288 * libc/sys/linux/stack.c: Ditto.
1289 * libc/sys/linux/usleep.c: Ditto.
1290 * libc/sys/linux/machine/Makefile.am: Ditto.
1291 * libc/sys/linux/machine/Makefile.in: Ditto.
1292 * libc/sys/linux/machine/aclocal.m4: Ditto.
1293 * libc/sys/linux/machine/configure: Ditto.
1294 * libc/sys/linux/machine/configure.in: Ditto.
1295 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1296 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1297 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1298 * libc/sys/linux/machine/i386/configure: Ditto.
1299 * libc/sys/linux/machine/i386/configure.in: Ditto.
1300 * libc/sys/linux/machine/i386/crt0.c: Ditto.
1301 * libc/sys/linux/machine/i386/sigset.c: Ditto.
1302 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1303 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1304 * libc/sys/linux/machine/i386/syscall.h: Ditto.
1305 * libc/sys/linux/sys/select.h: Ditto.
1306 * libc/sys/linux/configure.in: Add support for machine directory.
1307 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1308 * libc/sys/linux/Makefile.in: Regenerated.
1309 * libc/sys/linux/configure: Ditto.
1310 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1311 * libc/sys/linux/inode.c: Ditto.
1312 * libc/sys/linux/linux.c: Ditto.
1313 * libc/sys/linux/process.c: Ditto.
1314 * libc/sys/linux/systat.c: Ditto.
1315 * libc/sys/linux/time.c: Ditto.
1316 * libc/sys/linux/wait.c: Ditto.
1317 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1318 * libc/sys/linux/io.c: Change header plus add readv/writev.
1319 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1320 use __sigsuspend syscall.
1321 * libc/sys/linux/select.c: Change header plus change select to
1322 use _newselect syscall.
1323 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1324 used by glibc header files.
1325 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1328 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
1330 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1331 initializing a struct _reent that has been dynamically allocated.
1332 (_REENT_CHECK_MISC): New macro that checks _misc struct for
1333 _REENT_SMALL and does nothing otherwise.
1334 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1335 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1336 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1337 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1338 [_REENT_SMALL](struct _misc_reent): New structure containing
1339 miscellaneous reentrant areas needed by newlib.
1340 [_REENT_SMALL](struct _reent): Add _misc pointer.
1341 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1342 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1343 and _REENT_STRTOK_LAST macros.
1344 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1345 and _REENT_MBLEN_STATE macros.
1346 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1347 and _REENT_MBTOWC_STATE macros.
1348 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1349 and _REENT_WCTOMB_STATE macros.
1351 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
1353 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1355 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
1357 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1359 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
1361 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1362 Store high part of leading bytes too.
1364 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
1366 * libm/math/ef_hypot.c: Increase scale factor to 68.
1368 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
1370 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1373 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
1375 * libc/sys/go32/access.c: Change license to relaxed license
1376 used in identical file throughout newlib/libgloss.
1378 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
1380 * libc/sys/arm/access.c: New file.
1381 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1382 * libc/sys/arm/Makefile.in: Regenerate.
1383 * libc/sys/arm/syscalls.c (_stat): New function.
1385 2002-03-11 Michael Meissner <meissner@redhat.com>
1387 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1388 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1389 * libc/machine/mips/Makefile.in: Regenerate.
1390 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1391 * libc/machine/mips/memset.c: Dito.
1392 * libc/machine/mips/strcmp.c: Dito.
1393 * libc/machine/mips/strlen.c: Dito.
1394 * libc/machine/mips/strncmp.c: Dito.
1396 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
1398 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1399 object so it works for shared library or statici library.
1400 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1402 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
1403 (strptime): Moved prototype to be within !__STRICT_ANSI__.
1404 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1405 (tzname): Defined for all platforms.
1406 (daylight, timezone): Defined only for CYGWIN.
1407 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1409 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1410 environment variable is set.
1411 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1413 * libc/time/Makefile.in: Regenerated.
1414 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1415 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1416 * libc/time/lcltime_r.c (lcltime_r): Ditto.
1417 * libc/time/local.h: New local header file.
1418 * libc/time/mktime.c (mktime): Add timezone support.
1419 * libc/time/mktm_r.c: New file which is the common engine
1420 for gmtime_r and lcltime_r. This code has timezone support.
1421 * libc/time/strftime.c (strftime): Add %Z timezone support.
1422 * libc/time/tzlock.c: New file containing timezone lock stubs.
1423 * libc/time/tzset.c: New file containing tzset() routine.
1424 * libc/time/tzset_r.c: New file containing _tzset_r and
1425 internal routine for calculating timezone changes for specified year.
1427 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1429 * configure.in (CRT0_DIR): Set to libc/.
1430 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1431 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1432 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
1433 $(CRT1_DIR)/$(CRT1).
1434 * libc/machine/xstormy16/Makefile.in: Regenerated.
1435 * libc/machine/xstormy16/aclocal.m4: Regenerated.
1436 * libc/machine/xstormy16/configure: Regenerated.
1438 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
1440 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1441 fails, don't bail out, and try to correct next time.
1443 * libc/include/sys/config.h: Include limits.h.
1445 2002-04-12 Eric Norum <eric.norum@usask.com>
1447 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1448 routine to allow autoconf to determine that building executables
1450 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1451 (rtems_gxx_mutex_once): Ditto.
1453 2002-04-09 Tom Rix <trix@redhat.com>
1455 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1457 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1459 * libc/include/time.h: Fix strptime declaration.
1460 * libc/time/Makefile.am: Add strptime.c.
1461 * libc/time/Makefile.in: Regenerated.
1462 * libc/time/strptime.c: New file.
1464 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
1466 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1467 siglongjmp prototype, and sigsetjmp macro definition.
1468 * libc/sys/linux/siglongjmp.c: New file.
1469 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1470 * libc/sys/linux/Makefile.in: Regenerated.
1472 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
1474 * Makefile.am: Add support for installing crt1.o if one exists.
1475 * configure.host: Specify crt1.o for linux.
1476 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1477 * Makefile.in: Regenerated.
1479 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1480 Added for non-Cygwin, non-RTEMS configurations.
1481 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1482 * libc/sys/linux/Makefile.in: Regenerated.
1483 * libc/sys/linux/crt1.c: New empty file to override one defaulted
1484 by gcc. This fixes problem with reconfiguring linux newlib build.
1485 * libc/sys/linux/sysconf.c: New file.
1487 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
1489 * configure.host: Add support for machine subdirectory of
1491 * configure.in: Add check for sys machine subdirectory.
1492 * Makefile.am: Ditto.
1493 * configure: Regenerated.
1494 * Makefile.in: Ditto.
1495 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1496 * libc/sys/linux/sys/syscall.h: Ditto.
1497 * libc/sys/linux/sleep.c: New file.
1498 * libc/sys/linux/socket.c: Ditto.
1499 * libc/sys/linux/sockops.h: Ditto.
1500 * libc/sys/linux/stack.c: Ditto.
1501 * libc/sys/linux/usleep.c: Ditto.
1502 * libc/sys/linux/machine/Makefile.am: Ditto.
1503 * libc/sys/linux/machine/Makefile.in: Ditto.
1504 * libc/sys/linux/machine/aclocal.m4: Ditto.
1505 * libc/sys/linux/machine/configure: Ditto.
1506 * libc/sys/linux/machine/configure.in: Ditto.
1507 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1508 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1509 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1510 * libc/sys/linux/machine/i386/configure: Ditto.
1511 * libc/sys/linux/machine/i386/configure.in: Ditto.
1512 * libc/sys/linux/machine/i386/crt0.c: Ditto.
1513 * libc/sys/linux/machine/i386/sigset.c: Ditto.
1514 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1515 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1516 * libc/sys/linux/machine/i386/syscall.h: Ditto.
1517 * libc/sys/linux/sys/select.h: Ditto.
1518 * libc/sys/linux/configure.in: Add support for machine directory.
1519 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1520 * libc/sys/linux/Makefile.in: Regenerated.
1521 * libc/sys/linux/configure: Ditto.
1522 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1523 * libc/sys/linux/inode.c: Ditto.
1524 * libc/sys/linux/linux.c: Ditto.
1525 * libc/sys/linux/process.c: Ditto.
1526 * libc/sys/linux/systat.c: Ditto.
1527 * libc/sys/linux/time.c: Ditto.
1528 * libc/sys/linux/wait.c: Ditto.
1529 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1530 * libc/sys/linux/io.c: Change header plus add readv/writev.
1531 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1532 use __sigsuspend syscall.
1533 * libc/sys/linux/select.c: Change header plus change select to
1534 use _newselect syscall.
1535 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1536 used by glibc header files.
1537 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1540 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
1542 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1543 initializing a struct _reent that has been dynamically allocated.
1544 (_REENT_CHECK_MISC): New macro that checks _misc struct for
1545 _REENT_SMALL and does nothing otherwise.
1546 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1547 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1548 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1549 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1550 [_REENT_SMALL](struct _misc_reent): New structure containing
1551 miscellaneous reentrant areas needed by newlib.
1552 [_REENT_SMALL](struct _reent): Add _misc pointer.
1553 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1554 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1555 and _REENT_STRTOK_LAST macros.
1556 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1557 and _REENT_MBLEN_STATE macros.
1558 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1559 and _REENT_MBTOWC_STATE macros.
1560 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1561 and _REENT_WCTOMB_STATE macros.
1563 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
1565 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1567 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
1569 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1571 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
1573 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1574 Store high part of leading bytes too.
1576 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
1578 * libm/math/ef_hypot.c: Increase scale factor to 68.
1580 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
1582 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1585 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
1587 * libc/sys/go32/access.c: Change license to relaxed license
1588 used in identical file throughout newlib/libgloss.
1590 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
1592 * libc/sys/arm/access.c: New file.
1593 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1594 * libc/sys/arm/Makefile.in: Regenerate.
1595 * libc/sys/arm/syscalls.c (_stat): New function.
1597 2002-03-11 Michael Meissner <meissner@redhat.com>
1599 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1600 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1601 * libc/machine/mips/Makefile.in: Regenerate.
1602 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1603 * libc/machine/mips/memset.c: Dito.
1604 * libc/machine/mips/strcmp.c: Dito.
1605 * libc/machine/mips/strlen.c: Dito.
1606 * libc/machine/mips/strncmp.c: Dito.
1608 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
1610 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1611 object so it works for shared library or statici library.
1612 * libc/machine/i386/Makefile.in: Regenerated.
1614 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
1616 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
1617 Add memcpy.S, memset.S and strcpy.S.
1618 * libc/machine/sh/Makefile.in: Regenerate.
1619 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
1620 (SHHI, SHLO): Define.
1621 * libc/machine/sh/memset.S: Add code for SH5.
1622 * libc/machine/sh/memset.S: Likewise.
1623 * libc/machine/sh/strcpy.S: Likewise.
1625 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
1627 * configure.host: Add check for --disable-newlib-io-float
1628 configuration option and add -DNO_FLOATING_POINT to newlib cflags
1630 * acinclude.m4: Added --disable-newlib-io-float option.
1631 * aclocal.m4: Regenerated.
1633 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1634 * libc/*/aclocal.m4 libc/*/configure
1635 * libm/*/aclocal.m4 libm/*/configure: Ditto.
1636 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
1637 if NO_FLOATING_POINT flag is not defined.
1639 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
1641 * libc/include/sys/config.h: Add __extension__ in front of
1642 long long references.
1644 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
1646 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
1649 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
1651 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
1654 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1656 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
1657 clobbered registers.
1659 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1661 * configure.host (newlib_cflags): When host is in m68* add
1664 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
1666 * libc/include/sys/config.h: Add definitions for
1667 __int16_t, __uint16_t, __int64_t, and __uint64_t.
1669 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
1671 * libc/sys/mmixware/link.c: New.
1672 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1674 * libc/sys/mmixware/times.c (_times): Renamed from times.
1675 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1676 properly by reading previous contents, not through BinaryReadWrite.
1677 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1678 * libc/sys/mmixware/Makefile.in: Regenerate.
1680 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
1682 * libc/include/grp.h: Don't declare group functions when compiling
1685 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
1687 * libc/include/grp.h: Include Cygwin specific header.
1688 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
1689 when compiling for Cygwin.
1690 * libc/include/sys/types.h: Don't define off_t, uid_t
1691 and gid_t when compiling for Cygwin.
1693 2002-02-08 matthew green <mrg@redhat.com>
1695 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1696 _REENT_EMERGENCY_SIZE, not sizeof(char *).
1698 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1700 Contribute sh64-elf.
1701 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1702 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1704 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
1705 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1707 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
1708 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1709 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
1710 * libc/machine/sh/configure.in: Rework conditionals.
1711 * libc/machine/sh/Makefile.am: Likewise.
1712 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1713 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
1714 * configure.host: Match `sh*'.
1715 * libc/include/machine/setjmp.h: Define for SH5.
1716 * libc/machine/sh/configure.in: Detect SH5.
1717 * libc/machine/sh/configure: Rebuilt.
1718 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1719 * libc/machine/sh/Makefile.in: Rebuilt.
1720 * libc/machine/sh/asm.h: Adjust for SH5.
1721 * libc/machine/sh/setjmp.S: Implement in SHmedia.
1722 * libc/sys/sh/crt0.S: Likewise.
1723 * libc/sys/sh/trap.S: Likewise.
1725 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
1727 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1728 (mach_add_obj): Conditionally set to setjmp.o or nothing.
1729 (LIB_SOURCES): Remove $(mach_add_src).
1730 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1731 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1732 * libc/machine/i386/Makefile.in: Regenerate.
1734 2002-02-05 Manik Raina <manik@cisco.com>
1736 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
1737 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1738 s, p, k, and outstr.
1739 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1741 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
1743 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1744 _REENT_CHECK_EMERGENCY macro.
1746 2002-02-03 matthew green <mrg@redhat.com>
1748 * libc/reent/signgam.c (__signgam): Fix error in previous.
1750 2002-02-02 matthew green <mrg@redhat.com>
1752 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1754 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1755 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1756 * libc/include/sys/reent.h (struct _reent): Completely new version
1758 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1759 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1760 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1761 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1762 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1763 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1764 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1765 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1766 (_REENT_EMERGENCY): Likewise.
1768 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1769 the start of the real __sFILE, used for stdin, stdout and stderr until
1770 they are setup properly.
1771 (struct __sFILE): Move location of _data in _REENT_SMALL case.
1772 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1773 allocated stdin, stdout and stderr.
1774 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1775 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1776 * libc/stdio/perror.c (_perror_r): Likewise.
1777 * libc/stdio/printf.c (printf, _printf_r): Likewise.
1778 * libc/stdio/putchar.c (_putchar_r): Likewise.
1779 * libc/stdio/puts.c (_puts_r): Likewise.
1780 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1781 * libc/stdio/vprintf.c (vprintf): Likewise.
1782 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1784 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1786 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1787 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1789 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1790 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1792 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1794 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1795 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1796 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1797 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1798 * libc/stdlib/rand48.c (__dorand48): Likewise.
1799 * libc/stdlib/seed48.c (_seed48_r): Likewise.
1800 * libc/stdlib/srand48.c (_srand48_r): Likewise.
1801 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1802 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1803 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
1804 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1805 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1806 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1807 * libc/stdlib/rand.c (rand): Likewise.
1809 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1810 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1812 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
1813 _REENT_MP_FREELIST() and _REENT_MP_P5S.
1814 * libc/include/sys/reent.h (struct _mprec): New structure.
1816 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1817 _unused_strtok_last.
1818 * libc/string/strtok.c (strtok): Use a local static variable.
1820 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1821 (_REENT_EMERGENCY_SIZE): Likewise.
1822 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
1823 _REENT_ASCTIME_BUF().
1824 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
1827 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1828 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1829 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1830 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1831 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1832 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1834 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
1836 * configure.host (xstormy16): Don't use the generic malloc.
1837 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1838 * libc/machine/xstormy16/Makefile.in: Regenerate.
1839 * libc/machine/xstormy16/mallocr.c: New file.
1840 * libc/machine/xstormy16/tiny-malloc.c: New file.
1842 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
1844 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1845 when _CYGWIN_TYPES_H is not defined.
1847 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1849 * libc/include/sys/signal.h: Revert 2002-01-23 change.
1851 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1853 * libc/include/sys/signal.h: Remove pthread_kill declaration
1854 when __CYGWIN__ is defined.
1856 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1858 * libc/include/time.h: Add prototype for strptime for Cygwin.
1860 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1862 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1863 dst was not word aligned.
1865 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1866 if too much memory is requested.
1868 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
1870 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1871 reads blanks from the input file to break if EOF reached
1872 rather than end processing.
1874 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
1876 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1878 2002-01-07 Alan Matsuoka <alanm@redhat.com>
1880 * libc/include/machine/ieeefp.h: Configure d10v doubles to
1881 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
1882 libc/include/sys/config.h: Ditto.
1884 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
1886 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1888 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
1889 Catherine Moore <clm@redhat.com>
1890 Richard Henderson <rth@redhat.com>
1891 Corinna Vinschen <vinschen@redhat.com>
1893 * configure.host: Add support for xstormy16.
1894 * libc/include/machine/ieeefp.h: Add support for xstormy16.
1895 * libc/include/machine/setjmp.h: Add support for xstormy16.
1896 * libc/include/sys/config.h: Add support for xstormy16.
1897 * libc/machine/xstormy16/Makefile.am: New file.
1898 * libc/machine/xstormy16/Makefile.in: New file.
1899 * libc/machine/xstormy16/aclocal.m4: New file.
1900 * libc/machine/xstormy16/configure: New file.
1901 * libc/machine/xstormy16/configure.in: New file.
1902 * libc/machine/xstormy16/setjmp.S: New file.
1904 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1906 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
1907 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
1909 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
1911 * libm/machine/Makefile.am: Change rules to create correct lib.a.
1912 * libm/machine/Makefile.in: Regenerated through automake.
1914 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1916 * Makefile.am (DOCDIR): Force to empty string when doc
1917 directory is not present.
1919 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1921 * libc/machine/i386/f_*: Move to libm/machine/i386.
1923 2001-12-18 Joel Sherrill <joel@OARcorp.com>
1925 * libm/machine/Makefile.am: Add dummy doc stub so
1928 2001-12-17 Joel Sherrill <joel@OARcorp.com>
1930 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
1932 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1934 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
1935 $(COMPILE) rather than $(CC).
1936 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
1937 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
1938 $(LIB_COMPILE) change.
1939 (vfiprintf.$(oext)): Likewise.
1941 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
1943 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
1944 conditionalized including of getopt stuff.
1946 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1948 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
1950 (vfiprintf.$(oext)): Likewise.
1952 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
1954 * Makefile.shared: New file.
1955 * libc/sys/linux/shared.ld: New file.
1956 * libm/machine/*: New files.
1957 * libm/machine/i386/*: New files.
1958 * Makefile.am: Add libtool support. Change math and mathfp
1959 references to variables.
1960 * configure.host: Add variables for libtool support. Add
1961 libm_machine_dir variable.
1962 * configure.in: Add objectlist variables, for libtool
1963 support. Add CC_FOR_BUILD tests.
1964 * libc/Makefile.am: Add libtool support. Change crt0.o
1965 reference to be a variable reference.
1966 * libc/configure.in: Add libtool support. Change sublib
1967 names to be lib${subdir}.la when using libtool.
1968 * libc/ctype/Makefile.am: Add libtool support.
1969 * libc/errno/Makefile.am: Likewise.
1970 * libc/locale/Makefile.am: Likewise.
1971 * libc/machine/Makefile.am: Likewise.
1972 * libc/machine/configure.in: Likewise.
1973 * libc/machine/i386/Makefile.am: Likewise.
1974 * libc/machine/i386/configure.in: Likewise.
1975 * libc/misc/Makefile.am: Likewise.
1976 * libc/posix/Makefile.am: Likewise.
1977 * libc/reent/Makefile.am: Likewise.
1978 * libc/signal/Makefile.am: Likewise.
1979 * libc/stdio/Makefile.am: Likewise.
1980 * libc/stdlib/Makefile.am: Likewise.
1981 * libc/string/Makefile.am: Likewise.
1982 * libc/sys/Makefile.am: Likewise.
1983 * libc/sys/configure.in: Likewise.
1984 * libc/sys/linux/Makefile.am: Add libtool support. Change
1985 awk reference to a variable reference. Change signal.h
1986 reference to a variable reference.
1987 * libc/sys/linux/configure.in: Add libtool support.
1988 * libc/syscalls/Makefile.am: Likewise.
1989 * libc/time/Makefile.am: Likewise.
1990 * libc/unix/Makefile.am: Likewise.
1991 * libm/Makefile.am: Add libtool support. Change math and
1992 mathfp references to variables.
1993 * libm/configure.in: Add libtool support. Add
1994 LIBM_MACHINE_LIB variable.
1995 * libm/common/Makefile.am: Add libtool support.
1996 * libm/math/Makefile.am: Likewise.
1997 * libm/mathfp/Makefile.am: Likewise.
1998 Regenerate all Makefile.in, aclocal.m4, and configure.
2000 2001-12-13 Anita Kulkarni <anitak@kpit.com>
2002 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
2004 2001-12-06 John Peacock <jpeacock@rowman.com>
2006 * libc/include/sys/unistd.h: Correct ualarm declaration.
2008 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2010 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
2011 vector before calling the initialisation functions.
2013 2001-11-29 Christopher Faylor <cgf@redhat.com>
2015 * libc/include/dirent.h: Protect against multiple inclusion.
2017 2001-11-27 Christopher Faylor <cgf@redhat.com>
2019 * libc/include/sys/types.h: Define useconds_t.
2020 * libc/include/sys/ulimit.h: Declare ualarm.
2022 2001-11-21 Christopher Faylor <cgf@redhat.com>
2024 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
2026 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
2028 * libc/sys/mmixware/*: Tweak license header in all source files.
2030 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
2032 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
2033 to here. Rearrange for general inclusion by stdlib.h.
2034 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
2036 * libc/sys/linux/include/alloca.h: Move to libc/include.
2038 2001-11-12 Anthony Green <green@redhat.com>
2040 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
2042 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
2044 * libc/sys/mmixware/*: Correct spacing in all source files.
2045 * libc/sys/mmixware/syscall.h: Move misplaced file...
2046 * libc/sys/mmixware/sys/syscall.h: ...here.
2048 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
2050 * libc/include/machine/ieeefp.h: Add support for mmix target.
2051 * libc/include/machine/setjmp.h: Ditto.
2052 * configure.host: Ditto.
2053 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
2054 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
2055 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
2056 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
2057 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
2058 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
2059 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
2060 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
2061 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
2062 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
2063 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
2064 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
2065 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
2066 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
2067 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
2068 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
2069 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
2070 libc/sys/mmixware/aclocal.m4: Generate.
2072 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
2074 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
2075 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
2076 when __CYGWIN__ is defined.
2077 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
2080 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
2082 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
2083 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
2084 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
2085 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
2087 2001-10-24 Christopher Faylor <cgf@redhat.com>
2089 * libc/stdio/fseek.c: Reset pointer to buffer base
2090 when forced to seek outside of current buffer contents.
2091 This prevents the code from erroneously thinking there is
2092 anything in the current buffer.
2094 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
2096 * libc/include/math.h: The C++ standard adds the single-precision
2097 versions of the elementary functions.
2099 2001-10-22 Christopher Faylor <cgf@redhat.com>
2101 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
2103 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
2104 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
2105 * system.c (_system_r): Ditto.
2107 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
2109 * libc/include/sys/unistd.h: Add prototype for fchdir() when
2110 __CYGWIN__ or __rtems__ is defined.
2112 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
2114 * libc/include/stdlib.h: add declarations for
2115 _strtoull_r, _strtoll_r, strtoull, and strtoll.
2116 * libc/stdio/local.h: remove declarations of
2117 __strtoull_r and __strtoll_r.
2118 * libc/stdio/vfscanf.c(__svfscanf_r): call
2119 _strtoull_r instead of __strtoull_r. Ditto
2120 _strtoll_r vs. __strtoll_r.
2121 * libc/stdlib/Makefile.am: add new files to
2122 .c list and .def list
2123 * libc/stdlib/Makefile.in: regenerate
2124 * libc/stdlib/strtoll_r.c: rename __strtoll_r
2126 * libc/stdlib/strtoull_r.c: rename __strtoull_r
2128 * libc/stdlib/strtoull.c: new file
2129 * libc/stdlib/strtoll.c: new file
2131 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
2133 * libc/include/process.h: Add getpid() declaration.
2135 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2137 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
2138 for new style arm/elf ctor/dtor handling.
2139 Minor formatting tidy up.
2141 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
2143 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
2145 * libc/stdlib/Makefile.in: Regenerated.
2146 * libc/stdlib/strtoll_r.c: New file.
2147 * libc/stdlib/strtoull_r.c: New file.
2148 * libc/stdio/local.h: Add prototypes for long long string
2149 conversion routines.
2150 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
2151 tied to %L integer conversion specifier.
2153 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
2155 * strftime.c (strftime): Fix "%W" implementation to properly handle
2158 2001-09-07 Jeff Law <law@redhat.com>
2160 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
2161 __fini with "mov.l" instead of "mov.w".
2163 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
2165 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
2168 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
2170 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
2172 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
2174 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
2176 (__DIRENT_VERSION): New define.
2178 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
2180 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
2181 Shrink __d_reserved accordingly to keep structure size.
2182 (dirfd): Declare external.
2184 2001-08-29 Joel Sherrill <joel@OARcorp.com>
2186 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
2188 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2190 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
2191 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
2192 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
2193 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
2194 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
2195 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
2196 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
2197 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
2198 Add conditional compilation to avoid HW FPU instructions
2199 when compiled for soft-float.
2201 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
2203 * Makefile.am: Add check for ln failing when creating libg.a
2204 so that cp gets used as a backup.
2205 * Makefile.in: Regenerated.
2207 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
2209 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
2210 No longer include time.h. Add struct __tm to use for
2211 _localtime_buf in the reentrant structure. Add a
2212 _NULL definition to use in initializing the reentrant struct.
2213 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
2214 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
2216 * libc/include/sys/unistd.h: Include <sys/_types.h>.
2217 * libc/time/lcltime.c (localtime): Cast the reentrant struct
2218 _localtime_buf to be struct tm *.
2220 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
2222 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
2223 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
2225 * libc/sys/h8300hms/syscalls.c: Include errno.h.
2226 (_unlink): New stub function.
2228 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
2230 * libc/include/sys/errno.h: Add a cautionary comment.
2232 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
2234 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
2235 for SIZE_SZ so that alignment ends up a minimum of 8.
2237 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
2239 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
2242 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
2245 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
2247 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
2248 macro constants for mallopt options.
2249 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
2251 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
2253 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
2256 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
2258 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
2260 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
2262 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
2263 Define for little endian ARMs.
2265 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
2266 __IEEE_BYTES_LITTLE_ENDIAN is defined.
2268 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
2270 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
2272 2001-06-11 Egor Duda <deo@logos-m.ru>
2274 * libc/ctype/ctype_.c: When compiled with gcc on platforms
2275 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
2276 initialized memory region. Platform can define COMPACT_CTYPE
2277 to avoid allocation of the additional 128 bytes of data.
2278 Add pointer to _ctype_ array. Always initialize all _ctype_
2281 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
2283 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
2286 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2288 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
2290 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
2292 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
2293 matching, non-word alignment, and the length is <= 4 but more than
2294 enough to move them over a word boundary.
2295 Add comments explaining what each instruction does.
2297 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
2299 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
2300 * libc/include/sys/unistd.h: Ditto.
2302 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
2304 * libc/string/strrchr.c: Use strchr for the speed improvements.
2306 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
2308 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
2309 real file systems, let __smakebuf() determine if line buffering
2310 should be used for stdout.
2312 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
2314 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
2316 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
2318 * libc/include/stdlib.h: Add prototype for _strtod_r.
2320 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
2322 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
2323 * libc/stdio/vprintf.c (_vprintf_r): new function
2324 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
2325 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
2326 _DEFUN, and call _vfprintf_r, not vfprintf.
2327 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
2328 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
2329 _DEFUN, and call _vfprintf_r, not vfprintf.
2331 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
2333 * libc/include/sys/unistd.h [X_OK]: Use better protection against
2334 Cygwin X_OK definitions in sys/file.h.
2336 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
2338 * libc/include/sys/time.h: Define timercmp and other macros for
2341 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
2343 * acinclude.m4: Added --enable-malloc-debugging configure flag.
2344 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
2345 --enable-malloc-debugging selected.
2346 * aclocal.m4 configure: Regenerated.
2347 libm/aclocal.m4 libm/configure: Ditto.
2348 * libc/aclocal.m4 libc/configure: Ditto.
2349 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
2350 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
2351 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
2352 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
2353 * doc/aclocal.m4 doc/configure: Ditto.
2355 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
2357 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
2359 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
2360 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
2361 function prototypes.
2362 (_fscanf_r, _sscanf_r): Ditto.
2363 * libc/include/stdlib.h: Added _strtod_r prototype.
2364 * libc/stdio/Makefile.am: Add new v*scanf functions.
2365 * libc/stdio/Makefile.in: Regenerate.
2366 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
2367 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
2368 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
2369 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
2370 (sscanf): Changed to call __svfscanf_r with _REENT argument.
2371 (_sscanf_r): New routine.
2372 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
2373 with __svfscanf_r prototype.
2374 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
2376 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
2377 structure as argument as calls reentrant versions of helper functions
2378 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
2379 to _strtol_r and _strtod_r respectively.
2380 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
2381 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
2383 * libc/stdio/vscanf.c: New file.
2384 * libc/stdio/vsscanf.c: Ditto.
2386 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
2388 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
2389 Define daylight to _daylight if it is not defined
2390 Prepare a variable export of timezone based on timezonevariable.
2391 (Cannot be used with the timezone() function.)
2393 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
2395 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
2396 Correct the numerical values.
2398 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
2400 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
2402 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
2404 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
2405 on case insensitve file systems.
2407 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
2409 * libc/include/sys/features.h: Add appropriate defines for Cygwin
2411 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
2412 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
2413 types. Include <cygwin/types.h> for the cygwin specific typedefs.
2415 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
2417 * libc/include/machine/ieeefp.h: Comment about new configuration
2418 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
2419 * libm/common/fdlib.h: Define new macros for testing floats.
2420 * libm/common/sf_*: Use them.
2421 * libm/math/ef_*: Likewise.
2422 * libm/math/sf_*: Likewise.
2424 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
2426 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
2427 prolog to by-pass possible assembler error.
2429 2001-03-21 Egor Duda <deo@logos-m.ru>
2431 Allow building internal stubs for non-reentrant syscalls
2432 if target provides its own malloc
2433 * libc/reent/reent.c (errno): Move definition here.
2434 * libc/reent/sbrkr.c: From here.
2436 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
2438 * libc/include/sys/types.h (BSD int typedefs): Guard with
2439 _BSDTYPES_DEFINED rather than _WINSOCK_H.
2440 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
2442 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
2443 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
2445 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
2447 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
2448 _PC_POSIX_SECURITY constants for Cygwin.
2450 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
2452 * libc/sys/cygwin/crt0.c: Add copyright hint.
2453 * libc/sys/cygwin/sys/dirent.h: Ditto.
2454 * libc/sys/cygwin/sys/param.h: Ditto.
2455 * libc/sys/cygwin/sys/utime.h: Ditto.
2456 * libc/sys/cygwin/sys/utmp.h: Ditto.
2458 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
2460 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
2461 equivalent to LONGINT.
2463 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
2465 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
2466 jmpbuf on MIPS64 targets.
2467 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
2469 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
2471 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
2474 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
2476 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
2477 For RTEMS, define to be ssize_t. Default to int if not defined.
2478 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
2479 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
2480 * libc/stdio/local.h (__sread, __swrite): Likewise.
2481 * libc/include/sys/reent.h (_read, _write): Likewise.
2482 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
2483 * libc/syscalls/sysread.c (read): Likewise.
2484 * libc/syscalls/syswrite.c (write): Likewise.
2486 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
2488 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
2490 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
2492 * libc/include/sys/stat.h: Use special defines for executable stat bits
2493 when compiling for Cygwin.
2494 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
2497 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
2499 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
2500 of strtok_r is always defined.
2502 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
2504 * libc/include/machine/ansi.h: New dummy header file.
2506 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
2508 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
2509 changed the copyright information to allow free modification of the
2510 file with no reference to "copying.dj".
2511 * libc/include/sys/stat-dj.h: Ditto.
2512 * libc/machine/i386/setjmp.S: Ditto.
2513 * libc/sys/h8300hms/sys/file.h: Ditto.
2514 * libc/sys/sysmec/access.c: Ditto.
2515 * libc/sys/sysnecv850/access.c: Ditto.
2516 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
2517 * libc/stdlib/getenv_r.c: Ditto.
2518 * libc/stdlib/putenv_r.c: Ditto.
2519 * libc/stdlib/setenv_r.c: Ditto.
2520 * libc/stdlib/getenv.c: Removed DJ reference since any possible
2521 modifications will now be in the _r version of this file.
2522 * libc/stdlib/putenv.c: Ditto.
2523 * libc/stdlib/setenv.c: Ditto.
2524 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
2525 valid. Added a reference to DJ's web page that contains his address.
2526 * libc/sys/go32/*.s: Removed references to DJ's old address.
2527 * libc/sys/go32/*.c: Ditto.
2528 * libc/sys/go32/*.h: Ditto.
2529 * libc/sys/go32/*.S: Ditto.
2530 * libc/sys/go32/sys/*.h: Ditto.
2532 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
2534 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
2535 HAVE_FCNTL flag check.
2536 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
2537 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
2539 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
2541 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
2543 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2545 * libc/include/stdlib.h: Add declarations of rand48 functions and
2546 their reentrant versions.
2547 * libc/include/sys/reent.h: Move macros from rand48.h. Add
2548 struct _rand48 for shared parameters of rand48 functions.
2549 (struct _reent): Add a variable _r48 of struct _rand48.
2550 (_REENT_INIT): Add _r48 initialization.
2551 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
2552 (CHEWOUT_FILES): Add rand48.def.
2553 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
2554 * libc/stdlib/Makefile.in: Regenerated.
2555 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
2557 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
2558 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
2559 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
2560 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
2561 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
2562 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
2563 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
2564 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
2565 * libc/stdlib/rand48.c (__dorand48): Ditto.
2566 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
2567 parameters into macros referring them in the reentrant structure.
2569 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
2571 * libc/include/sys/stat.h: Add mknod for Cygwin now that
2572 Cygwin definition has correct prototype.
2574 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
2576 * libc/include/sys/stat.h: Must revert change for mknod
2577 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
2580 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
2582 * libc/include/stdio.h: Revert putw prototype.
2584 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
2586 * libc/include/grp.h: add prototype for initgroups.
2587 * libc/include/stdio.h: fix prototype for putw.
2588 * libc/include/sys/signal.h: add prototype for killpg.
2589 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
2590 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
2591 vhangup and remove duplicate sysconf prototype.
2593 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
2595 * libc/sys/rtems/sys/types.h: Removed.
2597 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
2599 * libc/include/locale.h: add LC_MESSAGES definition
2601 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2603 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
2605 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
2606 __setup_argv_and_call_main): New.
2608 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
2610 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
2612 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
2613 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
2614 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
2615 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2617 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
2619 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
2620 compiling under Cygwin.
2622 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
2624 * libc/include/math.h (signgam): Change to errno-like solution
2625 using a function to return the address of the real signgam.
2626 * libc/reent/signgam.c: New file containing __signgam().
2627 * libc/reent/Makefile.am: Added signgam.c to list of files.
2628 * libc/reent/Makefile.in: Regenerated.
2630 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
2632 * libc/sys/sh/syscalls.c (_times): New.
2634 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
2635 * libc/sys/sh/syscalls.c (_gettimeofday): New.
2637 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2639 * libc/include/math.h (signgam): Regress previous fix as
2640 it does not handle programs with extern int signgam in them.
2642 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2644 * libc/include/math.h (signgam): Changed to a macro refering to
2645 its location in the reentrant structure.
2647 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2649 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
2650 that suppressed . for %.0f, 0.1. Check now looks if there
2651 are padding zeroes (expt) in addition to any digits (ndig) to
2654 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
2656 * libc/sys/arc/Makefile.am: New file.
2657 * libc/sys/arc/Makefile.in: Ditto.
2658 * libc/sys/arc/aclocal.m4: Ditto.
2659 * libc/sys/arc/configure: Ditto.
2660 * libc/sys/arc/configure.in: Ditto.
2661 * libc/sys/arc/crt0.S: Ditto.
2662 * libc/sys/arc/isatty.c: Ditto.
2663 * libc/sys/arc/mem-layout.c: Ditto.
2664 * libc/sys/arc/sbrk.c: Ditto.
2665 * libc/sys/arc/syscalls.c: Ditto.
2666 * libc/sys/arc/sys/syscall.h: Ditto.
2668 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
2670 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2672 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
2674 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2676 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
2678 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2680 2001-01-09 Nick Clifton <nickc@redhat.com>
2682 * configure.host (v859): Remove unsupported compiler options.
2684 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
2686 * src/newlib/configure.host (*-*-rtems*): add printf long long
2689 2000-12-19 Graham Stott <grahams@redhat.com>
2691 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2693 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
2695 * configure.host: Turn on long double I/O for Cygwin.
2697 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
2699 * MAINTAINERS: Removed Ranjith.
2700 * NEWS: Updated for 1.9.0.
2702 * acinclude.m4: Updated to release 1.9.0.
2703 * aclocal.m4 configure
2704 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2705 libc/machine/aclocal.m4 libc/machine/configure
2706 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2707 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2708 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2709 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2710 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2711 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2712 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2713 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2714 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2715 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2716 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2717 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2718 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2719 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2720 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2721 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2722 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2723 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2724 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2725 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2726 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2727 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2728 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2729 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2730 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2731 libc/sys/aclocal.m4 libc/sys/configure
2732 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2733 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2734 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2735 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2736 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2737 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2738 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2739 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2740 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2741 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2742 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2743 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2744 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2745 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2746 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2747 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2748 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2749 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2750 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2751 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2752 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2753 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2754 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2755 libm/aclocal.m4 libm/configure: Regenerated.
2757 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2759 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2760 when __CYGWIN__ is defined.
2762 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
2764 * libc/stdlib/ldtoa.c (_ldcheck): New routine
2765 that categorizes a long double as NaN, Infinity, or other.
2766 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
2767 isinfl and isnanl static routines which were i386-specific. Changed
2768 calls to the two removed routines to a single _ldcheck call.
2769 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2771 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
2773 * Makefile.am: Fixed install-data-local target to use
2774 $(mkinstalldirs) for the installed header files to ensure
2775 the directories exist before copying.
2776 * Makefile.in: Regenerated.
2778 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
2780 * libc/include/sys/unistd.h: Restored Cygwin _SC
2781 constants and moved new constants appropriately
2782 so Cygwin will build.
2784 2000-12-11 Joel Sherrill <joel@OARcorp.com>
2786 * Merge RTEMS specific .h files into main libc/include.
2787 * libc/sys/rtems/include/signal.h: Removed.
2788 * libc/sys/rtems/include/time.h: Removed.
2789 * libc/sys/rtems/sys/features.h: Removed.
2790 * libc/sys/rtems/sys/sched.h: Removed.
2791 * libc/sys/rtems/sys/siginfo.h: Removed.
2792 * libc/sys/rtems/sys/signal.h: Removed.
2793 * libc/sys/rtems/sys/time.h: Removed.
2794 * libc/sys/rtems/sys/times.h: Removed.
2795 definitions for time_t and clock_t since these are
2796 no longer in time.h.
2797 * libc/include/pthread.h: New file.
2798 * libc/include/sys/sched.h: New file.
2799 * libc/include/sys/features.h: New file.
2800 * libc/include/time.h: Removed duplicate definition of clock_t
2801 and time_t, get them from <sys/types.h> instead. Add prototypes
2802 for POSIX clock and timer functionality.
2803 * libc/sys/linux/sys/types.h: Changed to include
2804 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2805 * libc/include/sys/signal.h: Add more complete set of POSIX
2806 signal functionality including real-time and threaded signals.
2807 * libc/include/sys/types.h: Add clock_t, time_t, struct
2808 timespec, and struct itimerspec. Centralizing these makes
2809 things cleaner. RTEMS uses 64-bit dev_t.
2810 Added numerous primitive definitions
2811 for pthreads including macros, pthread_attr_t,
2812 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
2813 pthread_once_t, and pthread_t.
2814 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2815 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2816 Feature flags removed and moved to new file <sys/features.h>.
2817 Full set of POSIX sysconf() constants
2819 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
2821 * configure.host: Added x86 linux target.
2822 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2823 definitions provided if not already defined.
2824 * libc/sys/linux/crt0.c: New file.
2825 * libc/sys/linux/Makefile.am: Ditto.
2826 * libc/sys/linux/Makefile.in: Ditto.
2827 * libc/sys/linux/aclocal.m4: Ditto.
2828 * libc/sys/linux/brk.c: Ditto.
2829 * libc/sys/linux/configure: Ditto.
2830 * libc/sys/linux/configure.in: Ditto.
2831 * libc/sys/linux/getoptlong.c: Ditto.
2832 * libc/sys/linux/ids.c: Ditto.
2833 * libc/sys/linux/inode.c: Ditto.
2834 * libc/sys/linux/io.c: Ditto.
2835 * libc/sys/linux/linux.c: Ditto.
2836 * libc/sys/linux/process.c: Ditto.
2837 * libc/sys/linux/realpath.c: Ditto.
2838 * libc/sys/linux/select.c: Ditto.
2839 * libc/sys/linux/signal.c: Ditto.
2840 * libc/sys/linux/systat.c: Ditto.
2841 * libc/sys/linux/termios.c: Ditto.
2842 * libc/sys/linux/time.c: Ditto.
2843 * libc/sys/linux/wait.c: Ditto.
2844 * libc/sys/linux/include/alloca.h: Ditto.
2845 * libc/sys/linux/include/getopt.h: Ditto.
2846 * libc/sys/linux/include/stdint.h: Ditto.
2847 * libc/sys/linux/include/unistd.h: Ditto.
2848 * libc/sys/linux/sys/cdefs.h: Ditto.
2849 * libc/sys/linux/sys/dirent.h: Ditto.
2850 * libc/sys/linux/sys/errno.h: Ditto.
2851 * libc/sys/linux/sys/fcntl.h: Ditto.
2852 * libc/sys/linux/sys/file.h: Ditto.
2853 * libc/sys/linux/sys/ioctl.h: Ditto.
2854 * libc/sys/linux/sys/resource.h: Ditto.
2855 * libc/sys/linux/sys/signal.h: Ditto.
2856 * libc/sys/linux/sys/stat.h: Ditto.
2857 * libc/sys/linux/sys/syscall.h: Ditto.
2858 * libc/sys/linux/sys/termios.h: Ditto.
2859 * libc/sys/linux/sys/time.h: Ditto.
2860 * libc/sys/linux/sys/types.h: Ditto.
2861 * libc/sys/linux/sys/utmp.h: Ditto.
2862 * libc/sys/linux/sys/utsname.h: Ditto.
2863 * libc/sys/linux/sys/wait.h: Ditto.
2865 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2867 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
2868 can be a relative path to $(top_srcdir)/install.sh so ensure the
2869 autoconf detected settings are properly passed recursively.
2870 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2871 properly to subdirectories.
2872 * Makefile.in: Regenerated.
2874 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
2876 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2877 a floating point register unless really printing a floating
2880 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
2882 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2884 (asctoeg): Replaced alloca call with stack array and malloc
2885 when storage exceeds reasonable limit.
2886 (e53toe): Fixed einfin calls missing ldp parameter.
2887 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2889 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
2892 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2894 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
2896 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
2897 * libc/stdlib/Makefile.in: Regenerated.
2898 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
2899 * libc/stdio/vfieeefp.h: Added long double bit structures.
2900 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
2901 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
2902 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
2903 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
2904 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
2905 _strtold routines used for conversions between character
2908 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2910 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
2912 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2914 * libc/include/machine/time.h: RTEMS systems can configure clock
2915 tick rate so use sysconf() to ask.
2917 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2919 * libc/include/sys/times.h: Add reference to POSIX standard.
2921 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2923 * libc/include/sys/time.h: Added BSD timer manipulation macros
2926 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2928 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
2929 referenced by code generated by gcc 2.8.1.
2930 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
2933 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2935 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2937 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2939 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2941 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2943 * configure.host (or16, or32): New entries for OpenCores
2945 (*-*-rtems*): Add -DNO_EXEC.
2947 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
2949 * libc/include/sys/errno.h: Added comments on many error numbers.
2950 * libc/string/strerror.c: Added some more strings.
2952 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
2954 * libc/sys/sh/syscalls.c (_link): New stub.
2956 2000-11-29 Nick Clifton <nickc@redhat.com>
2958 * configure.host: Add xscale target.
2959 * libc/machine/xscale: New directory.
2960 * libc/machine/xscale/Makefile.am: New file.
2961 * libc/machine/xscale/Makefile.in: New file.
2962 * libc/machine/xscale/aclocal.m4: New file.
2963 * libc/machine/xscale/configure: New file.
2964 * libc/machine/xscale/configure.in: New file.
2965 * libc/machine/xscale/memchr.S: New file.
2966 * libc/machine/xscale/memcmp.S: New file.
2967 * libc/machine/xscale/memcpy.S: New file.
2968 * libc/machine/xscale/memmove.S: New file.
2969 * libc/machine/xscale/memset.S: New file.
2970 * libc/machine/xscale/strchr.S: New file.
2971 * libc/machine/xscale/strcmp.S: New file.
2972 * libc/machine/xscale/strcpy.S: New file.
2973 * libc/machine/xscale/strlen.S: New file.
2975 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2977 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
2978 avoid compiler warnings.
2980 2000-11-22 Michael Meissner <meissner@redhat.com>
2982 * libc/posix/execl.c (execl): Don't reference environ directly,
2983 reference it only via a static pointer to avoid problems with some
2984 shared library systems and with different uses of small data where
2985 the user specifies his own version of environ.
2986 * libc/posix/execv.c (execv): Ditto.
2987 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
2988 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
2989 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
2991 * libc/stdlib/getenv.c (environ): Delete unused reference to
2994 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
2996 * libc/stdlib/system.c: Ditto.
2998 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
3000 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
3001 including windows headers.
3003 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
3005 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
3006 * libc/include/dirent.h: Added definition of MAXNAMLEN if
3007 not defined by sys/dirent.h.
3008 * libc/posix/execvp.c: Added include of dirent.h to get
3009 MAXNAMLEN value which used to be in unistd.h.
3011 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3013 * libc/include/sys/types.h: Change type of i to `size_t' in
3014 FD_ZERO macro to avoid compiler warnings.
3016 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
3018 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
3019 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
3021 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3023 * libc/include/sys/unistd.h: Add defines for sysconf values
3024 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
3027 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
3029 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
3030 declarations for __CYGWIN__.
3032 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
3034 * libc/signal/signal.c (__sigtramp_r): ISO C requires
3035 case labels to be integral constant expressions, so
3036 use an if/else tree instead.
3037 (_raise_r): Likewise.
3039 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
3041 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
3042 clipping patch from e-mail reader.
3044 2000-09-13 Will Cohen <wcohen@redhat.com>
3046 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
3047 Added return value 0.
3048 (_longjmp): Allow longjmp to return value of second argument
3051 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
3053 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
3054 inline code to prevent having to include another header file.
3056 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
3058 * Makefile.am: Fix space vs. tab problem in install-data-local.
3059 * Makefile.in: Regenerate.
3061 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
3063 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
3064 (_EXPARM): New macro for defining a function parameter.
3065 * libc/include/stdlib.h: Use _EXPARM.
3066 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
3068 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
3070 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
3071 required, as documented in the gnu coding standards.
3072 * Makefile.in: Regenerate.
3074 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
3076 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
3077 make O_NDELAY and O_NONBLOCK have the same value.
3079 2000-08-30 Kazu Hirata <kazu@hxi.com>
3081 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
3083 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
3085 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
3086 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
3087 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
3090 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
3092 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
3093 * libc/include/string.h: Don't include <sys/types.h>,
3094 as it causes really bad namespace pollution. Don't declare
3095 swab(), it is properly declared in unistd.h.
3097 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
3099 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
3100 (broken) support for non-existent /etc/passwd field "comment".
3102 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
3104 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
3105 only if _DIRENT_HAVE_D_NAMLEN is defined.
3106 (alphasort): aligned prototype with
3107 libc/sys/cygwin/sys/dirent.h and simplified function body.
3108 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
3109 long telldir (DIR *) as mentioned in annex B of POSIX.1
3111 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
3113 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
3114 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
3115 Added __CLI and __STI macros (controlled via
3116 _I386MACH_ALLOW_HW_INTERRUPTS macro).
3117 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
3118 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
3119 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
3120 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
3121 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
3122 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
3123 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
3124 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
3125 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
3126 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
3127 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
3128 for all global entry points.
3129 * libc/machine/i386/setjmp.S: removed code replicated in
3130 libc/machine/i386/i386mach.h and included i386mach.h instead;
3131 Use __CLI and __STI instead of cli and sti.
3133 2000-08-25 DJ Delorie <dj@redhat.com>
3135 * libc/include/sys/unistd.h (environ): this one isn't from the
3138 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
3140 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
3141 environ when compiling under cygwin since it is already declared in
3144 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
3146 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
3147 like x << y-z to the equivalent x << (y-z).
3148 (d2b): changed if statements with assignment to perform the
3149 assignment prior to the if check.
3150 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
3151 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
3152 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
3153 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
3155 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
3156 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
3158 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
3160 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
3161 clarify && and || precendence (and to remove pascalism).
3162 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
3163 * libm/math/s_infconst.c: added another pair of braces to all
3164 initializers for __infinity (need three: for __infinity[1] array,
3165 for union __dmath, and for i[2]).
3167 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
3169 * libc/stdlib/abort.c: changed description: uses "raise" instead of
3170 "getpid" and "kill"; added: uses "write" and "_exit".
3171 Also included unistd.h for "_exit" prototype.
3172 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
3173 reent.h for "_fork_r" and "_wait_r" prototypes.
3174 (do_system): changed extern char *environ[] to POSIX-friendly
3175 extern char **environ.
3176 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
3178 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
3179 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
3180 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
3181 * libc/reent/openr.c: included fcntl.h for "open" prototype.
3182 * libc/reent/signalr.c: included signal.h for "kill" prototype,
3183 unistd.h for "getpid" prototype.
3184 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
3185 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
3186 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
3187 prototype. Also included stdlib.h for "abort", string.h for
3188 "strdup" and "strncmp" prototypes.
3189 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
3190 "strncpy", unistd.h for "read" and "close" prototypes.
3191 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
3192 "strcat" prototypes.
3194 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
3196 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
3197 used later (ifdef __SCLE)
3198 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
3199 used later (ifdef MB_CAPABLE)
3200 * libc/string/memset.c (memset): removed unused variables "count"
3201 and "unaligned_addr"
3202 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
3203 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
3204 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
3207 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
3209 * libc/stdlib/envlock.c: changed documented "__env_lock" and
3210 "__env_unlock" prototype from "void *" or "char *" to
3211 "struct _reent *" to match real function. Also added include
3213 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
3214 "__malloc_unlock" prototype from "void *" or "char *" to
3215 "struct _reent *" to match real function.
3216 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
3217 prototypes (for getenv_r.c and setenv_r.c).
3219 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
3221 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
3222 and prototype in cygwin's utmp.h
3224 2000-08-16 Eric Fifer <efifer@sanwaint.com>
3226 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
3228 2000-08-09 Nick Clifton <nickc@cygnus.com>
3230 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
3231 epilogue and to allow the functions to be used in a Thumb based
3234 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
3236 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
3237 so size of 0 results in nothing being written to string.
3238 Also fixed code so that when size is non-zero, there is only
3239 a maximum of size - 1 characters written to the array and
3240 a nul terminator is appended at the end.
3241 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3243 2000-08-01 DJ Delorie <dj@redhat.com>
3245 * libc/include/sys/config.h: define __IMPORT appropriately
3246 * libc/include/ctype.h (_ctype_): use __IMPORT
3247 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
3248 * libc/include/math.h (__mb_cur_max): ditto
3249 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
3250 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
3251 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
3252 * libc/include/unistd.h (environ): ditto
3254 2000-07-28 Michael Meissner <meissner@redhat.com>
3256 * libc/include/math.h (__infinity): Declare as an array without
3257 bounds to get around small data support. Rewrite Cygwin support
3259 * libm/math/s_infconst.c (__infinity): Ditto.
3260 * libm/mathfp/s_infconst.c (__infinity): Ditto.
3262 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
3264 * libc/include/math.h: Use appropriate dll import linkage for
3265 __infinity under Cygwin.
3267 2000-07-13 DJ Delorie <dj@cygnus.com>
3269 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
3271 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
3273 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
3274 to argument list for AngelSWI_Reason_GetCmdLine.
3276 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
3278 * configure.host: Add support for AVR target.
3279 * libc/include/machine/ieeefp.h: Likewise.
3280 * libc/include/sys/config.h: Likewise.
3282 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
3284 * README: Newlib 1.8.2 must be built in a separate directory
3287 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3289 * libc/include/sys/reent.h (_rand_next): Added __extension__
3290 qualifier as long long type is not strict ANSI.
3291 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
3292 to long long constant.
3294 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
3296 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
3297 `setegid' provided by Cygwin.
3299 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
3301 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
3304 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3306 * libc/include/sys/reent.h (_rand_next): Changed to
3307 unsigned long long and moved to end of _reent struct in _new union.
3308 (_REENT_INIT): Changed to move _rand_next initialization.
3309 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
3310 linear congruential algorithm that is used by DJGPP.
3312 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
3314 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
3315 * libc/include/sys/config.h: Define __RAND_MAX.
3317 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3319 * libc/stdlib/rand_r.c: New algorithm that meets minimal
3322 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
3324 * libc/include/string.h: Work around problem with strsignal and gdb.
3326 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
3328 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
3329 * libc/include/malloc.h: Ditto.
3330 * libc/include/process.h: Ditto.
3331 * libc/include/stdio.h: Ditto.
3332 * libc/include/stdlib.h: Ditto.
3333 * libc/include/time.h: Ditto.
3334 * libc/include/machine/setjmp.h: Ditto.
3335 * libc/include/sys/errno.h: Ditto.
3336 * libc/include/sys/signal.h: Ditto.
3337 * libc/include/sys/stat.h: Ditto.
3338 * libc/include/sys/time.h: Ditto.
3339 * libc/include/sys/unistd.h: Ditto.
3340 * libc/include/string.h: Ditto. strsignal should return a const char *.
3342 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
3344 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
3345 * libm/common/s_log1p.c (log1p): Likewise.
3346 * libm/common/s_scalbn.c (scalbn): Likewise.
3347 * libm/math/e_log.c: Likewise.
3348 * libm/math/e_asin.c: Likewise.
3349 * libm/math/ef_asin.c: Likewise.
3350 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
3351 * libm/math/e_j1.c (pone, qone): Likewise.
3352 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
3353 * libm/math/ef_j1.c (ponef, qonef): Likewise.
3354 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
3355 * libm/mathfp/e_j1.c (pone, qone): Likewise.
3356 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
3357 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
3359 2000-05-19 DJ Delorie <dj@cygnus.com>
3361 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
3362 (__sread): always read in binary mode
3363 (__swrite): always write in binary mode
3364 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
3365 compatibility issues with different dll versions
3366 * libc/stdio/fopen.c: use __stextmode
3367 * libc/stdio/fdopen.c: ditto
3368 * libc/stdio/freopen.c: ditto
3369 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
3370 * libc/stdio/local.h: declare __stextmode
3372 2000-05-18 DJ Delorie <dj@cygnus.com>
3374 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
3376 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3378 * libc/include/ctype.h: Changed tolower and toupper macros
3379 to use __extension__ to prevent pedantic warnings.
3381 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
3383 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
3386 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
3388 * libc/include/machine/ieeefp.h: Add ia64 support.
3389 * configure.host: Likewise.
3391 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
3393 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
3394 month is now padded with space, not zero. This now conforms to
3397 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
3399 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
3400 host or network path") used by cygwin. Add some comments.
3402 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
3404 * libc/include/stdio.h (FILE): define __SCLE for "convert line
3405 endings" for Cygwin.
3406 (__sgetc): convert line endings if needed
3408 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
3409 * libc/stdio/fopen.c (_fopen_r): ditto
3410 * libc/stdio/freopen.c (freopen): ditto
3411 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
3412 * libc/stdio/fvwrite.c (__sfvwrite): ditto
3414 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
3416 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
3417 post-increment when it is worth it, spacewise.
3419 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
3421 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
3422 * libc/stdio/findfp.c (std): Added declaration of flags and file.
3423 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
3425 * libc/stdio/putchar.c (putchar): Added return statement.
3426 * libc/stdio/refill.c (lflush): Added correct parentheses.
3427 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3428 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
3429 prints long value to use l qualifier.
3430 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
3431 messages and initialized local values: ilim, ilim1, and spec_case.
3432 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
3433 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
3434 * libc/stdlib/mprec.c: Ditto.
3435 * libc/stdlib/setenv_r.c: Ditto.
3436 * libc/stdlib/strtod.c: Ditto.
3437 * libc/stdlib/strtol.c: Ditto.
3438 * libc/stdlib/strtoul.c: Ditto.
3439 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
3440 * libm/common/sf_log1p.c: Ditto.
3441 * libm/common/sf_scalbn.c: Ditto.
3442 * libm/math/ef_log.c: Ditto.
3444 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
3446 * libc/posix/execvp.c (execvp): Check path for
3449 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
3451 * libc/include/sys/unistd.h: Add prototypes for
3452 fchmod, fchown, lchown.
3454 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3456 * acinclude.m4: Changed release to 1.8.2.
3457 * aclocal.m4 configure doc/aclocal.m4 doc/configure
3458 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
3459 libc/machine/configure libc/machine/a29k/aclocal.m4
3460 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3461 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3462 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3463 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3464 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
3465 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3466 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3467 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3468 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3469 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3470 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3471 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3472 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3473 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3474 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3475 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3476 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3477 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3478 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3479 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3480 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3481 libc/machine/v850/configure libc/machine/w65/aclocal.m4
3482 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
3483 libc/machine/z8k/configure libc/sys/aclocal.m4
3484 libc/sys/aclocal.m4 libc/sys/configure
3485 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3486 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
3487 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
3488 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3489 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3490 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3491 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3492 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3493 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3494 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3495 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3496 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3497 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3498 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3499 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3500 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3501 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3502 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3503 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3504 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3505 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3506 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3507 libm/aclocal.m4 libm/configure: Regenerated.
3509 2000-03-24 Nick Clifton <nickc@cygnus.com>
3511 * libc/sys/arm/syscalls.c: Fix compile time warnings.
3512 (do_AngelSWI): Add "cc" to list o registers clobbered.
3514 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
3516 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
3517 information to be clobbered by an Angel C library support syscall.
3519 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3521 * libc/stdlib/envlock.c: Fixed comment typo.
3523 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3525 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
3526 code to update nread as each character is processed instead
3527 of using buffer contents which throw away leading zeroes.
3529 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
3531 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
3533 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
3535 * libc/include/string.h: Include <sys/types.h>.
3537 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3539 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
3540 with XSH5, not SVID.
3542 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
3544 * libc/include/string.h: Changed last argument back to ssize_t
3545 to make it compatible with XPG4 definition which is
3546 defined in <unistd.h>. There is a conflict in the SVID 3
3547 and XPG4 definitions and newlib will settle with XPG4.
3548 * libc/string/swab.c: Ditto.
3550 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
3552 * libc/include/string.h: Changed last argument to size_t.
3553 * libc/string/swab.c: Changed last argument to size_t.
3555 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3557 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
3558 (CHEWOUT_FILES): Added unlinkr.def.
3559 * libc/reent/Makefile.in: Rebuilt.
3560 * libc/sys.tex: Include unlinkr.def.
3561 * libc/reent/linkr.c (_unlink_r): Moved to...
3562 * libc/reent/unlinkr.c: ... new file.
3564 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3566 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
3567 (CHEWOUT_FILES): Added swab.def.
3568 * libc/string/Makefile.in: Rebuilt.
3569 * libc/string/string.tex: Include swab.def.
3570 * libc/include/string.h (swab): Declare.
3571 * libc/string/swab.c: New file.
3573 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3575 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
3576 (CHEWOUT_FILES): Added getw.def and putw.def.
3577 * libc/stdio/Makefile.in: Rebuilt.
3578 * libc/stdio/stdio.tex: Include getw.def and putw.def.
3579 * libc/stdio/getw.c: New file.
3580 * libc/stdio/putw.c: New file.
3582 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
3584 * libc/stdio/flags.c (__sflags): Added check that mode[1]
3585 is non-null before looking at mode[2].
3587 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
3589 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
3590 * libm/mathfp/sf_atan.c: Ditto.
3592 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
3594 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
3596 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
3598 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
3601 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
3603 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
3604 call prior to calling _VFPRINTF_R so reentrant data area is set.
3605 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
3607 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3609 * libc/stdio/vfscanf.c (limits.h): #include.
3610 (MAX_LONG_LEN): #define.
3611 (__svfscanf): Handle floating point numbers with arbitrary amounts
3614 2000-02-15 Nick Clifton <nickc@cygnus.com>
3616 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
3617 zero. Set the blocksize to 1024/
3619 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
3621 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
3622 with line buffering.
3624 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3626 * acinclude.m4: Changed include directory for winsup headers.
3627 * aclocal.m4 configure libc/aclocal.m4
3628 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
3629 libc/locale/Makefile.in libc/machine/aclocal.m4
3630 libc/machine/configure libc/machine/a29k/aclocal.m4
3631 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3632 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3633 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3634 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3635 libc/machine/fr30/configure
3636 libc/machine/h8300/aclocal.m4
3637 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3638 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3639 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3640 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3641 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3642 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3643 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3644 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3645 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3646 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3647 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3648 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3649 libc/machine/powerpc/configure
3650 libc/machine/sh/aclocal.m4
3651 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3652 libc/machine/sparc/configure
3653 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3654 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3655 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3656 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3657 libc/misc/Makefile.in libc/posix/Makefile.in
3658 libc/reent/Makefile.in
3659 libc/signal/Makefile.in
3660 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3661 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3662 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3663 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3664 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3665 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3666 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3667 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3668 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3669 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3670 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3671 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3672 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3673 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3674 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3675 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3676 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3677 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3678 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3679 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3680 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3681 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3682 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3683 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3684 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3685 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3686 libm/configure: Regenerated.
3688 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
3690 * libc/stdlib/putenv_r.c (_putenv_r): New file.
3691 * libc/stdlib/strdup_r.c (_strdup_r): New file.
3692 * libc/include/string.h: Added _strdup_r.
3693 * libc/stdlib/putenv.c: Added call to reentrant version.
3694 * libc/stdlib/strdup.c: Ditto.
3695 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3696 * libc/include/stdlib.h: Ditto.
3697 * libc/stdlib/Makefile.in: Regenerated.
3698 * libc/string/Makefile.in: Regenerated.
3699 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3700 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3701 management calls to reentrant versions.
3702 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3703 * libc/stdlib/wctomb.c: Ditto.
3704 * libc/stdlib/mblen.c: Ditto.
3705 * libc/stdlib/mbstowcs.c: Ditto.
3706 * libc/stdlib/mbtowc.c: Ditto.
3707 * libc/stdlib/getenv.c: Ditto.
3708 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3711 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
3713 patch from Corinna Vinschen <corinna@vinschen.de>
3714 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3716 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
3718 * libm/mathfp/s_atangent.c: Fix exponent calculation.
3719 * libm/mathfp/s_ldexp.c: Ditto.
3720 * libm/mathfp/sf_atangent.c: Ditto.
3721 * libm/mathfp/sf_ldexp.c: Ditto.
3723 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3725 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3726 * libc/include/locale.h: define NULL to be 0.
3728 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
3730 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3733 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
3735 * libc/machine/mn10300/setjmp.S: Handle am33.
3737 1999-11-26 Nick Clifton <nickc@cygnus.com>
3739 * libc/sys/arm/syscalls.c: Add function prototypes.
3740 (stack_ptr): Move declaration before function definitions.
3742 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3744 * NEWS: Updated version information.
3747 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
3749 * libc/machine/i386/strchr.S: Fixed alignment test.
3751 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
3753 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3755 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
3757 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3758 ensuring that there is space between the two.
3760 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
3762 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3765 1999-10-08 Vadim Egorov <egorovv@1c.ru>
3767 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3770 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3772 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3773 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3775 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
3776 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3778 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3781 1999-09-13 DJ Delorie <dj@cygnus.com>
3783 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3786 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
3788 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
3789 also note BUFSIZ as its size.
3791 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
3793 * configure.host: Corrected feature defines for RTEMS.
3794 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3795 * libc/include/sys/stat.h: mkfifo() should take const path arg.
3796 * libc/include/sys/unistd.h: pathconf() should take const path arg.
3797 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3798 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3799 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
3800 _PC_PRIO_IO, and _PC_SYNC_IO.
3801 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3802 * libc/machine/m68k/Makefile.in: Regenerated.
3803 * libc/machine/m68k/strcpy.c: New file.
3804 * libc/machine/m68k/strlen.c: New file.
3805 * libc/stdio/tmpnam.c: Always make the returned name usable.
3806 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3807 * libc/sys/rtems/sys/dirent.h: New file.
3808 * libc/sys/rtems/sys/types.h: Added dev_t.
3810 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
3812 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3814 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
3816 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3819 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
3821 patch from Jeff Johnston <jjohnstn@cygnus.com>
3822 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3823 buffer is not in a useful state.
3825 1999-09-01 Nick Clifton <nickc@cygnus.com>
3827 * libc/sys/arm/syscalls.c (_link): Add stub.
3829 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3831 * ftell.c (ftell): Use actual position within buffer for text mode.
3832 * findfp.c (std): Initialize ptr->_bf._size.
3834 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
3836 * libc/include/sys/unistd.h: Add nice() declaration.
3838 1999-08-09 Nick Clifton <nickc@cygnus.com>
3840 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3841 declare as a thumb function so that the disassembler will see the
3844 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3846 * libc/reent/reent.tex: Updated list of reentrant functions.
3848 1999-07-09 Michael Meissner <meissner@cygnus.com>
3850 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3852 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
3854 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3856 * libc/stdio/snprintf.c: New file.
3857 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3859 * libc/stdio/vsnprintf.c: New file.
3860 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3861 * libc/stdio/Makefile.in: Regenerated.
3863 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
3865 Patch submitted by Egor Duda <deo@logos-m.ru>:
3866 * libc/include/stdio.h: Add declarations for *nprintf.
3867 * libc/stdio/sprintf.c (snprintf): New function.
3868 (_snprintf_r): New function.
3869 * libc/stdio/vsprintf.c (vsnprintf): New function.
3870 (_vnsprintf_r): New function.
3872 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3874 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3875 * libm/Makefile.am (stmp-targetdep): Ditto.
3876 * libc/Makefile.in: Regenerated.
3877 * libm/Makefile.in: Ditto.
3879 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3881 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3882 * libm/Makefile.am (stmp-targetdep): Ditto.
3883 * libc/Makefile.in: Regenerated.
3884 * libm/Makefile.in: Ditto.
3886 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
3888 * Makefile.am: Removed dependencies on all-recursive and added "."
3889 to the SUBDIRS list to prevent infinite recursion from occurring.
3890 Also removed any references to EXTRA_DATA.
3891 * libc/Makefile.am: Ditto.
3892 * libc/machine/Makefile.am: Ditto.
3893 * libc/machine/i386/Makefile.am: Ditto.
3894 * libm/Makefile.am: Ditto.
3895 * libc/sys/Makefile.am: Ditto.
3896 * Makefile.in: Regenerated.
3897 * aclocal.m4: Ditto.
3899 * doc/Makefile.in: Ditto.
3900 * doc/aclocal.m4: Ditto.
3901 * doc/configure: Ditto.
3902 * libc/Makefile.in: Ditto.
3903 * libc/aclocal.m4: Ditto.
3904 * libc/configure: Ditto.
3905 * libc/machine/Makefile.in: Ditto.
3906 * libc/machine/aclocal.m4: Ditto.
3907 * libc/machine/configure: Ditto.
3908 * libc/machine/mn10300/Makefile.in: Ditto.
3909 * libc/machine/mn10300/aclocal.m4: Ditto.
3910 * libc/machine/mn10300/configure: Ditto.
3911 * libc/sys/Makefile.in: Ditto.
3912 * libc/sys/aclocal.m4: Ditto.
3913 * libc/sys/configure: Ditto.
3914 * libm/Makefile.in: Ditto.
3915 * libm/aclocal.m4: Ditto.
3916 * libm/configure: Ditto.
3918 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3920 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
3922 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3924 * libc/include/stdlib.h: Add reentrant routines.
3925 * libc/stdlib/Makefile.am: Add reentrant routines.
3926 * libc/stdlib/Makefile.in: Ditto.
3927 * libc/stdlib/envlock.c: New file.
3928 * libc/stdlib/envlock.h: New file.
3929 * libc/stdlib/getenv.c: Modify to call reentrant routine.
3930 * libc/stdlib/getenv_r.c: New file.
3931 * libc/stdlib/mblen.c: Modify to call reentrant routine.
3932 * libc/stdlib/mblen_r.c: New file.
3933 * libc/stdlib/setenv.c: Modify to call reentrant routine.
3934 * libc/stdlib/setenv_r.c: New file.
3935 * libc/stdlib/stdlib.tex: Add reentrant routines.
3937 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
3939 * libc/include/sys/types.h: Define __MS_types__ whenever
3942 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
3944 * libc/include/machine/ieeefp.h: Always default to little
3945 endian if Windows, regardless of architecture.
3946 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
3947 regardless of architecture.
3949 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
3951 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
3952 _WIN32 isn't defined.
3954 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
3956 * libm/common/s_rint.c (rint): Add volatile qualifier for
3957 intermediate value w.
3958 * libm/common/sf_rint.c (rintf): Ditto.
3960 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3962 * libc/sys/arm/syscalls.c (remap_handle): Added check to
3963 ensure that std streams are initialized before being referenced.
3965 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
3967 * README: Update reference to newlib@cygnus.com new
3968 newlib@sourceware.cygnus.com address.
3970 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
3972 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
3973 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
3974 defined, even if _WIN32 isn't defined.
3976 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
3978 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
3980 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3982 * libc/include/sys/reent.h: Change Long and ULong to __Long and
3984 * libc/stdlib/dtoa.c: Ditto.
3985 * libc/stdlib/mprec.c: Ditto.
3986 * libc/stdlib/mprec.h: Ditto.
3987 * libc/stdlib/strtod.c: Ditto.
3989 1999-04-21 Nick Clifton <nickc@cygnus.com>
3991 * configure.host (mcore): Remove mcore machine directory.
3993 1999-04-18 Nick Clifton <nickc@cygnus.com>
3995 * libc/include/machine/ieeefp.h: Add support for mcore target.
3996 * libc/include/machine/setjmp.h: Add support for mcore target.
3997 * configure.host: Add support for mcore target.
3999 1999-04-13 Mark Salter <msalter@cygnus.com>
4001 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
4002 * libc/sys/arm/syscalls.c: Added isatty.
4004 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4006 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
4007 insert zeroes after significant digits.
4009 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4011 * libc/stdio/vfprintf.c (cvt): Changed floating point
4012 cvt routine to use union used by dtoa to properly determine
4013 if the sign bit is on or not.
4014 * libc/stdio/vfieeefp.h: New file
4016 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4018 * aclocal.m4: Regenerated.
4019 * configure: Regenerated.
4021 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4023 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
4025 * libc/machine/i386/Makefile.in: Regenerated.
4027 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
4029 * acinclude.m4: Changed to work with new automake.
4030 * configure: Regenerated.
4031 * libc/machine/i386/aclocal.m4: Regenerated.
4032 * libc/machine/i386/configure: Regenerated.
4034 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
4036 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
4037 for telldir() and seekdir(). Rename unused structure element
4038 for use with these two routines.
4040 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
4042 * libc/time/mktime.c (validate_structure): Multiple fixes to
4043 code to handle cases where input fields are outside valid ranges.
4044 * libc/stdlib/div.c (div): Modified invalid rounding check.
4045 * libc/stdlib/ldiv.c (ldiv): Ditto.
4047 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
4049 * libc/machine/i386/memcpy.S: Performance rewrite.
4050 * libc/machine/i386/memmove.S: Ditto.
4051 * libc/machine/i386/i386mach.h: Added more register definitions.
4052 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
4054 * libc/include/machine/fastmath.h: Add definitions for x86
4057 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4059 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
4061 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
4063 Adjust newlib headers for new Cygwin Win32 API header files:
4064 * libc/include/sys/time.h: Check _WINSOCK_H rather than
4065 _GNU_H_WINDOWS32_SOCKETS.
4066 * libc/include/sys/types.h: Ditto.
4068 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4070 *include/sys/reent.h: Add checks for size of Bigint element Long.
4071 *libc/dtoa.c: Change routines to use generic Long type.
4072 *libc/mprec.c: Change routines to use generic Long type.
4073 *libc/mprec.h: Change routines to use generic Long type.
4075 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
4077 * libc/Makefile.am: Add .def files.
4078 * libc/Makefile.in: Regenerate.
4079 * libc/e_acosh.c: Documentation update.
4080 * libc/e_atanh.c: Documentation update.
4081 * libc/e_hypot.c: Documentation update.
4082 * libc/e_remainder.c: Documentation update.
4083 * libc/er_lgamma.c: Documentation update.
4084 * libc/mathfp.tex: Documentation update.
4085 * libc/s_acos.c: Documentation update.
4086 * libc/s_atan.c: Documentation update.
4087 * libc/s_atan2.c: Documentation update.
4088 * libc/s_cosh.c: Documentation update.
4089 * libc/s_fmod.c: Documentation update.
4090 * libc/s_isnan.c: Documentation update.
4091 * libc/s_log10.c: Documentation update.
4092 * libc/s_pow.c: Documentation update.
4093 * libc/w_jn.c: Documentation update.
4095 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
4097 * aclocal.m4: Regenerate.
4098 * configure: Regenerate.
4100 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
4102 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
4103 to return 1 if user specified return code is 0.
4104 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
4106 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
4108 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
4109 to save the return address. Fixed longjmp to return to the original
4110 calling address of setjmp and to return the user specified return code
4111 rather than default to 1.
4112 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
4114 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
4116 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
4118 1999-02-10 Nick Clifton <nickc@cygnus.com>
4120 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
4121 volatile so that its assignments will not be discarded.
4123 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
4125 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
4126 be __STRICT_ANSI__ which is generated by compiler.
4127 * libc/include/ctype.h: Ditto.
4128 * libc/include/math.h: Ditto.
4129 * libc/include/stdio.h: Ditto.
4130 * libc/include/stdlib.h: Ditto.
4131 * libc/include/string.h: Ditto.
4132 * libc/include/sys/signal.h: Ditto.
4134 1999-02-08 Nick Clifton <nickc@cygnus.com>
4136 * configure.host: Add support for StrongARM target.
4138 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
4140 * libc/string/strncpy.c (strncpy): Removed redundant code
4141 that was copying bytes if data unaligned.
4143 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
4145 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
4146 mbstowcs.def, and wcstombs.def.
4148 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
4150 * libc/include/sys/errno.h: Add Cygwin errno.
4151 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
4154 1999-01-29 Nick Clifton <nickc@cygnus.com>
4156 * libc/sys/arm/syscalls.c: Move C library functions into seperate
4159 * libc/sys/arm/libcfunc.c: New file containing C library functions
4162 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
4163 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
4166 1999-01-27 Michael Meissner <meissner@cygnus.com>
4168 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
4169 type, and cut size in half so that the jmp_buf array is guaranteed
4170 to be aligned on a 64-bit boundary.
4172 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
4174 * libc/string/strings.tex: Added information about
4175 strcasecmp and strncasecmp.
4176 * libc/stdlib/stdlib.tex: Added missing information
4177 about mblen, mbstowcs, and wcstombs.
4178 * libc/string/strchr.c: Changed how mask is built to use
4179 shift operators so register will be used instead of storage.
4181 1999-01-22 DJ Delorie <dj@cygnus.com>
4183 * libc/include/stdlib.h: don't use dllimport if we're building
4184 newlib, since it's inside cygwin.dll
4186 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
4188 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
4189 _ctype_ under cygwin.
4191 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
4193 * include/stdlib.h: Fix typo from previous checkin.
4195 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
4197 * include/ctype.h: Use __declspec(dllimport) method for exporting
4198 variable from cygwin DLL.
4199 * include/time.h: Ditto.
4200 * sys/errno.h: Ditto.
4201 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
4202 * libc/locale/locale.c: Use __declspec(dllexport) method for
4203 exporting variable from cygwin DLL.
4205 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
4207 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
4208 access of bogus pointer will result in SIGSEGV.
4210 1999-01-07 Nick Clifton <nickc@cygnus.com>
4212 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
4213 of an underscore prefix to function names.
4215 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
4217 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
4218 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
4220 1998-12-31 Michael Meissner <meissner@cygnus.com>
4222 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
4223 to `%' if not already defined.
4225 1998-12-30 Michael Meissner <meissner@cygnus.com>
4227 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
4228 arguments const char *, not char *.
4229 * libc/include/stdio.h (_tempnam_r): Ditto.
4231 * libc/include/sys/reent.h (struct _reent): The _sig_func type
4232 points to a function taking an integer, not void.
4234 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
4236 * configure.host: Add a define for Cygwin builds.
4237 * libc/include/ctype.h: Don't use dll imported variables in newlib.
4239 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
4241 * libc/include/ctype.h: Define _ctype_ as dll imported variable
4242 for use with Cygwin.
4243 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
4244 dll imported variables for use with Cygwin.
4245 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
4246 as a dll imported variable for Cygwin.
4248 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
4250 * libc/include/sys/unistd.h: Add proto for getpass.
4252 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
4254 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
4257 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
4259 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
4260 not posix_path_list_p.
4262 1998-12-15 Nick Clifton <nickc@cygnus.com>
4264 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
4267 1998-12-13 Nick Clifton <nickc@cygnus.com>
4269 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
4271 1998-12-12 Nick Clifton <nickc@cygnus.com>
4273 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
4274 <msalter@cygnus.com>
4275 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
4276 * libc/machine/fr30/Makefile.in: Regenerated.
4278 1998-12-11 Nick Clifton <nickc@cygnus.com>
4280 * configure.host: Remove use of libc/sys for FR30 port.
4281 * libc/sys/fr30: Remove directory (replaced by libgloss).
4283 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
4285 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
4286 * libc/string/strncat.c (ALIGNED): Ditto.
4288 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
4290 * libc/include/sys/time.h: include sys/types.h
4292 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
4294 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
4295 comparison found when checking word at a time.
4297 1998-12-04 Nick Clifton <nickc@cygnus.com>
4299 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
4301 1998-12-03 Nick Clifton <nickc@cygnus.com>
4303 * libc/sys/fr30/syscalls.c (_times): New function stub.
4305 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
4307 * configure.host (mach_add_setjmp): Replaced mach_add_objs
4308 with mach_add_setjmp flag which indicates if setjmp should
4309 be added to the machine directory objects.
4310 * acinclude.m4: Removed reference to mach_add_objs.
4311 * aclocal.m4: Regenerated.
4312 * Makefile.in: Regenerated.
4313 * configure: Regenerated.
4314 * libc/aclocal.m4: Regenerated.
4315 * libc/Makefile.in: Regenerated.
4316 * libc/configure: Regenerated.
4317 * libc/machine/aclocal.m4: Regenerated.
4318 * libc/machine/Makefile.in: Regenerated.
4319 * libc/machine/configure: Regenerated.
4320 * libc/machine/i386/aclocal.m4: Regenerated.
4321 * libc/machine/i386/Makefile.am: Altered to selectively add
4322 setjmp.S to the src files list.
4323 * libc/machine/i386/Makefile.in: Regenerated.
4324 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
4325 * libc/machine/i386/configure: Regenerated.
4327 1998-12-02 Nick Clifton <nickc@cygnus.com>
4329 * libc/sys/fr30/crt0.s (_start): Fix function names.
4331 * libc/machine/fr30: New directory
4332 * libc/machine/fr30/Makefile.am: New file.
4333 * libc/machine/fr30/Makefile.in: New generated file.
4334 * libc/machine/fr30/configure.in: New file.
4335 * libc/machine/fr30/configure: New generated file.
4336 * libc/machine/fr30/aclocal.m4: New generated file.
4337 * libc/sys/fr30/Makefile.am: New file.
4338 * libc/sys/fr30/Makefile.in: New generated file.
4339 * libc/sys/fr30/configure.in: New file.
4340 * libc/sys/fr30/configure: New generated file.
4341 * libc/sys/fr30/syscalls.c: New file.
4343 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
4345 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
4347 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
4349 * libc/time/strftime.c (strftime): Also handle %y for years before
4352 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
4354 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
4355 UNIX convention. Perform tolower on characters before comparing
4356 them rather than use toupper.
4357 * libc/string/strncasecmp.c (strncasecmp): Ditto.
4359 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
4361 * configure.host: Added using i386 machine directory
4362 for all x86 cross-compiler and configuring
4363 which added object files to use via new "mach_add_objs" variable.
4364 * configure: Regenerated.
4365 * libc/configure: Regenerated.
4366 * libc/Makefile.in: Regenerated.
4367 * libc/aclocal.m4: Regenerated.
4368 * libc/ctype/Makefile.in: Regenerated.
4369 * libc/errno/Makefile.in: Regenerated.
4370 * libc/locale/Makefile.in: Regenerated.
4371 * libc/machine/Makefile.in: Regenerated.
4372 * libc/machine/aclocal.m4: Regenerated.
4373 * libc/machine/configure: Regenerated.
4374 * libc/posix/Makefile.in: Regenerated.
4375 * libc/reent/Makefile.in: Regenerated.
4376 * libc/signal/Makefile.in: Regenerated.
4377 * libc/stdio/Makefile.in: Regenerated.
4378 * libc/stdlib/Makefile.in: Regenerated.
4379 * libc/string/Makefile.in: Regenerated.
4380 * libc/string/memmove.c: Optimized code to use memcpy
4381 logic when performing a non-destructive copy.
4382 * libc/string/strncmp.c: Altered code to allow building
4383 optimized for size or speed.
4384 * libc/syscalls/Makefile.in: Regenerated.
4385 * libc/time/Makefile.in: Regenerated.
4386 * libc/unix/Makefile.in: Regenerated.
4387 * libc/machine/i386/Makefile.am: Added new files and reference
4388 to "mach_add_objs" to indicate optional object files.
4389 * libc/machine/i386/Makefile.in: Regenerated.
4390 * libc/machine/i386/aclocal.m4: Regenerated.
4391 * libc/machine/i386/configure: Regenerated.
4392 * libc/machine/i386/memchr.S: New file that implements
4393 function in Intel assembler.
4394 * libc/machine/i386/memcmp.S: ditto.
4395 * libc/machine/i386/memcpy.S: ditto.
4396 * libc/machine/i386/memmove.S: ditto.
4397 * libc/machine/i386/memset.S: ditto.
4398 * libc/machine/i386/strchr.S: ditto.
4399 * libc/machine/i386/strlen.S: ditto.
4400 * libc/machine/i386/f_atan2.S: New file that implements
4401 fast version of math function to be used by compiler when
4402 --ffast_math compile option is used.
4403 * libc/machine/i386/f_atan2f.S: ditto.
4404 * libc/machine/i386/f_exp.c: ditto.
4405 * libc/machine/i386/f_expf.c: ditto.
4406 * libc/machine/i386/f_frexp.S: ditto.
4407 * libc/machine/i386/f_frexpf.S: ditto.
4408 * libc/machine/i386/f_ldexp.S: ditto.
4409 * libc/machine/i386/f_ldexpf.S: ditto.
4410 * libc/machine/i386/f_log.S: ditto.
4411 * libc/machine/i386/f_logf.S: ditto.
4412 * libc/machine/i386/f_log10.S: ditto.
4413 * libc/machine/i386/f_log10f.S: ditto.
4414 * libc/machine/i386/f_math.h: New file.
4415 * libc/machine/i386/f_pow.c: ditto.
4416 * libc/machine/i386/f_powf.S: ditto.
4417 * libc/machine/i386/f_tan.S: ditto.
4418 * libc/machine/i386/f_tan.S: ditto.
4419 * libc/machine/i386/i386mach.h: New file.
4421 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
4423 patch from Mumit Khan <khan@xraylith.wisc.edu>
4424 * libc/include/stdio.h (tempnam): Add prototype.
4425 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
4426 (tempnam): Adhere to prototype.
4428 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
4430 * Makefile.am: Add default for AR_FLAGS.
4431 * Makefile.in: Regenerate.
4433 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
4435 * libc/include/time.h: move __cplusplus wrapper after includes
4436 * libc/include/sys/time.h: ditto. If Cygwin, include
4438 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
4440 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
4442 * libc/time/strftime.c (strftime): Handle %y after year 2000.
4444 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
4446 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
4447 abnormnal end-of-crt0 marker.
4449 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
4451 * libc/sys/fr30/crt0.s: New file/directory.
4452 * libc/include/machine/setjmp.h: Add FR30 target.
4453 * libc/include/machine/ieeefp.h: Add FR30 target.
4454 * configure.host: Add FR30 target.
4456 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4458 * libm/math: Files that are duplicated in common directory removed.
4459 * libm/math/fdlibm.h: Removed.
4460 * libm/math/s_cbrt.c: Removed.
4461 * libm/math/s_copysign.c: Removed.
4462 * libm/math/s_expm1.c: Removed.
4463 * libm/math/s_finite.c: Removed.
4464 * libm/math/s_ilogb.c: Removed.
4465 * libm/math/s_infinity.c: Removed.
4466 * libm/math/s_lib_ver.c: Removed.
4467 * libm/math/s_log1p.c: Removed.
4468 * libm/math/s_logb.c: Removed.
4469 * libm/math/s_matherr.c: Removed.
4470 * libm/math/s_modf.c: Removed.
4471 * libm/math/s_nan.c: Removed.
4472 * libm/math/s_nextafter.c: Removed.
4473 * libm/math/s_rint.c: Removed.
4474 * libm/math/s_scalbn.c: Removed.
4475 * libm/math/sf_cbrt.c: Removed.
4476 * libm/math/sf_copysign.c: Removed.
4477 * libm/math/sf_expm1.c: Removed.
4478 * libm/math/sf_finite.c: Removed.
4479 * libm/math/sf_ilogb.c: Removed.
4480 * libm/math/sf_infinity.c: Removed.
4481 * libm/math/sf_log1p.c: Removed.
4482 * libm/math/sf_logb.c: Removed.
4483 * libm/math/sf_modf.c: Removed.
4484 * libm/math/sf_nan.c: Removed.
4485 * libm/math/sf_nextafter.c: Removed.
4486 * libm/math/sf_rint.c: Removed.
4487 * libm/math/sf_scalbn.c: Removed.
4488 * libm/math/Makefile.am: Removed references to deleted files (above).
4489 * libm/math/Makefile.in: Regenerated.
4490 * libm/Makefile.am: Added common directory to math.
4491 * libm/Makefile.in: Regenerated.
4493 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4495 * libm/mathfp: Add non-ANSI functions.
4496 * libm/mathfp/e_acosh.c acosh(): New file.
4497 * libm/mathfp/e_atanh.c atanh(): New file.
4498 * libm/mathfp/e_hypot.c hypot(): New file.
4499 * libm/mathfp/e_j0.c j0(): New file.
4500 * libm/mathfp/e_j1.c j1(): New file.
4501 * libm/mathfp/e_remainder.c remainder(): New file.
4502 * libm/mathfp/e_scalb.c scalb(): New file.
4503 * libm/mathfp/ef_acosh.c acoshf(): New file.
4504 * libm/mathfp/ef_atanh.c atanhf(): New file.
4505 * libm/mathfp/ef_hypot.c hypotf(): New file.
4506 * libm/mathfp/ef_j0.c j0f(): New file.
4507 * libm/mathfp/ef_j1.c j1f(): New file.
4508 * libm/mathfp/ef_remainder.c remainderf(): New file.
4509 * libm/mathfp/ef_scalb.c scalbf(): New file.
4510 * libm/mathfp/er_gamma.c gamma_r: New file.
4511 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
4512 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
4513 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
4514 * libm/mathfp/w_cabs.c cabs(): New file.
4515 * libm/mathfp/w_drem.c drem(): New file.
4516 * libm/mathfp/w_jn.c jn(): New file.
4517 * libm/mathfp/wf_cabs.c cabsf(): New file.
4518 * libm/mathfp/wf_drem.c dremf(): New file.
4519 * libm/mathfp/wf_jn.c jnf(): New file.
4521 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
4523 * libc/sys/cygwin32: remove directory and contents
4524 * libc/sys/cygwin: and add back, losing the "32".
4525 * configure.host: check for cygwin* instead of cygwin32.
4526 * acinclude.m4: ditto.
4527 * aclocal.m4: regenerate with aclocal
4528 * configure: regenerate with autoconf
4530 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
4532 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
4535 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4537 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
4538 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
4539 to make rand/srand, strtok, asctime, localtime, w_gamma,
4540 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
4541 time.h to bring in struct tm definition.
4542 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
4543 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
4544 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
4545 instead of static variable.
4546 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
4547 struct reent instead of static variable.
4548 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
4549 struct reent instead of static variable.
4550 * libm/math/Makefile.am: Removed s_signgam.o.
4551 * libm/math/Makefile.in: Regenerated.
4552 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
4553 struct reent instead of global variable 'signgam'.
4554 * libm/math/w_lgamma.c (lgamma): Likewise.
4555 * libm/math/wf_gamma.c (gammaf): Likewise.
4556 * libm/math/wf_lgamma.c (lgammaf): Likewise.
4557 * libm/math/s_signgam.c: Removed.
4558 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
4560 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
4562 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
4563 libc/include/reent.h.
4564 * libc/reent/Makefile.in: Regenerated.
4565 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
4567 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
4568 'JIS_action_table' to be const.
4569 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
4571 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
4573 * acinclude.m4: $with_target_subdir should default to '.'
4574 or confusion results when configuring in same directory as sources.
4575 * Regenerate all aclocal.m4 and configure files.
4577 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
4579 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
4580 can be set by defining MALLOC_ALIGNMENT=16. Also added support
4581 for platforms where sizeof(size_t) < sizeof(long) via
4582 SIZE_T_SMALLER_THAN_LONG macro.
4584 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
4586 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
4587 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
4588 which sets _CLOCKS_PER_SEC_ for selected machines.
4589 * libc/include/machine/time.h: New file.
4591 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4593 * libc/syscalls/sysexecve.c: New file.
4594 * libc/syscalls/sysgettod.c: New file.
4595 * libc/syscalls/systimes.c: New file.
4596 * libc/syscalls/Makefile.am: Added new objects.
4597 * libc/syscalls/Makefile.in: Regenerated.
4598 * libc/include/_syslist.h (_execve): Moved define in file.
4599 * libc/include/reent.h: Added _execve_r declaration.
4600 * libc/Makefile.in: Regenerated.
4601 * libc/ctype/Makefile.in: Regenerated.
4602 * libc/errno/Makefile.in: Regenerated.
4603 * libc/locale/Makefile.in: Regenerated.
4604 * libc/machine/Makefile.in: Regenerated.
4605 * libc/misc/Makefile.in: Regenerated.
4606 * libc/posix/Makefile.in: Regenerated.
4607 * libc/reent/Makefile.in: Regenerated.
4608 * libc/reent/execr.c (_execve_r): Added _execve_r function.
4609 * libc/signal/Makefile.in: Regenerated.
4610 * libc/stdio/Makefile.in: Regenerated.
4611 * libc/time/Makefile.in: Regenerated.
4612 * libc/unix/Makefile.in: Regenerated.
4613 * libm/mathfp/Makefile.in: Regenerated.
4615 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4617 * libc/string/Makefile.in: Regenerated.
4618 * libc/string/memchr.c (memchr): Moved code to reduce object size.
4619 * libc/string/memcpy.c (memcpy): Ditto.
4620 * libc/string/memcmp.c (memcmp): Ditto.
4621 * libc/string/memset.c (memset): Ditto.
4622 * libc/string/strchr.c (strchr): Ditto.
4623 * libc/string/strcmp.c (strcmp): Ditto.
4624 * libc/string/strcpy.c (strcpy): Ditto.
4625 * libc/string/strlen.c (strlen): Ditto.
4627 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4629 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
4630 to generate aclocal.m4.
4631 * libm/Makefile.in: Regenerated.
4632 * libm/aclocal.m4: Regenerated.
4633 * libm/configure: Regenerated.
4634 * libm/math/Makefile.in: Regenerated.
4635 * libm/mathfp/Makefile.in: Regenerated.
4637 1998-09-25 Mark Salter <msalter@cygnus.com>
4639 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
4640 by adding leading and trailing underscores to symbol names.
4642 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
4644 * Makefile.in: Add default for AR_FLAGS.
4646 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
4648 patch from ian@airs.com (Ian Taylor):
4649 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
4650 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
4651 is needed for detecting the build machine. Required for
4652 cygwin native builds.
4654 * Regenerate all aclocal.m4 and configure files.
4656 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
4658 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
4659 used to start with LC.
4661 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4663 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4664 (longjmp): Likewise.
4666 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4668 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4669 the test for small number of bytes.
4671 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4673 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
4674 math library that uses floating point algorithms instead of the old
4676 * Makefile.in: Regenerate with automake version 1.3b.
4677 * configure: Rebuild.
4678 * libm/Makefile.in: Regenerate with automake version 1.3b.
4679 * libm/aclocal.m4: Regenerate.
4680 * libm/configure: Rebuild.
4681 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4682 * libm/acinclude.m4: Define macros for configure.in.
4683 * libm/config.h.in: Generate.
4684 * libm/mathfp/Makefile.am: New file.
4685 * libm/mathfp/Makefile.in: Generate.
4686 * libm/mathfp/s_acos.c (acos): New file.
4687 * libm/mathfp/s_asin.c (asin): New file.
4688 * libm/mathfp/s_asine.c (asine): New file.
4689 * libm/mathfp/s_atan.c (atan): New file.
4690 * libm/mathfp/s_atan2.c (atan2): New file.
4691 * libm/mathfp/s_atangent.c (atangent): New file.
4692 * libm/mathfp/s_ceil.c (ceil): New file.
4693 * libm/mathfp/s_copysign.c (copysign): New file.
4694 * libm/mathfp/s_cos.c (cos): New file.
4695 * libm/mathfp/s_cosh.c (cosh): New file.
4696 * libm/mathfp/s_exp.c (exp): New file.
4697 * libm/mathfp/s_fabs.c (fabs): New file.
4698 * libm/mathfp/s_finite.c (finite): New file.
4699 * libm/mathfp/s_floor.c (floor): New file.
4700 * libm/mathfp/s_fmod.c (fmod): New file.
4701 * libm/mathfp/s_frexp.c (frexp): New file.
4702 * libm/mathfp/s_infconst.c: New file.
4703 * libm/mathfp/s_isinf (isinf).c: New file.
4704 * libm/mathfp/s_isnan.c (isnan): New file.
4705 * libm/mathfp/s_ispos.c (ispos): New file.
4706 * libm/mathfp/s_ldexp.c (ldexp): New file.
4707 * libm/mathfp/s_log.c (log): New file.
4708 * libm/mathfp/s_log10.c (log10): New file.
4709 * libm/mathfp/s_logarithm.c (logarithm): New file.
4710 * libm/mathfp/s_mathcnst.c: New file.
4711 * libm/mathfp/s_modf (modf).c: New file.
4712 * libm/mathfp/s_numtest.c (numtest): New file.
4713 * libm/mathfp/s_pow.c (pow): New file.
4714 * libm/mathfp/s_scalbn.c (scalbn): New file.
4715 * libm/mathfp/s_sin (sin).c: New file.
4716 * libm/mathfp/s_sine.c (sine): New file.
4717 * libm/mathfp/s_sineh.c (sineh): New file.
4718 * libm/mathfp/s_sinf.c (sinf): New file.
4719 * libm/mathfp/s_sinh.c (sinh): New file.
4720 * libm/mathfp/s_sqrt.c (sqrt): New file.
4721 * libm/mathfp/s_tan.c (tan): New file.
4722 * libm/mathfp/s_tanh.c (tanh): New file.
4723 * libm/mathfp/sf_acos.c (acosf): New file.
4724 * libm/mathfp/sf_asin.c (asinf): New file.
4725 * libm/mathfp/sf_asine.c (asinef): New file.
4726 * libm/mathfp/sf_atan.c (atanf): New file.
4727 * libm/mathfp/sf_atan2.c (atan2f): New file.
4728 * libm/mathfp/sf_atangent.c (atangent): New file.
4729 * libm/mathfp/sf_ceil.c (ceilf): New file.
4730 * libm/mathfp/sf_copysign.c (copysignf): New file.
4731 * libm/mathfp/sf_cos.c (cosf): New file.
4732 * libm/mathfp/sf_cosh.c (coshf): New file.
4733 * libm/mathfp/sf_exp.c (expf): New file.
4734 * libm/mathfp/sf_fabs.c (fabsf): New file.
4735 * libm/mathfp/sf_finite.c (finitef): New file.
4736 * libm/mathfp/sf_floor.c (floorf): New file.
4737 * libm/mathfp/sf_fmod.c (fmodf): New file.
4738 * libm/mathfp/sf_frexp.c (frexpf): New file.
4739 * libm/mathfp/sf_isinf.c (isinff): New file.
4740 * libm/mathfp/sf_isnan.c (isnanf): New file.
4741 * libm/mathfp/sf_ispos.c (isposf): New file.
4742 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4743 * libm/mathfp/sf_log.c (logf): New file.
4744 * libm/mathfp/sf_log10.c (log10f): New file.
4745 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4746 * libm/mathfp/sf_modf.c (modff): New file.
4747 * libm/mathfp/sf_numtest.c (numtestf): New file.
4748 * libm/mathfp/sf_pow.c (powf): New file.
4749 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4750 * libm/mathfp/sf_sin.c (sinf): New file.
4751 * libm/mathfp/sf_sine.c (sinef): New file.
4752 * libm/mathfp/sf_sineh.c (sinehf): New file.
4753 * libm/mathfp/sf_sinh.c (sinhf): New file.
4754 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4755 * libm/mathfp/sf_tan.c (tanf): New file.
4756 * libm/mathfp/sf_tanh.c (tanhf): New file.
4757 * libm/mathfp/zmath.h: New file.
4759 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4761 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4762 exit if it has been overwritten by pre-fetching in delay slot.
4764 1998-09-01 Michael Meissner <meissner@cygnus.com>
4766 * Makefile.am (tooldir): Add in host_alias, so that multilib
4767 libraries are installed in the directory the compiler looks in.
4768 * Makefile.in: Regenerate.
4770 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4772 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
4774 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4775 ahead of test for number of bytes being moved.
4777 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
4779 * libc/include/sys/unistd.h: Nothing special needed for
4782 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
4784 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4785 conform to user label naming conventions.
4787 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
4789 * libc/sys/cygwin32/sys/utime.h: variable names in
4790 protos should start with two leading underscores
4791 * libc/include/string.h: ditto
4792 * libc/include/sys/signal.h: ditto
4793 * libc/include/sys/stat.h: ditto
4794 * libc/include/sys/time.h: ditto
4795 * libc/include/sys/unistd.h: ditto
4796 * libc/include/ctype.h: ditto
4797 * libc/include/stdlib.h: ditto
4798 * libc/include/sys/reent.h: struct _atexit function ptr takes a
4799 void, same with _sig_func.
4801 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
4803 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4804 for MB_CAPABLE to reduce code size when newlib is not configured
4805 with --enable-newlib-mb.
4806 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4807 mbtowc_r.o to minimize size.
4808 * libc/stdlib/Makefile.in: Rebuild.
4810 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
4812 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4814 * libc/sys/sparc64/Makefile.in: Rebuild.
4816 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
4818 * Makefile.am (MAKEOVERRIDES): Define.
4819 * Makefile.in: Rebuild.
4821 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
4823 * libc/sys/sparc64/sys/stat.h (stat): Add const.
4825 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
4827 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4828 newlib_cflags when looking for targ-include.
4829 * */aclocal.m4, */configure: Rebuild.
4831 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
4833 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4836 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
4838 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4839 on SPARCs with little-endian data.
4840 * libc/include/machine/ieeefp.h: Ditto.
4842 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
4844 * acinclude.m4: Handle a relative srcdir correctly when setting
4846 * */aclocal.m4, */configure: Rebuild.
4848 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
4850 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4851 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4852 * libm/math/wrf_gamma.c (gammaf_r): ditto
4853 * libm/math/wr_lgamma.c (lgamma_r): ditto
4854 * libm/math/wr_gamma.c (gamma_r): ditto
4855 * libm/math/wf_sqrt.c (sqrtf): ditto
4856 * libm/math/wf_sinh.c (sinhf): ditto
4857 * libm/math/wf_scalb.c (scalbf): ditto
4858 * libm/math/wf_remainder.c (remainderf): ditto
4859 * libm/math/wf_pow.c (powf): ditto
4860 * libm/math/wf_log10.c (log10f): ditto
4861 * libm/math/wf_log.c (logf): ditto
4862 * libm/math/wf_lgamma.c (lgammaf): ditto
4863 * libm/math/wf_jn.c (jnf, ynf): ditto
4864 * libm/math/wf_j1.c (j1f, y1f): ditto
4865 * libm/math/wf_j0.c (j0f, y0f): ditto
4866 * libm/math/wf_hypot.c (hypotf): ditto
4867 * libm/math/wf_gamma.c (gammaf): ditto
4868 * libm/math/wf_fmod.c (fmodf): ditto
4869 * libm/math/wf_exp.c (expf): ditto
4870 * libm/math/wf_cosh.c (coshf): ditto
4871 * libm/math/wf_atanh.c (atanhf): ditto
4872 * libm/math/wf_atan2f.c (atan2f): ditto
4873 * libm/math/wf_asin.c (asinf): ditto
4874 * libm/math/wf_acosh.c (acoshf): ditto
4875 * libm/math/wf_acos.c (acosf): ditto
4876 * libm/math/w_sqrt.c (sqrt): ditto
4877 * libm/math/w_sinh.c (sinh): ditto
4878 * libm/math/w_scalb.c (scalb): ditto
4879 * libm/math/w_remainder.c (remainder): ditto
4880 * libm/math/w_pow.c (pow): ditto
4881 * libm/math/w_log10.c (log10): ditto
4882 * libm/math/w_log.c (log): ditto
4883 * libm/math/w_lgamma.c (lgamma): ditto
4884 * libm/math/w_jn.c (jn, yn): ditto
4885 * libm/math/w_j1.c (j1, y1): ditto
4886 * libm/math/w_j0.c (j0, y0): ditto
4887 * libm/math/w_hypot.c (hypot): ditto
4888 * libm/math/w_gamma.c (gamma): ditto
4889 * libm/math/w_fmod.c (fmod): ditto
4890 * libm/math/w_exp.c (exp): ditto
4891 * libm/math/w_cosh.c (cosh): ditto
4892 * libm/math/w_atanh.c (atanh): ditto
4893 * libm/math/w_atan2f.c (atan2): ditto
4894 * libm/math/w_asin.c (asin): ditto
4895 * libm/math/w_acosh.c (acosh): ditto
4896 * libm/math/w_acos.c (acos): ditto
4898 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
4900 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
4901 (fsrc): Add wf_cabs.c and wf_drem.c.
4902 * libm/math/Makefile.in: Rebuild.
4904 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
4905 unused directory variables. Remove duplicate CFLAGS.
4906 * Makefile.in: Rebuild.
4908 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
4909 with $(CC_FOR_BUILD).
4910 (makedoc.o): Likewise.
4911 * doc/Makefile.in: Rebuild.
4913 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
4914 force a definition of COMPILE.
4915 (libfoo_a_SOURCES): Define.
4916 * libc/sys/cygwin32/Makefile.in: Rebuild.
4917 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
4918 force a definition of COMPILE.
4919 (libfoo_a_SOURCES): Define.
4920 * libc/sys/tic80/Makefile.in: Rebuild.
4922 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
4924 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
4927 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
4929 * Build using autoconf and automake. Added many Makefile.am and
4930 configure.in files, plus generated files. Old configure.in files
4931 and all old Makefile.in files completely replaced. Removed
4932 host/any. Added acinclude.m4 and configure.host.
4934 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
4936 * libc/stdio/vfprintf.c: enable long long support, sometimes.
4937 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
4939 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4941 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
4942 * libc/machine/sh/Makefile.in: Add rules for new files.
4944 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4946 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
4947 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
4948 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
4950 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
4952 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
4955 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
4957 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
4958 internal static buffer when s is NULL, as prescribed by ANSI.
4960 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
4962 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
4964 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
4965 libc/stdlib will be used for h8300hms.
4967 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4969 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
4970 version that can be built either for speed or size.
4971 * libc/machine/mn10300/memset.S (_memset): ditto
4972 * libc/machine/mn10300/memchr.S (_memchr): ditto
4973 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
4974 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
4975 * libc/machine/mn10300/strchr.S (_strchr): ditto
4976 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
4977 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
4978 * libc/machine/mn10300/Makefile.in: Added entries for
4979 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
4980 strcmp.o, strcpy.o, and strlen.o.
4982 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
4984 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
4985 been replaced with libgloss/mn10200.
4987 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
4989 * libc/string/strchr.c (strchr): Make s a constant pointer to
4992 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
4994 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
4995 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
4996 board SWIs instead of Demon board SWIs).
4998 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
5000 * libc/string/strncat.c (strncat): Make -Os act the same as
5001 PREFER_SIZE_OVER_SPEED being defined.
5003 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
5005 * libc/string/memchr.c (memchr): Make -Os act the same as
5006 PREFER_SIZE_OVER_SPEED being defined.
5007 * libc/string/memcmp.c (memcmp): Ditto.
5008 * libc/string/memcpy.c (memcpy): Ditto.
5009 * libc/string/memset.c (memset): Ditto.
5010 * libc/string/strcat.c (strcat): Ditto.
5011 * libc/string/strchr.c (strchr): Ditto.
5012 * libc/string/strcmp.c (strcmp): Ditto.
5013 * libc/string/strcpy.c (strcpy): Ditto.
5014 * libc/string/strlen.c (strlen): Ditto.
5015 * libc/string/strncat.c (strncat): Ditto.
5016 * libc/string/strncmp.c (strncmp): Ditto.
5017 * libc/string/strncpy.c (strncpy): Ditto.
5019 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
5021 * libc/include/sys/itimer.h: remove
5022 * libc/include/sys/time.h: itimer stuff should be here
5024 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
5026 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
5027 bit instead of comparing to 0 so -0.0 can be printed correctly.
5029 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5031 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
5033 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
5035 * libc/include/sys/unistd.h: fix sync() proto
5036 * libc/include/sys/fcntl.h: remove _close which is already
5037 defined in unistd.h.
5038 * libc/include/sys/time.h: add getitimer proto
5040 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
5042 * libc/string/strchr.c: convert arg to unsigned char
5043 * libc/include/stdlib.h: add protos for random, srandom
5044 * libc/include/sys/stat.h: add lstat proto
5045 * libc/include/sys/time.h: add setitimer proto
5046 * libc/include/sys/unistd.h: add readlink, symlink protos
5047 * libc/include/process.h: instead of including windows.h and using
5048 HANDLEs in sexec protos, just use void *s. Need to include
5051 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
5053 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
5055 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
5057 * libc/include/process.h: add secure exec protos
5059 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
5061 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
5062 which are accessed as both doubles and integers.
5063 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
5064 * libc/stdlib/strtod.c (_strtod_r): Likewise.
5065 * libc/stdlib/mprec.h: Add "union double_union" and change
5066 word0/word1 macros to use it.
5068 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
5070 * libc/include/sys/signal.h: add __cplusplus wrapper
5072 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
5074 * libc/include/sys/utime.h: new generic file that gets replaced by
5075 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
5077 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
5078 * libc/include/time.h: remove duplicate utime proto
5079 * libc/include/utime.h: add comment
5081 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
5083 * libc/include/sys/time.h: Add missing include to
5084 allow use of _EXFUN. Remove times function that is
5085 already defined in times.h.
5087 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
5089 * libc/include/time.h: Fix typo in tzset.
5091 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
5093 * libc/include/sys/time.h: add missing Cygwin32 function protos
5094 * libc/include/sys/unistd.h: ditto
5095 * libc/include/time.h: ditto
5097 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
5099 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
5101 * libc/include/sys/types.h: add a new __MS_types__ section
5102 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
5103 __BIT_TYPES_DEFINED__.
5105 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
5107 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
5108 since it overrides the one in libc/include/sys. Also, start
5111 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
5113 * libm/math/Makefile.in: add s_signgam.o to obj list
5115 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
5117 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
5119 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
5121 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
5122 so don't use defines.
5124 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
5126 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
5128 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
5130 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
5131 _current_locale as default locale.
5133 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
5135 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
5136 insufficient space in a chunk.
5138 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
5140 * configure.in (links): Added check for --enable-newlib-mb configure
5141 option which defines the MB_CAPABLE macro.
5142 * libc/locale/locale.c (_setlocale_r): Added support for setting
5143 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
5145 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
5146 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
5147 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
5148 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
5149 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
5150 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
5151 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
5152 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
5153 * libc/stdlib/Makefile.in: Added new multibyte
5154 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
5155 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
5156 _mbstowcs_r(), and _wcstombs_r().
5157 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
5158 for JIS, SJIS, and EUC-JP characters.
5159 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
5161 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
5163 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
5165 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
5166 if MB_CAPABLE defined.
5167 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
5168 if MB_CAPABLE defined.
5169 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
5170 to the format string processing when MB_CAPABLE.
5171 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
5174 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
5176 The following modifications are courtesy of Anthony Thompson,
5177 athompson@cambridge.arm.com:
5178 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
5179 boith RDI and RDP monitors.
5180 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
5181 RDI and RDP monitors.
5183 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
5185 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
5186 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
5187 (_swiopen): Fixed open flags to treat write with append as just append.
5188 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
5189 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
5191 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5193 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
5194 When needing to transfer an initial 2-byte-word, store as
5197 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5199 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
5201 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
5202 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
5204 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
5206 * configure.in (target_cflags): If --enable-target-optspace, use
5207 -Os to compile newlib rather than -O2. Default to using -Os for
5208 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
5211 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
5213 * libc/include/machine/setjmp.h: change sigsetjmp and
5214 siglongjmp definitions to use an array instead of a struct
5217 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
5219 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
5221 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
5223 * libc/string/strxfrm.c: fix to get correct return value
5225 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
5227 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
5228 builds. Make mode change labels global so that they will be seen
5231 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
5233 * configure.in (links): Do not use ARM debiugging protocols for PE
5236 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
5239 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
5241 * libc/stdio/findfp.c (__sinit): Made stdout default to
5242 line buffered mode as defined by ANSI.
5244 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
5246 * libc/include/sys/itimer.h: New file.
5248 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
5250 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5252 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
5255 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
5257 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
5260 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
5262 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
5264 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
5266 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
5269 * libc/include/machine/setjmp.h: Add D30V support.
5271 * configure.in (d30v-*): Add d30v machine directory.
5273 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
5275 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
5276 been replaced with libgloss/mn10300.
5278 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
5280 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
5281 it is no longer needed.
5283 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
5285 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
5287 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
5289 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
5290 the file when O_APPEND is set, wherever the EOF happens to be at
5293 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
5295 patch from cgf@bbc.com (Christopher Faylor):
5296 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
5297 convention of closing fp prior to attempting to open the file
5298 argument. This allows correct operation when reopening
5299 stdin/stdout/stderr. Replaces last freopen.c patch.
5301 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
5303 patch from cgf@bbc.com (Christopher Faylor):
5304 * libc/stdio/freopen.c: freopen was not preserving the fd
5305 of the stream being operated on. This confuses programs that
5306 expect that the handles for stdout and stderr will be 1 and 2.
5308 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
5310 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
5312 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
5314 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
5316 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
5318 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
5319 altered to not use a branch. Also added hint that last
5320 bclr in longjmp will likely result in branch.
5323 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
5325 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
5327 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
5329 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
5332 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
5334 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
5336 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
5337 that loads FR14 to specify offset of 8 rather than 4
5338 so it loads from offset 96 (where setjmp stored it).
5340 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
5342 * libc/machine/sh/memcpy.S: (_memcpy): Update to
5343 latest version supplied by customer.
5344 * libc/machine/sh/memset.S (_memset): Ditto.
5346 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
5348 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
5351 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
5353 * libc/include/string.h: remove redefinition of ffs
5355 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
5357 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
5360 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
5362 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
5363 TI Libraries to link to libc.a
5365 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
5367 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
5368 * libc/include/sys/stat.h (_{,f}stat): Ditto.
5369 * libc/include/sys/wait.h (_wait): Ditto.
5370 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
5371 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
5373 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
5375 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
5376 minded stabs so function name shows up when running the simulator
5378 * libc/sys/d10v/{crt0,trap}.S: Ditto.
5380 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
5382 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
5383 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
5384 Use R5 where we used to use R3.
5386 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
5388 * libc/stdlib/getopt.c (getopt): replaced __progname
5389 with nargv[0] to improve portability to imbedded systems.
5391 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
5393 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
5394 patch supplied by Tont.Thompson@arm.com to fix the creation of the
5397 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
5399 * libc/stdio/tmpnam.c (worker): Generate a different file name
5402 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
5403 fails, try an execlp for sh.
5405 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
5406 option for the winsup include directory.
5408 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
5410 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
5411 debugging interface from Tony.Thompson@arm.com.
5413 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
5414 * libc/sys/arm/swi.h: ditto.
5416 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
5418 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
5419 DIR struct used for readdir hashes.
5421 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
5423 * libc/string/strchr.c: Use "unsigned chars" as necessary.
5425 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
5427 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
5430 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
5432 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
5433 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
5434 * libc/include/malloc.h: Add extern "C" if __cplusplus.
5435 (__malloc_copy): Declare.
5437 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
5439 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
5441 (POINTER_UINT): Define.
5442 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
5443 (MALLOC_ALIGNMENT): Don't define if already defined.
5444 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
5447 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
5449 * libc/string/memset.c (memset): Fiddle with code so that the long
5450 value being stored is not a stack value. Unroll storing longs 4
5453 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
5455 * Reduce code size for libm modules.
5456 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
5457 and simply move code into sqrt.
5458 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
5459 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
5460 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
5461 * libm/math/wr_gamma.c (gamma_r): Likewise.
5462 * libm/math/wf_sinh.c (sinfh): Likewise.
5463 * libm/math/w_sinh.c (sinh): Likewise.
5464 * libm/math/wf_scalb.c (scalbf): Likewise.
5465 * libm/math/w_scalb.c (scalb): Likewise.
5466 * libm/math/wf_remainder.c (remainderf): Likewise.
5467 * libm/math/w_remainder.c (remainder): Likewise.
5468 * libm/math/wf_pow.c (powf): Likewise.
5469 * libm/math/w_pow.c (pow): Likewise.
5470 * libm/math/wf_log10.c (log10f): Likewise.
5471 * libm/math/w_log10.c (log10): Likewise.
5472 * libm/math/wf_log.c (logf): Likewise.
5473 * libm/math/w_log.c (log): Likewise.
5474 * libm/math/w_lgamma.c (lgamma): Likewise.
5475 * libm/math/wf_lgamma.c (lgammaf): Likewise.
5476 * libm/math/wf_jn.c (jnf): Likewise.
5477 * libm/math/w_jn.c (jn): Likewise.
5478 * libm/math/wf_j1.c (j1f): Likewise.
5479 * libm/math/w_j1.c (j1): Likewise.
5480 * libm/math/wf_j0.c (j0f): Likewise.
5481 * libm/math/w_j0.c (j0): Likewise.
5482 * libm/math/wf_hypot.c (hypotf): Likewise.
5483 * libm/math/w_hypot.c (hypot): Likewise.
5484 * libm/math/wf_gamma.c (gammaf): Likewise.
5485 * libm/math/w_gamma.c (gamma): Likewise.
5486 * libm/math/wf_fmod.c (fmodf): Likewise.
5487 * libm/math/w_fmod.c (fmod): Likewise.
5488 * libm/math/wf_exp.c (expf): Likewise.
5489 * libm/math/w_exp.c (exp): Likewise.
5490 * libm/math/wf_cosh.c (coshf): Likewise.
5491 * libm/math/w_cosh.c (cosh): Likewise.
5492 * libm/math/wf_atanh.c (atanhf): Likewise.
5493 * libm/math/w_atanh.c (atanh): Likewise.
5494 * libm/math/wf_atan2.c (atan2f): Likewise.
5495 * libm/math/w_atan2.c (atan2): Likewise.
5496 * libm/math/wf_asin.c (asinf): Likewise.
5497 * libm/math/w_asin.c (asin): Likewise.
5498 * libm/math/wf_acosh.c (acoshf): Likewise.
5499 * libm/math/w_acosh.c (acosh): Likewise.
5500 * libm/math/wf_acos.c (asocf): Likewise.
5501 * libm/math/w_acos.c (acos): Likewise.
5502 * libm/math/wf_sqrt.c (sqrtf): Likewise.
5503 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
5504 for embedded systems.
5506 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
5508 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
5509 Lea in case of a foreign sbrk.
5511 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
5513 Incorporate Doug Lea's malloc:
5514 * libc/stdlib/mallocr.c: Completely replaced.
5515 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
5517 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
5518 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
5520 (mallinfo, malloc_stats, mallopt): New functions.
5521 (_mstats_r): Just call _malloc_stats_r.
5522 * libc/stdlib/malign.c: New file.
5523 * libc/stdlib/mlock.c: New file.
5524 * libc/stdlib/msize.c: New file.
5525 * libc/stdlib/mtrim.c: New file.
5526 * libc/stdlib/realloc.c: New file.
5527 * libc/stdlib/valloc.c: New file.
5528 * libc/stdlib/malloc.h: Remove.
5529 * libc/stdlib/callocr.c: Remove.
5530 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
5531 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
5532 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
5533 reallocr.o, valloc.o, vallocr.o.
5534 (CHEWOUT_FILES): Add mlock.def, mstats.def.
5535 (MALLOC_CFLAGS): New variable.
5536 (mallocr.o): New target, build from mallocr.c.
5537 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
5538 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
5539 (msizer.o, malloptr.o): Likewise.
5540 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
5541 (valloc.o): New target.
5542 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
5543 * libc/include/malloc.h: Declare struct mallinfo, and new
5545 * libc/include/stdlib.h (cfree): Correct declaration.
5547 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
5549 * libc/include/machine/setjmp.h: Add support for Thumb target.
5551 * libc/include/machine/ieeefp.h: Add support for Thumb target.
5553 * configure.in (links): Add support for Thumb target.
5555 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
5557 * libc/sys/arm/setjmp.S: Updated with version from branch.
5559 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
5561 * libc/include/stdio.h: add POSIX-required define L_ctermid
5564 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
5566 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
5567 addition to MISSING_SYSCALL_NAMES.
5569 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5571 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
5573 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
5575 * libc/include/string.h: change strsignal proto to return
5576 a char *. This eliminates compile problems in gdb resulting
5577 from gdb's definition of strsignal in defs.h.
5579 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
5581 * libc/sys/cygwin32/sys/utime.h: new (moved here from
5582 winsup/include) so as not to conflict with the one in
5584 * libc/include/string.h: add protos for strsignal, strtosigno
5586 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
5588 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
5590 * configure.in (d30v-*-*): Add configuration.
5592 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
5594 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
5595 to select which kind of debug monitor is in use for an ARM target.
5597 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
5598 Angel and Demon debug monitors. Part of this code was supplied by
5599 Tony Thompson at ARM: athompso@arm.com.
5601 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
5603 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
5604 semantics when the count is greater than the length of the second
5607 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
5609 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
5610 * libc/include/sys/unistd.h: add protos for usleep, truncate,
5611 truncate and ftruncate take off_t, not size_t
5613 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
5615 * libc/string/strcat.c (strcat): Add missing comment end.
5616 * libc/string/strncat.c (strncat): Likewise.
5618 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
5620 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
5622 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
5623 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
5625 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5626 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5627 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5629 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
5631 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
5632 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
5634 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
5636 * libc/machine/i386/setjmp.S: New file.
5637 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
5638 (OFILES): Add setjmp.o.
5639 (setjmp.o): Add rule for.
5640 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
5642 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
5643 Jeffrey A Law (law@cygnus.com)
5645 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
5646 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5647 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5648 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5650 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
5652 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
5655 * libc/include/sys/config.h: Use __v850 to select v850
5658 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5661 * libc/include/machine/ieeefp.h: Use __v850 to select v850
5664 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
5666 * libc/stdlib/setenv.c: change unsetenv definition to match
5667 style of setenv (with _DEFUN). The string should be a const.
5668 * libc/include/stdlib.h: unsetenv proto should return void.
5670 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
5672 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5674 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
5676 * libc/stdio/glue.h: remove.
5677 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5678 * libc/stdio/Makefile.in: remove glue.h dependencies
5680 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
5682 * libc/sys/sysnecv850/crt0.S: Created V850e version.
5684 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
5686 * configure.in (target_cpu): Add `arc'.
5688 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
5690 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
5691 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5692 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5693 * newlib/libc/reent/reent.c: Add _wrapup_reent.
5694 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5696 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
5698 * libc/machine/mips/setjmp.S: Handle mips16 builds.
5700 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
5702 * libc/include/stdio.h (siprintf): Declare.
5704 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
5706 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5707 TARGET_CFLAGS and NEWLIB_FLAGS.
5709 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
5711 * configure.in (links): Add support for v850ea target.
5713 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
5715 * configure.in (links): Add support for v850e target.
5717 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
5719 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5721 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
5723 * configure.in (arc-*-*): Add support for.
5724 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5726 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5728 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5730 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
5732 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5733 comparison which accesses invalid memory when the key is
5734 larger than the last member of the array.
5735 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5737 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5739 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
5741 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5744 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
5746 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5747 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5749 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
5751 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5752 to load/store memory.
5754 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
5756 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5757 underscores if _WIN32.
5759 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
5761 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5762 support ifdef _USE_WRITE missed in last change.
5763 From Anders Blomdell <anders.blomdell@control.lth.se>.
5765 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
5767 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5768 (_tmpnam_r, _tempnam_r): Update.
5770 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
5772 * libc/machine/sparc/setjmp.S: New file.
5773 * libc/machine/sparc/Makefile.in: Add setjmp.
5774 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5776 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
5778 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5780 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
5782 From Joel Sherrill <joel@oarcorp.com>.
5783 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5785 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
5786 * configure.in: Recognize *-*-rtems*.
5787 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5788 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5789 time.h,times.h,types.h}: New files.
5790 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5792 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
5794 patch from sos@prospect.com.ru (Sergey Okhapkin):
5795 * include/sys/wait.h: correct operator precidence bug
5798 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
5800 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5801 with newlib's unsetenv function
5802 * libc/sys/cygwin32/sys: new directory for includes
5803 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5804 here from winsup/include/sys
5806 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
5808 * libc/include/sys/unistd.h: _exit should only be
5809 labelled noreturn when not __CYGWIN32__
5810 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5811 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5814 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
5816 * libc/include/sys/time.h: Only define timeval and timezone if
5817 _GNU_H_WINDOWS32_SOCKETS is not defined.
5818 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5820 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
5822 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5823 * libc/machine/mn10300/setjmp.S: Likewise.
5825 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5826 the mn10300 (more relaxing opportunities).
5828 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
5830 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5831 Build libraries with -mstrict-align.
5833 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
5835 * libc/string/strlwr.c: New file.
5836 * libc/string/strupr.c: New file.
5837 * libc/include/string.h: Declare strlwr and strupr.
5838 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5839 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5840 (strlwr.o, strupr.o): New targets.
5841 * libc/string/strings.tex: Include strlwr and strupr docs.
5843 * libc/include/sys/types.h: Don't define u_char, et. al., if
5844 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
5845 et. al. Make FD_SETSIZE default 64 rather than 60. Define
5846 _types_fd_set rather than fd_set, and define fd_set as a macro.
5848 * libc/include/malloc.h: New file.
5850 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5851 strnicmp if they are not already defined.
5853 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5854 _timezone, _daylight, and _tzname.
5856 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
5858 * configure.in: Sort all configuration tables.
5860 From Joel Sherrill <joel@oarcorp.com>
5861 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5863 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
5865 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
5866 use int when declaring kill.
5868 * libc/include/sys/timeb.h: New file.
5870 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
5872 * libc/include/sys/time.h: add itimer support for Cygwin32
5874 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
5876 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5877 out a message that abort was called to stderr.
5879 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
5881 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5882 so that libio doesn't freak.
5884 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5887 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5888 memory sizes, not int.
5890 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
5892 * libm/math/ef_hypot.c: Use long constants where
5894 * libm/math/ef_sqrt.c: Ditto.
5896 * libc/sys/sysmec/times.c(_times): Change to times.
5898 * libc/sys/sysmec/read.c(_read): The third argument is
5900 * libc/sys/sysmec/write.c (_write): Ditto.
5902 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
5903 (_lseek): It's off_t for the second argument.
5905 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
5907 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
5908 as well as machine/ieeefp.h.
5910 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
5912 * libc/include/sys/signal.h: add signal protos for winsup
5913 functions (when __CYGWIN32__), include types.h
5914 * libc/include/sys/types.h: Change __go32_types__ internal
5915 define to __MS_types__ since it's used for more than just
5916 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
5918 * libc/include/sys/unistd.h: add ftruncate proto for
5919 winsup functions (when __CYGWIN32__)
5921 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
5923 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
5925 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
5927 * libc/include/machine/setjmp.h: Add tic80 support.
5928 * libc/machine/tic80/setjmp.S: Likewise.
5930 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
5932 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
5933 link programs from libraries only (such as in the X11
5936 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
5938 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
5939 supplied elsewhere in newlib.
5941 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
5943 * Makefile.in (INSTALL): Change install.sh to install-sh.
5945 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
5947 * README: update WWW address for on-line documentation.
5949 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
5951 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
5954 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
5956 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
5958 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
5960 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
5962 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
5963 * libc/sys/d10v/syscalls.c: Likewise.
5964 * libc/sys/h8300hms/sbrk.c: Likewise.
5965 * libc/sys/h8500hms/syscalls.c: Likewise.
5966 * libc/sys/m88kbug/syscalls.c: Likewise.
5967 * libc/sys/sh/syscalls.c: Likewise.
5968 * libc/sys/sysmec/sbrk.c: Likewise.
5969 * libc/sys/sysnecv850/sbrk.c: Likewise.
5970 * libc/sys/w65/syscalls.c: Likewise.
5971 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
5973 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
5975 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
5976 emulated syscall instead of "trap".
5978 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
5980 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
5983 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
5985 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
5987 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
5989 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
5991 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
5993 * libc/sys/tic80/crt0.c: New file for TIc80.
5994 * libc/sys/tic80/Makefile.in: New file for TIc80.
5995 * libc/machine/tic80/Makefile.in: New file for TIc80.
5997 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
5999 * libc/machine/sh/memcpy.S: New file.
6000 * libc/machine/sh/memset.S: New file.
6001 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
6003 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
6005 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
6008 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
6010 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
6013 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
6015 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
6016 (patch from andrew@pogo.WV.TEK.COM).
6018 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
6020 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
6021 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
6023 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
6025 * configure.in: Add cases for "tic80" to set machine_dir,
6026 sys_dir, and syscall_dir.
6028 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
6030 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
6032 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
6034 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
6036 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
6038 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
6039 Use proper constant prefix.
6041 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
6043 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
6044 that loses on the mn10200 where ints and pointers are different
6047 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
6049 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
6050 target as signal is provided in winsup.
6052 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
6054 * libc/include/sys/process.h: Corrected const definitions
6055 in spawn functions. Added cwait.
6057 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
6059 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
6061 * libc/include/sys/config.h: Similarly.
6063 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6065 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
6067 (i[3456]86-*-sco*): Ditto.
6069 * libc/signal/Makefile.in (OFILES): Add signal.o.
6070 (CFILES): Add signal.c.
6072 * libc/signal/raise.c (_raise_r): Only compile code if
6073 SIGNAL_PROVIDED is defined.
6075 * libc/signal/signal.c: Redo whole file so that it works with
6076 current newlib. Use _kill_r if no signal handler provided.
6078 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
6080 * libc/sys/sysvnecv70/Makefile.in: Ditto.
6081 * libc/sys/sysnecv850/Makefile.in: Ditto.
6083 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
6084 * libc/sys/sysmec/{raise,signal}.c: Ditto.
6085 * libc/sys/sysvnecv70/signal.s: Ditto.
6086 * libc/sys/sysnecv850/raise.c: Ditto.
6088 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
6089 simulator and debugger can tell the difference between a signal
6090 being raised and an exit system call.
6092 * NEWS: Document software signals being provided.
6094 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6096 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
6097 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
6098 include/sys/config.h.
6099 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
6100 Change from 'inpure_data'.
6101 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
6102 &impure_data, not &inpure_data.
6104 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
6105 and and System V ABI, define so that _impure_ptr lives in the
6108 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6110 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
6111 nothing if not defined.
6112 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
6115 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
6117 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
6119 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
6120 * libc/sys/sysmec/trap.s: Handle mn10200 too.
6121 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
6123 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
6125 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
6127 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
6129 * libc/include/sys/errno.h: Added net errno's.
6131 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6133 * libc/misc/ffs.c: New file to support ffs function for GCC test
6134 gcc.c-torture/execute/960909-1.c.
6136 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
6138 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
6140 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
6141 * libc/sys/sysmec/trap.S: Likewise.
6143 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
6145 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
6146 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
6148 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
6150 * libc/sys/sysmec/signal.c: Dummy file.
6151 * libc/sys/sysmec/Makefile.in: Build it.
6153 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
6155 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
6158 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
6160 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
6161 c-startup and simulator traps.
6164 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
6165 * libc/sys/sysmec/trap0.S: Likewise.
6167 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6169 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
6170 round to double word alignment.
6171 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
6174 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
6176 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
6179 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
6181 * configure.in: Handle mn10200 and mn10300.
6182 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
6183 * libc/include/sys/config.h: Likewise.
6184 * libc/sys/sysmec: New directory for mec stuff.
6185 * libc/machine/mn10300: New directory for mn10300 stuff.
6186 * libc/machine/mn10200: Similarly for mn10200 stuff.
6188 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
6190 * libc/sys/arm/crt0.S: Use .text, not .section .text.
6191 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
6193 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
6194 (nlink_t): Change type from unsigned int to unsigned short.
6195 (mode_t): Ensure size is 32 bits even if int is 16.
6196 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
6197 (st_spare[123]): Change type from int to long.
6199 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6201 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
6204 * configure.in (d10v*): Define SMALL_MEMORY.
6206 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6208 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
6209 -mrelocatable-lib and -mno-eabi flags.
6211 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
6213 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
6214 Fix handling of mis-aligned source operand when both the
6215 destination & length are properly aligned.
6217 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
6219 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
6220 times.o, time.o and gettime.o
6221 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
6222 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
6225 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
6227 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
6228 * libc/sys/sysnecv850/access.c: New file.
6230 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
6232 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
6234 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
6237 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
6239 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
6241 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
6243 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
6244 * libc/include/sys/config.h: Add m32r support.
6246 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
6248 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
6251 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
6253 * libc/include/machine/setjmp.h: Add D10v support.
6255 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
6257 * configure.in: Configure the "libc/syscalls" directory for
6260 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
6261 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
6262 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
6263 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
6264 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
6266 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
6268 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
6269 stack for args for main and other routines. Zero out args for
6272 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
6275 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6277 * libc/stdio/findfp.c (std): Remove extraneous ';' after
6280 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
6282 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
6283 real system calls now.
6285 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
6286 before casting them to int.
6287 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
6289 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
6291 * libc/string/memset.c (memset): Ditto.
6293 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
6294 first convert ints to _POINTER_INT to eliminate GCC warning.
6296 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
6299 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
6300 from 65000 if ints are only 16 bits.
6302 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
6303 from 50000 if ints are only 16 bits.
6305 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
6306 int type that is the same size as a pointer.
6308 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
6310 (get_number): Explicitly cast number to long before shifting by 16
6311 or 24, in case ints are short.
6313 * libc/include/sys/config.h (_POINTER_INT): Define as short.
6315 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
6317 * libc/string.h: Added ffs, removed swab.
6318 * libc/sys/errno.h: Added EOPNOTSUPP.
6319 * libc/sys/unistd.h: Added swab.
6321 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
6323 * libc/include/sys/stat.h: Added fchmod.
6324 * libc/include/sys/unistd.h: Added fsync.
6326 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
6328 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
6329 and ECONNRESET (104) for cygwin32.
6331 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
6333 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
6334 do the static destructors.
6336 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
6338 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
6340 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
6342 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
6343 * configure.in: Recognize m32r-*-*.
6345 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
6347 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
6348 __rt_stkovf_split_small): Added default software stack overflow
6349 handlers, which just call SWI_Exit.
6350 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
6351 limit initialisation.
6353 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
6355 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
6357 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
6359 * libc/include/sys/types.h: Added ssize_t definition.
6361 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6363 * libc/machine/d10v/setjmp.S: Use ';' for comments.
6364 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
6366 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
6367 branch around a single ldi instruction.
6369 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
6370 Call exit, instead of just issuing a stop instruction.
6372 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6374 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
6376 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6378 * libc/stdlib/mprec.h: Explicitly declare all large constants as
6379 longs, and then cast them to __uint32_t.
6381 * libc/include/sys/config.h: Protect against multiple inclusions.
6383 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
6385 * configure.in (d10v*): Set syscall_dir.
6387 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
6389 * libc/sys/d10v/crt0.S: Set stack pointer.
6391 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
6393 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
6394 in assembly for efficiency. Change calling convention to allow
6395 long ints to be returned.
6397 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6399 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
6401 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
6403 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
6404 Handle empty entries in $PATH.
6406 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
6408 * libc/machine/d10v/setjmp.S: Make it really work.
6410 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
6412 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
6415 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
6417 * sys/sysnecv850/sys/file.h: Remove.
6418 * sys/sysnecv850/sys/syscall.h: New file.
6419 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
6420 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
6421 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
6422 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
6423 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
6424 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
6425 * sys/sysnec850/trap.S: New file.
6426 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
6428 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
6429 * sys/sysnec850/sbrk.c: New version.
6431 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
6433 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
6434 as long as r6 is less than r7.
6436 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
6438 * Makefile.in (mostlyclean): Separate from clean target. Don't
6439 remove *.a or targ-include.
6440 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
6442 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6444 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
6446 (__SMALL_BITFIELDS): Ditto.
6448 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
6450 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
6452 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
6455 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
6456 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
6457 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
6458 * libc/sys/sysnecv850/write.c (write): Likewise.
6460 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
6463 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6465 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
6466 appropriately for D10V, depending on -mint16/-mint32.
6468 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
6470 * configure.in: Add cases for D10V.
6472 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6474 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
6476 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
6478 * libc/include/machine/ieeefp.h: Fix typo.
6480 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
6482 * libc/sys/d10v: New directory for D10V stuff.
6483 * libc/include/machine/ieeefp.h: Add D10V defines.
6485 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
6487 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
6488 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
6489 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
6490 * libc/string/strerror.c (strerror): Add them.
6492 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
6494 * libc/sys/sysnecv850: New directory for v850 stuff.
6496 * libc/machine/v850: New directory for v850 stuff.
6497 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
6499 * configure.in: Add support for the v850.
6501 * libc/include/machine/ieeefp.h: Add v850 defines.
6502 * libc/include/machine/setjmp.h: Likewise.
6503 * libc/include/sys/config.h: Add v850 defines.
6505 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
6507 * libc/include/machine/ieeefp.h
6508 * libc/include/machine/setjmp.h
6509 * libc/include/sys/fcntl.h
6510 * libc/include/sys/signal.h
6511 * libc/include/sys/types.h
6512 * libc/stdlib/system.c:
6513 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
6514 API availability, __CYGWIN32__ for cygwin32 environment specific).
6516 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
6518 * libc/include/stdlib.h: add multibyte character functions. Add
6519 __eprintf for assert.
6521 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6523 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
6524 arithmetic or __alignof__ to properly get the alignment, instead
6525 of hardwiring it to 4.
6527 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
6529 * libc/stdio/fseek.c: add fflush call to adjust seek offset
6530 on append stream (fix from NetBSD sources), adjust curoff offset
6531 for ungetc's benefit.
6532 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
6533 * libc/stdio/rewind.c: replace code with up to date NetBSD
6534 code to undo hacks made to work around above problem of not
6535 having fflush call mentioned above
6537 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6539 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
6540 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
6541 Partially revert last changes. The thread specific errno is set
6542 iff if the underlying syscall fails and the global errno is not
6545 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6547 * libc/reent/filer.c: Removed files, all functions have split out
6548 into their own files.
6549 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
6550 New files containing functions formally in filer.c
6551 * libc/reent/Makefile.in: Updated for above change.
6553 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
6554 syscall fails, not if errno is changed.
6555 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
6556 _write_r): Likewise.
6557 * libc/reent/fstatr.c (_fstat_r): Likewise.
6558 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
6559 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
6560 * libc/reent/signalr.c (_kill_r): Likewise.
6561 * libc/reent/statr.c (_stat_r): Likewise.
6562 * libc/reent/timer.c (_gettimeofday_r): Likewise.
6564 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
6565 signalr.c, statr.c, timer.c} (errno): declare extern rather
6568 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
6569 instead of calling vfprintf so that i*printf will not require
6570 floating point support code.
6572 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
6574 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
6576 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
6577 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
6579 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
6581 * libc/include/signal.h: _sig_func_ptr function takes an int
6582 * libc/include/sys/signal.h: sa_handler function takes an int
6584 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
6586 * libc/include/machine/ieeefp.h: Simplify H8/S support.
6587 * libc/include/sys/config.h: Add missing H8/S conditional.
6589 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
6591 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
6593 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
6595 * libc/include/machine/setjmp.h: Handle H8/S.
6596 * libc/include/machine/ieeefp.h: Likewise.
6597 * libc/include/sys/config.h: Likewise.
6598 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
6599 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
6600 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
6601 * libc/sys/h8300hms/crt0.S: Likewise.
6603 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6605 * Makefile.in (datadir): Set to $(prefix)/share.
6606 (oldincludedir, docdir): Removed.
6607 * doc/Makefile.in (datadir): Set to $(prefix)/share.
6608 (oldincludedir, docdir): Removed.
6609 * libc/Makefile.in (datadir): Set to $(prefix)/share.
6610 (oldincludedir, docdir): Removed.
6611 * libm/Makefile.in (datadir): Set to $(prefix)/share.
6612 (oldincludedir, docdir): Removed.
6614 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
6616 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
6619 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
6621 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
6622 fetch current path rules with sysconf and handler posix/win32
6625 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
6627 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
6628 (WAIT_CHILD): Always define.
6630 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
6632 * libc/stdlib/eprintf.c: New file.
6633 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
6634 (eprintf.o): New target.
6636 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
6638 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
6639 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
6641 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
6643 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
6644 NT in PowerPC endianess cases.
6646 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6648 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
6650 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6652 * libc/string/strtok.c: Fix doc typo.
6654 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6656 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
6657 _next, _scanpoint, _signgam fields.
6659 * libc/include/stdlib.h (rand_r): Added new declaration.
6660 (_rand_r, _srand_r): Removed declarations.
6661 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6662 have been made obsolete by rand_r.
6663 * libc/stdlib/rand_r.c: New file, rand_r function as specified
6666 * libc/string/strtok.c: Update documentation to describe
6669 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
6671 * libc/include/sys/stat.h (stat structure): Use the expanded stat
6672 structure on Solaris, and PowerPC systems even though __svr4__ is
6675 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
6677 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6679 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
6681 * host/any: Use ../.. rather than .. to get to the main build
6682 directory. This matches the current layout of the build
6685 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
6687 * libc/machine/h8300/__main.S: Delete. No longer needed.
6688 * libc/machine/h8300/Makefile.in: Corresponding changes.
6689 * libc/sys/h8300hms/crt1.c: New file.
6690 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6691 * libc/sys/h8300hms/crt0.s: Call __main.
6693 * libc/sys/h8300hms/crt0.S: Use temporary label names
6696 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
6698 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6700 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6702 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6703 .sdata on the PowerPC so that we can link newlib with code
6704 compiled with -msdata.
6706 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
6708 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6710 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
6712 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6713 exception handler to __cygwin_exception_handler.
6715 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
6717 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6719 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
6721 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6723 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6724 wcstombs.o): Likewise.
6726 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
6728 * libc/stdlib/environ.c (initial_env): New static local.
6729 (environ): Point to `initial_env'.
6731 * libc/include/machine/setjmp.h: Clean up.
6732 (__H8300H__,__PPC__): Define _JBTYPE.
6733 (__arm__): Provide entry for.
6734 (sigjmp_buf): Delete.
6735 (jmp_buf): Use _JBTYPE if defined, otherwise int.
6737 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
6739 * libc/machine/h8300/strcmp.S: Sign extend the result to
6740 32bits so we don't lose with -mint32.
6742 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
6744 * libc/sys/go32/sys/errno.h: New file.
6745 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6746 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6747 errno's address (make compatible with rest of newlib).
6748 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6749 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6751 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
6753 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6754 * libc/machine/sparc/Makefile.in: Build them.
6755 * libc/machine/sparc/machine/sparclet.h: New file.
6757 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6759 * libc/machine/sh/asm.h: New file.
6760 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
6761 support for SH3e's FP registers. Use asm.h.
6763 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
6765 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6766 as first argument. Call _dtoa_r and pass the reent structure
6767 instead of calling __dtoa.
6769 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
6771 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6772 the h8300, h8500, and others. Add comments for some rather
6775 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
6777 * Makefile.in (check): Check that testsuite exists before cd.
6779 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6781 * libc/include/string.h (strsep): Correct prototype.
6783 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
6785 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6786 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6787 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6789 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
6791 * libc/posix/{creat.c,isatty.c}: New files.
6792 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6794 * libc/sys/sparc64/crt0.S (environ): Delete.
6795 (.LHaveBias): Renamed from HaveBias.
6797 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
6799 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6800 (_morecore_r): Delete SBRK_IS_ALLOC support.
6802 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6804 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6805 module rather than touch, so we don't get warning messages when
6806 all of the libraries are combined into libc.a.
6808 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
6810 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6811 crt0.s replaced by version in libgloss.
6813 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6815 * libc/reent/Makefile.in (OFILES): Add impure.o.
6816 * libc/reent/impure.o: New file, define initial reentrancy struct.
6817 * libc/reent/reent.c: Remove above definition.
6819 * libm/math/sf_asinh.c: Fix typo.
6821 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6824 * libm/libm.texinfo: Change documentation to reflect changes
6825 in reentrancy model.
6826 * libm/math/w_gamma.c: Likewise.
6828 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
6830 * configure.in (*-*-cygwin32): New.
6831 (*-*-win32): Deleted.
6832 * libc/sys/win32 renamed libc/sys/cygwin32.
6834 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6836 * libc/include/sys/file.h: New include file.
6838 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
6840 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6842 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
6844 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6846 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6848 * doc/makedoc.c (realloc): Declare at file scope.
6849 (catchar): Not here.
6851 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
6853 * Makefile.in (VERSION): Update to 1.7.0.
6854 * {libc,libm}/Makefile.in (VERSION): Likewise.
6855 * configure.in: Minor clean up of multilib stuff.
6857 From David Johnson <davidj@ICSI.Berkeley.EDU>
6858 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6860 * libc/stdlib/environ.c: New file.
6861 * libc/stdlib/Makefile.in (OFILES): Build it.
6862 * libc/sys/h8500hms/crt0.c (environ): Deleted.
6863 * libc/sys/m88kbug/crt0.c (environ): Deleted.
6864 * libc/sys/z8ksim/crt0.c (environ): Deleted.
6865 * libc/sys/netware/environ.c: Deleted.
6867 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
6869 * configure.in (links): set sys_dir, posix_dir, syscall_dir
6871 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6873 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6874 declaration out to external scope and declare it PTR, not char *.
6876 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
6878 * libc/include/sys/unistd.h (getpagesize): New declaration.
6879 (_SC_PAGESIZE): New definition.
6880 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6881 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6883 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
6885 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6886 addressing. System call returns size, not (last address + 1).
6888 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6890 * libm/math/*.c: Removed _foo_r() reentrancy API.
6891 * libc/include/math.h: Removed _foo_r prototypes and macros.
6893 * libm/math/*.c: On systems with IEEE single precision "doubles"
6894 move foo() -> foof() wrapper code from the files that implement
6895 the standard IEEE double precision functions to the files that
6896 implement IEEE single precision functions. (ie. On those systems
6897 sin is moved from s_sin.c to sf_sin.c). There should eventually
6898 be use of a C extension (like gcc's alias attribute) so that the
6899 wrappers are not needed at all.
6901 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
6902 strict NEC V810 compiler.
6903 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
6906 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6908 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
6909 from NetBSD C library.
6910 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
6912 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
6913 and adapted from implementation I wrote for NetBSD C library.
6914 The difference is __assert doesn't take a format argument,
6915 so that there won't be multiple copies of the same string
6916 constant in the executable if assertions are enabled in
6917 more than one source module.
6918 * libc/include/assert.h (assert): Changed to call __assert.
6920 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6922 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
6923 word1 on systems with 32 bit doubles.
6924 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
6925 so that we can do arithmetic on them.
6926 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
6929 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
6931 * libc/sys/arm/crt0.S: Zero bss.
6933 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
6935 * libc/include/unctrl.h: New file.
6936 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
6937 * configure.in (subdirs): Add libc/misc.
6938 * libc/Makefile.in (SUBDIRS): Add misc.
6939 (SUBLIBS): Add misc/lib.a.
6941 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
6943 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
6945 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
6946 (_vfprintf_r): Call CHECK_INIT.
6948 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
6950 * Makefile.in (MULTITOP): Delete.
6951 (MULTISRCTOP, MULTIBUILDTOP): Add.
6952 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
6953 instead of cfg-ml-pos.in.
6955 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
6957 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
6958 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
6961 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6963 * libc/string/strtok.c: Include string.h to pick up strtok_r
6966 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6968 * libc/string/strtok.c: include <_ansi.h>.
6969 * libc/time/asctime_r.c: `reresult' -> `result'.
6971 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6973 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
6974 in #ifndef _REENT_ONLY ... #endif conditional.
6976 * libc/include/string.h (_strtok_r): Remove declaration.
6977 * libc/include/time.h (_asctime_r): Remove declaration.
6978 * libc/string/strtok.c (_strtok_r): Removed.
6979 * libc/time/asctime.c (_asctime_r): Removed.
6981 * libc/string/Makefile.in (OFILES): Add new object.
6982 * libc/string/strtok_r.c: New file. strtok_r function as
6983 specified by POSIX.1c, adapted from strtok implementation
6984 from NetBSD C library.
6985 * libc/string/strtok.c (strtok): Reimplemented in terms of
6988 * libc/time/Makefile.in (OFILES): Add new objects.
6989 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
6990 New files, reentrant time functions specified by POSIX.1c.
6991 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
6992 reentrant time functions re-written in terms of reentrant
6994 * libc/time/lcltime.c: Renamed from localtime.c
6996 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
6997 gmtime_r, and localtime_r.
6999 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
7001 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
7002 * libc/include/sys/unistd.h (getlogin): Revert change of
7004 * libc/include/sys/signal.h (sigprocmask): Change prototype
7005 so it compiles with c++.
7007 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
7009 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
7010 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
7011 to give some room in case we need to align the jmp_buf.
7013 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
7014 the new ppc-asm.h include file the compiler provides to specify
7015 function prologue/epilogue. Eliminate saves of the xer and ctr
7016 registers, which are volatile. Before starting to save registers,
7017 align to 8 byte boundary.
7019 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
7021 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
7022 referenced by standard libraries.
7024 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
7026 * libc/unix/Makefile.in, libc/string/Makefile.in,
7027 libc/stdio/Makefile.in, libc/reent/Makefile.in,
7028 libc/posix/Makefile.in:
7029 Remove tabs from otherwise empty line. Confuses some
7030 older non-GNU versions of "make".
7032 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
7034 * libc/sys/unistd.h (getlogin): Returns const char *.
7036 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
7038 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
7039 * libc/include/errno.h: Moved into and include...
7040 * libc/include/sys/errno.h: New file.
7041 * libc/include/sys/wait.h: New file.
7042 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
7043 * libc/sys/win32/*: Moved out.
7044 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
7045 * configure.in (i[345]86-*-win32): HAVE_RENAME
7047 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7049 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
7050 avoid macro expansion for these two names.
7052 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
7054 * libc/machine/h8500/psi.S: r6 renamed to fp.
7056 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
7058 * configure.in (powerpc*): No longer need to define
7059 NO_LONGLONG_POINTERS to supress warnings.
7061 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7063 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
7064 through PTR instead of directly.
7066 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
7067 non-standard constructor support.
7069 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7071 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
7072 address of the Bigint instead of the address of its _x field,
7073 as the size the result buffer was calculated accordingly.
7074 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
7076 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
7077 from NetBSD C library. No longer special cases division by
7078 zero (which needs to be done by the application anyway), but
7079 it doesn't need to call abs() (or labs()) four times either.
7081 * libc/stdlib/qsort.c: Replaced with implementation from
7084 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7086 * libc/stdio/vfprintf.c: Replaced with implementation from
7087 NetBSD C library (which is derived from the 4.4BSD C library).
7088 * libc/stdio/cvt.c: Removed.
7089 * libc/stdio/Makefile: Updated.
7091 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
7093 * libc/sys/win32/syscalls.c (rename): New.
7094 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
7096 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7098 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
7099 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
7101 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
7102 (setjmp.o): Delete rule to build setjmp.o.
7103 * libc/sys/sh/setjmp.S: Delete file.
7105 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7107 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
7108 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
7109 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
7110 pow5mult and s2b to identifiers with leading underscores.
7111 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
7112 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
7114 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
7116 * libc/sys/posix/popen.c (sys/types.h): Include.
7118 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
7120 * libc/sys/win32/syscalls.h (fhandler): New struct.
7121 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
7122 (__fhandler_normal): Declare.
7123 (hinfo): New member op_handlers.
7124 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
7125 (__write): Likewise.
7126 (_read, _write, _open, _close, _lseek): Validate fd here.
7127 Move file type specific stuff to foo_normal.
7128 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
7130 (__lookup_fhandler): New function.
7131 (__lookup_fhandler_hook, __fhandler_normal): New variables.
7133 From anders.blomdell@control.lth.se (Anders Blomdell)
7134 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
7135 Don't touch standard handles.
7136 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
7137 (_execve): Only create __FD_TABLE__ if necessary.
7138 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
7140 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
7142 * libc/sys/win32/sys/termios.h (FLUSHO): New.
7143 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
7144 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
7145 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
7146 without a handler is received.
7147 * libc/sys/win32/Makefile.in: Remove --nodelete.
7148 * libc/sys/win32/resouce.c (gettimeofday): New.
7149 * libc/sys/win32/syscalls.c (path_to_real_path): New.
7150 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
7152 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
7154 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
7155 Don't append "/*" to search pattern if trailing '/' already there,
7157 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
7158 like /'s, convert them to \'s. Handle //<drive>/ path names.
7159 Add space for quoted \'s in arg string. Print translated prog name
7160 and original prog name.
7161 (_execve): Handle parent doing exec a teensy bit better.
7162 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
7163 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
7164 path needs conversion, handle both cases. Delete `const' from result.
7165 (hash_path_name): New function.
7167 (_stat): Likewise. Fill in more fields for directories.
7168 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
7169 (wait_for_any): Fix trace message.
7170 (waitpid): Explicitly test for intpid == 0.
7172 From anders.blomdell@control.lth.se (Anders Blomdell)
7173 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
7176 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
7178 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
7181 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7183 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
7184 at all, not just == 1.
7185 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
7187 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7189 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
7190 * libc/sys/win32/include/wintypes.h: include <winnt.h>
7191 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
7194 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
7196 * libc/sys/syscalls.c (getcwd): Fix off by one error.
7198 * libc/sys/signal.c (sleep): Fill it in.
7199 * libc/sys/termios.c (tcflush): Use PurgeComm
7200 (tcsetattr): Set some more of the bits.
7201 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
7203 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
7205 * libc/sys/arm/crt0.S (fp): Initialize to 0.
7206 Conditionally include .idata$3 stuff ifdef __pe__.
7208 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
7210 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
7211 * libc/sys/win32/pipe.c (pipe): Ditto.
7212 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
7213 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
7214 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
7215 (tcgetattr): Contents are new.
7216 * libc/sys/win32/include/winkernel.h (DCB): New.
7217 (GetCommState, SetCommState): New.
7219 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
7221 * libc/sys/arm/crt0.S (_start): Define.
7223 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
7225 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
7226 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
7228 * libc/sys/win32/sysconf.c: New
7229 * libc/sys/win32/sys/winadvapi.h: New
7230 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
7231 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
7232 * libc/sys/win32/pipe.c (pipe): Ditto.
7233 * libc/sys/win32/signal.c (_raise): New.
7234 (_kill): Moved from spawn.c
7235 * libc/sys/win32/spawn.c (kill): Moved to signal.c
7236 * libc/sys/win32/syscalls.c (__read): Use new fields.
7238 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
7239 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
7240 * libc/include/sys/unistd.h (rmdir): Takes const path.
7241 * libc/include/sys/stat.h (mkdir): Takes const path.
7242 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
7244 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
7246 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
7248 Add support for specifying paths as //<drive>/foo/bar.
7249 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
7250 (__path_to_real_path): Declare.
7251 (PATH_TO_REAL_PATH): New macro.
7252 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
7253 (__path_needs_conversion_p, __path_to_real_path): New functions.
7254 (_open): Fix test for error return from CreateFileA.
7255 Handle new path syntax.
7256 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
7257 * libc/sys/win32/dirsearch.c (opendir): Likewise.
7259 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
7261 * libc/sys/win32/include/*.h: Reorganized
7262 * libc/sys/win32/include/WINREADME: New.
7263 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
7264 * libc/sys/win32/*.c: Fix for new include scheme.
7265 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
7266 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
7267 * libc/sys/win32/passwd.c (*): Fix.
7268 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
7269 (_stat): Get directory owner and permissions right.
7270 * libc/sys/win32/syscalls.h (uinfo): New.
7271 * libc/sys/win32/version.def: Remove leading underscores.
7273 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7275 * libc/sys/win32/key.c: include "include/wincon.h".
7277 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
7279 * libc/sys/win32/{key, stubs}.c: New.
7280 * libc/sys/win32/Makefile: Adjust to cope.
7281 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
7282 (environ_init): Change env names to upper case.
7283 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
7284 * libc/sys/win32/passwd.c (*): Fill in the functions.
7285 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
7286 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
7287 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
7288 (_open): Initialze hmap->execable_p too.
7289 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
7290 (_fstat): Fill in permissions.
7291 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
7293 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
7295 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
7297 (cfg-ml-pos.in invocation): Likewise.
7299 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7301 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
7302 s_isnan.o and sf_isnan.o.
7304 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
7306 * All Makefile.in files: added maintainer-clean target as a
7307 synonym for realclean.
7309 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
7311 * libc/include/machine/setjmp.h: Add hppa support.
7312 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
7314 * libc/machine/hppa/Makefile.in: Related changes.
7316 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
7318 * configure.in (machine_dir): Don't set for v810-*-*.
7320 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7322 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
7323 conventions correctly.
7325 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
7327 * libc/stdio/puts.c: Update documentation of return value to match
7330 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
7332 Fix file descriptor inheritance.
7333 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
7335 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
7336 close-on-exec flag not set. Initialize child's entire fd table.
7337 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
7339 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
7340 if CHILD_P. Initialize entire hmap entry.
7341 (dup): Only create new handle as inheritable if CHILD_P.
7342 (dup2): Likewise. Properly initialize hmap entry.
7344 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
7346 (_exit): Use CHILD_P.
7347 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
7350 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7352 * libc/sys/win32/crt0.c (passover): fix up the state table.
7353 * libc/posix/popen.c: Added.
7354 * libc/posix/Makefile.in: compile popen.c.
7356 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
7358 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
7359 h8/500 define _DOUBLE_IS_32BITS.
7361 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
7363 Get vfork/exec/spawn/cwait/wait working again.
7364 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
7365 (procinfo): New member vfork_level.
7366 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
7367 (vfork_init_first): Use GetCurrentProcessId to get pid.
7368 Initialize vfork_level.
7369 (vfork_init): Delete __PID__.
7370 (environ_init): New function. Undo patch of Aug 19, Posix says
7371 environment variables are case sensitive.
7372 (mainCRTStartup): Call it.
7373 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
7374 (my_longjump: Make static.
7375 (_spawn): New argument `h'. Delete setting of __PID__.
7376 Delete local `idx'. Look for chars that need quotes, rather than
7377 ones that don't. Set handle of created process in `h'.
7378 Result is process id if created task.
7379 (allocate_spawn_entry): New function.
7380 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
7381 (_execve): Set __FD_TABLE__ before spawning child.
7382 Scan our fd table when passing fds, not our parent's.
7383 Store handle and pid in procinfo entry.
7384 (vfork0): Ensure strace message always printed.
7385 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
7386 (vfork): Don't clobber result of vfork0.
7387 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
7388 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
7390 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
7392 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
7393 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
7394 adding vfork level to pseudo-pid.
7395 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
7396 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
7397 (_exit): If child, set exit code.
7398 (__vfork_record_death): Only close process handle if valid.
7399 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
7401 (wait_for_any): Likewise. Start scan after root entry.
7403 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7405 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
7406 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
7407 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
7408 of actual file length.
7410 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
7411 * libc/include/paths.h: _PATH_BSHELL added.
7412 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
7415 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7417 * libc/include/ar.h: Added.
7418 * libc/include/sys/types.h: ino_t goes back to 32-bits.
7419 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
7420 * libc/sys/win32/syscalls.c (_open): compute .namehash based
7422 (_fstat): use .namehash for inode number of the fd.
7424 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
7426 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
7427 Change hinfo to __this_procinfo.
7428 * libc/sys/win32/crt0.c: Remove procinfo_list.
7430 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7432 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
7435 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7437 * libc/sys/win32/include/grp.h: Removed.
7438 * libc/sys/include/grp.h: Added.
7439 * libc/sys/win32/grp.c: Include <grp.h>.
7441 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
7443 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
7444 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
7445 Defined for all but strict ANSI.
7446 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
7447 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
7448 * libc/signal/signal.c (_signal_r): Changed from using
7449 _MAX_SIGNALS to NSIG.
7450 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
7452 (__strace, __vfork_next_pid): New.
7453 (__exe_suffix): Default to 1.
7454 (passover, table): Understand quoted arguments.
7455 (vfork_init_first): New.
7456 (vfork_init): Initialize new process structure.
7457 (mainCRTStartup): Pass environ to main.
7458 * exceptions.c (__sig_mask): New
7459 (ehandler3): Ignore signals in mask.
7460 (really_exit): Remove CHILD_P test.
7461 * pipe.c (pipe, dup, dup2): Use new process and file structure.
7462 * resource.c (getrusage): Ditto.
7463 * signal.c (sigprocmask): New.
7464 * spawn.c (*): Rewritten.
7465 * syscalls.c (*): Use new process and file structure.
7466 (find_unused_handle): New.
7467 * syscalls.h (MAX_HANDLES): Deleted.
7468 (hinfo): Removed child_created_p.
7469 (MAX_CHILDREN): Deleted.
7470 (vfork_jmp_info, procinfo): New.
7471 * wait.c (*): Mostly new.
7472 * sys/strace.h (_STRACE_PARANOID): New.
7473 * sys/param.h: New file.
7475 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7477 * libc/include/sys/stat.h: add S_BLKSIZE.
7478 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
7479 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
7481 (mode_t): add a #else to avoid multiple definitons.
7483 * libc/sys/win32/Makefile.in: add grp.c.
7484 * libc/sys/win32/grp.c: include grp.h correctly.
7485 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
7486 of the st structure with real information.
7487 * libc/sys/win32 (dirent): d_ino is of type ino_t.
7489 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
7491 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
7492 and (maybe) sparc64.
7493 (nlink_t): Provide typedef.
7495 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7497 * libc/sys/win32/grp.c: New file.
7498 * libc/sys/win32/include/grp.h: New file.
7500 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7502 * libc/include/machine/ieeefp.h: Added whitespace to make this
7503 file easier to maintain.
7504 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
7505 depending on the value of __LITTLE_ENDIAN__.
7506 On the sh3e, define _DOUBLE_IS_32BITS.
7508 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
7510 * libc/sys/vr4300/syscalls.c: Added missing support
7511 routines. _raise() and getpid().
7513 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
7515 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
7517 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
7519 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
7520 and VR4300 processor.
7521 * libc/sys/vr4300: Add directory.
7522 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
7523 monitor run-time support.
7525 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7527 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
7528 * libc/stdlib/stdlib.tex: Don't include atol.def.
7530 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7532 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
7534 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
7536 * libc/ctype/Makefile.in: Fill in _to* dependencies.
7538 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
7540 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
7541 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
7542 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
7543 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
7544 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
7546 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7548 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
7550 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7552 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
7553 * libc/stdlib/atoff.c: New file.
7554 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
7555 * libc/stdlib/atoi.c (atol): Removed.
7556 * libc/stdlib/atol.c: Removed duplicate documentation.
7558 * libc/include/ctype.h (_tolower, _toupper): Moved inside
7559 #ifndef _STRICT_ANSI conditional.
7560 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
7561 * libc/ctype/_tolower.c: New file.
7562 * libc/ctype/_toupper.c: New file.
7563 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
7564 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
7565 * libc/ctype/toascii.c (_toascii): Removed.
7567 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
7569 * libc/sys/sparc64/sys/types.h: Deleted.
7571 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7573 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
7574 and recognize Windows_95 systems.
7576 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7578 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
7579 and passed fds should be opened in text mode.
7581 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7583 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
7584 in __hmap, set to binary mode by default.
7586 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7588 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
7589 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
7592 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
7594 * Makefile.in (install): Install all libraries found in the
7595 top level. If there's a sys/<type>/include directory,
7596 install those headers into include.
7598 * libc/sys/win32/kernel.def351: Delete
7599 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
7600 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
7601 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
7602 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
7603 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
7604 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
7605 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
7606 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
7608 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
7609 * libc/sys/win32/crt0.c: Force all env names to upper case.
7610 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
7611 * libc/sys/win32/*.c: Headers have moved.
7612 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
7613 __vfork_child_idx is now __vfork_child_ptr.
7615 * posix/execvp (execvp): Don't crash if no PATH envname.
7617 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7619 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
7620 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
7621 through the _freelist instead of through the _reclaim list.
7622 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
7623 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
7626 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7628 * libc/machine/h8500/setjmp.S: New file.
7629 * libc/include/machine/setjmp.h: Updated for H8/500.
7631 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
7633 * libc/sys/win32/syscalls.c (_open): More stracing.
7634 (_stat): Open the file in O_BINARY.
7636 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7638 * libc/machine/h8300/setjmp.S: New file.
7639 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
7641 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
7643 * libc/sys/win32/crt0.c (__exe_suffix): New global.
7644 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
7645 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
7646 __exe_suffix. Free fd_tab after setting env variable.
7647 (spawnv,_execve): Update.
7648 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
7649 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
7650 (__small_vfprintf): New function.
7651 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
7652 * libc/sys/win32/wait.c (cwait): Validate argument.
7654 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
7655 (process_deletion_queue): Likewise.
7657 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
7659 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
7661 * libc/sys/win32: Copyrights and gratuitous indenting.
7663 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
7665 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7666 (process_deletion_queue): Likewise.
7667 (__close_all_files): New function.
7668 (_close): Only queue file deletion if really a file.
7669 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7671 (_exit): Call __close_all_files.
7673 * libc/stdlib/system.c: #include <errno.h>.
7674 (_system_r): Fix results in -DNO_EXEC case.
7676 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7677 Reorganize structure.
7678 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7679 if argument is valid. Save directory name in DIR. malloc space
7680 for dirent struct separately.
7681 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7683 * libc/include/errno.h (ENAMETOOLONG): Define.
7684 * libc/string/strerror.c (strerror): Reword ENFILE.
7685 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7687 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
7689 * libc/sys/win32/crt0.c (__progname): New global.
7690 (mainCRTStartup): Support strace=bitmask,filename.
7691 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7692 * libc/sys/win32/syscalls.c (_write): Print parent trace message
7694 (getcwd): Handle len too small. Convert '\\' to '/'.
7695 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7696 Add prototypes for open, creat, fcntl.
7697 (O_APPEND): Change value to conform to Microsoft's value.
7698 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7700 * libc/stdlib/getopt.c: New file.
7701 * libc/stdlib/Makefile.in: Build it.
7703 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
7705 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7706 Fix scanning of $PATH.
7707 * libc/posix/exec*.c: Call _execve, not execve.
7708 * libc/posix/execve.c: New file.
7709 * libc/posix/Makefile.in (OFILES): Add execve.o.
7711 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7712 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7713 (_STRACE): If level==0, always print. Handle new bit mask scheme.
7714 * libc/sys/win32/crt0.c: Update _STRACE calls.
7715 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7717 * libc/sys/win32/smallprint.c (rn): Fix digit list.
7719 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7720 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7721 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7722 Print __seterrno trace message first.
7723 (_execve): Renamed from execve.
7724 (vfork): Update __strace usage.
7725 (__vfork_child_pid): Deleted.
7726 (__vfork_children, __vfork_child_idx): New globals.
7727 (_spawnvp): New function.
7728 (spawnvp, spawnv, _execve): Call _spawnvp.
7729 (init_child): Record child in __vfork_children.
7730 (__vfork_get_entry, __vfork_record_death): New functions.
7731 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7732 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7733 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
7734 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7735 (children): New typedef.
7736 (__vfork_children,__vfork_child_idx): Declare.
7737 (__vfork_get_entry,__vfork_record_death): Declare.
7738 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7739 (waitpid): Handle pid == -1.
7740 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7741 * configure.in (i386-win32): Add -DNO_FORK.
7742 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7743 * libc/reent/execr.c (_fork_r): Likewise.
7744 * libc/stdlib/system.c (do_system): New function.
7745 If WIN32, try to get shell path from $SH_PATH, use vfork.
7746 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7749 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
7751 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7752 * libc/sys/win32/fcntl.h: Don't include self.
7753 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7754 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7755 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7756 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7757 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7759 * libc/sys/win32/strace.c: New file.
7760 * libc/sys/win32/smallprint.c: New file.
7761 * libc/sys/win32/crt0.c (func): Delete.
7762 (mainCRTStartup): Fix alloca usage. Set handles explictly.
7763 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7764 * libc/sys/win32/exceptions.c: Lint.
7765 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7766 Clean up handle usage.
7767 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7768 (open.c): Default file type is text.
7769 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7770 * libc/sys/win32/advapi32.def: New
7772 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
7774 * configure.in (posix_dir, libc_posix_lib): New variables.
7775 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7776 (i[345]86-*-win32): Define posix_dir.
7777 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
7778 (if unix_dir): Fix typo.
7779 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7780 scandir,seekdir,telldir}: New files.
7781 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7783 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7784 (SUBDIRS): Add posix.
7785 (SUBLIBS): Add $(LIBC_POSIX_LIB).
7787 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7788 (NSIG): Increase to 21.
7789 * libc/include/sys/unistd.h (pid_t): Move from here,
7790 * libc/include/sys/types.h (pid_t): to here.
7792 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7794 (hinfo): New members close_exec_p, child_created_p.
7795 (struct exception_list): Define.
7796 (__hmap): Redefine as pointer to table.
7797 (__parent_hmap, __child_hmap): New globals.
7798 (__set_errno, __really_exit): Declare.
7799 (__vfork_child_pid): Declare.
7800 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7801 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7802 (__parent_hmap, __child_hmap): New globals.
7803 (__hmap): Redefine as pointer to active map.
7804 (__get_console): New function.
7805 (mainCRTStartup): Change leading '=' in environ vars to '!'.
7806 (env __FD_TABLE__): Watch for this and initialize our fd/handle
7807 mapping table from it if defined.
7808 (argv, envp): Dump if __strace >= 4.
7810 * libc/sys/win32/exceptions.c (myp): Redefine.
7811 (__syscalls_b): Delete.
7812 (__stack_trace): New function.
7813 (ehandler3): Update to use _STRACE. Print stack trace.
7814 Call __really_exit instead of exit.
7815 (init_exceptions): Delete args argc,argv. New arg mine.
7816 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7817 FindFirstFileA, FindNextFileA, GetComputerNameA,
7818 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7819 * libc/sys/win32/signal.c (signal): Validate arg.
7820 (alarm, sleep): Define as stubs for now.
7821 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7822 (__syscalls_b, errno): Delete.
7823 (__vfork_child_pid, __vfork_jmp_buf): New globals.
7824 (__seterrno): Handle more errors.
7825 (__sys_printf): Renamed from _ptrace.
7826 (__really_exit): New function.
7827 (queue_file_deletion, process_deletion_queue): New functions.
7828 (__resume_parent): New function.
7829 (_unlink): Handle trying to delete open file.
7830 (__totime_t): Renamed from totime_t.
7831 (setsid, __read, __write): New functions.
7832 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7833 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7834 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7835 * libc/sys/win32/console.c: Update to new definition of __hmap.
7836 * libc/sys/win32/Makefile.in: Build new files.
7837 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7838 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7839 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7840 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7842 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
7844 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7846 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7848 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7849 have been made to the master dtoa.c sources (from netlib.att.com)
7850 since they were integrated into newlib in early 1992. Fixes
7851 problems with storage leaks and handling of numbers with very
7854 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7856 * Makefile.in (all): set rootpre and srcrootpre before calling
7859 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
7861 * libc/sys/win32/crt0.c: Change __hmap usage.
7862 * libc/sys/win32/exceptions.c: Use _ptrace call.
7863 * libc/sys/win32/syscalls.c: Use _ptrace call.
7864 (read, write): Cope with DOS style CRLF when in TEXT mode.
7865 * libc/sys/win32/syscalls.h: Declare hinfo struct.
7866 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7867 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7868 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7869 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7871 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7873 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7875 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7876 wrappers for hypot() and remainder() for BSD libm compatibility.
7877 These are public domain implementations written by me for the
7878 NetBSD libm some time ago. Note cabs() is required by ucbtest.
7879 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7880 (fobj): Added wf_cabs.o and wf_drem.o.
7882 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7884 * libc/sys/h8500hms/misc.c: New file.
7885 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7887 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7889 * libc/time/localtime.c (localtime): Fix problem with leap year
7890 handling. Stole algorithm from Arthur David Olson's tz code.
7892 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
7894 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
7896 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
7897 (_exit): Use argument.
7899 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
7901 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
7903 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
7905 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
7907 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7909 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
7912 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
7914 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
7915 ptrace with case insensitivity
7916 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
7917 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
7920 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
7922 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7923 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
7924 (all, install, *clean): Use new multilib support.
7925 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7927 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
7929 * libc/include/sys/signal.h (__WIN32__): New.
7931 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
7933 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
7934 (ulp, b2d): Handle 32 bit doubles.
7935 * libc/stdlib/mprec.h: Handle 32 bit doubles.
7936 * libc/stdlib/strtod.c (_strtod_r): Ditto.
7938 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
7940 from medp@primag.co.uk:
7941 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
7942 dynamically allocated buffers.
7944 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
7946 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
7947 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
7949 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7951 * configure.in (powerpc): Fix previous fix.
7953 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7955 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
7956 directories for this target.
7958 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7960 * configure.in (hppa): Add machine_dir definition.
7961 * libc/machine/hppa: New directory with PA specific implementations
7962 of the basic memory/string functions.
7964 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7966 * configure.in: Update current PowerPC multilib directories.
7967 Split big and little endian configurations.
7969 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
7971 * configure.in: Add --enable-single-float option to configure to
7972 control use of MIPS single-float directories. Default to yes.
7974 * Makefile.in (all): Don't recurse into multilib directory if it
7977 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7979 * libc/sys/sh/syscalls.c: Fix typo.
7981 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
7983 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
7985 * libc/include/process.h: Define WAIT_CHILD.
7986 * libc/include/types.h: Get sizes right for win32.
7987 * configure.in (i386-*-pe): Becomes i386-win32.
7988 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7989 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
7990 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
7993 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
7995 * configure.in (i[345]86-*-pe): New target (NT).
7996 * host/any: DLLTOOL new.
7997 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7998 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
7999 WIN32 (just enough to cross host the comp-tools).
8001 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
8003 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
8004 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
8006 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
8008 * libc/include/machine/ieeefp.h (arm): Change to always be
8009 __IEEE_BIG_ENDIAN (even on little endian ARM's).
8011 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
8013 * libc/sys/crt0.S: Initialze sp, and call exit after main.
8014 * libc/sys/syscalls.c (abort): New.
8015 * configure.in (arm): Define ABORT_PROVIDED.
8017 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8019 * configure.in (powerpc): Define multidirs.
8021 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
8023 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
8025 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
8027 * configure.in (sparclite): Delete target_cflags. Define multidirs.
8029 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
8031 * configure.in, libc/include/machine/ieeefp.h: Modified
8033 libc/machine/arm/*, libc/sys/arm/*: New
8035 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8037 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
8038 __powerpc__ when determining endianness.
8040 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8042 * configure.in (m68*): Add multidir for the m68332.
8044 * host/any (CC): Fix typo in last change.
8046 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
8048 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
8049 when determining endianness.
8050 * libc/include/machine/ieeefp.h: Ditto.
8051 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
8054 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
8056 * libc/include/errno.h (ENOTEMPTY): Define.
8058 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8060 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
8063 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
8066 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
8067 instead of only when open succeeds. ANSI requires that multiple
8068 calls to tmpnam() result in different files.
8070 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
8071 objects pulled in from /lib/libc.a that must be renamed before
8072 being pulled into newlib. /lib/libc.a's div.o conflicted with
8073 newlib's file with the same name.
8075 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
8077 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
8078 the build tree will only be used if the executables are present
8079 (instead of just the Makefiles).
8081 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
8083 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
8084 versions of these functions that I orignally wrote for the
8086 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
8087 versions I wrote for NetBSD.
8089 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
8091 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
8092 * libc/sys/sparclite/crt0.s: ditto.
8094 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
8096 * configure.in: Add soft-float for proelf.
8098 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
8100 * libc/stdlib/mprec.h (Bcopy): Copy the right number
8103 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
8105 * Makefile.in (all): Depend on `force'.
8106 * configure.in (syscall_dir): Renamed from fake_sys_dir.
8107 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
8108 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
8109 * libc/Makefile.in: Likewise.
8110 * libc/include/reent.h: Update syscall references.
8111 (_fcntl_r): Add prototype.
8112 * libc/syscalls/*.c #include <reent.h>.
8113 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
8115 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
8117 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
8118 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
8119 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
8120 (time.h, sys/types.h): Always include (even if MSDOS).
8121 (stat): Fix prototype.
8123 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
8125 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
8127 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
8129 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
8131 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
8133 * libc/include/regdef.h: New file.
8134 * libc/machine/mips/machine/regdef.h: New file.
8136 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
8138 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
8140 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
8142 * libc/sys/sh/crt0.S: Pass main's return to exit.
8143 * libc/sys/sh/trap.S: Put errno in the right place.
8145 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
8147 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
8148 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
8149 * libm/math/ef_rem_pio2.c: Likewise.
8150 * libm/math/e_log10.c: Remove unused static one.
8151 * libm/math/ef_log10.c: Likewise.
8152 * libm/math/s_frexp.c: Likewise.
8153 * libm/math/sf_frexp.c: Likewise.
8155 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
8157 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
8158 longjmp.S: Upgraded.
8159 * libc/sys/go32/sys/setjmp.h: Upgraded.
8160 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
8162 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
8164 * configure.in: Add many entries to multidirs for mips targets.
8166 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8168 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
8169 5.2 which fixes bug where jn(-1,x) is three times larger than
8171 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
8173 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
8175 * libc/sys/w65/sys/syscalls.h: New file
8176 * libc/include/machine/ieeefp.h: W65 support.
8177 * libc/include/sys/config.h: Ditto.
8178 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
8179 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
8180 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
8182 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
8184 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
8186 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
8188 * Makefile.in, configure.in: Remove any references to the old
8191 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
8193 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
8194 uses ... in prototype.
8197 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
8199 * libc/sys/a29khif/sys/libconfig.h: Remove.
8200 * libc/sys/go32/sys/libconfig.h: Remove.
8201 * libc/sys/sun4/sys/libconfig.h: Remove.
8202 * libc/sys/sysvi386/sys/libconfig.h: Remove.
8203 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
8204 * libc/sys/sparc64/sys/libconfig.h: Remove.
8206 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
8207 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
8208 * libc/include/math.h: Change all uses of _FLOAT_RET and
8209 _FLOAT_ARG to float.
8210 * libm/test/math.c: Likewise.
8211 * testsuite/libm.sac/math.c: Likewise.
8212 * testsuite/libm.sac/working/math.c: Likewise.
8214 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
8216 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
8217 gcc calls gas with endian option.
8218 * configure.in (sh): Build little endian version too.
8220 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
8222 * configure.in: Configure big and little endian versions for MIPS
8225 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
8227 * libc/include/limits.h: Deleted.
8228 * libc/include/machine/limits.h: Deleted.
8230 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
8232 * ChangeLog: Remove stub directory. This has all been rewritten
8233 and moved to devo/libgloss.
8235 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
8237 * Makefile.in (dvi): Add to info target, use $@ in sub make.
8238 (docs): Merge into info target.
8239 * libm/Makefile.in (dvi): Add $(srcdir).
8240 * libm/math/Makefile.in (chobjs): Remove underscores from file
8241 names. Texinfo doesn't like them.
8242 (wacos.def, ...): Add explicit targets for all .def files.
8243 * libm/math/math.tex: Remove underscores from @include file names.
8244 * doc/Makefile.in (dvi): Add dummy target.
8245 * testsuite/Makefile.in (dvi): Add dummy target.
8247 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
8249 * Makefile.in (VERSION): Define. For net newlib releases.
8251 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
8255 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
8257 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
8259 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8261 * libc/stdlib/setenv.c (_findenv): Declare.
8263 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
8264 fcntl to not use _EXFUN, and change string parameters to open and
8265 creat to be ``const char *''.
8266 * libc/sys/sparc64/sys/fcntl.h: Likewise.
8267 * libc/sys/sparc64/creat.c (creat): Make PATH const.
8268 * libc/syscalls/sysopen.c: Include <fcntl.h>.
8269 (open) Make _FILE const.
8270 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
8271 (_creat): Make PATH const.
8272 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
8273 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
8274 * libc/sys/m88kbug/syscalls.c (open): Likewise.
8275 * libc/sys/sh/syscalls.c (_open): Likewise.
8276 * stub/shared/glue.c (open): Make BUF const.
8277 * stub/ex93x/syscalls.c (open): Make FILENAME const.
8279 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
8281 * libc/include/errno.h: Add ENMFILE
8282 * libc/include/sys/config.h: Support Z8000.
8283 * libc/include/sys/signal.h: New signals for go32.
8284 * libc/machine/h8500/psi.S (__addpsir0r0): New function
8285 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
8286 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
8287 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
8288 size is variable, depending upon CHUNK_POWER.
8289 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
8291 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
8293 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
8295 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8297 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
8299 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8301 * configure.in: Change i[34]86 to i[345]86.
8303 * libc/include/math.h: Don't define HUGE_VAL if it is already
8306 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8308 * testsuite/libm.sac/test_erfc.c: Correct some result values.
8309 * testsuite/libm.sac/test_gammaf.c: Likewise.
8310 * testsuite/libm.sac/test_sin.c: Likewise.
8311 * testsuite/libm.sac/test_tanh.c: Likewise.
8313 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8315 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
8316 already set. Define typedefs __int32_t and __uint32_t.
8317 * libc/include/math.h: Include <machine/ieeefp.h>.
8318 (union __dmath): Use __uint32_t.
8319 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
8320 instead of int and unsigned int.
8322 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8324 Replace the math library with the SunPRO fdlibm package.
8325 * libm/math: Completely changed all files.
8326 * libm/ieeefp: Remove contents and directory.
8327 * libm/Makefile.in (LIBM_FP_LIB): Remove.
8328 (SUBDIRS): Just set to math/lib.a.
8329 * libm/libm.texinfo: Updated for new library.
8330 * libc/include/math.h: Extensive changes for new math library.
8331 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
8332 from _FLOAT_ARG to float.
8333 (maxpowtwo, maxpowtwof): Don't declare.
8334 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
8335 (libm_fp_lib): Removed.
8336 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
8337 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
8338 argument to ${RUNTEST}.
8339 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
8341 (RUNTESTFLAGS): Set CC and CFLAGS.
8342 (TESTS): Remove test_log2 and test_log2f.
8343 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
8344 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
8345 _FLOAT_ARG, for single precision argument type.
8346 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
8347 expected failure. Close the input pipe.
8348 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
8349 Correct misspelling of inaccurate.
8350 (test_mok): Use ``inaccurate'', not ``wrong''.
8351 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
8352 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
8353 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
8354 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
8355 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
8356 test_yn.c): Correct many result values. Many are still wrong.
8358 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
8359 just copy the string.
8360 (_gcvt): Always return the buffer.
8362 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8364 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
8366 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
8368 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
8370 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
8371 (_reclaim_reent): declare new entry point.
8372 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
8375 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
8376 ever allocated, so that we can later reclaim them all.
8377 (pow5mult): make reentrant.
8379 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
8380 so that when given NULL as a buffer, return a pointer to static
8381 space in the rent structure. This is not documented behaviour;
8382 it's only to support ecvt and fcvt, which aren't ANSI anyway.
8383 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
8384 therefore become reentrant).
8386 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
8388 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8390 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
8392 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8394 * Makefile.in: Make link to libg.a after libc.a; this is needed
8395 for the testsuites to build executables when everything comes
8398 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
8400 * libc/Makefile.in: Add a VERSION variable so we can keep track.
8401 * libm/Makefile.in: Add a VERSION variable so we can keep track.
8403 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8405 * libc/include/stdio.h: Use __VALIST, not va_list.
8407 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
8409 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
8410 testsuite/libm.sac/execute.exp:
8411 Replace error proc calls with perror calls.
8413 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
8415 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
8416 * libc/include/time.h: #define NULL as 0L.
8418 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
8420 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
8423 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8425 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
8428 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
8430 * configure.in (TARGET_CFLAGS): Set -O2 as default.
8431 (z8k-*-*): Use syscalls fake sys dir.
8432 * libc/sys/z8k/glue.c: Rename syscalls.
8433 * libc/sys/go32/Makefile.in: Use new routines.
8434 * libc/machine/Makefile.in: Fix typo in ln stuff.
8436 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8438 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
8439 * libc/Makefile.in (crt0.o): Likewise.
8440 * libc/machine/Makefile.in (lib.a): Likewise.
8441 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
8443 All Makefile.in files: Added mostlyclean, realclean and distclean
8446 * Makefile.in: Don't bother to unexport XTRAFLAGS or
8447 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
8448 the top level Makefile.
8450 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
8452 * libc/sys/sparc64/sys/stat.h: New file.
8453 * libc/sys/sparc64/sys/time.h: New file.
8454 * libc/sys/sparc64/sys/types.h: New file.
8456 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
8458 * stub/ex93x/crt0.s (start): Add code to clear bss.
8460 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
8462 * libc/include/sys/types.h (time_t): Properly protect inside
8463 #ifndef __time_t_defined.
8465 * libc/stdio/fileno.c: New file.
8466 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
8467 (fileno.o): Add dependency.
8468 * libc/include/stdio.h (__sgetc): Rename never to _never.
8469 (fileno macro): Disable, needs to do CHECK_INIT first.
8471 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
8473 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
8476 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
8477 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
8479 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
8482 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
8484 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
8485 of the various constants.
8487 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
8489 * libc/include/math.h: #ifndef __math_68881 around things which
8490 conflict with the (gcc-provided) inline functions in
8491 gcc/ginclude/math-68881.h.
8493 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
8495 * libc/include/_syslist.h (_gettimeofday): Define.
8497 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
8498 (struct tms, timeval, timezone): Declare.
8499 (_gettimeofday_r, _times_r): Declare.
8500 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
8501 #ifdef _CLOCK_T_ surrounding definition of clock_t.
8502 (time_t): Add multiple definition protection, __time_t_defined.
8503 * libc/include/sys/time.h: Don't #include <time.h>.
8504 Always define struct timezone (remove #ifndef _TIME_H_).
8505 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
8506 #ifdef _CLOCK_T_ surrounding definition of clock_t.
8507 * libc/reent/Makefile.in (OFILES): Add timer.o.
8508 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
8509 * libc/reent/timer.c: New file.
8510 * libc/time/clock.c: #include <reent.h>.
8511 (clock): Call _times_r instead of times.
8512 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
8513 HAVE_GET_TIME_OF_DAY.
8514 Add comment regarding supporting OS routine(s) required (for docs).
8516 (time): Call _gettimeofday_r instead of gettimeofday.
8517 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
8518 * libc/time/ctime.c: Ditto.
8519 * libc/time/strftime.c: Ditto.
8520 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
8521 (TEMPLATE_SFILES_R): Define here. Also define times.
8522 Add times_r.o/times.S dependence.
8523 (time2.c, junk.c): Deleted.
8524 * libc/sys/sparc64/time2.c: Deleted.
8525 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
8527 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
8528 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
8529 * libc/sys/sparc64/junk.c: Deleted.
8531 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
8533 * libc/sys/sparc64/Makefile.in: Add times syscall.
8534 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
8535 be used with and without it. Add comment clarifying Medium/Anywhere
8537 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
8538 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
8541 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
8543 * configure.in (target_cflags): Move init.
8544 (sparc64-*-*): Define HAVE_BLKSIZE.
8546 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
8548 * libc/include/sys/_types.h: New file.
8549 * libc/include/reent.h: #include it.
8550 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
8551 MISSING_SYSCALL_NAMES.
8553 * libc/include/_syslist.h: Remove _raise.
8554 * libc/reent/signalr.c: New file.
8555 * libc/reent/Makefile.in: Compile it.
8556 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
8557 Add doc for raise and _raise_r.
8558 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
8559 (raise): Call _raise_r.
8560 (_raise_r): Call _getpid_r and _kill_r.
8561 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
8562 (abort): Loop forever calling raise and _exit.
8564 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8566 * configure.in: Remove extraneous echo.
8568 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
8570 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
8571 collision with unistd.h, and fix for svr4.
8573 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
8575 * libc/stdio/local.h (_llicvt): Declare.
8576 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
8577 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
8579 (_sicvt): Fix function header (`value' is short).
8580 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
8581 Add printing of long long's support.
8582 Add printing of 8 byte pointer support.
8584 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
8586 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
8587 stat, chmod): New hooks.
8588 (sbrk): Abort if stack and heap collide.
8589 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
8590 shortcut when given small args.
8591 * libc/machine/sh/setjmp.s: Rewritten.
8592 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
8593 of cmp/str instruction.
8595 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8597 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
8598 and machine_dir powerpc.
8599 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
8600 Add cases for __powerpc__.
8601 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
8604 * libc/include/stdio.h (_iprintf_r): Declare correctly.
8606 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
8608 * libc/stdlib/callocr.c: New file with _calloc_r in it.
8609 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
8611 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
8613 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
8614 (print_e): More comments to describe args, etc.
8615 "type" arg may now be 'g' or 'G' for %g/G format --> remove
8617 (_gcvt): Remove locals decpt, sign, end, p, done.
8618 More comments for print_e invocation.
8619 Pass "type" to print_e as is (g/G).
8621 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
8623 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
8626 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
8628 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
8629 works with any sized pointer, including ones bigger than ints and
8632 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
8634 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
8636 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8638 * libc/include/stdlib.h (_calloc_r): Add prototype.
8639 * libc/machine/h8500/negsi2.c: New file.
8640 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
8641 large unsigned numbers.
8642 * libc/machine/h8500/cmpsi.c: Add cmppsi.
8643 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
8644 works when sizeof(size_t) != sizeof(char *).
8645 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
8647 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
8649 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
8651 * libc/include/assert.h (assert): Handle -traditional.
8653 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
8655 * Makefile.in: added ; after every "fi" and "done" that wasn't at
8656 the end of a line (ie. anything before a backslash continuation)
8657 so that bash handles them.
8659 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8661 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8664 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
8666 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8667 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8668 libc/machine/sh/udivsi3.s: Use new calling convention.
8670 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
8672 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8673 chmod, access, chdir, chown by making _path const. Also fix _amode
8676 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
8678 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8679 _khif_tmpnam, because it doesn't comply with ANSI but may be
8680 useful anyway. Real tmpnam was already in libc/stdio, and was
8681 colliding with this one (pr 2176.)
8682 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8683 the wrong idea anyhow.
8685 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
8687 * configure.in: Remove h8300h, we have multilib now.
8689 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
8691 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8692 functions, to get preference over the ones in libiberty (since we
8693 provide correct declarations in <string.h>.
8694 * libc/string/Makefile.in: add support for strncasecmp,
8697 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
8699 * Change netware config not to look for cpu explicitly.
8701 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
8703 * libc/sys/sparc64/{creat.c,junk.c}: New files.
8704 * libc/sys/sparc64/Makefile.in: Add dependencies.
8706 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
8708 * configure.in: Clean up v9 a bit, new "os" aoutv8.
8710 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
8712 * libc/include/sys/reent.h: make structure smaller by allocating
8713 some stuff when needed.
8714 * libc/signal/signal.c: allocate as needed
8715 * libc/stdio/findfp.c,stdio/local.h: ditto
8716 * libc/stdlib/mprec.c: ditto
8718 * libc/time/localtime.c: don't return a dangling stack ptr.
8720 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
8722 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8724 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8726 * libc/include/stdio.h (__sputc): comment out static inline which
8727 confuses coff toolchains.
8729 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
8731 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8732 _write.s, getpid.c, kill.c, read.s}:
8733 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8734 through the syscalls directory.
8736 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
8738 * configure.in: fixed double quote gotcha.
8740 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
8742 * stub/ex931: stub library for sparclite board.
8743 * stub/idp: Renamed from mc68ec. Added contructor table
8744 stuff to linker script.
8745 * stub/mvme135: Renamed from m68kmvme. Added contructor table
8746 stuff to linker script.
8748 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8750 * configure.in: Configure testsuites only if they exist.
8752 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8754 * configure.in: Don't set machine_dir for i386 until there is
8755 something in libc/machine/i386 to compile. For i[34]86-*-netware*
8756 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8757 CLOCK_PROVIDED and MALLOC_PROVIDED.
8759 * libc/sys/netware: New directory. Contains simplistic and
8760 probably incorrect stubs for NetWare. Should be enough to load
8762 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8763 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8766 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8767 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8768 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8769 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8771 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
8773 * testsuite/Makefile.in: add "docs" dummy target for consistency
8774 with rest of newlib; turn "info" and "install-info" into dummy
8775 targets, since they wouldn't have worked. (Depended on
8776 nonexistent "doc" subdir.)
8778 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8780 * configure.in: handle mips* instead of mips
8782 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
8784 * libc/include/sys/dirent.h: New file. If it is not overridden by
8785 a version of libc/sys/*/sys/dirent.h, it includes the next
8786 <dirent.h> file in case there is one lurking somewhere.
8788 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8790 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8791 compliance, namely: Accept a minus sign. Consider a single 0 with
8792 a radix of 0 as being a conversion. Determine overflow correctly.
8793 If an overflow occurs, set *ptr to the end of the number, not the
8795 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8797 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
8799 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8801 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
8803 * Makefile.in (INSTALL): Use $srcrootpre.
8804 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8806 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8808 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8809 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8810 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8811 * libm/math/Makefile.in (matherr.o): Ditto.
8813 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8815 * configure.in: Build multidirs for z8k.
8816 * libc/include/stdlib.h (_strtoul_r): add prototype.
8817 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8818 * libc/include/machine/setjmp.h: Add for z8k.
8819 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8820 * libc/sys/z8ksim/glue.c: tidy up.
8822 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
8824 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8825 New files. Requires execve system call.
8826 * libc/unix/Makefile.in: Use them.
8827 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8828 Deleted, moved to libc/unix.
8829 * libc/sys/sparc64/Makefile.in: Remove them.
8831 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
8833 * libc/sys/sparc64/{template.S template_r.S}: New files.
8834 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8836 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8837 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8838 umask.S unlink.S wait4.S write.S}: Removed, now built from
8841 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
8843 * libc/time/time.c: #include <_ansi.h>.
8845 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
8847 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8849 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8851 * configure.in: match m8* rather than m88k so that m88110 is
8854 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
8856 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8857 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8860 * configure.in: Add multilib support to h8300.
8862 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
8864 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8865 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8866 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8868 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8870 * configure.in: Corrected multidirs for sparc target.
8872 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8874 Support for building newlib multiple times with different
8876 * configure.in: Only configure doc at top level. Set multidirs
8877 when appropriate for target, unless not at top level. If
8878 multidirs is set, independently configure each subdirectory.
8879 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8880 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8881 automagically set by configure.in.
8882 (all): If MULTIDIRS is set, build multiple copies of libraries.
8883 (install): If MULTIDIRS is set, install multiple copies of
8884 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
8885 MULTISUBDIR is set, don't bother to install header files.
8886 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8888 * stub/configure.in: Set MULTISUBDIR appropriately.
8889 * stub/Makefile.in (install): Install in
8890 $(tooldir)/lib/$(MULTISUBDIR).
8891 * All Makefile.in files: Define SRCTOP as well as TOP.
8893 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
8895 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
8896 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
8898 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
8900 * libc/sys/h8300hms/exit.c (_exit): New function.
8902 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8904 * configure.in: recognize m88110.
8906 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8908 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
8909 prototype main and call with args.
8911 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
8913 First real try at system traps for m88k-bug.
8914 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
8916 * libc/sys/m88kbug/sys/systraps.h: new file.
8918 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8920 Patches to fix info building when target does not use sys
8922 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
8923 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
8925 * libc/sys/Makefile.in (doc): do nothing.
8927 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8929 * libc/Makefile.in (CRT0): new macro.
8930 (all): depend on $(CRT0) rather than crt0.o.
8932 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
8933 do not default crt0, instead, set crt0 and crt0_dir based on
8934 sys_dir and stub_dir.
8936 * Makefile.in (CRT0_DIR): new macro.
8937 (all): depend on $(CRT0) rather than crt0.o which may not exist.
8938 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
8940 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
8942 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8944 * testsuite/lib/libm.exp:
8945 added code to support compiling and linking of tests for
8946 libm.sac (paranoia to be added next) and processing the
8947 pass or failure of the tests.
8949 * testsuite/config/unix-libm.exp:
8950 platform specific proc's for dealing with compiler, linker
8951 and the way we execute and process the test results.
8953 * testsuite/libm.sac/execute.exp:
8954 generic framework for the sac tests. the config and lib
8955 expect code for specific platforms tie it all together.
8957 * testsuite/libm.sac/test_is.c:
8958 changed the output of the test to be consistant with the
8959 other tests. parsing of pass nad fail messages is now fixed.
8961 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
8963 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
8964 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
8965 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
8966 #ifdef __cplusplus, surround by extern ""C { ... }.
8967 * libc/include/assert.h: Do *not* protect assert.h against
8968 multiple inclusion! Also, #undef it before #define, to allow
8970 * libc/include/stdio.h (getlogin, cuserid): Removed. These
8971 should be only in unistd.h.
8973 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
8974 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
8977 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
8979 * libc/machine/sparc/Makefile.in: Must create a library, even
8982 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8984 * configure.in: set machine_dir for m88k. edit crt0 definition
8987 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
8989 * libc/Makefile.in (all): also build crt0.o.
8991 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
8992 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
8995 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
8996 (all): reworked to build in place.
8997 (clean): remove lib.a
8998 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
9000 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
9001 (_start): key off edata rather than _start_bss.
9003 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
9005 * libc/include/sys/unistd.h, libc/include/reent.h,
9006 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
9008 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9010 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
9012 * Makefile.in (libc.a): break into two rules, one for libc.a and
9013 one for libc/libc.a. Force subdirs current before rebuilding
9015 (libm.a): break into two rules, one for libm.a and one for
9016 libm/libm.a. Force subdirs current before rebuilding library.
9018 * libc/Makefile.in (SUBLIBS): fix typo.
9020 * libc/sys/Makefile.in (all): force descent into subdirs, then
9021 rebuild library iff out of of date.
9023 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9025 Rework so that library is built and then finished rather than
9026 being built on each invocation of make.
9028 * host/any (machine_dir, sys_dir, signal_dir): these are not
9029 shared and have been moved to their associated Makefile.in's.
9030 (AR_FLAGS): switch to qc which is faster.
9031 * configure.in: no longer assign machine_dir for m88k. set
9032 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
9033 stub_dir set, then add to configdirs. add comment about silly
9035 (configdirs): drop stub. It will be added only
9037 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
9038 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
9039 stub_lib, crt0): new variables for tailoring lower level
9040 makefiles. Assign accordingly and edit into makefiles.
9041 * libm/Makefile.in: updated copyright.
9042 (TARGETLIB): removed.
9043 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
9044 (SUBDIRS): removed TARGETDEP_DIRS.
9045 (LIBM_FP_LIB, SUBLIBS): new macros.
9047 (force): new target to force rebuilds.
9048 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9049 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
9050 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
9051 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
9052 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
9053 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
9054 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
9055 stub/m68kmvme/Makefile.in: updated copyright.
9056 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
9057 (all): reworked. made this the default rule.
9058 (clean): also remove lib.a.
9059 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9060 * stub/Makefile.in: updated copyright.
9061 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
9062 (stub_lib): new macro.
9063 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
9066 (clean, install): assume stub_dir exists.
9067 (Makefile): depend on configure.in. call $(SHELL) rather than
9068 sh. drop redundant ./
9069 * stub/configure.in (stublib): new macro, assign it, edit it into
9071 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
9074 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9075 * libc/Makefile.in (TARGETCRT0): removed.
9076 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
9078 (SUBDIRS): drop TARGETDEP_DIRS.
9079 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
9080 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
9081 (force): new target to force rebuilds.
9082 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
9083 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
9085 (clean): assume sys_dir always exists.
9086 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
9088 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
9089 libc/locale/Makefile.in, libc/machine/Makefile.in,
9090 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
9091 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
9092 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
9093 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
9094 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
9095 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
9096 libc/signal/Makefile.in, libc/stdio/Makefile.in,
9097 libc/stdlib/Makefile.in, libc/string/Makefile.in,
9098 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
9099 libc/time/Makefile.in, libc/unix/Makefile.in,
9100 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
9101 (TARGETLIB): removed.
9103 (clean): also remove lib.a.
9104 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9105 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
9107 (SUBDIRS): moved to follow frag inclusion, change stub to
9109 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
9110 are now set in the libc Makefile.
9111 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
9112 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
9114 (force): new target to force rebuilds.
9115 * stub/configure.in: determine and set stub_lib for for Makefile.
9117 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
9119 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
9120 crt0.s renamed to crt0.S.
9121 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
9123 * libc/machine/h8300/Makefile.in: Make `all' the default target.
9124 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
9126 * libc/machine/h8300/defines.h: Add macros to handle pointers for
9127 h8300 (16 bits) and h8300h (32 bits).
9128 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
9129 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
9131 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
9133 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
9134 implementation of setjmp and longjmp for the m88k.
9135 * libc/include/machine/setjmp.h: Added __m88000__ case.
9137 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
9139 * configure.in: Recognize h8300h as variant of h8300.
9141 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
9143 * libc/include/sys/unistd.h (read, write): get prototypes right.
9144 (sbrk): New prototype.
9145 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
9146 * libc/stdio/local.h: Include unistd.h.
9147 * libc/machine/h8300/syscalls.c: Names have changed.
9149 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
9151 * configure.in: add sys_dir assignment for m88k-bug.
9153 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
9155 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
9157 * libc/sys/sparc64: all *.S files: Use new macros.
9158 * libc/sys/sparc64/isatty.c: New file.
9159 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
9160 functions beyond what newlib provides.
9162 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
9164 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
9167 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
9169 * libc/include/machine/ieeefp.h: Add support for h8/300h.
9171 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
9173 * configure.in: add m88k.
9174 * libc/include/machine/ieeefp.h: add case for m88k. Also add
9175 sanity check so no one else need ever chase what I did to find
9178 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
9180 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
9182 * doc/makedoc.c: Include <ctype.h>.
9184 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
9186 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9187 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9188 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9190 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
9192 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
9194 * libc/include/errno.h (ENOSYS): Added.
9196 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
9198 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
9200 * libc/stdio/fflush.c (fflush): Check for reent struct
9202 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
9204 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
9206 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
9207 out of dtoa.c so it doesn't pollute the namespace.
9208 * libc/include/_syslist.h: new file -- mappings from _function to
9209 function, for systems where we can't win (by default, all of them,
9210 until we start updating system calls.)
9211 * libc/syscalls: new directory -- stubs for exporting _function
9212 names as unmodified function names.
9213 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
9214 _syslist.h on all platforms by default, but put hooks in for
9215 fake_sys_dir so we can include it when we've renamed the system
9217 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
9218 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
9219 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
9220 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
9221 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
9222 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
9223 non ANSI functions to call _function.
9225 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
9227 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
9228 when base 16 is specified. Don't accept non-digits if radix > 10.
9230 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
9232 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
9234 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
9236 * libc/include/sys/stat.h: Surround text after #endif with
9239 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
9241 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
9242 _malloc_r, _realloc_r, and free_r call the corresponding
9243 non-reentrant functions.
9245 * libm/math/modf.c (modf): We now take the address of ipart, so
9246 don't make it a register variable.
9248 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
9250 * libm/math/*: Rename all xxx_r fns to _xxx_r.
9252 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
9254 * libc/libc.texinfo and embedded docn throughout: formatting
9255 improvements, minor rephrasing for clarity, and improved
9258 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9260 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
9262 * libc/stdio/cvt.c (_licvt): Print the right value on machines
9263 where sizeof(int) != sizeof(long).
9265 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
9267 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
9268 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
9269 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
9270 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
9271 libm/math/matherr.c: changes for better docn formatting (info).
9273 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
9274 libc/reent/reent.tex, libc/signal/signal.tex,
9275 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
9276 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
9277 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
9278 makeinfo node defaulting to get better Info file node structure.
9279 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
9280 Also include a few formerly missing sections (subroutines).
9282 * doc/doc.str: delete fossil expansion for "func"
9284 * default.menu, no-signal.menu: delete.
9286 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
9287 method used to adjust doc for missing "signals" chapter when
9288 signal_dir is empty.
9290 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9292 * configure.in: added testsuite/libm.sac
9294 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
9296 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
9299 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
9301 * libm/Makefile.in: Use $(MAKE) rather than make, and define
9302 MAKEOVERRIDES to be empty.
9304 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
9306 * configure.in: Don't build mips-*-* with -msoft-float, since that
9307 makes it incompatible with hard floating point.
9309 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9311 * Makefile.in: added recursive 'make check'
9313 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9315 * configure.in: added ./testsuite ./testsuite/libm.paranoia
9316 * ./testsuite/Makefile.in: created
9317 * ./testsuite/libm.paranoia: paranoia tests added
9319 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
9321 * configure.in: For mips-*-* set machine_dir to mips.
9323 * libc/machine/mips: New directory.
9324 * libc/machine/mips/Makefile.in: New file.
9325 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
9327 * libc/include/machine/setjmp.h: Added __mips__ case.
9329 * libc/machine/lmips: Removed unused and useless directory.
9331 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
9333 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
9335 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
9337 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
9340 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
9342 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
9345 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
9347 * libm/test/convert.c: structure member errno -> errno_val.
9348 Must include <errno.h> to use errno, it's a macro now.
9349 * libm/test/math.c: Ditto.
9350 * libm/test/math2.c: Include errno.h.
9351 * libm/test/string.c: Ditto.
9352 * libm/test/test.h: structure member errno -> errno_val.
9353 Remove extern int errno decl.
9355 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
9357 * libc/stdio/Makefile.in: Added dependencies on local header
9359 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
9362 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
9364 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
9366 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
9368 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
9371 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
9372 * libc/stdio/local.h: Add prototype for _licvt.
9374 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
9375 instead of malloc,reealloc.
9377 * libc/stdlib/local.h: New file.
9378 * libc/stdlib/efgcvt.c: #include local.h.
9379 (gcvt): Fix call to _gcvt.
9380 * libc/stdlib/ecvtbuf.c: #include local.h.
9382 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
9383 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
9384 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
9386 * libc/stdlib/atexit.c: moved global data to struct _reent.
9387 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
9389 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
9391 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
9393 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
9394 here from ../reent.h.
9396 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
9398 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
9399 should be provided in both libc.a and libm.a.
9400 (libc.a): Depend on targ-include and libm.a. Copy
9401 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
9402 (libm.a): Depend on targ-include.
9403 * configure.in (subdirs): Removed libc/math.
9405 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9407 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
9409 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
9411 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
9412 sys/reent.h instead of reent.h.
9413 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
9414 headers moved to sys/reent.h.
9415 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
9416 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
9417 __need__MAX_SIGNALS defined.
9418 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
9419 std{in,out,err} refer to new _std{in,out,err} members.
9421 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
9423 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
9426 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
9428 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
9429 rather than whatever macro seterrno() has.
9431 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
9433 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
9434 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9436 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
9439 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
9440 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
9441 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9443 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
9444 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9446 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
9447 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
9448 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
9449 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
9450 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
9451 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
9452 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
9453 renamed to _xxx_r. struct reent_struct renamed to struct _reent
9454 for ANSI. structure members given leading "_" for ANSI. Use
9455 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9457 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
9458 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
9459 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
9460 reent_struct renamed to struct _reent for ANSI.
9461 Structure members given leading "_" for ANSI.
9462 _CONST --> const in prototypes.
9463 Use _HAVE_STDC instead of __STDC__.
9465 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
9467 struct reent_struct renamed to struct _reent for ANSI.
9468 Structure members given leading "_" for ANSI.
9470 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
9472 struct reent_struct renamed to struct _reent for ANSI.
9474 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
9475 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
9476 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
9477 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
9478 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
9480 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
9481 signal.h, stdio.h, stdlib.h, string.h, time.h}:
9482 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9483 #ifndef _STRICT_ANSI non-ANSI routines.
9484 Reentrant routines renamed from _r_xxx to _xxx_r.
9485 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
9486 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
9487 Clean up namespace (structure members have leading "_").
9488 struct reent_struct renamed to struct _reent for ANSI compliance.
9489 _CONST --> const in function prototypes.
9491 * libc/include/string.h: Add NULL and size_t.
9493 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
9494 unlink, wait, wait4. Reentrant syscall routines close, fork,
9495 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
9497 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
9498 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
9499 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
9500 write.S}: Define reentrant versions.
9501 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
9504 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
9506 * libc/include/stdlib.h (RAND_MAX): Fix value.
9508 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
9510 * libc/sys/a29khif/_main.c: Removed unnecessary file.
9511 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
9512 VPATH support targets after all: target.
9514 * stub/mvme135/mvme.S: Renamed exceptionhandler to
9515 exceptionHandler, which is what mvme135-stub.c expects.
9517 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
9519 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
9521 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
9522 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
9525 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
9527 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
9529 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
9531 libc/reent/fstatr.c (_r_fstat): Ditto.
9532 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
9533 libc/reent/sbrkr.c (_r_sbrk): Ditto.
9534 libc/reent/statr.c (_r_stat): Ditto.
9536 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
9537 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
9538 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
9539 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
9540 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
9541 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
9542 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
9543 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
9544 (__swrite): Ditto for _r_lseek, _r_write.
9545 (__sseek): Ditto for _r_lseek.
9546 (__close): Ditto for _r_close.
9547 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
9549 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
9550 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
9552 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
9553 to make reent_struct the first argument (and thus consistent with
9554 the rest of newlib).
9556 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
9557 reference to __STDC__.
9559 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
9561 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
9564 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
9566 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
9568 libc/stdio/fclose.c (fclose): Ditto.
9570 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
9572 * Run through indent and rename reentrant routines for ANSI.
9573 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
9574 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
9575 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
9576 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
9577 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
9578 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
9579 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
9580 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
9581 vsprintf.c wbuf.c wsetup.c local.h}
9583 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
9585 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
9586 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
9587 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
9588 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
9589 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
9590 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
9592 * Run through indent.
9593 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
9594 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
9595 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
9596 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
9599 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
9600 localtime.c mktime.c strftime.c time.c}:
9601 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
9603 * Reformatting + renaming (for ANSI, GNU style, consistency).
9604 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
9605 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
9606 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
9608 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
9610 * libc/include/stdio.h (stdin_r): Fix.
9612 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
9614 * Makefile.in: Unexport some variables to keep GNU make from
9615 putting them in the environment and using up needed ARG_MAX space
9616 (a hack is used to let this work with older makes as well).
9618 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
9620 * Makefile.in: Use $(MAKE) rather than make.
9621 (MAKEOVERRIDES): Define to be empty.
9622 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9623 (libc.a, libm.a): Depend on targ-include.
9624 * host/any (LD): Don't define.
9625 (INCLUDES): Use targ-include.
9626 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
9627 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9628 * libc/Makefile.in: Use $(MAKE) rather than make.
9629 (MAKEOVERRIDES): Define to be empty.
9630 (FLAGS_TO_PASS): Don't pass LD (it's not used).
9631 (all): Rewrote to be slightly smaller.
9632 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
9634 (FLAGS_TO_PASS): Don't pass LD (it's not used).
9635 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
9637 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
9639 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
9642 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
9644 * Changes for reentrancy.
9645 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
9646 Use ptr->_errno, not errno.
9647 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
9648 libc/stdio/remove.c (remove_r): New function.
9649 libc/stdio/rename.c (rename_r): New function.
9650 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9651 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
9652 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
9653 reentrant versions of system calls.
9654 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
9655 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
9656 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
9657 libc/stdio/findfp.c: Include <string.h>.
9658 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9660 libc/stdio/wbuf.c: Include "fvwrite.h"
9662 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9664 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9665 (NULL): Don't define if already defined.
9666 libc/stdlib/system.c: Call reentrant versions of system calls.
9667 (system_r): New function.
9669 * Changes for reentrancy.
9670 libc/include/_ansi.h (_PARAMS): New macro.
9671 libc/include/errno.h: Define errno as a macro that calls __errno.
9672 (__errno_r): New macro for reentrant code.
9673 libc/include/math.h: Include reent.h. Declare many reentrant
9675 (signgam): Now a macro, not a variable.
9676 (struct exception): Added err field.
9677 libc/include/reent.h: Don't declare __sglue. Added function
9679 (struct reent_struct): Moved errno to beginning. Added _signgam.
9680 libc/include/stdio.h, libc/include/stdlib.h: Added function
9683 * More reentrancy hacking.
9684 libc/errno/errno.c (__errno): New function.
9685 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9686 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9689 * Added many new reentrant functions to libm/math/*.
9690 libm/math/error.c (__matherror): Added reent_struct pointer
9691 argument. Changed all callers.
9692 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9693 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9694 libm/math/tan.h: Removed obsolete unused header files.
9696 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9698 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9700 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9702 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9705 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9707 * libc/libc.texinfo: comment out reentrancy chapter (duh)
9709 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9711 * libc/reent/reent.tex: New file. (text from
9712 newlib/libc/libc.texinfo)
9713 * libc/stdio/tmpnam.c: fixed doc typo
9714 * libc/stdlib/rand.c: fixed doc typo
9716 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9718 * libc/reent/reent.tex: New file. (text from
9719 newlib/libc/libc.texinfo)
9721 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9723 support for reentrancy
9724 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9726 * libc/errno/errno.c, libc/include/ieeefp.h,
9727 libc/include/locale.h, libc/include/reent.h,
9728 libc/include/signal.h, libc/include/stdio.h,
9729 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9730 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9731 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9732 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9733 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9734 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9735 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9736 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9737 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9738 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9739 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9740 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9741 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9742 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9743 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9744 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9745 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9746 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9747 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9748 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9749 libc/time/strftime.c: modify to provide reentracy.
9752 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9753 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9754 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9755 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9756 mstats_r, realloc_r, localeconv_r, setlocale_r
9758 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
9760 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9761 libc/include/sys/config.h, libc/include/sys/signal.h,
9762 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9763 provided macros (such as m68000), use the ansi version
9764 (__m68000__) so that the library can be used with code compiled
9765 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9768 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
9770 * configure.in (sparc*): Don't set -fsoft-float for sparc
9771 configurations. Do set -fsoft-float for sparclite configurations.
9773 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
9775 * default.menu, no-signal.menu: alternate forms of libc main menu
9776 (in newlib rather than newlib/libc due to configuration restrictions)
9778 * configure.in: select one of the two menus above, link to
9781 * libc/libc.texinfo: include menu from separate file
9783 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
9785 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9786 (info): Split long shell command in half.
9787 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9788 sub-makes, just CHEW and TARGETDOC.
9789 (targetdep.tex): Removed now special handling of sys and machine
9790 subdirectories, made obsolete some time ago.
9791 * libc/machine/Makefile.in (doc): Don't pass everything to
9792 sub-make, just CHEW and TARGETDOC.
9793 (Makefile): New target.
9794 * libc/sys/Makefile.in (Makefile): New target.
9796 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
9798 * Makefile.in (here and most subdirectories): Only pass down CHEW
9799 and TARGETDOC when making info, not for other targets.
9801 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9802 $(AR_FLAGS) rather than $(ARUPDATE).
9804 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
9806 * Try to reduce command line length:
9807 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9808 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9809 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9810 (info): Pass CHEW to other subdirs.
9812 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
9814 * configure.in: add signal_dir, like unix_dir, but by default it
9815 is set to "signal" so that a29khif can turn it off (since a29khif
9816 has raise() as part of machine-specific signal.s.)
9818 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9820 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9821 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9823 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9824 libc/stdio/vfprintf: type lint.
9825 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9827 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9829 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
9831 * stub/mvme135/mvme135-asm.S: new file.
9832 stub/mvme135mvme135-stub.c: moved all assembler routines into
9834 stub/mvme135/Makefile.in: build mvme135-stub.o.
9836 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
9838 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9839 sub-Makefiles instead, to try to avoid line length limitations.
9841 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
9843 * libc/include/unistd.h (read, write): Use void* instead of
9846 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
9848 * stub/go32/resetpc: sample script to send a reset packet to the
9851 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9852 DOS environment, which compiles with Turbo C.
9854 * stub/go32/DSER32.LNK: new file, linker commands for serial
9857 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9858 start up message to identify version; call set_debug_traps.
9860 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9861 keyboard interaction); call handle_exception() in go_til_stop,
9862 rather than return, so that the remote stub gets control.
9864 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9865 rename, rather than mv), set flags that work with current Turbo C,
9866 including using the /3 flag; also, add commands to build dser32.
9868 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9869 default Turbo C installation (\tc rather than \usr)
9871 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9874 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9876 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9878 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9880 * libc/stdio/cvt.c (licvt): new function to convert ints when
9881 sizeof(int) != sizeof(long).
9883 * libc/include/stdio.h: added prototype for iprintf.
9884 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9886 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
9888 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9889 __REGISTER_PREFIX__.
9891 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
9893 * libc/sys/m68kbare: moved into stub directory.
9895 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
9897 * configure.in, Makefile.in: created new directory stub, to hold
9898 sample code for specific targets.
9900 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
9902 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
9903 in the unified libc/include/sys/fcntl.h.
9905 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
9907 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
9908 printed .01, not 0.01.
9910 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
9912 * configure.in: compile with -m68000 for m68* targets.
9914 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
9916 * libm/math/remainder.c (remainder): document the svr4 and sunos
9917 references used to construct the function.
9919 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
9921 * libm/math/remainder.c (rint, remainder): fix old typos.
9922 * libm/math/Makefile.in: actually build remainder.c (functions
9923 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
9926 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
9928 * libc/string/bcopy.c: BSD version works on overlapping strings,
9931 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
9934 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
9936 * Makefile.in (docs): new target.
9938 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
9940 * libc/include/sys/times.h: define clock_t as required by POSIX.
9941 libc/include/time.h: protect clock_t from multiple definitions.
9943 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9945 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
9946 does not need more than the original three iterations to get
9947 within 1 ulp. (Paranoia tests for rounding to better than that,
9948 but further iterations *don't* help, only more subtle changes
9951 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
9953 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
9954 were doing nothing useful.
9956 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
9958 * configure.in: define MALLOC_PROVIDED for vxworks targets;
9959 removed sys_dir settings of vxworks68 and vxworks960.
9960 host/any: don't pass -nostdinc to gcc, since newlib no longer
9961 provides all required header files.
9963 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
9964 is not defined; this provides a hook for VxWorks.
9966 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9968 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
9969 buffer if buf is NULL, don't do it here -- it is already being
9970 done by makebuf elsewhere in stdio.
9972 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
9974 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
9975 that C programs can call functions without using initial
9978 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
9980 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
9982 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
9984 * configure.in: set TARGET_CFLAGS for certain CPU types to
9987 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9989 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
9991 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
9993 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
9996 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
9998 * libc/include/stdio.h: define __need___va_list before including
9999 <stdarg.h>, to avoid defining va_arg, et. al.
10001 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
10003 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
10004 (don't cd to the user's home directory).
10006 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
10007 In general this is the wrong thing to do, but I can't get around
10008 GNU make's insistence on passing command line arguments any other
10011 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
10013 * configure.in: always configure the libc/sys directory, since it
10014 now provides a required documentation file.
10016 * Makefile.in: replaced all instances of $(MAKE) with make. In
10017 general this is the wrong thing to do, but I can't get around GNU
10018 make's insistence on passing command line arguments any other way.
10020 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
10022 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
10025 * libc/stdio/local.h: include <stdarg.h> to define va_list.
10026 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
10028 * libc/include/float.h, libc/include/stdarg.h,
10029 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
10031 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
10032 <stdarg.h>, not from <machine/types.h>. Protect definition of
10034 libc/include/time.h: get size_t from stddef.h. Protect definition
10036 libc/include/machine/limits.h: override gcc <limits.h> by defining
10037 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
10038 get correct INT_MIN and LONG_LONG values.
10039 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
10040 size_t or va_list at all; they're now gotten from stddef.h
10042 libc/include/machine/varargs.h: removed; use gcc version instead.
10043 libc/include/sys/types.h: explicitly include <machine/types.h>.
10045 * libm/math/sqrt.h: using the fp-bit routines appears to require
10048 * Makefile.in, host/any: let system include files override machine
10051 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10053 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
10054 override _*_T_ definitions defaulted here.
10056 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
10058 * Makefile.in (install): install the include files in
10059 $(tooldir)/include, not $(exec_prefix)/include.
10061 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
10063 * Makefile.in (install): fixed typo, and changed install to not
10064 force rebuild of libc.a and libm.a.
10066 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
10068 * libc/sys/a29khif/*: Changed all .include's to include
10069 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
10070 that they will be installed for the user.
10072 * Makefile.in (all): create targ-include, a directory holding the
10073 machine and system specific header files during the build.
10074 (install): fixed installation of machine and system specific
10077 * Makefile.in: fixed comment.
10078 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
10079 we can pass $(INCLUDES) to it.
10081 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
10083 * libc/include/sys/param.h: new generic file, which may be
10084 overridden for specific systems.
10086 * libc/include/sys/signal.h: define all ANSI signal names, and
10087 NSIG (which is not ANSI) for a29k.
10089 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
10091 * Makefile.in: don't pass down arguments the lower level makes
10093 * libc/Makefile.in: recurse directly, rather than using subdir_do,
10094 in hopes of avoiding argument length limits.
10095 * libm/Makefile.in: recurse directly, rather using subdir_do, in
10096 hopes of avoiding argument length limits.
10098 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
10100 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
10103 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
10105 * Fixed make info and make install-info for newlib, changing most
10106 Makefile.in and several *.tex files. Moved doc directory from
10109 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
10110 Should be rewritten.
10112 * libc/string/strings.tex: renamed node index to node index
10113 function, so that it does not conflict with the top level index
10116 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
10118 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
10120 * Overhauled general configuration for newlib. Eliminated all
10121 target dependent Makefile fragments. Create libraries in newlib
10122 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
10123 than CROSS_CC, et. al. Broke make docs; will fix later.
10125 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
10126 Should be rewritten.
10128 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
10130 * libc/configure.in: cleaned up somewhat; switch on ${target}
10131 rather than ${target_alias}.
10132 * libm/configure.in: cleaned up somewhat; switch on ${target}
10133 rather than ${target_alias}.
10135 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
10136 * libc/include/ctype.h: marked _ctype_ as _CONST.
10138 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
10141 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
10142 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
10143 libc/stdio/gets.c (gets): removed non-ANSI warning message.
10144 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
10146 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
10147 bigtens, tinytens): marked arrays _CONST.
10148 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
10149 rather than a static variable.
10151 * libc/time/asctime.c (asctime), libc/time/localtime.c
10152 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
10153 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
10154 mname_len, mname): Marked static arrays _CONST.
10156 * libm/math/gamma.h: made local variables non-static.
10158 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
10159 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
10162 * libm/math/constants.c: removed file, because the constants it
10163 defined were never referenced.
10164 libm/math/Makefile.in: removed references to constants.c.
10165 libm/math/mathimpl.h: removed declarations of constants.
10167 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
10169 * libc/include/machine/varargs.h: only call __builtin_saveregs if
10170 it is sensibly defined in libgcc2. Checks preprocessor defines,
10171 which is not a good solution.
10173 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
10175 * libm/frexp.c: handle denormalized numbers as arguments.
10177 * libm/math/Makefile.in: added some dependencies for .c files
10178 which include local .h files.
10180 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
10182 * libc/configure.in: set target_alias for OSE*. Replace
10183 target_makefile_frag if it is blank.
10185 * libc/Makefile.in: make sure everything is passed to subsidiary
10186 makes; create all directories when installing.
10188 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
10189 CROSS_ARUPDATE instead of AR.
10191 * libm/configure.in: set target_alias for OSE*. Replace
10192 target_makefile_frag if it is blank.
10194 * libm/Makefile.in: make sure everything is passed to subsidiary
10195 makes; create all directories when installing.
10197 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
10199 * add following change from libc copy.
10201 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10203 * libc/libc.texinfo: make copyright disclaimers appear on back of
10204 title page; make format of same slightly less ugly; avoid using
10205 underbars in section headings (avoids nasty texinfo bug in table
10208 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
10209 comments only) avoid using underbars in section headings
10211 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
10212 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
10213 changes in comments only): shorten headings ieeefp/infinity.c,
10214 ieeefp/isnan.c: (doc, comments only) more informative headings
10216 * libc/math/bessel.c: (doc, comments only) shorten heading
10218 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
10219 (doc, comments only) shorten headings
10221 * libc/time/localtime.c (doc, comments only): shorten headings
10223 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
10225 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
10226 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
10228 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
10229 only) more informative headings
10230 * libm/math/bessel.c: (doc, comments only) shorten heading
10232 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10234 * .../Makefile.in: use CROSS_ARUPDATE consistently.
10235 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
10236 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
10237 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
10238 defined, the one from the .mt file will be correct.
10239 * libc/include/machine, libc/include/sys: created, and populated
10240 with common files from machine/*/machine. ifdefs were used for
10241 most, typically by handling exceptions first and then filling in
10242 defaults. Files with D.J. Delorie copyright #included rather than
10243 copied. Most files in include/sys really were the same in the
10245 * libc/include/...: cleaned up use of _EXFUN.
10246 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
10247 it with double quotes, not angles.
10249 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
10251 * libc/Makefile.in: always create installation directories.
10253 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10255 * libc/configure.in: handle host properly (using canonical
10256 triples), better error message for the case of target not found
10258 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
10260 * libc/Makefile.in (insincdir): Ensure this directory exists
10261 before attempting installation.
10263 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10265 * libc/stdlib/assert.c: now calls abort like it should
10266 * libc/sys/a29khif: many many patches for 29khif work
10267 * libc/machine/i386: gnulib2 expanded there.
10269 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10271 Added accurate fp conversion routines to stdlib, moved dcvt from
10272 stdio to stdlib and called it ecvtbuf:
10273 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
10274 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
10276 * libc/libc.texinfo: Modifed to include the copyright info from
10278 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
10279 * libc/test/ : many vector which tested for the implementation
10280 defined returns of strange conversion requests have been updated
10281 to relflect the new implementation
10283 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10285 * libc/libc.texinfo: new chapter on variable arg lists
10286 (stdarg.h/varargs.h)
10287 * libc/libc.texinfo: new title
10288 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
10289 (doc only) shorter headings for better formatting.
10291 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10293 * libc/libc.texinfo: three more info menu entries
10294 * libc/locale/locale.tex: new chapter
10295 * libc/locale/locale.c: new doc for setlocale, localeconv
10296 * libc/locale/Makefile.in: use new locale doc
10297 * libc/signal/signal.tex: new chapter
10298 * libc/signal/raise.c, libc/signal/signal.c: new doc
10299 * libc/signal/Makefile.in: use new doc
10300 * libc/time/time.tex: new chapter
10301 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
10302 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
10303 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
10304 * libc/time/Makefile.in: use new doc
10306 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10308 * libm/math/log1p.c: split to use the new function way of float
10309 function definition. math/log1p.h deleted
10310 * libm/math/scalb.c: obsolete and deleted
10311 * libm/math/scalbn.c: created from part log1p.c
10312 * libm/math/Makefile.in: know about log1p and scalbn
10314 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10316 * libc/ctype/isupper.c: revise doc;
10317 libc/ctype/ctype.tex: use doc from isupper.c
10319 * libc/string/bzero.c: new doc
10321 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10323 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
10325 * libc/stdlib/Makefile.in: extract new doc
10326 * libc/stdlib/stdlib.tex: use new doc
10328 * libc/string/strerror.c: expanded doc.
10330 * libc/stdio/Makefile.in: extract doc from more files
10331 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
10332 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
10333 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
10334 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
10335 libc/stdio/vsprintf.c: new doc
10336 * libc/stdio/stdio.tex: use new doc
10338 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10340 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
10341 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
10343 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
10346 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
10347 * libc/stdio/setbuf.c: added ansi style definition.
10348 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
10349 buffer if none provided.
10350 * libc/stdio/tmpfile.c: lint
10351 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
10352 rather than using static, also make sure file isn't already
10353 present. Uses P_tmpdir. (tempnam): rewritten to use new
10354 subroutine, and uses P_tmpdir.
10355 * libc/stdio/siprintf.c: created
10357 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10359 Release 1.03 for NEC, major mods. Main differences from release
10362 More tests in test/:
10363 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
10364 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
10365 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
10366 get/set mask, get/set sticky and get/set roundtoi. Tests
10367 that setting the bits changes the way arithmetic is done.
10368 * string.c: added test to make sure memcmp does it with unsigned
10370 * test.c: cleaned up and removed lint.
10371 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
10372 dvec.c: tests for string to value conversions, sprintf, scanf,
10373 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
10374 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
10375 rounding in sprintf too.
10376 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
10377 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
10378 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
10380 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
10384 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
10385 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
10386 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
10387 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
10388 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
10390 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
10391 * Method of producting float versions of double functions has
10392 changed, functions will be modified gradually. So far:
10393 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
10394 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
10396 * libc/string/memcmp.c: now uses unsigned chars
10397 * libc/string/bcmp.c, libc/string/strcpy.c,
10398 libc/stsring/strxfrm.c: fixed doc
10399 * libc/sys/sysvnecv70.tex: fix example of sbrk code
10402 version-control: never