OSDN Git Service

2002-07-19 Aldy Hernandez <aldyh@redhat.com>
[pf3gnuchains/pf3gnuchains4x.git] / newlib / ChangeLog
1 2002-07-19  Aldy Hernandez  <aldyh@redhat.com>
2
3         * libc/machine/powerpc/time.c: New file.
4         * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
5         time.c.
6         * libc/machine/powerpc/Makefile.in: Regenerated.
7
8 2002-07-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
9
10         * libc/libc.texinfo: Change copyright notices to Red Hat from
11         Cygnus.
12         * libm/libm.texinfo: Likewise.
13         * README: Change docs URL to
14         http://sources.redhat.com/newlib/docs.html.
15
16 >>>>>>> 1.389
17 2002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
18
19         * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
20         * libc/sys/linux/Makefile.in: Regenerated.
21         * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
22         * libc/sys/linux/io.c: Add ftruncate syscall.
23         * libc/sys/linux/fpathconf.c: New file.
24         * libc/sys/linux/pathconf.c: Ditto.
25         * libc/sys/linux/linux_fsinfo.h: Ditto.
26         * libc/sys/linux/sys/unistd.h: Ditto.
27
28 2002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
29
30         * libc/stdio64/Makefile.am: Remove missing files.
31         * libc/stdio64/Makefile.in: Regenerated.
32
33 2002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
34
35         * libc/include/sys/config.h[__i386__][__linux__]: Define
36         _LARGE64FILE_SOURCE to 1.
37         * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
38         * libc/sys/linux/Makefile.in: Regenerated.
39         * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
40         * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
41         * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
42         of <linux/resource.h>.
43         * libc/sys/linux/getrlimit64.c: New file.
44         * libc/sys/linux/setrlimit64.c: Ditto.
45
46 2002-07-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
47
48         * libc/argz/argz_replace.c: Include buf_findstr.h.
49         * libc/argz/buf_findstr.c: Likewise.
50         * libc/argz/envz_entry.c: Include buf_findstr.h.  Cast return
51         value to (char *).
52         * libc/argz/envz_get.c: Likewise.
53         * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
54         * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
55         * libc/stdlib/getsubopt.3: New file.
56         * libc/stdlib/getsubopt.c: New file.
57         * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
58         Change esp to ebp.
59
60 2002-07-17  Jeff Johnston  <jjohnstn@redhat.com>
61
62         * configure.host(stdio64_dir): New setting that is used to
63         enable building of new stdio64 directory.
64         * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
65         large files.
66         (stmp-stdio64,stdio64.texi): New targets to optionally add in
67         stdio64 info to info files.
68         * libc/Makefile.in: Regenerated.
69         * libc/configure: Ditto.
70         * libc/configure.in: Add configuration variables that are set
71         when stdio64 is selected as subdir in configure.host.
72         * libc/libc.texinfo: Add optional menu item for Stdio64, based
73         on whether STDIO64 flag is set or not.
74         * libc/sys.tex: Add optional stdio64 syscalls based on whether
75         STDIO64 flag is set or not.
76         * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
77         _r sycall routines.
78         * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
79         (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
80         (__SL64): New file flag indicating file is opened via fopen64.
81         * libc/include/sys/_types.h(_off64_t): Added.
82         * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
83         * libc/include/sys/reent.h(struct __sFILE64): New file structure
84         for 64-bit offset large file support.
85         (__FILE): New intermediate type either set to struct __sFILE64 or
86         struct __sFILE, depending on whether __LARGE64_FILES is set or not.
87         * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
88         * libc/reent/Makefile.in: Regenerated.
89         * libc/reent/fstat64r.c: New file.
90         * libc/reent/lseek64r.c: Ditto.
91         * libc/reent/open64r.c: Ditto.
92         * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
93         based on whether STDIO64 flag is set. 
94         * libc/stdio/stdio.tex: Add blank line.
95         * libc/stdio64/Makefile.am: New file.
96         * libc/stdio64/Makefile.in: Ditto.
97         * libc/stdio64/fgetpos64.c: Ditto.
98         * libc/stdio64/fopen64.: Ditto.
99         * libc/stdio64/freopen64.c: Ditto.
100         * libc/stdio64/fseeko64.c: Ditto.
101         * libc/stdio64/fsetpos64.c: Ditto.
102         * libc/stdio64/ftello64.c: Ditto.
103         * libc/stdio64/local64.h: Ditto.
104         * libc/stdio64/stdio64.c: Ditto.
105         * libc/stdio64/stdio64.tex: Ditto.
106         * libc/stdio64/tmpfile64.c: Ditto.
107         * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
108         open64.
109
110 2002-07-16  Jeff Johnston  <jjohnstn@redhat.com>
111
112         * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
113         if LIBC_EXTRA_LIB is present.
114         * libc/Makefile.in: Regenerated.
115         * libc/libc.texinfo: Add blank line.
116         * libc/argz/Makefile.am: Add doc support.
117         * libc/search/Makefile.am: Ditto.
118         * libc/argz/Makefile.in: Regenerated.
119         * libc/search/Makefile.in: Ditto.
120         * libc/misc/misc.tex: Add ffs function.
121         * libc/stdio/ftell.c: Fix missing doc delimeter in description.
122
123 2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
124
125         * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
126         definition that was removed in error.
127
128 2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
129
130         * libc/include/machine/ieeefp.h: Change to only define
131         floating point defines (e.g one of __IEEE_BIG_ENDIAN or 
132         __IEEE_LITTLE_ENDIAN must be defined for each platform).
133         * libc/include/sys/config.h: Include <machine/ieeefp.h> and
134         remove redundant floating point definitions.
135
136 2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
137
138         * libc/sys/linux/callocr.c: Fix so code references
139         calloc.
140
141 2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
142
143         * libc/sys/linux/Makefile.am: Add new files.
144         * libc/sys/linux/Makefile.in: Regenerated.
145         * libc/sys/linux/bp-sym.h: Moved to include directory.
146         * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
147         * libc/sys/linux/inode.c: Set _LIBC to 1.
148         * libc/sys/linux/mq_close.c: Ditto.
149         * libc/sys/linux/mq_getattr.c: Ditto.
150         * libc/sys/linux/mq_open.c: Ditto.
151         * libc/sys/linux/mq_receive.c: Ditto.
152         * libc/sys/linux/mq_send.c: Ditto.
153         * libc/sys/linux/mq_setattr.c: Ditto.
154         * libc/sys/linux/mq_unlink.c: Ditto.
155         * libc/sys/linux/calloc.c: New file.
156         * libc/sys/linux/callocr.c: Ditto.
157         * libc/sys/linux/cfreer.c: Ditto.
158         * libc/sys/linux/config.h: Ditto.
159         * libc/sys/linux/free.c: Ditto.
160         * libc/sys/linux/freer.c: Ditto.
161         * libc/sys/linux/msize.c: Ditto.
162         * libc/sys/linux/msizer.c: Ditto.
163         * libc/sys/linux/mstats.c: Ditto.
164         * libc/sys/linux/mtrim.c: Ditto.
165         * libc/sys/linux/mtrimr.c: Ditto.
166         * libc/sys/linux/pvallocr.c: Ditto.
167         * libc/sys/linux/realloc.c: Ditto.
168         * libc/sys/linux/reallocr.c: Ditto.
169         * libc/sys/linux/thread-m.h: Ditto.
170         * libc/sys/linux/vallocr.c: Ditto.
171         * libc/sys/linux/bp-checks.h: Ditto.
172         * libc/sys/linux/libc-symbols.h: Ditto.
173         * libc/sys/linux/libc-tsd.h: Ditto.
174         * libc/sys/linux/libintl.h: Ditto.
175         * libc/sys/linux/malign.c: Ditto.
176         * libc/sys/linux/malignr.c: Ditto.
177         * libc/sys/linux/mallinfor.c: Ditto.
178         * libc/sys/linux/malloc.c: Ditto.
179         * libc/sys/linux/mallocr.c: Ditto.
180         * libc/sys/linux/malloptr.c: Ditto.
181         * libc/sys/linux/mallstatsr.c: Ditto.
182         * libc/sys/linux/mcheck.c: Ditto.
183         * libc/sys/linux/mhooks.h: Ditto.
184         * libc/sys/linux/include/bp-sym.h: Ditto.
185         * libc/sys/linux/include/malloc.h: Ditto.
186         * libc/sys/linux/include/mcheck.h: Ditto.
187         * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
188         getpagesize.c.
189         * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
190         * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
191         * libc/sys/linux/machine/i386/getpagesize.c: New file.
192         * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
193         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
194         * libc/sys/linux/machine/i386/sysdep.h: New file.
195         * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
196         * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
197         * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
198
199 2002-07-12  Jeff Johnston  <jjohnstn@redhat.com>
200
201         * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
202         instead of <asm/siginfo.h>.
203         * libc/sys/linux/sys/signal.h: Change to include various linux
204         <bits/xxx.h> header files, rather than <linux/signal.h> so as
205         to work with multiple releases of glibc header files.
206
207 2002-07-11  Chris Demetriou  <cgd@broadcom.com>
208
209         * testsuite/newlib.search/hsearchtest.c: New file to test
210         newlib/libc/search.
211         * testsuite/newlib.search/hsearchtest.exp: Likewise.
212
213 2002-07-10  Florian Schrack  <florian.schrack@freenet.de>
214
215         * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
216         a terminal.
217         * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
218
219 2002-07-08  Jeff Johnston  <jjohnstn@redhat.com>
220
221         * libc/include/math.h (MAXFLOAT): Added.
222
223 Mon Jul  8 13:55:23 2002  J"orn Rennecke <joern.rennecke@superh.com>
224
225         * libc/machine/sh/Makefile.am (lib_a_SOURCES):
226         Make strcmp.S unconditional.
227         * libc/machine/sh/Makefile.in: Regenerate.
228         * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
229         * strcmp.S (strcmp): Add SHmedia variant.  Use different registers
230         for SHcompact.
231
232 2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
233
234         * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
235         define before including <sys/lock.h>.
236
237 2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
238
239         * libc/include/utime.h: Add include of <_ansi.h>.
240         * libc/sys/linux/Makefile.am: Add utimes.c.
241         * libc/sys/linux/Makefile.in: Regenerated.
242         * libc/sys/linux/inode.c(__umask): New static routine.
243         (umask): Written to use __umask and attempt to thread lock.
244         (getumask): New function written to use __umask and thread lock.
245         * libc/sys/linux/utimes.c: New file.
246         * libc/sys/linux/sys/time.h: Fix utimes prototype.
247         * libc/sys/linux/sys/utime.h: New file.
248
249 2002-07-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
250
251         * libtool.m4: New file.
252         * libc/sys/linux/process.c: Implement vfork in terms of fork,
253         rather than as a syscall.
254
255 2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
256
257         * libc/include/stdio.h: Add new prototypes.
258         * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
259         * libc/stdio/Makefile.in: Regenerated.
260         * libc/stdio/fseek.c: Add fseeko documentation.
261         * libc/stdio/ftell.c: Add ftello documentation.
262         * libc/stdio/fseeko.c: New file.
263         * libc/stdio/ftello.c: New file.
264
265 2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
266
267         * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
268         * libc/stdio/Makefile.in: Regenerated.
269         * libc/stdio/asprintf.c: New file.
270         * libc/stdio/vasprintf.c: Ditto.
271         * libc/stdio/fvwrite.c: Add code to dynamically reallocate
272         the buffer for asprintf support.
273         * libc/stdio/sprintf.c: Add asprintf documentation.
274         * libc/stdio/vfprintf.c: Add vasprintf documentation.
275         * libc/include/stdio.h: Add new prototypes.
276
277 2002-07-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
278
279         * libc/search/hcreate.c: Remove advertising clause from license.
280         * libc/search/hcreate_r.c: Likewise.
281
282 2002-07-02  Chris Demetriou  <cgd@broadcom.com>
283
284         * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
285         (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
286         Check that one of them is defined and error out if not.
287         Add any platforms defined in <machine/ieeefp.h> that are missing.
288         * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
289         (DB_LITTLE_ENDIAN): New defines.
290         * libc/search/hash.c: Replace all incorrect checks for
291         _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
292         BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
293         * libc/search/hash_page.c: Likewise.
294
295 2002-06-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
296
297         * libm/mathfp/sf_pow.c (powf): Change k from int to float.
298
299 2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>
300
301         * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
302         * libc/include/time.h: Same.
303         * libc/include/string.h: Same.
304         * libc/include/stdlib.h: Same.
305         * libc/include/signal.h: Same.
306         * libc/include/setjmp.h: Same.
307         * libc/include/math.h: Same.
308         * libc/include/locale.h: Same.
309         * libc/include/ctype.h: Same.
310         * libc/include/machine/setjmp.h: Same.
311         * libc/include/_ansi.h (_BEGIN_STD_C): Add.
312         (_END_STD_C): Add.
313
314 2002-06-27  Jeff Johnston  <jjohnstn@redhat.com>
315
316         * libc/include/sys/_types.h: Define _ssize_t as int if int is
317         32-bits, otherwise define it as long.
318         * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
319         and define ssize_t as _ssize_t.
320         * libc/reent/readr.c: Change return type to _ssize_t.
321         * libc/reent/writer.c: Ditto.
322         * libc/sys/linux/Makefile.am: Add aio.c.
323         * libc/sys/linux/Makefile.in: Regenerated.
324         * libc/sys/linux/aio.c: New file.
325         * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
326         * libm/common/fdlibm.h: Undef __P before defining it.
327
328 2002-06-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
329
330         * libm/mathfp/s_pow.c (pow): Fix checks on variable k.  Add
331         exponent_is_even_int variable.  Handle case where x is
332         negative, and y is an odd integer.
333         * libm/mathfp/sf_pow.c (powf): Likewise.
334
335         * libm/mathfp/er_lgamma.c: Remove __kernel references.
336         * libm/mathfp/erf_lgamma.c: Likewise.
337         * libm/mathfp/s_tgamma.c: Likewise.
338         * libm/mathfp/sf_tgamma.c: Likewise.
339
340 2002-06-27  Jeff Johnston  <jjohnstn@redhat.com>
341
342         * libc/sys/linux/Makefile.am: Add new clock routines.
343         * libc/sys/linux/Makefile.in: Regenerated.
344         * libc/sys/linux/clock_getres.c: New file.
345         * libc/sys/linux/clock_gettime.c: Ditto.
346         * libc/sys/linux/clock_settime.c: Ditto.
347         * libc/sys/linux/hp-timing.h: Ditto.
348         * libc/sys/linux/libc-internal.h: Ditto.
349         * libc/sys/linux/sysconf.c: Fix typo.
350         * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
351         * libc/sys/linux/machine/hp-timing.h: New file.
352         * libc/sys/linux/machine/i386/Makefile.am: Add new files.
353         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
354         * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
355         * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
356         * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
357         * libc/sys/linux/sys/linux_time.h: New file.
358         * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
359         replace with <sys/linux_time.h>.
360
361 Wed Jun 26 16:33:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
362
363         * libc/sys/sh/crt0.S: Remove vestigial .section directive.
364
365 2002-06-25  Jeff Johnston  <jjohnstn@redhat.com>
366
367         * libc/sys/linux/Makefile.am: Consolidate additional items under
368         ADD_OBJS.
369         * libc/sys/linux/Makefile.in: Regenerated.
370
371 2002-06-25  Jeff Johnston  <jjohnstn@redhat.com>
372
373         * libc/sys/linux/sethostname.c: New file.
374         * libc/sys/linux/Makefile.am: Add sethostname.c support.
375         * libc/sys/linux/Makefile.in: Regenerated.
376
377 2002-06-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
378
379         * libc/search/db_local.h: New file.
380         * libc/include/db.h: Remove.
381         * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
382         * libc/search/hash.c (MIN,MAX): Add macros.  Change <db.h> to
383         "db_local.h".
384         * libc/search/hash_bigkey.c: Likewise.
385         * libc/search/hash_buf.c: Likewise.
386         * libc/search/hash_func.c: Likewise.
387         * libc/search/hash_log2.c: Likewise.
388         * libc/search/hash_page.c: Likewise.
389
390 2002-06-24  J"orn Rennecke <joern.rennecke@superh.com>
391
392         * libc/machine/sh/strlen.S: New file.
393         * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
394         * libc/machine/sh/Makefile.am: Regenerate.
395
396 2002-06-24  Jeff Johnston  <jjohnstn@redhat.com>
397
398         * libc/sys/linux/gethostname.c: Change name to __gethostname and
399         add gethostname alias.
400
401 2002-06-24  Jeff Johnston  <jjohnstn@redhat.com>
402
403         * libc/include/math.h: Remove <sys/types.h>.
404         (__dmath): Use __ULong instead of __uint32_t.
405         * libc/include/sys/reent.h: If long or int is not 32-bits,
406         include <sys/types.h> to get definitions for __int32_t and __uint32_t.
407         * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
408         * libm/common/fdlibm.h: Ditto.
409
410 2002-06-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
411
412         * libc/include/ndbm.h: Remove.
413         * libc/search/ndbm.c: Remove.
414
415 2002-06-24  WATANABE Hirofumi <eban@os.rim.or.jp>
416
417         * libc/stdio/fseek.c (fseek): Fix braces.
418
419 2002-06-21  Corinna Vinschen  <corinna@vinschen.de>
420
421         * libc/time/strftime.c (strftime): Add %e format specifier.
422
423 2002-06-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
424
425         * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
426         previously defined.
427
428 2002-06-21  Richard Earnshaw  (rearnsha@arm.com)
429
430         * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
431         (BYTE_ORDER): Define as appropriate for the target.
432
433 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
434
435         * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
436         to _ssize_t.
437         * libc/sys/linux/io.c (read, write): Change to return ssize_t.
438
439 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
440
441         * libc/include/stdio.h (__getline, __getdelim): New prototypes.
442         * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
443         [HAVE_GETDATE](getdate_err): New error code.
444         * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
445         * libc/stdio/Makefile.in: Regenerated.
446         * libc/stdio/getdelim.c: New file.
447         * libc/stdio/getline.c: Ditto.
448         * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
449         and ntp_gettime.c.  Also add AM_CFLAGS to point to libc/stdio.
450         * libc/sys/linux/Makefile.in: Regenerated.
451         * libc/sys/linux/getdate.c: New file.
452         * libc/sys/linux/getdate_err.c: Ditto.
453         * libc/sys/linux/ntp_gettime.c: Ditto.
454         * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
455         * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
456
457 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
458
459         * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
460         * libc/include/machine/types.h: Skip __off_t, __pid_t, and
461         __loff_t definitions if special _HAVE_SYSTYPES macro defined.
462         * libc/include/sys/config.h: Removed _uint*, _int* definitions.
463         * libc/include/sys/param.h: Remove i386 case which is handled
464         by default case.
465         (BIG_ENDIAN, LITTLE_ENDIAN): Protect
466         definitions in case they are already defined.
467         (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
468         _IEEE_LITTLE_ENDIAN flags.
469         * libc/include/sys/reent.h: Change __uint32_t references to
470         use _ULong instead.
471         (_REENT_GETDATE_REENT_P): New macro.
472         * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
473         (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
474         * libc/search/hash.h: Add default setting of BYTE_ORDER,
475         LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
476         * libc/sys/linux/sys/types.h: Include <sys/_types.h>.  Define
477         ssize_t based on _ssize_t.  Remove __socklen_t, __uintptr_t,
478         pid_t, off_t, loff_t, caddr_t, and daddr_t type
479         definitions which are done by subsequent glibc headers.
480         Add macro definitions to prevent subsequent header files from
481         defining pid_t, off_t, ssize_t, and key_t.  Move uintptr_t and
482         intptr_t to after glibc definitions of types they are based on.
483
484 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
485
486         * libc/include/errno.h: Protect from multiple inclusion.
487
488 2002-06-21  Nick Clifton  <nickc@cambridge.redhat.com>
489
490         * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
491
492 2002-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
493
494         * Makefile.am (LIB_OBJECTLISTS): Add
495         libc/search/objectlist.awk.in.
496         * libc/Makefile.am (SUBDIRS): Add search.
497         (SUBLIBS): Add search/libsearch.la.
498         * libc/configure.in (AC_OUTPUT): Add search/Makefile.
499         * libc/search: New directory.
500         * libc/search/Makefile.am: New file.
501         * libc/search/extern.h: New file.
502         * libc/search/hash.c: New file.
503         * libc/search/hash.h: New file.
504         * libc/search/hash_bigkey.c: New file.
505         * libc/search/hash_buf.c: New file.
506         * libc/search/hash_func.c: New file.
507         * libc/search/hash_log2.c: New file.
508         * libc/search/hash_page.c: New file.
509         * libc/search/hcreate.3: New file.
510         * libc/search/hcreate.c: New file.
511         * libc/search/hcreate_r.c: New file.
512         * libc/search/ndbm.c: New file.
513         * libc/search/page.h: New file.
514         * libc/search/tdelete.c: New file.
515         * libc/search/tdestroy.c: New file.
516         * libc/search/tfind.c: New file.
517         * libc/search/tsearch.3: New file.
518         * libc/search/tsearch.c: New file.
519         * libc/search/twalk.c: New file.
520         * libc/include/db.h: New file.
521         * libc/include/ndbm.h: New file.
522         * libc/include/search.h: New file.
523         * libc/include/sys/queue.h: New file.
524         * libc/include/sys/cdefs.h: New file.
525         * libc/include/sys/param.h
526         [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
527         LITTLE_ENDIAN or BIG_ENDIAN.
528         * libc/include/sys/errno.h (EFTYPE): New macro.
529         * libc/search/bsearch.c: Move from libc/stdlib.
530         * libc/search/qsort.c: Likewise.
531         * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
532         qsort.c.
533         (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
534         * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
535
536 2002-06-19  Jeff Johnston  <jjohnstn@redhat.com>
537
538         * libc/sys/linux/Makefile.am: Add support for message queue routines,
539         ipc routines, and ftok.
540         * libc/sys/linux/Makefile.in: Regenerated.
541         * libc/sys/linux/ftok.c: New file.
542         * libc/sys/linux/ipc.c: Ditto.
543         * libc/sys/linux/mq_close.c: Ditto.
544         * libc/sys/linux/mq_getattr.c: Ditto.
545         * libc/sys/linux/mq_notify.c: Ditto.
546         * libc/sys/linux/mq_open.c: Ditto.
547         * libc/sys/linux/mq_receive.c: Ditto.
548         * libc/sys/linux/mq_send.c: Ditto.
549         * libc/sys/linux/mq_setattr.c: Ditto.
550         * libc/sys/linux/mq_unlink.c: Ditto.
551         * libc/sys/linux/mqlocal.h: Ditto.
552         * libc/sys/linux/include/mqueue.h: Ditto.
553         * libc/sys/linux/sys/types.h: Define __gid_t_defined and
554         __uid_t_defined.
555
556 2002-06-19  J"orn Rennecke <joern.rennecke@superh.com>
557
558         * libm/common/sf_lround.c (round): Change name to: (lround).
559         * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
560         remquof.
561
562 2002-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
563
564         * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
565         procedure.
566         (newlib_pass_fail): Change to compile and run only one file.
567         * testsuite/newlib.locale/locale.exp: Use new
568         newlib_pass_fail_all procedure.
569         * testsuite/newlib.string/string.exp: Likewise.
570
571 2002-06-18  Dave Brolley  <brolley@redhat.com>
572
573         From Catherine Moore, Michael Meissner, Richard Sandiford:
574         * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
575         (_JBTYPE): Ditto.
576         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
577         (__ATTRIBUTE_IMPURE_PTR__): Ditto.
578         * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
579         * configure.host: Support frv-*-*.
580         * libc/machine/frv/Makefile.am: New file.
581         * libc/machine/frv/configure.in: New file.
582         * libc/machine/frv/setjmp.S: New file.
583
584 2002-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
585
586         * libc/include/ctype.h: Remove isblank macro.
587
588         * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
589         * libc/ctype/isblank.c: New file.
590         * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
591         declaration.  Add isblank macro.
592
593 2002-06-18  Jeff Johnston  <jjohnstn@redhat.com>
594
595         * testsuite/newlib.stdlib/atexit.c: New file.
596         * testsuite/newlib.stdlib/atexit.exp: Ditto.
597         * testsuite/newlib.string/tstring.c: Change default start size
598         to something more reasonable for embedded platforms.
599
600 2002-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
601
602         * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
603
604         * libc/argz: New directory.
605         * libc/argz/*: New files.
606         * libc/argz/argz_add.c: New file.
607         * libc/argz/argz_add_sep.c: New file.
608         * libc/argz/argz_append.c: New file.
609         * libc/argz/argz_count.c: New file.
610         * libc/argz/argz_create.c: New file.
611         * libc/argz/argz_create_sep.c: New file.
612         * libc/argz/argz_delete.c: New file.
613         * libc/argz/argz_extract.c: New file.
614         * libc/argz/argz_insert.c: New file.
615         * libc/argz/argz_next.c: New file.
616         * libc/argz/argz_replace.c: New file.
617         * libc/argz/argz_stringify.c: New file.
618         * libc/argz/buf_findstr.c: New file.
619         * libc/argz/envz_add.c: New file.
620         * libc/argz/envz_entry.c: New file.
621         * libc/argz/envz_get.c: New file.
622         * libc/argz/envz_merge.c: New file.
623         * libc/argz/envz_remove.c: New file.
624         * libc/argz/envz_strip.c: New file.
625         * libc/include/argz.h: New file.
626         * libc/include/envz.h: New file.
627         * Makefile.am (LIBC_OBJECTLISTS): Add
628         libc/argz/objectlist.awk.in.
629         * libc/Makefile.am (SUBDIRS): Add argz.
630         (SUBLIBS): Add argz/libargz.la.
631         * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
632         * libc/include/errno.h: Add error_t typedef.
633
634 2002-06-13  Jeff Johnston  <jjohnstn@redhat.com>
635
636         * libc/include/stdlib.h: Add _Exit prototype.
637         * libc/stdlib/Makefile.am: Add _Exit.c support.
638         * libc/stdlib/Makefile.in: Ditto.
639         * libc/stdlib/_Exit.c: New file.
640
641 2002-06-13  Stephen L. Moshier  <steve@moshier.net>
642
643         * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
644         x is close to -1.0 and y is very large to use ax (absolute value)
645         instead of x.
646         * libm/math/ef_pow.c (__ieee754_powf): Ditto.
647
648 Thu Jun 13 19:23:40 2002  J"orn Rennecke <joern.rennecke@superh.com>
649
650         * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
651         Fix clobbering bytes before destination if src and dst have same
652         non-zero misalignment.
653
654         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
655         Fixed bug in writing end of set region.
656
657 2002-06-10  Christopher Faylor  <cgf@redhat.com>
658
659         * libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
660         spawnve declaration.
661
662 2002-06-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
663
664         * libm/common/s_fdim.c: New file.
665         * libm/common/s_fma.c: Likewise.
666         * libm/common/s_fmax.c: Likewise.
667         * libm/common/s_fmin.c: Likewise.
668         * libm/common/s_fpclassify.c: Likewise.
669         * libm/common/s_lrint.c: Likewise.
670         * libm/common/s_lround.c: Likewise.
671         * libm/common/s_nearbyint.c: Likewise.
672         * libm/common/s_remquo.c: Likewise.
673         * libm/common/s_round.c: Likewise.
674         * libm/common/s_scalbln.c: Likewise.
675         * libm/common/s_signbit.c: Likewise.
676         * libm/common/s_trunc.c: Likewise.
677         * libm/common/sf_fdim.c: Likewise.
678         * libm/common/sf_fma.c: Likewise.
679         * libm/common/sf_fmax.c: Likewise.
680         * libm/common/sf_fmin.c: Likewise.
681         * libm/common/sf_lrint.c: Likewise.
682         * libm/common/sf_lround.c: Likewise.
683         * libm/common/sf_nearbyint.c: Likewise.
684         * libm/common/sf_remquo.c: Likewise.
685         * libm/common/sf_round.c: Likewise.
686         * libm/common/sf_scalbln.c: Likewise.
687         * libm/common/sf_trunc.c: Likewise.
688         * libm/math/w_exp2.c: Likewise.
689         * libm/math/w_tgamma.c: Likewise.
690         * libm/math/wf_exp2.c: Likewise.
691         * libm/math/wf_tgamma.c: Likewise.
692         * libm/mathfp/s_exp2.c: Likewise.
693         * libm/mathfp/s_tgamma.c: Likewise.
694         * libm/mathfp/sf_exp2.c: Likewise.
695         * libm/mathfp/sf_tgamma.c: Likewise.
696         * libm/math/er_gamma.c: Fix return value.
697         * libm/math/erf_gamma.c: Likewise.
698         * libm/mathfp/er_gamma.c: Likewise.
699         * libm/mathfp/erf_gamma.c: Likewise.
700         * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
701         declarations and macros.
702         Regenerated all Makefile.in, aclocal.m4 and configure files to
703         use new libtool macros in top-level libtool.m4
704
705 2002-06-05  Jeff Johnston  <jjohnstn@redhat.com>
706
707         * libc/include/string.h[__linux__]: Add strsignal prototype.
708         * libc/include/sys/lock.h: New file with default locking support.
709         * libc/include/sys/reent.h: Add signal buffer support for strsignal
710         and psignal.
711         * libc/posix/Makefile.am: Add support for readdir_r.c.
712         * libc/posix/Makefile.in: Regenerated.
713         * libc/posix/closedir.c: Add locking support and hash table cleanup.
714         * libc/posix/opendir.c: Add lock support.
715         * libc/posix/readdir.c: Ditto.
716         * libc/posix/rewinddir.c: Ditto.
717         * libc/posix/scandir.c: Ditto.
718         * libc/posix/seekdir.c: Ditto.
719         * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
720         clean up leftover hash table entries.
721         * libc/posix/readdir_r.c: New file.
722         * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
723         * libc/sys/linux/Makefile.in: Regenerated.
724         * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
725         * libc/sys/linux/sys/signal.h: Add psignal prototype.
726         * libc/sys/linux/psignal.c: New file.
727         * libc/sys/linux/strsignal.c: Ditto.
728
729 2002-06-03  Corinna Vinschen  <corinna@vinschen.de>
730
731         * libc/include/sys/types.h: Don't define dev_t when compiling for
732         Cygwin.
733
734 2002-05-31  Jeff Johnston  <jjohnstn@redhat.com>
735
736         * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
737         make siglist.inc dependent on sig.c instead of signal.c.
738         * libc/sys/linux/Makefile.in: Regenerated.
739         * libc/sys/linux/sig.c: Rename from signal.c and change code to
740         use NSIG instead of _NSIG. 
741         * libc/sys/linux/sigaction.c: New file.
742         * libc/sys/linux/signal.c: Changed to be linux signal() function
743         so as to override regular newlib default signal.c.
744         * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
745         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
746         * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
747         * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
748         * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
749         default linux sigset_t typedef by defining it equal to __sigset_t.
750         * libc/unix/sigset.c: Add check so code isn't compiled on systems
751         with a sigset_t that isn't implemented with a single int.
752
753 2002-05-30  Jeff Johnston  <jjohnstn@redhat.com>
754
755         * libc/sys/linux/Makefile.am: Add support for new files.
756         * libc/sys/linux/Makefile.in: Regenerated.
757         * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
758         * libc/sys/linux/signal.c: Change to use real-time syscalls for
759         sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
760         it is in a separate file now.
761         * libc/sys/linux/machine/i386/Makefile.am
762         * libc/sys/linux/machine/i386/Makefile.in
763         * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
764         * libc/sys/linux/sigaction.c: New file.
765         * libc/sys/linux/sigqueue.c: Ditto.
766         * libc/sys/linux/sigwait.c: Ditto.
767         * libc/sys/linux/machine/i386/sigaction.c: Ditto.
768         * libc/sys/linux/kernel_sigaction.h: Ditto.
769
770 2002-05-28  Jeff Johnston  <jjohnstn@redhat.com>
771
772         * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
773         tcsendbrk.c.
774         * libc/sys/linux/Makefile.in: Regenerated.
775         * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
776         tcgetpgrp(), and tcsetpgrp() functions.
777         * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
778         to get __MAX_BAUD rate.
779         * libc/sys/linux/machine/i386/include/termios.h: New file.
780         * libc/include/machine/termios.h: Ditto.
781         * libc/sys/linux/cfspeed.c: Ditto.
782         * libc/sys/linux/tcsendbrk.c: Ditto.
783
784 2002-05-24  Jeff Johnston  <jjohnstn@redhat.com>
785
786         * libc/include/string.h: Add strnlen and strerror_r prototypes.
787         * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
788         * libc/string/Makefile.in: Regenerated.
789         * libc/string/strerror_r.c: New file.
790         * libc/string/strnlen.c: New file.
791         * libc/sys/linux/Makefile.am: Add rename.c.
792         * libc/sys/linux/Makefile.in: Regenerated.
793         * libc/sys/linux/rename.c: New file to override default rename.
794
795 2002-05-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
796
797         * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
798         * libc/sys/linux/sys/time.h: Add conversion macros.
799         * libc/sys/linux/sys/types.h: Add FD_ macros.  Include <bits/types.h>.
800         * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
801         * libc/sys/linux/gethostname.c: New file.
802         * libc/sys/linux/seteuid.c: New file.
803         * libc/sys/linux/sysctl.c: New file.
804         
805 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
806
807         * libc/string/Makefile.am: Add support for strsep.c.
808         * libc/string/Makefile.in: Regenerated.
809         * libc/string/strsep.c: New file.
810         * libc/string/strtok.c: Change to call __strtok_r service routine.
811         * libc/string/strtok_r.c: Add __strtok_r routine which takes
812         additional flag parameter regarding whether to skip leading delimeters.
813         Change strtok_r to call __strtok_r.
814
815 2002-05-23  Gareth Pearce  <tilps@hotmail.com>
816
817         * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
818         * libc/stdio/Makefile.in: Regenerated.
819         * libc/stdio/setbuffer.c: New file.
820         * libc/stdio/setlinebuf.c: New file.
821
822 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
823
824         * libc/sys/linux/Makefile.am: Add resource.c.
825         * libc/sys/linux/Makefile.in: Regenerated.
826         * libc/sys/linux/resource.c: New file.
827         * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
828         * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
829         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
830         * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
831         are now found in libc/sys/linux/resource.c.
832
833 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
834
835         * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
836         to use void * pointers and comply with Single Unix spec.
837         * libc/string/bcmp.c: Change to use void * instead of char *.
838         * libc/string/bcopy.c: Ditto.
839         * libc/string/bzero.c: Ditto.
840
841 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
842
843         * libc/sys/linux/shm_open.c: New file.
844         * libc/sys/linux/shm_unlink.c: Ditto.
845         * libc/sys/linux/Makefile.am: Add support for shm_open.c and
846         shm_unlink.c.
847         * libc/sys/linux/Makefile.in: Regenerated.
848         * libc/sys/linux/sys/types.h: Add some additional checks to see
849         if clock_t or time_t is already defined.
850
851 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
852
853         * Makefile.am: Don't pass $toollibdir down directly in
854         AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
855         Pass it under the name: top_toollibdir.
856         * Makefile.in: Regenerated.
857
858 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
859
860         * libc/include/sys/types.h: Revert previous patch.
861
862 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
863
864         * libc/include/sys/types.h: Include cygwin/types.h always under
865         Cygwin, not only if _POSIX_THREADS is defined.
866
867 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
868
869         * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
870
871 2002-05-17  Jeff Johnston  <jjohnstn@redhat.com>
872
873         * Makefile.am: Copy and install headers from sys/machine/include
874         directory.  Also pass $toollibdir to lower-level directories.
875         * Makefile.in: Regenerated.
876         * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and 
877         stderr to use _REENT macro instead of _impure_ptr directly.
878         * libc/include/sys/config.h[__i386__][__linux__]: Define
879         __DYNAMIC_REENT__.
880         * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be 
881         call to __getreent() function if !__SINGLE_THREAD__ and
882         __DYNAMIC_REENT__ is set.
883         * libc/reent/Makefile.am: Add support for getreent.c.
884         * libc/reent/Makefile.in: Regenerated.
885         * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
886         * libc/sys/linux/Makefile.am: Add support for new files.
887         * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
888         * libc/sys/linux/Makefile.in: Regenerated.
889         * libc/sys/linux/configure: Ditto.
890         * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
891         __close, __read, __write, __poll, __open, __lseek, __fcntl from
892         their __libc_ counterparts.
893         * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
894         and weak-alias to regular names.
895         * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
896         to pread64 and __pread64.
897         * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
898         * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
899         weak-alias to pwrite64.
900         * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
901         __libc_sched_getscheduler, __libc_sched_get_priority_max,
902         __libc_sched_get_priority_min, and __libc_sched_setschedule to
903         name with __ instead of __libc_. 
904         * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
905         Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
906         Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
907         * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
908         to raise.
909         * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
910         __libc_send to __send.
911         * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
912         __gettimeofday.
913         * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
914         it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
915         * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
916         type and typedef __jmp_buf to jmp_buf.
917         * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
918         setjmp.S.
919         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
920         * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
921         section.
922         * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
923         prefix for function macros and then use weak_alias() to regular names.
924         * libc/sys/linux/machine/i386/syscall.h: Ditto.
925         * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
926         * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
927         to be flockfile() and funlockfile() respectively.
928         * libc/sys/linux/sys/types.h
929         * libc/reent/getreent.c: New file.
930         * libc/sys/linux/flockfile.c: Ditto.
931         * libc/sys/linux/funlockfile.c: Ditto.
932         * libc/sys/linux/getreent.c: Ditto.
933         * libc/sys/linux/pread.c: Ditto.
934         * libc/sys/linux/pwrite.c: Ditto.
935         * libc/sys/linux/raise.c: Ditto.
936         * libc/sys/linux/system.c: Ditto.
937         * libc/sys/linux/tcdrain.c: Ditto.
938         * libc/sys/linux/machine/i386/i386mach.h: Ditto.
939         * libc/sys/linux/machine/i386/setjmp.S: Ditto.
940         * libc/sys/linux/machine/i386/syscalls.c: Ditto.
941         * libc/sys/linux/machine/i386/weakalias.h: Ditto.
942         * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
943
944 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
945
946         * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
947         * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
948         * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
949         * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
950
951 Thu May 16 17:24:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
952
953         * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
954         __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
955         exit point.
956
957 2002-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
958
959         * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
960         options when testing natively on i[3456]86-*-linux.
961
962         * testsuite/lib/checkoutput.exp (newlib_check_output): Output
963         only one pass or fail per test file.  Trim \r's from output
964         values received from test programs.  Remove support for named
965         tests.
966         * testsuite/newlib.locale/UTF-8.exp: Update to support new
967         newlib_check_output behaviour.
968         * testsuite/newlib.locale/UTF-8.c: Likewise.
969
970 2002-05-15  Jeff Johnston  <jjohnstn@redhat.com>
971
972         * libc/include/stdlib.h: Add on_exit prototype.
973         * libc/include/sys/reent.h (struct _atexit): Add argument array
974         and bits to track type of exit routine to support both on_exit
975         and atexit.
976         (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
977         by default and change the setting of the atexit structure.
978         (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
979         * libc/stdlib/on_exit.c: New file.
980         * libc/stdlib/Makefile.am: Add support for on_exit.
981         * libc/stdlib/Makefile.in: Regenerated.
982         * libc/stdlib/atexit.c: Change to initialize types field.
983         * libc/stdlib/exit.c: Change to look at types field for each
984         exit routine and either call an atexit-style or an on_exit-style
985         routine accordingly.
986
987 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
988
989         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
990         allow v specifier with n or L specifiers.  For vector c format,
991         move tmp declaration to the top.
992
993 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
994
995         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
996         the original format specifier when looping for vectors to compensate
997         for any changes made in vector %g format processing.
998         Also add syntax checking for various invalid scenarios
999         involving vector format extensions.
1000         * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
1001         return code setting for vector formats.  Also treat vector
1002         separator mismatch as a match error instead of an input error.
1003         Perform some syntax checking for vector formats.
1004
1005 2002-05-10  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1006
1007         * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
1008         * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
1009         * libc/string/strlcat.c: New file.
1010         * libc/string/strlcpy.c: New file.
1011
1012 2002-05-10  Jeff Johnston  <jjohnstn@redhat.com>
1013
1014         * libc/string/strchr.c: Fix comment typo.
1015
1016 2002-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1017
1018         * acinclude.m4: Add support for --enable-newlib-multithread.
1019         * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
1020         --enable-newlib-multithread=no.
1021
1022         * libc/stdio/getc_u.c: New file.
1023         * libc/stdio/getchar_u.c: New file.
1024         * libc/stdio/putc_u.c: New file.
1025         * libc/stdio/putchar_u.c: New file.
1026         * libc/include/stdio.h: Add declarations for getc_unlocked,
1027         getchar_unlocked, putc_unlocked and putchar_unlocked.
1028         * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
1029         (CHEWOUT_FILES): Add new files' .def's.
1030         * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
1031
1032 Wed May  8 17:47:35 2002  J"orn Rennecke <joern.rennecke@superh.com>
1033
1034         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
1035         Also handle as single quad word when destination ends at last
1036         byte of first quad word.  Fix byte selection in single quad code.
1037
1038 2002-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1039
1040         * libc/include/sys/stdio.h: New file.
1041         * libc/sys/linux/sys/stdio.h: New file.
1042         * libc/include/stdio.h: Add declarations for flockfile,
1043         ftrylockfile, and funlockfile.  Include <sys/stdio.h>.
1044         * libc/stdio/clearerr.c: Add file locking.
1045         * libc/stdio/fclose.c: Likewise.
1046         * libc/stdio/feof.c: Likewise.
1047         * libc/stdio/ferror.c: Likewise.
1048         * libc/stdio/fflush.c: Likewise.
1049         * libc/stdio/fgetc.c: Likewise.
1050         * libc/stdio/fgetpos.c: Likewise.
1051         * libc/stdio/fgets.c: Likewise.
1052         * libc/stdio/fileno.c: Likewise.
1053         * libc/stdio/fputc.c: Likewise.
1054         * libc/stdio/fputs.c: Likewise.
1055         * libc/stdio/fread.c: Likewise.
1056         * libc/stdio/freopen.c: Likewise.
1057         * libc/stdio/fseek.c: Likewise.
1058         * libc/stdio/ftell.c: Likewise.
1059         * libc/stdio/fwrite.c: Likewise.
1060         * libc/stdio/getc.c: Likewise.
1061         * libc/stdio/putc.c: Likewise.
1062         * libc/stdio/setvbuf.c: Likewise.
1063         * libc/stdio/ungetc.c: Likewise.
1064         * libc/stdio/vfprintf.c: Likewise.
1065
1066 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
1067
1068         * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
1069         support for 'p' format.  Fix code to print bytes for vector
1070         integer formats that do not specify 'h' or 'l'.
1071         * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
1072         for 'p' specifier.  Fix code to scan 16 bytes for vector integer
1073         formats that do not specify 'h' or 'l'.
1074
1075         * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
1076
1077 2002-05-06  Nick Clifton  <nickc@cambridge.redhat.com>
1078
1079         * libc/sys/arm/syscalls.c (_rename): Add parameter names.
1080         (_sbrk): Add cast of return value.
1081
1082 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
1083
1084         *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
1085         (_REENT_L64A_BUF): New macro for accessing area.
1086         *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
1087         *  libc/stdlib/Makefile.in: Regenerated.
1088         *  libc/stdlib/a64l.c: New file.
1089         *  libc/stdlib/l64a.c: New file.
1090
1091 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
1092
1093         * libc/unix/pread.c: Fix typo for _pread_r.
1094         * libc/unix/pwrite.c: Fix type for _pwrite_r.
1095         * libc/sys/linux/pread64.c: Fix typo for read syscall.
1096         * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
1097
1098 2002-05-03  Christopher Faylor  <cgf@redhat.com>
1099
1100         * libc/include/sys/unistd.h: Define getdomainname under cygwin.
1101
1102 2002-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1103
1104         * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
1105
1106 2002-05-01  Christopher Faylor  <cgf@redhat.com>
1107
1108         * utmp.h: Define more UNIX constants.
1109
1110 2002-05-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1111
1112         * Makefile.am: Add support for checking multilibs.
1113
1114         * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
1115         (SUBDEFS): Add LIBC_EXTRA_DEF.
1116         * libc/configure.in (LIBC_EXTRA_LIB): New variable.
1117         (LIBC_EXTRA_DEF): Likewise.
1118         (extra_dir): Likewise.
1119         * libc/machine/xscale/machine: New directory.
1120         * libc/machine/xscale/machine/profile.h: New file.
1121
1122         * Makefile.am (site.exp): Remove newlib_cflags.  Add
1123         multibuildtop.
1124         * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
1125         * testsuite/lib/flags.exp: New file.
1126         * testsuite/lib/newlib.exp: Load flags.exp.
1127         (newlib_target_compile): Remove libgloss directory references.
1128         (newlib_init): Remove newlib_cflags references.
1129
1130 2002-04-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1131
1132         * testsuite/lib/newlib.exp (newlib_target_compile): Change
1133         method of finding libgloss_target_dir.
1134
1135         * Makefile.am (site.exp): Change host_alias, host_triplet,
1136         target_alias, target_triplet to refer to gcc's host and target
1137         variables (newlib's build and host variables).
1138         * testsuite/lib/newlib.exp (newlib_init): Change build
1139         references to host references, host references to target
1140         references to reflect Makefile.am changes.
1141         (newlib_target_compile): Likewise.
1142         (newlib_finish): Likewise.
1143
1144 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
1145
1146         * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
1147
1148 2002-04-29  Jonathan Larmour  <jlarmour@redhat.com>
1149
1150         * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
1151         (_system): New function. Ditto.
1152         * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
1153         * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
1154         targets.
1155
1156 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
1157
1158         *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
1159         *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
1160         *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
1161         *  libc/sys/linux/Makefile.in: Regenerated.
1162         *  libc/unix/Makefile.in: Ditto.
1163         *  libc/sys/linux/pread64.c: New file.
1164         *  libc/sys/linux/pwrite64.c: Ditto.
1165         *  libc/unix/pread.c: Ditto.
1166         *  libc/unix/pwrite.c: Ditto.
1167
1168 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
1169
1170         *  libc/sys/linux/Makefile.am: Add io64.c.
1171         *  libc/sys/linux/Makefile.in: Regenerated.
1172         *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
1173         *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto. 
1174         *  libc/sys/linux/io64.c: New file.
1175
1176 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
1177
1178         * configure.in (CC_FOR_NEWLIB): New variable that
1179         bases on $(CC) and adds targ-include and libc/include as
1180         -isystem directives if they are not already part of $(CC).
1181         * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
1182         $(CC_FOR_NEWLIB).
1183         * configure: Regenerated.
1184         * Makefile.in: Ditto.
1185
1186 2002-04-25  Jeff Johnston  <jjohnstn@redhat.com>
1187
1188         *  libc/sys/linux/Makefile.am: Add support for sched.c.
1189         *  libc/sys/linux/Makefile.in: Regenerated.
1190         *  libc/sys/linux/sched.c: New file.
1191         *  libc/sys/linux/sys/types.h: Add struct timespec.
1192
1193 2002-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
1194
1195         * configure.in (CC_FOR_BUILD): Set to gcc whether
1196         cross-compiling or not.
1197         (CC): Add -isystem's for targ-include and libc/include when they
1198         do not already appear in CC.
1199
1200 2002-04-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1201
1202         * Makefile.am (check-DEJAGNU): New target.
1203         (site.exp): Likewise.
1204         * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
1205         with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
1206         * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
1207         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
1208         * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
1209         * testsuite: New directory.
1210         * testsuite/config: Likewise.
1211         * testsuite/lib: Likewise.
1212         * testsuite/newlib.locale: Likewise.
1213         * testsuite/newlib.string: Likewise.
1214         * testsuite/config/default.exp: New file.
1215         * testsuite/lib/checkoutput.exp: New file.
1216         * testsuite/lib/newlib.exp: New file.
1217         * testsuite/lib/passfail.exp: New file.
1218         * testsuite/newlib.locale/UTF-8.c: New file.
1219         * testsuite/newlib.locale/UTF-8.exp: New file.
1220         * testsuite/newlib.locale/locale.exp: New file.
1221         * testsuite/newlib.string/string.exp: New file.
1222         * testsuite/newlib.string/tstring.c: New file.
1223
1224 2002-04-23  Jeff Johnston  <jjohnstn@redhat.com>
1225
1226         *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
1227         *  libc/sys/linux/Makefile.am: Add support for mmap.c.
1228         *  libc/sys/linux/Makefile.in: Regenerated.
1229         *  libc/sys/linux/mmap.c: New file.
1230         *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
1231         *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
1232
1233 2002-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1234
1235         * acinclude.m4 (newlib_cflags): Remove include directories that
1236         are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
1237
1238 2002-04-19  Bill Siegmund  <ctc-dsl@pacbell.net>
1239
1240         * libc/machine/xscale/memchr.c: Don't use multi-line strings.
1241         * libc/machine/xscale/memcmp.c: Ditto.
1242         * libc/machine/xscale/memcpy.c: Ditto.
1243         * libc/machine/xscale/memmove.c: Ditto.
1244         * libc/machine/xscale/memset.c: Ditto.
1245         * libc/machine/xscale/strchr.c: Ditto.
1246         * libc/machine/xscale/strcmp.c: Ditto.
1247         * libc/machine/xscale/strcpy.c: Ditto.
1248         * libc/machine/xscale/strlen.c: Ditto.
1249
1250 2002-04-19  Alexandre Oliva  <aoliva@redhat.com>
1251
1252         * libc/include/sys/config.h: Remove include of <limits.h>.
1253         (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
1254         define INT_MAX and LONG_MAX.  Use them in tests.
1255
1256 2002-04-19  Jeff Johnston  <jjohnstn@redhat.com>
1257
1258         *  configure.host: Add support for powerpc-eabialtivec*.
1259         *  libc/include/malloc.h: Add include of <machine/malloc.h>.
1260         *  libc/include/stdlib.h: Add include of <machine/stdlib.h>.
1261         *  libc/include/machine/malloc.h: New file.
1262         *  libc/include/machine/stdlib.h: Ditto.
1263         *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
1264         *  libc/machine/powerpc/Makefile.am: Add conditional objects and
1265         sources based on configuration.
1266         *  libc/machine/powerpc/Makefile.in: Regenerated.
1267         *  libc/machine/powerpc/configure: Ditto.
1268         *  libc/machine/powerpc/configure.in: Add check for
1269         powerpc-eabialtivec* in which case add in additional source files.
1270         *  libc/machine/powerpc/setjmp.S: Add altivec support.
1271         *  libc/machine/powerpc/vec_calloc.c: New file.
1272         *  libc/machine/powerpc/vec_free.c: Ditto.
1273         *  libc/machine/powerpc/vec_malloc.c: Ditto.
1274         *  libc/machine/powerpc/vec_mallocr.c: Ditto.
1275         *  libc/machine/powerpc/vec_realloc.c: Ditto.
1276         *  libc/machine/powerpc/machine/malloc.h: Ditto.
1277         *  libc/machine/powerpc/machine/stdlib.h: Ditto.
1278         *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
1279         with added altivec format specifiers.
1280         *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
1281         added altivec format specifiers.
1282
1283 2002-04-19      Joel Sherrill <joel@OARcorp.com>
1284
1285         * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
1286         while autoconf is trying to link main(){}.
1287
1288 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
1289
1290         * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
1291         * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
1292
1293 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
1294
1295         * libc/time/time.tex: Add tzset info.
1296
1297 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
1298
1299         * libc/include/time.h (tzset, _tzset_r): Added prototypes.
1300         (strptime): Moved prototype to be within !__STRICT_ANSI__.
1301         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1302         (tzname): Defined for all platforms.
1303         (daylight, timezone): Defined only for CYGWIN.
1304         * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1305         environment set up.
1306         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1307         environment variable is set.
1308         * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1309         tzset_r.c.
1310         * libc/time/Makefile.in: Regenerated.
1311         * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1312         * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1313         * libc/time/lcltime_r.c (lcltime_r): Ditto.
1314         * libc/time/local.h: New local header file.
1315         * libc/time/mktime.c (mktime): Add timezone support.
1316         * libc/time/mktm_r.c: New file which is the common engine
1317         for gmtime_r and lcltime_r.  This code has timezone support.
1318         * libc/time/strftime.c (strftime): Add %Z timezone support.
1319         * libc/time/tzlock.c: New file containing timezone lock stubs.
1320         * libc/time/tzset.c: New file containing tzset() routine.
1321         * libc/time/tzset_r.c: New file containing _tzset_r and
1322         internal routine for calculating timezone changes for specified year.
1323
1324 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1325
1326         * configure.in (CRT0_DIR): Set to libc/.
1327         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1328         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1329         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
1330         $(CRT1_DIR)/$(CRT1).
1331         * libc/machine/xstormy16/Makefile.in: Regenerated.
1332         * libc/machine/xstormy16/aclocal.m4: Regenerated.
1333         * libc/machine/xstormy16/configure: Regenerated.
1334
1335 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
1336
1337         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1338         fails, don't bail out, and try to correct next time.
1339
1340         * libc/include/sys/config.h: Include limits.h.
1341
1342 2002-04-12  Eric Norum  <eric.norum@usask.com>
1343
1344         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1345         routine to allow autoconf to determine that building executables
1346         for rtems works.
1347         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1348         (rtems_gxx_mutex_once): Ditto.
1349
1350 2002-04-09  Tom Rix  <trix@redhat.com>
1351
1352         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1353
1354 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1355
1356         * libc/include/time.h: Fix strptime declaration.
1357         * libc/time/Makefile.am: Add strptime.c.
1358         * libc/time/Makefile.in: Regenerated.
1359         * libc/time/strptime.c: New file.
1360
1361 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
1362
1363         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1364         siglongjmp prototype, and sigsetjmp macro definition.
1365         * libc/sys/linux/siglongjmp.c: New file.
1366         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1367         * libc/sys/linux/Makefile.in: Regenerated.
1368
1369 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
1370
1371         * Makefile.am: Add support for installing crt1.o if one exists.
1372         * configure.host: Specify crt1.o for linux.
1373         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1374         * Makefile.in: Regenerated.
1375         * configure: Ditto.
1376         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1377         Added for non-Cygwin, non-RTEMS configurations.
1378         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1379         * libc/sys/linux/Makefile.in: Regenerated.
1380         * libc/sys/linux/crt1.c: New empty file to override one defaulted
1381         by gcc.  This fixes problem with reconfiguring linux newlib build.
1382         * libc/sys/linux/sysconf.c: New file.
1383
1384 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
1385
1386         * configure.host: Add support for machine subdirectory of
1387         sys subdirectory.
1388         * configure.in: Add check for sys machine subdirectory.
1389         * Makefile.am: Ditto.
1390         * configure: Regenerated.
1391         * Makefile.in: Ditto.
1392         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1393         * libc/sys/linux/sys/syscall.h: Ditto.
1394         * libc/sys/linux/sleep.c: New file.
1395         * libc/sys/linux/socket.c: Ditto.
1396         * libc/sys/linux/sockops.h: Ditto.
1397         * libc/sys/linux/stack.c: Ditto.
1398         * libc/sys/linux/usleep.c: Ditto.
1399         * libc/sys/linux/machine/Makefile.am: Ditto.
1400         * libc/sys/linux/machine/Makefile.in: Ditto.
1401         * libc/sys/linux/machine/aclocal.m4: Ditto.
1402         * libc/sys/linux/machine/configure: Ditto.
1403         * libc/sys/linux/machine/configure.in: Ditto.
1404         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1405         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1406         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1407         * libc/sys/linux/machine/i386/configure: Ditto.
1408         * libc/sys/linux/machine/i386/configure.in: Ditto.
1409         * libc/sys/linux/machine/i386/crt0.c: Ditto.
1410         * libc/sys/linux/machine/i386/sigset.c: Ditto.
1411         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1412         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1413         * libc/sys/linux/machine/i386/syscall.h: Ditto.
1414         * libc/sys/linux/sys/select.h: Ditto.
1415         * libc/sys/linux/configure.in: Add support for machine directory.
1416         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1417         * libc/sys/linux/Makefile.in: Regenerated.
1418         * libc/sys/linux/configure: Ditto.
1419         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1420         * libc/sys/linux/inode.c: Ditto.
1421         * libc/sys/linux/linux.c: Ditto.
1422         * libc/sys/linux/process.c: Ditto.
1423         * libc/sys/linux/systat.c: Ditto.
1424         * libc/sys/linux/time.c: Ditto.
1425         * libc/sys/linux/wait.c: Ditto.
1426         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1427         * libc/sys/linux/io.c: Change header plus add readv/writev.
1428         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1429         use __sigsuspend syscall.
1430         * libc/sys/linux/select.c: Change header plus change select to
1431         use _newselect syscall.
1432         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1433         used by glibc header files.
1434         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1435         types.
1436
1437 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
1438
1439         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1440         initializing a struct _reent that has been dynamically allocated.
1441         (_REENT_CHECK_MISC): New macro that checks _misc struct for
1442         _REENT_SMALL and does nothing otherwise.
1443         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1444         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1445         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1446         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1447         [_REENT_SMALL](struct _misc_reent): New structure containing
1448         miscellaneous reentrant areas needed by newlib.
1449         [_REENT_SMALL](struct _reent): Add _misc pointer.
1450         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1451         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1452         and _REENT_STRTOK_LAST macros.
1453         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1454         and _REENT_MBLEN_STATE macros.
1455         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1456         and _REENT_MBTOWC_STATE macros.
1457         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1458         and _REENT_WCTOMB_STATE macros.
1459
1460 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
1461
1462         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1463
1464 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
1465
1466         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1467
1468 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
1469
1470         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1471         Store high part of leading bytes too.
1472
1473 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1474
1475         * libm/math/ef_hypot.c: Increase scale factor to 68.
1476
1477 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
1478
1479         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1480         error.
1481
1482 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
1483
1484         * libc/sys/go32/access.c: Change license to relaxed license
1485         used in identical file throughout newlib/libgloss.
1486
1487 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
1488
1489         * libc/sys/arm/access.c: New file.
1490         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1491         * libc/sys/arm/Makefile.in: Regenerate.
1492         * libc/sys/arm/syscalls.c (_stat): New function.
1493
1494 2002-03-11  Michael Meissner  <meissner@redhat.com>
1495
1496         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1497         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1498         * libc/machine/mips/Makefile.in: Regenerate.
1499         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1500         * libc/machine/mips/memset.c: Dito.
1501         * libc/machine/mips/strcmp.c: Dito.
1502         * libc/machine/mips/strlen.c: Dito.
1503         * libc/machine/mips/strncmp.c: Dito.
1504
1505 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
1506
1507         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1508         object so it works for shared library or statici library.
1509 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
1510
1511         *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
1512         (strptime): Moved prototype to be within !__STRICT_ANSI__.
1513         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1514         (tzname): Defined for all platforms.
1515         (daylight, timezone): Defined only for CYGWIN.
1516         *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1517         environment set up.
1518         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1519         environment variable is set.
1520         *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1521         tzset_r.c.
1522         *  libc/time/Makefile.in: Regenerated.
1523         *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1524         *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1525         *  libc/time/lcltime_r.c (lcltime_r): Ditto.
1526         *  libc/time/local.h: New local header file.
1527         *  libc/time/mktime.c (mktime): Add timezone support.
1528         *  libc/time/mktm_r.c: New file which is the common engine
1529         for gmtime_r and lcltime_r.  This code has timezone support.
1530         *  libc/time/strftime.c (strftime): Add %Z timezone support.
1531         *  libc/time/tzlock.c: New file containing timezone lock stubs.
1532         *  libc/time/tzset.c: New file containing tzset() routine.
1533         *  libc/time/tzset_r.c: New file containing _tzset_r and
1534         internal routine for calculating timezone changes for specified year.
1535
1536 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1537
1538         * configure.in (CRT0_DIR): Set to libc/.
1539         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1540         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1541         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
1542         $(CRT1_DIR)/$(CRT1).
1543         * libc/machine/xstormy16/Makefile.in: Regenerated.
1544         * libc/machine/xstormy16/aclocal.m4: Regenerated.
1545         * libc/machine/xstormy16/configure: Regenerated.
1546
1547 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
1548
1549         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1550         fails, don't bail out, and try to correct next time.
1551
1552         * libc/include/sys/config.h: Include limits.h.
1553
1554 2002-04-12  Eric Norum  <eric.norum@usask.com>
1555
1556         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1557         routine to allow autoconf to determine that building executables
1558         for rtems works.
1559         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1560         (rtems_gxx_mutex_once): Ditto.
1561
1562 2002-04-09  Tom Rix  <trix@redhat.com>
1563
1564         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1565
1566 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1567
1568         * libc/include/time.h: Fix strptime declaration.
1569         * libc/time/Makefile.am: Add strptime.c.
1570         * libc/time/Makefile.in: Regenerated.
1571         * libc/time/strptime.c: New file.
1572
1573 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
1574
1575         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1576         siglongjmp prototype, and sigsetjmp macro definition.
1577         * libc/sys/linux/siglongjmp.c: New file.
1578         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1579         * libc/sys/linux/Makefile.in: Regenerated.
1580
1581 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
1582
1583         * Makefile.am: Add support for installing crt1.o if one exists.
1584         * configure.host: Specify crt1.o for linux.
1585         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1586         * Makefile.in: Regenerated.
1587         * configure: Ditto.
1588         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1589         Added for non-Cygwin, non-RTEMS configurations.
1590         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1591         * libc/sys/linux/Makefile.in: Regenerated.
1592         * libc/sys/linux/crt1.c: New empty file to override one defaulted
1593         by gcc.  This fixes problem with reconfiguring linux newlib build.
1594         * libc/sys/linux/sysconf.c: New file.
1595
1596 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
1597
1598         * configure.host: Add support for machine subdirectory of
1599         sys subdirectory.
1600         * configure.in: Add check for sys machine subdirectory.
1601         * Makefile.am: Ditto.
1602         * configure: Regenerated.
1603         * Makefile.in: Ditto.
1604         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1605         * libc/sys/linux/sys/syscall.h: Ditto.
1606         * libc/sys/linux/sleep.c: New file.
1607         * libc/sys/linux/socket.c: Ditto.
1608         * libc/sys/linux/sockops.h: Ditto.
1609         * libc/sys/linux/stack.c: Ditto.
1610         * libc/sys/linux/usleep.c: Ditto.
1611         * libc/sys/linux/machine/Makefile.am: Ditto.
1612         * libc/sys/linux/machine/Makefile.in: Ditto.
1613         * libc/sys/linux/machine/aclocal.m4: Ditto.
1614         * libc/sys/linux/machine/configure: Ditto.
1615         * libc/sys/linux/machine/configure.in: Ditto.
1616         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1617         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1618         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1619         * libc/sys/linux/machine/i386/configure: Ditto.
1620         * libc/sys/linux/machine/i386/configure.in: Ditto.
1621         * libc/sys/linux/machine/i386/crt0.c: Ditto.
1622         * libc/sys/linux/machine/i386/sigset.c: Ditto.
1623         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1624         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1625         * libc/sys/linux/machine/i386/syscall.h: Ditto.
1626         * libc/sys/linux/sys/select.h: Ditto.
1627         * libc/sys/linux/configure.in: Add support for machine directory.
1628         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1629         * libc/sys/linux/Makefile.in: Regenerated.
1630         * libc/sys/linux/configure: Ditto.
1631         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1632         * libc/sys/linux/inode.c: Ditto.
1633         * libc/sys/linux/linux.c: Ditto.
1634         * libc/sys/linux/process.c: Ditto.
1635         * libc/sys/linux/systat.c: Ditto.
1636         * libc/sys/linux/time.c: Ditto.
1637         * libc/sys/linux/wait.c: Ditto.
1638         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1639         * libc/sys/linux/io.c: Change header plus add readv/writev.
1640         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1641         use __sigsuspend syscall.
1642         * libc/sys/linux/select.c: Change header plus change select to
1643         use _newselect syscall.
1644         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1645         used by glibc header files.
1646         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1647         types.
1648
1649 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
1650
1651         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1652         initializing a struct _reent that has been dynamically allocated.
1653         (_REENT_CHECK_MISC): New macro that checks _misc struct for
1654         _REENT_SMALL and does nothing otherwise.
1655         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1656         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1657         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1658         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1659         [_REENT_SMALL](struct _misc_reent): New structure containing
1660         miscellaneous reentrant areas needed by newlib.
1661         [_REENT_SMALL](struct _reent): Add _misc pointer.
1662         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1663         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1664         and _REENT_STRTOK_LAST macros.
1665         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1666         and _REENT_MBLEN_STATE macros.
1667         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1668         and _REENT_MBTOWC_STATE macros.
1669         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1670         and _REENT_WCTOMB_STATE macros.
1671
1672 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
1673
1674         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1675
1676 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
1677
1678         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1679
1680 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
1681
1682         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1683         Store high part of leading bytes too.
1684
1685 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1686
1687         * libm/math/ef_hypot.c: Increase scale factor to 68.
1688
1689 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
1690
1691         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1692         error.
1693
1694 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
1695
1696         * libc/sys/go32/access.c: Change license to relaxed license
1697         used in identical file throughout newlib/libgloss.
1698
1699 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
1700
1701         * libc/sys/arm/access.c: New file.
1702         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1703         * libc/sys/arm/Makefile.in: Regenerate.
1704         * libc/sys/arm/syscalls.c (_stat): New function.
1705
1706 2002-03-11  Michael Meissner  <meissner@redhat.com>
1707
1708         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1709         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1710         * libc/machine/mips/Makefile.in: Regenerate.
1711         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1712         * libc/machine/mips/memset.c: Dito.
1713         * libc/machine/mips/strcmp.c: Dito.
1714         * libc/machine/mips/strlen.c: Dito.
1715         * libc/machine/mips/strncmp.c: Dito.
1716
1717 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
1718
1719         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1720         object so it works for shared library or statici library.
1721         * libc/machine/i386/Makefile.in: Regenerated.
1722
1723 Wed Mar  6 10:24:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
1724
1725         * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
1726         Add memcpy.S, memset.S and strcpy.S.
1727         * libc/machine/sh/Makefile.in: Regenerate.
1728         * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
1729         (SHHI, SHLO): Define.
1730         * libc/machine/sh/memset.S: Add code for SH5.
1731         * libc/machine/sh/memset.S: Likewise.
1732         * libc/machine/sh/strcpy.S: Likewise.
1733
1734 2002-02-27  Jeff Johnston  <jjohnstn@redhat.com>
1735
1736         * configure.host: Add check for --disable-newlib-io-float
1737         configuration option and add -DNO_FLOATING_POINT to newlib cflags
1738         if appropriate.
1739         * acinclude.m4: Added --disable-newlib-io-float option.
1740         * aclocal.m4: Regenerated.
1741         * configure: Ditto.
1742         * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1743         * libc/*/aclocal.m4 libc/*/configure 
1744         * libm/*/aclocal.m4 libm/*/configure: Ditto.
1745         * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
1746         if NO_FLOATING_POINT flag is not defined.
1747
1748 2002-02-25  Jeff Johnston  <jjohnstn@redhat.com>
1749
1750         * libc/include/sys/config.h: Add __extension__ in front of
1751         long long references.
1752
1753 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1754
1755         * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
1756         (_stat): Ditto.
1757
1758 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1759
1760         * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
1761         of off_t.
1762
1763 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1764
1765         * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
1766         clobbered registers.
1767
1768 2002-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1769
1770         * configure.host (newlib_cflags): When host is in m68* add
1771         -DCOMPACT_CTYPE.
1772
1773 2002-02-15  Jeff Johnston  <jjohnstn@redhat.com>
1774
1775         * libc/include/sys/config.h: Add definitions for
1776         __int16_t, __uint16_t, __int64_t, and __uint64_t.
1777
1778 2002-02-12  Hans-Peter Nilsson  <hp@bitrange.com>
1779
1780         * libc/sys/mmixware/link.c: New.
1781         * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1782         volatile.
1783         * libc/sys/mmixware/times.c (_times): Renamed from times.
1784         * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1785         properly by reading previous contents, not through BinaryReadWrite.
1786         * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1787         * libc/sys/mmixware/Makefile.in: Regenerate.
1788
1789 2002-02-10  Corinna Vinschen  <corinna@vinschen.de>
1790
1791         * libc/include/grp.h: Don't declare group functions when compiling
1792         Cygwin.
1793
1794 2002-02-09  Corinna Vinschen  <corinna@vinschen.de>
1795
1796         * libc/include/grp.h: Include Cygwin specific header.
1797         * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
1798         when compiling for Cygwin.
1799         * libc/include/sys/types.h: Don't define off_t, uid_t
1800         and gid_t when compiling for Cygwin.
1801
1802 2002-02-08  matthew green  <mrg@redhat.com>
1803
1804         * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1805         _REENT_EMERGENCY_SIZE, not sizeof(char *).
1806
1807 2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
1808
1809         Contribute sh64-elf.
1810         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
1811         * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1812         support in printf.
1813         2001-01-29  Alexandre Oliva  <aoliva@redhat.com>
1814         * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1815         any labels.
1816         2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
1817         * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1818         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
1819         * libc/machine/sh/configure.in: Rework conditionals.
1820         * libc/machine/sh/Makefile.am: Likewise.
1821         * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1822         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
1823         * configure.host: Match `sh*'.
1824         * libc/include/machine/setjmp.h: Define for SH5.
1825         * libc/machine/sh/configure.in: Detect SH5.
1826         * libc/machine/sh/configure: Rebuilt.
1827         * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1828         * libc/machine/sh/Makefile.in: Rebuilt.
1829         * libc/machine/sh/asm.h: Adjust for SH5.
1830         * libc/machine/sh/setjmp.S: Implement in SHmedia.
1831         * libc/sys/sh/crt0.S: Likewise.
1832         * libc/sys/sh/trap.S: Likewise.
1833
1834 2002-02-07  Jeff Johnston  <jjohnstn@redhat.com>
1835
1836         * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1837         (mach_add_obj): Conditionally set to setjmp.o or nothing.
1838         (LIB_SOURCES): Remove $(mach_add_src).
1839         (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1840         (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1841         * libc/machine/i386/Makefile.in: Regenerate.
1842
1843 2002-02-05  Manik Raina <manik@cisco.com>
1844
1845         * libc/misc/dprintf.c (parse_number): #if 0 unused function.
1846         * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1847         s, p, k, and outstr.
1848         * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1849
1850 2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>
1851
1852         * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1853         _REENT_CHECK_EMERGENCY macro.
1854
1855 2002-02-03  matthew green  <mrg@redhat.com>
1856
1857         * libc/reent/signgam.c (__signgam): Fix error in previous.
1858
1859 2002-02-02  matthew green  <mrg@redhat.com>
1860
1861         * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1862
1863         * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1864         * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1865         * libc/include/sys/reent.h (struct _reent): Completely new version
1866         for _REENT_SMALL.
1867         (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1868         (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1869         (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1870         (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1871         (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1872         (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1873         (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1874         (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1875         (_REENT_EMERGENCY): Likewise.
1876
1877         * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1878         the start of the real __sFILE, used for stdin, stdout and stderr until
1879         they are setup properly.
1880         (struct __sFILE): Move location of _data in _REENT_SMALL case.
1881         * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1882         allocated stdin, stdout and stderr.
1883         * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1884         * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1885         * libc/stdio/perror.c (_perror_r): Likewise.
1886         * libc/stdio/printf.c (printf, _printf_r): Likewise.
1887         * libc/stdio/putchar.c (_putchar_r): Likewise.
1888         * libc/stdio/puts.c (_puts_r): Likewise.
1889         * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1890         * libc/stdio/vprintf.c (vprintf): Likewise.
1891         * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1892
1893         * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1894
1895         * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1896         * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1897         for _REENT_SMALL.
1898         * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1899         * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1900
1901         * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1902         _REENT_SMALL.
1903         * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1904         * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1905         * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1906         * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1907         * libc/stdlib/rand48.c (__dorand48): Likewise.
1908         * libc/stdlib/seed48.c (_seed48_r): Likewise.
1909         * libc/stdlib/srand48.c (_srand48_r): Likewise.
1910         * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1911         as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1912         * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
1913         _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1914         * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1915         * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1916         * libc/stdlib/rand.c (rand): Likewise.
1917
1918         * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1919         * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1920
1921         * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
1922         _REENT_MP_FREELIST() and _REENT_MP_P5S.
1923         * libc/include/sys/reent.h (struct _mprec): New structure.
1924
1925         * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1926         _unused_strtok_last.
1927         * libc/string/strtok.c (strtok): Use a local static variable.
1928
1929         * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1930         (_REENT_EMERGENCY_SIZE): Likewise.
1931         * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
1932         _REENT_ASCTIME_BUF().
1933         * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
1934         _REENT_TM().
1935
1936         * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1937         * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1938         * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1939         * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1940         * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1941         * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1942
1943 2002-02-01  Geoffrey Keating  <geoffk@redhat.com>
1944
1945         * configure.host (xstormy16): Don't use the generic malloc.
1946         * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1947         * libc/machine/xstormy16/Makefile.in: Regenerate.
1948         * libc/machine/xstormy16/mallocr.c: New file.
1949         * libc/machine/xstormy16/tiny-malloc.c: New file.
1950
1951 2002-01-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
1952
1953         * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1954         when _CYGWIN_TYPES_H is not defined.
1955
1956 2002-01-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1957
1958         * libc/include/sys/signal.h: Revert 2002-01-23 change.
1959
1960 2002-01-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1961
1962         * libc/include/sys/signal.h: Remove pthread_kill declaration
1963         when __CYGWIN__ is defined.
1964
1965 2002-01-18  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1966
1967         * libc/include/time.h: Add prototype for strptime for Cygwin.
1968
1969 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1970
1971         * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1972         dst was not word aligned.
1973
1974         * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1975         if too much memory is requested.
1976
1977 2002-01-11 Jeff Johnston  <jjohnstn@redhat.com>
1978
1979         * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1980         reads blanks from the input file to break if EOF reached
1981         rather than end processing.
1982
1983 2002-01-07 Jeff Johnston  <jjohnstn@redhat.com>
1984
1985         * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1986
1987 2002-01-07 Alan Matsuoka <alanm@redhat.com>
1988
1989         * libc/include/machine/ieeefp.h: Configure d10v doubles to
1990         be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
1991         libc/include/sys/config.h: Ditto.
1992
1993 2001-12-28  Corinna Vinschen  <corinna@vinschen.de>
1994
1995         * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1996
1997 2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
1998             Catherine Moore  <clm@redhat.com>
1999             Richard Henderson  <rth@redhat.com>
2000             Corinna Vinschen  <vinschen@redhat.com>
2001
2002         * configure.host: Add support for xstormy16.
2003         * libc/include/machine/ieeefp.h: Add support for xstormy16.
2004         * libc/include/machine/setjmp.h: Add support for xstormy16.
2005         * libc/include/sys/config.h: Add support for xstormy16.
2006         * libc/machine/xstormy16/Makefile.am: New file.
2007         * libc/machine/xstormy16/Makefile.in: New file.
2008         * libc/machine/xstormy16/aclocal.m4: New file.
2009         * libc/machine/xstormy16/configure: New file.
2010         * libc/machine/xstormy16/configure.in: New file.
2011         * libc/machine/xstormy16/setjmp.S: New file.
2012
2013 2001-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2014
2015         * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
2016         * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
2017
2018 2001-12-19  Corinna Vinschen  <corinna@vinschen.de>
2019
2020         * libm/machine/Makefile.am: Change rules to create correct lib.a.
2021         * libm/machine/Makefile.in: Regenerated through automake.
2022
2023 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2024
2025         * Makefile.am (DOCDIR): Force to empty string when doc
2026         directory is not present.
2027
2028 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2029
2030         * libc/machine/i386/f_*: Move to libm/machine/i386.
2031
2032 2001-12-18      Joel Sherrill <joel@OARcorp.com>
2033
2034         * libm/machine/Makefile.am: Add dummy doc stub so
2035         "make info" works.
2036
2037 2001-12-17      Joel Sherrill <joel@OARcorp.com>
2038
2039         * libc/include/sys/types.h (ino_t): RTEMS uses long also.
2040
2041 2001-12-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
2042
2043         * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
2044         $(COMPILE) rather than $(CC).
2045         * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
2046         (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
2047         $(LIB_COMPILE) change.
2048         (vfiprintf.$(oext)): Likewise.
2049
2050 2001-12-17  Corinna Vinschen  <vinschen@redhat.de>
2051
2052         * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
2053         conditionalized including of getopt stuff.
2054
2055 2001-12-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2056
2057         * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
2058         compile line.
2059         (vfiprintf.$(oext)): Likewise.
2060
2061 2001-12-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2062
2063         * Makefile.shared: New file.
2064         * libc/sys/linux/shared.ld: New file.
2065         * libm/machine/*: New files.
2066         * libm/machine/i386/*: New files.
2067         * Makefile.am: Add libtool support.  Change math and mathfp
2068         references to variables.
2069         * configure.host: Add variables for libtool support.  Add
2070         libm_machine_dir variable.
2071         * configure.in: Add objectlist variables, for libtool
2072         support.  Add CC_FOR_BUILD tests.
2073         * libc/Makefile.am: Add libtool support.  Change crt0.o
2074         reference to be a variable reference.
2075         * libc/configure.in: Add libtool support.  Change sublib
2076         names to be lib${subdir}.la when using libtool.
2077         * libc/ctype/Makefile.am: Add libtool support.
2078         * libc/errno/Makefile.am: Likewise.
2079         * libc/locale/Makefile.am: Likewise.
2080         * libc/machine/Makefile.am: Likewise.
2081         * libc/machine/configure.in: Likewise.
2082         * libc/machine/i386/Makefile.am: Likewise.
2083         * libc/machine/i386/configure.in: Likewise.
2084         * libc/misc/Makefile.am: Likewise.
2085         * libc/posix/Makefile.am: Likewise.
2086         * libc/reent/Makefile.am: Likewise.
2087         * libc/signal/Makefile.am: Likewise.
2088         * libc/stdio/Makefile.am: Likewise.
2089         * libc/stdlib/Makefile.am: Likewise.
2090         * libc/string/Makefile.am: Likewise.
2091         * libc/sys/Makefile.am: Likewise.
2092         * libc/sys/configure.in: Likewise.
2093         * libc/sys/linux/Makefile.am: Add libtool support.  Change
2094         awk reference to a variable reference.  Change signal.h
2095         reference to a variable reference.
2096         * libc/sys/linux/configure.in: Add libtool support.
2097         * libc/syscalls/Makefile.am: Likewise.
2098         * libc/time/Makefile.am: Likewise.
2099         * libc/unix/Makefile.am: Likewise.
2100         * libm/Makefile.am: Add libtool support.  Change math and
2101         mathfp references to variables.
2102         * libm/configure.in: Add libtool support.  Add
2103         LIBM_MACHINE_LIB variable.
2104         * libm/common/Makefile.am: Add libtool support.
2105         * libm/math/Makefile.am: Likewise.
2106         * libm/mathfp/Makefile.am: Likewise.
2107         Regenerate all Makefile.in, aclocal.m4, and configure.
2108
2109 2001-12-13 Anita Kulkarni <anitak@kpit.com>
2110
2111         * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
2112
2113 2001-12-06  John Peacock <jpeacock@rowman.com>
2114
2115         * libc/include/sys/unistd.h: Correct ualarm declaration.
2116
2117 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
2118
2119         * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
2120         vector before calling the initialisation functions.
2121
2122 2001-11-29  Christopher Faylor  <cgf@redhat.com>
2123
2124         * libc/include/dirent.h: Protect against multiple inclusion.
2125
2126 2001-11-27  Christopher Faylor  <cgf@redhat.com>
2127
2128         * libc/include/sys/types.h: Define useconds_t.
2129         * libc/include/sys/ulimit.h: Declare ualarm.
2130
2131 2001-11-21  Christopher Faylor  <cgf@redhat.com>
2132
2133         * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
2134
2135 2001-11-19  Hans-Peter Nilsson  <hp@bitrange.com>
2136
2137         * libc/sys/mmixware/*: Tweak license header in all source files.
2138
2139 2001-11-12  Corinna Vinschen  <vinschen@redhat.com>
2140
2141         * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
2142         to here.  Rearrange for general inclusion by stdlib.h.
2143         * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
2144         isn't defined.
2145         * libc/sys/linux/include/alloca.h: Move to libc/include.
2146
2147 2001-11-12  Anthony Green  <green@redhat.com>
2148
2149         * libc/sys/arm/crt0.S (__stack_base__): New symbol.
2150
2151 2001-11-13  Hans-Peter Nilsson  <hp@bitrange.com>
2152
2153         * libc/sys/mmixware/*: Correct spacing in all source files.
2154         * libc/sys/mmixware/syscall.h: Move misplaced file...
2155         * libc/sys/mmixware/sys/syscall.h: ...here.
2156
2157 2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>
2158
2159         * libc/include/machine/ieeefp.h: Add support for mmix target.
2160         * libc/include/machine/setjmp.h: Ditto.
2161         * configure.host: Ditto.
2162         * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
2163         libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
2164         libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
2165         libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
2166         libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
2167         libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
2168         libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
2169         libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
2170         libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
2171         libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
2172         libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
2173         libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
2174         libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
2175         libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
2176         libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
2177         libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
2178         * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
2179         libc/sys/mmixware/aclocal.m4: Generate.
2180
2181 2001-11-05  Corinna Vinschen  <corinna@vinschen.de>
2182
2183         * libc/include/sys/unistd.h: Add prototypes for endusershell(),
2184         getusershell(), iruserok(), revoke(), ruserok() and setusershell()
2185         when __CYGWIN__ is defined.
2186         * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
2187         logwtmp().
2188
2189 2001-11-01  Arati Dikey  <aratidikey@hotmail.com>
2190
2191         * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
2192         [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
2193         * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
2194         [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
2195
2196 2001-10-24  Christopher Faylor  <cgf@redhat.com>
2197
2198         * libc/stdio/fseek.c: Reset pointer to buffer base
2199         when forced to seek outside of current buffer contents.
2200         This prevents the code from erroneously thinking there is
2201         anything in the current buffer.
2202
2203 2001-10-22  Geoffrey Keating  <geoffk@redhat.com>
2204
2205         * libc/include/math.h: The C++ standard adds the single-precision
2206         versions of the elementary functions.
2207
2208 2001-10-22  Christopher Faylor  <cgf@redhat.com>
2209
2210         * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
2211         throughout.
2212         * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
2213         * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
2214         * system.c (_system_r): Ditto.
2215
2216 2001-10-17  Corinna Vinschen  <corinna@vinschen.de>
2217
2218         * libc/include/sys/unistd.h: Add prototype for fchdir() when
2219         __CYGWIN__ or __rtems__ is defined.
2220
2221 2001-10-01  Charles Wilson  <cwilson@ece.gatech.edu>
2222
2223         * libc/include/stdlib.h: add declarations for
2224         _strtoull_r, _strtoll_r, strtoull, and strtoll.
2225         * libc/stdio/local.h: remove declarations of
2226         __strtoull_r and __strtoll_r.
2227         * libc/stdio/vfscanf.c(__svfscanf_r): call
2228         _strtoull_r instead of __strtoull_r. Ditto
2229         _strtoll_r vs. __strtoll_r.
2230         * libc/stdlib/Makefile.am: add new files to
2231         .c list and .def list
2232         * libc/stdlib/Makefile.in: regenerate
2233         * libc/stdlib/strtoll_r.c: rename __strtoll_r
2234         as _strtoll_r
2235         * libc/stdlib/strtoull_r.c: rename __strtoull_r
2236         as _strtoull_r
2237         * libc/stdlib/strtoull.c: new file
2238         * libc/stdlib/strtoll.c: new file
2239
2240 Mon Sep 17 17:29:47 2001  Christopher Faylor <cgf@cygnus.com>
2241
2242         * libc/include/process.h: Add getpid() declaration.
2243
2244 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
2245
2246         * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
2247         for new style arm/elf ctor/dtor handling.
2248         Minor formatting tidy up.
2249
2250 2001-09-13  Jeff Johnston  <jjohnstn@redhat.com>
2251
2252         * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
2253         and strtoull_r.c.
2254         * libc/stdlib/Makefile.in: Regenerated.
2255         * libc/stdlib/strtoll_r.c: New file.
2256         * libc/stdlib/strtoull_r.c: New file.
2257         * libc/stdio/local.h: Add prototypes for long long string
2258         conversion routines.
2259         * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
2260         tied to %L integer conversion specifier.
2261
2262 Thu Sep 13 08:49:49 2001  Jason Tishler <jason@tishler.net>
2263
2264         * strftime.c (strftime): Fix "%W" implementation to properly handle
2265         Mondays too.
2266
2267 2001-09-07  Jeff Law  <law@redhat.com>
2268
2269         * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
2270         __fini with "mov.l" instead of "mov.w".
2271
2272 2001-09-05  Corinna Vinschen  <corinna@vinschen.de>
2273
2274         * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
2275         and getopt.h.
2276
2277 2001-09-04  Jason Merrill  <jason_merrill@redhat.com>
2278
2279         * libc/sys/h8300hms/crt0.S: Support ELF initialization.
2280
2281 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
2282
2283         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
2284         field.
2285         (__DIRENT_VERSION): New define.
2286
2287 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
2288
2289         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
2290         Shrink __d_reserved accordingly to keep structure size.
2291         (dirfd): Declare external.
2292
2293 2001-08-29  Joel Sherrill <joel@OARcorp.com>
2294
2295         * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
2296
2297 2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2298
2299         * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
2300           libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
2301           libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
2302           libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
2303           libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
2304           libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
2305           libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
2306           libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
2307         Add conditional compilation to avoid HW FPU instructions
2308         when compiled for soft-float.
2309
2310 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
2311
2312         * Makefile.am: Add check for ln failing when creating libg.a
2313         so that cp gets used as a backup.
2314         * Makefile.in: Regenerated.
2315
2316 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
2317
2318         * libc/include/sys/reent.h: Add include of <sys/_types.h>.
2319         No longer include time.h.  Add struct __tm to use for
2320         _localtime_buf in the reentrant structure.  Add a
2321         _NULL definition to use in initializing the reentrant struct.
2322         * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
2323         the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
2324         <sys/_types.h>.
2325         * libc/include/sys/unistd.h: Include <sys/_types.h>.
2326         * libc/time/lcltime.c (localtime): Cast the reentrant struct
2327         _localtime_buf to be struct tm *.
2328
2329 Wed Aug 29 14:17:38 2001  J"orn Rennecke <amylaar@redhat.com>
2330
2331         * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
2332         * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
2333         __ctors_end.
2334         * libc/sys/h8300hms/syscalls.c: Include errno.h.
2335         (_unlink): New stub function.
2336
2337 Sat Aug 25 22:22:25 2001  Christopher Faylor <cgf@cygnus.com>
2338
2339         * libc/include/sys/errno.h: Add a cautionary comment.
2340
2341 2001-08-21  Jeff Johnston  <jjohnstn@redhat.com>
2342
2343         * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
2344         for SIZE_SZ so that alignment ends up a minimum of 8.
2345
2346 Mon Aug 13 22:26:01 2001  Christopher Faylor <cgf@cygnus.com>
2347
2348         * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
2349         arguments.
2350
2351         * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
2352         Cygwin.
2353
2354 2001-08-13  Jeff Johnston  <jjohnstn@redhat.com>
2355
2356         * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
2357         macro constants for mallopt options.
2358         (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
2359
2360 2001-08-02  Jeff Johnston  <jjohnstn@redhat.com>
2361
2362         * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
2363         otherwise default.
2364
2365 2001-07-12  Aldy Hernandez  <aldyh@redhat.com>
2366
2367         * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
2368
2369 2001-06-27  Nick Clifton  <nickc@cambridge.redhat.com>
2370
2371         * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
2372         Define for little endian ARMs.
2373
2374         * libc/stdlib/mprec.h (Storeinc): Use little endian version if
2375         __IEEE_BYTES_LITTLE_ENDIAN is defined.
2376
2377 2001-06-11  Danny Smith  <dannysmith@users.sourceforge.net>
2378
2379         * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
2380
2381 2001-06-11  Egor Duda  <deo@logos-m.ru>
2382
2383         * libc/ctype/ctype_.c: When compiled with gcc on platforms
2384         with signed char, make _ctype_[-128] ... _ctype[-1] refer to
2385         initialized memory region. Platform can define COMPACT_CTYPE
2386         to avoid allocation of the additional 128 bytes of data.
2387         Add pointer to _ctype_ array. Always initialize all _ctype_
2388         array elements.
2389
2390 2001-06-08  Jonathan Larmour  <jlarmour@redhat.com>
2391
2392         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
2393         NULL pointer.
2394
2395 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2396
2397         * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
2398
2399 2001-05-25  Nick Clifton  <nickc@cambridge.redhat.com>
2400
2401         * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
2402         matching, non-word alignment, and the length is <= 4 but more than
2403         enough to move them over a word boundary.
2404         Add comments explaining what each instruction does.
2405
2406 Mon May  7 20:39:25 2001  Christopher Faylor <cgf@cygnus.com>
2407
2408         * libc/include/sys/stat.h: Revert March 3, Cygwin change.
2409         * libc/include/sys/unistd.h: Ditto.
2410
2411 2001-05-04  Earnie Boyd  <earnie@users.sourceforge.net>
2412
2413         * libc/string/strrchr.c: Use strchr for the speed improvements.
2414
2415 2001-05-01  Jeff Johnston  <jjohnstn@redhat.com>
2416
2417         * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
2418         real file systems, let __smakebuf() determine if line buffering
2419         should be used for stdout.
2420
2421 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
2422
2423         * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
2424
2425 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
2426
2427         * libc/include/stdlib.h: Add prototype for _strtod_r.
2428
2429 2001-04-24  Charles Wilson  <cwilson@ece.gatech.edu
2430
2431         * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
2432         * libc/stdio/vprintf.c (_vprintf_r): new function
2433         * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
2434         * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
2435         _DEFUN, and call _vfprintf_r, not vfprintf.
2436         * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
2437         * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
2438         _DEFUN, and call _vfprintf_r, not vfprintf.
2439
2440 2001-04-22  Earnie Boyd  <earnie@users.sourceforge.net>
2441   
2442         * libc/include/sys/unistd.h [X_OK]: Use better protection against
2443         Cygwin X_OK definitions in sys/file.h.
2444
2445 Fri Apr 20 23:17:51 2001  Christopher Faylor <cgf@cygnus.com>
2446
2447         * libc/include/sys/time.h: Define timercmp and other macros for
2448         __CYGWIN__, too.
2449
2450 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
2451         
2452         * acinclude.m4: Added --enable-malloc-debugging configure flag.
2453         * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
2454         --enable-malloc-debugging selected.
2455         * aclocal.m4 configure: Regenerated.
2456           libm/aclocal.m4 libm/configure: Ditto.
2457         * libc/aclocal.m4 libc/configure: Ditto.
2458         * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
2459         * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
2460         * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
2461         * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
2462         * doc/aclocal.m4 doc/configure: Ditto.
2463
2464 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
2465
2466         * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
2467         into one list.
2468         [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
2469         (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
2470         function prototypes.
2471         (_fscanf_r, _sscanf_r): Ditto.
2472         * libc/include/stdlib.h: Added _strtod_r prototype.
2473         * libc/stdio/Makefile.am: Add new v*scanf functions.
2474         * libc/stdio/Makefile.in: Regenerate.
2475         * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
2476         and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
2477         * libc/stdio/scanf.c: Changed to call __svfscanf_r.
2478         * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
2479         (sscanf): Changed to call __svfscanf_r with _REENT argument.
2480         (_sscanf_r): New routine.
2481         * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
2482         with __svfscanf_r prototype.
2483         * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
2484         routines.
2485         (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
2486         structure as argument as calls reentrant versions of helper functions
2487         (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
2488         to _strtol_r and _strtod_r respectively.
2489         * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
2490         * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
2491         _REENT argument.
2492         * libc/stdio/vscanf.c: New file.
2493         * libc/stdio/vsscanf.c: Ditto.
2494
2495 2001-04-19  Robert Collins  <rbtcollins@hotmail.com>
2496
2497         * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
2498         Define daylight to _daylight if it is not defined
2499         Prepare a variable export of timezone based on timezonevariable. 
2500         (Cannot be used with the timezone() function.)
2501
2502 2001-04-17  Stephen L. Moshier  <moshier@moshier.ne.mediaone.net>
2503
2504         * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
2505          Correct the numerical values.
2506
2507 2001-04-13  Robert Collins <rbtcollins@hotmail.com>
2508
2509         * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
2510
2511 Thu Apr 12 23:11:00 2001  Corinna Vinschen <corinna@vinschen.de>
2512
2513         * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
2514         on case insensitve file systems.
2515
2516 2001-04-12  Robert Collins <rbtcollins@hotmail.com>
2517
2518         * libc/include/sys/features.h: Add appropriate defines for Cygwin
2519         pthread support.
2520         * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
2521         * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
2522         types.  Include <cygwin/types.h> for the cygwin specific typedefs.
2523
2524 2001-04-04  Richard Sandiford  <rsandifo@redhat.com>
2525
2526         * libc/include/machine/ieeefp.h: Comment about new configuration
2527         macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
2528         * libm/common/fdlib.h: Define new macros for testing floats.
2529         * libm/common/sf_*: Use them.
2530         * libm/math/ef_*: Likewise.
2531         * libm/math/sf_*: Likewise.
2532
2533 2001-03-29  Jeff Johnston  <jjohnstn@redhat.com>
2534
2535         * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
2536         prolog to by-pass possible assembler error.
2537
2538 2001-03-21  Egor Duda  <deo@logos-m.ru>
2539
2540         Allow building internal stubs for non-reentrant syscalls
2541         if target provides its own malloc
2542         * libc/reent/reent.c (errno): Move definition here.
2543         * libc/reent/sbrkr.c: From here.
2544
2545 2001-03-20  Danny Smith <dannysmith@users.sourceforge.net>
2546
2547         * libc/include/sys/types.h (BSD int typedefs): Guard with
2548         _BSDTYPES_DEFINED rather than _WINSOCK_H.
2549         (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
2550         _SYS_TYPES_FD_SET.
2551         * libc/include/sys/unistd.h (gethostname): Don't declare if defined
2552         (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
2553
2554 Sat Mar 17 18:30:00 2001  Corinna Vinschen <corinna@vinschen.de>
2555
2556         * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
2557         _PC_POSIX_SECURITY constants for Cygwin.
2558
2559 Wed Mar 14  9:34:00 2001  Corinna Vinschen <corinna@vinschen.de>
2560
2561         * libc/sys/cygwin/crt0.c: Add copyright hint.
2562         * libc/sys/cygwin/sys/dirent.h: Ditto.
2563         * libc/sys/cygwin/sys/param.h: Ditto.
2564         * libc/sys/cygwin/sys/utime.h: Ditto.
2565         * libc/sys/cygwin/sys/utmp.h: Ditto.
2566
2567 2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
2568
2569         * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
2570         equivalent to LONGINT.
2571
2572 2001-03-08  Richard Sandiford  <rsandifo@redhat.com>
2573
2574         * (libc/include/machine/setjmp.h): Use 23 long long ints for a
2575         jmpbuf on MIPS64 targets.
2576         * (libc/machine/mips/setjmp.S): Add MIPS64 version.
2577
2578 Wed Mar  7 16:02:07 2001  Christopher Faylor <cgf@cygnus.com>
2579
2580         * libc/include/sys/config.h: Use ssize_t for Cygwin read/write 
2581           declarations.
2582
2583 Mon Mar  5 21:48:54 2001  J"orn Rennecke <amylaar@redhat.com>
2584
2585         * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
2586         For RTEMS, define to be ssize_t.  Default to int if not defined.
2587         * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
2588         * libc/stdio/stdio.c (__sread, __swrite): Likewise.
2589         * libc/stdio/local.h (__sread, __swrite): Likewise.
2590         * libc/include/sys/reent.h (_read, _write): Likewise.
2591         * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
2592         * libc/syscalls/sysread.c (read): Likewise.
2593         * libc/syscalls/syswrite.c (write): Likewise.
2594
2595 2001-03-05  Jeff Johnston  <jjohnstn@redhat.com>
2596
2597         * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
2598
2599 Sat Mar  3 00:34:14 2001  Christopher Faylor <cgf@cygnus.com>
2600
2601         * libc/include/sys/stat.h: Use special defines for executable stat bits
2602         when compiling for Cygwin.
2603         * libc/include/sys/unistd.h: Use special define for X_OK when compiling
2604         for Cygwin.
2605
2606 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
2607
2608         * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
2609         of strtok_r is always defined.
2610
2611 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
2612
2613         * libc/include/machine/ansi.h: New dummy header file.
2614
2615 2001-02-22  Jeff Johnston  <jjohnstn@redhat.com>
2616
2617         * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
2618         changed the copyright information to allow free modification of the
2619         file with no reference to "copying.dj".
2620         * libc/include/sys/stat-dj.h: Ditto.
2621         * libc/machine/i386/setjmp.S: Ditto.
2622         * libc/sys/h8300hms/sys/file.h: Ditto.
2623         * libc/sys/sysmec/access.c: Ditto.
2624         * libc/sys/sysnecv850/access.c: Ditto.
2625         * libc/stdio/mktemp.c: Fixed typo for the word copyright.
2626         * libc/stdlib/getenv_r.c: Ditto.
2627         * libc/stdlib/putenv_r.c: Ditto.
2628         * libc/stdlib/setenv_r.c: Ditto.
2629         * libc/stdlib/getenv.c: Removed DJ reference since any possible
2630         modifications will now be in the _r version of this file.
2631         * libc/stdlib/putenv.c: Ditto.
2632         * libc/stdlib/setenv.c: Ditto.
2633         * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
2634         valid.  Added a reference to DJ's web page that contains his address.
2635         * libc/sys/go32/*.s: Removed references to DJ's old address.
2636         * libc/sys/go32/*.c: Ditto.
2637         * libc/sys/go32/*.h: Ditto.
2638         * libc/sys/go32/*.S: Ditto.
2639         * libc/sys/go32/sys/*.h: Ditto.
2640
2641 2001-02-21  Jeff Johnston  <jjohnstn@redhat.com>
2642
2643         * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
2644         HAVE_FCNTL flag check.
2645         * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
2646         powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
2647
2648 Thu Feb 15 01:39:51 2001  Christopher Faylor <cgf@cygnus.com>
2649
2650         * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
2651
2652 2001-02-14  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
2653
2654         * libc/include/stdlib.h: Add declarations of rand48 functions and
2655         their reentrant versions.
2656         * libc/include/sys/reent.h: Move macros from rand48.h. Add
2657         struct _rand48 for shared parameters of rand48 functions.
2658         (struct _reent): Add a variable _r48 of struct _rand48.
2659         (_REENT_INIT): Add _r48 initialization.
2660         * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
2661         (CHEWOUT_FILES): Add rand48.def.
2662         * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
2663         * libc/stdlib/Makefile.in: Regenerated.
2664         * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
2665         NetBSD C library.
2666         * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
2667         * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
2668         * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
2669         * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
2670         * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
2671         * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
2672         * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
2673         * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
2674         * libc/stdlib/rand48.c (__dorand48): Ditto.
2675         * libc/stdlib/rand48.h: Ditto, and modify declarations of global
2676         parameters into macros referring them in the reentrant structure.
2677
2678 2001-02-12  Jeff Johnston  <jjohnstn@redhat.com>
2679
2680         * libc/include/sys/stat.h: Add mknod for Cygwin now that
2681         Cygwin definition has correct prototype.
2682
2683 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
2684
2685         * libc/include/sys/stat.h: Must revert change for mknod
2686         for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
2687         prototype.
2688
2689 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
2690
2691         * libc/include/stdio.h: Revert putw prototype.
2692
2693 2001-02-08  Edward M. Lee  <tailbert@yahoo.com>
2694
2695         * libc/include/grp.h: add prototype for initgroups.
2696         * libc/include/stdio.h: fix prototype for putw.
2697         * libc/include/sys/signal.h: add prototype for killpg.
2698         * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
2699         * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
2700         vhangup and remove duplicate sysconf prototype.
2701
2702 2001-02-07  Jeff Johnston  <jjohnstn@redhat.com>
2703
2704         * libc/sys/rtems/sys/types.h: Removed.
2705
2706 2001-02-05  Charles Wilson  <cwilson@ece.gatech.edu>
2707
2708         * libc/include/locale.h: add LC_MESSAGES definition
2709
2710 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
2711
2712         * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
2713         SYS_get_argN):
2714         * libc/sys/sh/syscalls.c (__setup_argv_for_main,
2715         __setup_argv_and_call_main): New.
2716
2717 2001-01-31  Jeff Johnston  <jjohnstn@redhat.com>
2718
2719         * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
2720         if defined.
2721         (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
2722         (L_tmpnam): Changed to use __L_tmpnam__ if defined.
2723         * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
2724         appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2725
2726 Mon Jan 29 23:03:06 2001  Christopher Faylor <cgf@cygnus.com>
2727
2728         * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
2729         compiling under Cygwin.
2730
2731 2001-01-29  Jeff Johnston  <jjohnstn@redhat.com>
2732
2733         * libc/include/math.h (signgam): Change to errno-like solution
2734         using a function to return the address of the real signgam.
2735         * libc/reent/signgam.c: New file containing __signgam().
2736         * libc/reent/Makefile.am: Added signgam.c to list of files.
2737         * libc/reent/Makefile.in: Regenerated.
2738
2739 2001-01-25  Alexandre Oliva  <aoliva@redhat.com>
2740
2741         * libc/sys/sh/syscalls.c (_times): New.
2742
2743         * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
2744         * libc/sys/sh/syscalls.c (_gettimeofday): New.
2745
2746 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2747
2748         * libc/include/math.h (signgam): Regress previous fix as
2749         it does not handle programs with extern int signgam in them.
2750
2751 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2752
2753         * libc/include/math.h (signgam): Changed to a macro refering to
2754         its location in the reentrant structure.
2755
2756 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2757
2758         * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
2759         that suppressed . for %.0f, 0.1.  Check now looks if there
2760         are padding zeroes (expt) in addition to any digits (ndig) to
2761         print.
2762
2763 2001-01-18  Jeff Johnston  <jjohnstn@redhat.com>
2764
2765         * libc/sys/arc/Makefile.am: New file.
2766         * libc/sys/arc/Makefile.in: Ditto.
2767         * libc/sys/arc/aclocal.m4: Ditto.
2768         * libc/sys/arc/configure: Ditto.
2769         * libc/sys/arc/configure.in: Ditto.
2770         * libc/sys/arc/crt0.S: Ditto.
2771         * libc/sys/arc/isatty.c: Ditto.
2772         * libc/sys/arc/mem-layout.c: Ditto.
2773         * libc/sys/arc/sbrk.c: Ditto.
2774         * libc/sys/arc/syscalls.c: Ditto.
2775         * libc/sys/arc/sys/syscall.h: Ditto.
2776
2777 Wed Jan 17 23:20:56 2001  Christopher Faylor <cgf@cygnus.com>
2778
2779         * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2780
2781 Fri Jan 12 00:34:31 2001  Christopher Faylor <cgf@cygnus.com>
2782
2783         * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2784
2785 Thu Jan 11 20:42:06  2001  Earnie Boyd  <earnie_boyd@yahoo.com>
2786
2787         * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2788
2789 2001-01-09  Nick Clifton  <nickc@redhat.com>
2790
2791         * configure.host (v859): Remove unsupported compiler options.
2792
2793 Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  <aaron@frye.com>
2794
2795         * src/newlib/configure.host (*-*-rtems*): add printf long long
2796         support for RTEMS.
2797
2798 2000-12-19  Graham Stott <grahams@redhat.com>
2799
2800         * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2801
2802 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2803
2804         * configure.host: Turn on long double I/O for Cygwin.
2805
2806 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2807
2808         * MAINTAINERS: Removed Ranjith.
2809         * NEWS: Updated for 1.9.0.
2810         * README: Updated.
2811         * acinclude.m4: Updated to release 1.9.0.
2812         * aclocal.m4 configure
2813           doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2814           libc/machine/aclocal.m4 libc/machine/configure
2815           libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2816           libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2817           libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2818           libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2819           libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2820           libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2821           libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2822           libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2823           libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2824           libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2825           libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2826           libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2827           libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2828           libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2829           libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2830           libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2831           libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2832           libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2833           libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2834           libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2835           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2836           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2837           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2838           libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2839           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2840           libc/sys/aclocal.m4 libc/sys/configure
2841           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2842           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2843           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2844           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2845           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2846           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2847           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2848           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2849           libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2850           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2851           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2852           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2853           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2854           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2855           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2856           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2857           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2858           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2859           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2860           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2861           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2862           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2863           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2864           libm/aclocal.m4 libm/configure: Regenerated.
2865
2866 Wed Dec 13 11:52:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2867
2868         * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2869         when __CYGWIN__ is defined.
2870
2871 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2872
2873         * libc/stdlib/ldtoa.c (_ldcheck): New routine
2874         that categorizes a long double as NaN, Infinity, or other.
2875         * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed 
2876         isinfl and isnanl static routines which were i386-specific.  Changed 
2877         calls to the two removed routines to a single _ldcheck call.
2878         * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2879
2880 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2881
2882         * Makefile.am: Fixed install-data-local target to use
2883         $(mkinstalldirs) for the installed header files to ensure
2884         the directories exist before copying.
2885         * Makefile.in: Regenerated.
2886
2887 2000-12-12  Jeff Johnston  <jjohnstn@redhat.com>
2888
2889         * libc/include/sys/unistd.h: Restored Cygwin _SC
2890         constants and moved new constants appropriately
2891         so Cygwin will build.
2892
2893 2000-12-11  Joel Sherrill <joel@OARcorp.com>
2894
2895         * Merge RTEMS specific .h files into main libc/include.
2896         * libc/sys/rtems/include/signal.h: Removed.
2897         * libc/sys/rtems/include/time.h: Removed.
2898         * libc/sys/rtems/sys/features.h: Removed.
2899         * libc/sys/rtems/sys/sched.h: Removed.
2900         * libc/sys/rtems/sys/siginfo.h: Removed.
2901         * libc/sys/rtems/sys/signal.h: Removed.
2902         * libc/sys/rtems/sys/time.h: Removed.
2903         * libc/sys/rtems/sys/times.h: Removed.
2904         definitions for time_t and clock_t since these are
2905         no longer in time.h.
2906         * libc/include/pthread.h: New file.
2907         * libc/include/sys/sched.h: New file.
2908         * libc/include/sys/features.h: New file.
2909         * libc/include/time.h: Removed duplicate definition of clock_t
2910         and time_t, get them from <sys/types.h> instead.  Add prototypes
2911         for POSIX clock and timer functionality.
2912         * libc/sys/linux/sys/types.h: Changed to include
2913         * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2914         * libc/include/sys/signal.h: Add more complete set of POSIX
2915         signal functionality including real-time and threaded signals.
2916         * libc/include/sys/types.h: Add clock_t, time_t, struct
2917         timespec, and struct itimerspec.  Centralizing these makes 
2918         things cleaner.  RTEMS uses 64-bit dev_t.
2919         Added numerous primitive definitions
2920         for pthreads including macros, pthread_attr_t,
2921         pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, 
2922         pthread_once_t, and pthread_t.
2923         * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2924         If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2925         Feature flags removed and moved to new file <sys/features.h>.
2926         Full set of POSIX sysconf() constants
2927
2928 2000-12-08  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2929
2930         * configure.host: Added x86 linux target.
2931         * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2932         definitions provided if not already defined.
2933         * libc/sys/linux/crt0.c: New file.
2934         * libc/sys/linux/Makefile.am: Ditto.
2935         * libc/sys/linux/Makefile.in: Ditto.
2936         * libc/sys/linux/aclocal.m4: Ditto.
2937         * libc/sys/linux/brk.c: Ditto.
2938         * libc/sys/linux/configure: Ditto.
2939         * libc/sys/linux/configure.in: Ditto.
2940         * libc/sys/linux/getoptlong.c: Ditto.
2941         * libc/sys/linux/ids.c: Ditto.
2942         * libc/sys/linux/inode.c: Ditto.
2943         * libc/sys/linux/io.c: Ditto.
2944         * libc/sys/linux/linux.c: Ditto.
2945         * libc/sys/linux/process.c: Ditto.
2946         * libc/sys/linux/realpath.c: Ditto.
2947         * libc/sys/linux/select.c: Ditto.
2948         * libc/sys/linux/signal.c: Ditto.
2949         * libc/sys/linux/systat.c: Ditto.
2950         * libc/sys/linux/termios.c: Ditto.
2951         * libc/sys/linux/time.c: Ditto.
2952         * libc/sys/linux/wait.c: Ditto.
2953         * libc/sys/linux/include/alloca.h: Ditto.
2954         * libc/sys/linux/include/getopt.h: Ditto.
2955         * libc/sys/linux/include/stdint.h: Ditto.
2956         * libc/sys/linux/include/unistd.h: Ditto.
2957         * libc/sys/linux/sys/cdefs.h: Ditto.
2958         * libc/sys/linux/sys/dirent.h: Ditto.
2959         * libc/sys/linux/sys/errno.h: Ditto.
2960         * libc/sys/linux/sys/fcntl.h: Ditto.
2961         * libc/sys/linux/sys/file.h: Ditto.
2962         * libc/sys/linux/sys/ioctl.h: Ditto.
2963         * libc/sys/linux/sys/resource.h: Ditto.
2964         * libc/sys/linux/sys/signal.h: Ditto.
2965         * libc/sys/linux/sys/stat.h: Ditto.
2966         * libc/sys/linux/sys/syscall.h: Ditto.
2967         * libc/sys/linux/sys/termios.h: Ditto.
2968         * libc/sys/linux/sys/time.h: Ditto.
2969         * libc/sys/linux/sys/types.h: Ditto.
2970         * libc/sys/linux/sys/utmp.h: Ditto.
2971         * libc/sys/linux/sys/utsname.h: Ditto.
2972         * libc/sys/linux/sys/wait.h: Ditto.
2973
2974 2000-12-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2975
2976         * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)  
2977         can be a relative path to $(top_srcdir)/install.sh so ensure the
2978         autoconf detected settings are properly passed recursively.
2979         Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2980         properly to subdirectories.
2981         * Makefile.in: Regenerated.
2982
2983 2000-12-07  Jay Kulpinski <jskulpin@eng01.gdds.com>
2984
2985         * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2986         a floating point register unless really printing a floating
2987         point number.
2988
2989 2000-12-07  Jeff Johnston  <jjohnstn@redhat.com>
2990
2991         * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2992         Also removed \r's.
2993         (asctoeg): Replaced alloca call with stack array and malloc
2994         when storage exceeds reasonable limit.
2995         (e53toe): Fixed einfin calls missing ldp parameter.
2996         (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2997
2998 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2999
3000
3001         * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
3002
3003 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
3004
3005         * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
3006         * libc/stdlib/Makefile.in: Regenerated.
3007         * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
3008         * libc/stdio/vfieeefp.h: Added long double bit structures.
3009         * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
3010         [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
3011         (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
3012         * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
3013         * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
3014         _strtold routines used for conversions between character
3015         and long double.
3016
3017 Wed Dec  6 12:01:00 2000  Corinna Vinschen <vinschen@cygnus.com>
3018
3019         * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
3020
3021 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3022
3023         * libc/include/machine/time.h: RTEMS systems can configure clock
3024         tick rate so use sysconf() to ask.
3025
3026 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3027
3028         * libc/include/sys/times.h: Add reference to POSIX standard.
3029
3030 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3031
3032         * libc/include/sys/time.h: Added BSD timer manipulation macros
3033         used by RTEMS code.
3034
3035 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3036
3037         * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
3038         referenced by code generated by gcc 2.8.1.
3039         (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to 
3040         satisfy gcc.
3041
3042 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3043
3044         * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
3045
3046 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3047
3048         * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
3049
3050 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3051
3052         * configure.host (or16, or32): New entries for OpenCores
3053         OpenRisc CPUs.
3054         (*-*-rtems*): Add -DNO_EXEC.
3055
3056 2000-12-04  Keith Outwater <vac4050@cae597.rsc.raytheon.com>
3057
3058         * libc/include/sys/errno.h: Added comments on many error numbers.
3059         * libc/string/strerror.c: Added some more strings.
3060
3061 2000-11-30  Jeff Johnston <jjohnstn@redhat.com>
3062
3063         * libc/sys/sh/syscalls.c (_link): New stub.
3064
3065 2000-11-29  Nick Clifton  <nickc@redhat.com>
3066
3067         * configure.host: Add xscale target.
3068         * libc/machine/xscale: New directory.
3069         * libc/machine/xscale/Makefile.am: New file.
3070         * libc/machine/xscale/Makefile.in: New file.
3071         * libc/machine/xscale/aclocal.m4: New file.
3072         * libc/machine/xscale/configure: New file.
3073         * libc/machine/xscale/configure.in: New file.
3074         * libc/machine/xscale/memchr.S: New file.
3075         * libc/machine/xscale/memcmp.S: New file.
3076         * libc/machine/xscale/memcpy.S: New file.
3077         * libc/machine/xscale/memmove.S: New file.
3078         * libc/machine/xscale/memset.S: New file.
3079         * libc/machine/xscale/strchr.S: New file.
3080         * libc/machine/xscale/strcmp.S: New file.
3081         * libc/machine/xscale/strcpy.S: New file.
3082         * libc/machine/xscale/strlen.S: New file.
3083
3084 Sat Nov 25 11:24:00 2000  Corinna Vinschen <vinschen@cygnus.com>
3085
3086         * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
3087         avoid compiler warnings.
3088
3089 2000-11-22  Michael Meissner  <meissner@redhat.com>
3090
3091         * libc/posix/execl.c (execl): Don't reference environ directly,
3092         reference it only via a static pointer to avoid problems with some
3093         shared library systems and with different uses of small data where
3094         the user specifies his own version of environ.
3095         * libc/posix/execv.c (execv): Ditto.
3096         * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
3097         * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
3098         * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
3099
3100         * libc/stdlib/getenv.c (environ): Delete unused reference to
3101         environ.
3102
3103         * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
3104         colorization.
3105         * libc/stdlib/system.c: Ditto.
3106
3107 Tue Nov 21 20:32:21 2000  Christopher Faylor <cgf@cygnus.com>
3108
3109         * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
3110         including windows headers.
3111
3112 2000-11-20  Jeff Johnston  <jjohnstn@redhat.com>
3113
3114         * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
3115         * libc/include/dirent.h: Added definition of MAXNAMLEN if
3116         not defined by sys/dirent.h.
3117         * libc/posix/execvp.c: Added include of dirent.h to get
3118         MAXNAMLEN value which used to be in unistd.h.
3119
3120 Mon Nov  6 12:56:00 2000  Corinna Vinschen <vinschen@cygnus.com>
3121
3122         * libc/include/sys/types.h: Change type of i to `size_t' in
3123         FD_ZERO macro to avoid compiler warnings.
3124
3125 Sun Oct 29 20:06:41 2000  Christopher Faylor <cgf@cygnus.com>
3126
3127         * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
3128         * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
3129
3130 Tue Oct 24 20:16:00 2000  Corinna Vinschen <vinschen@cygnus.com>
3131
3132         * libc/include/sys/unistd.h: Add defines for sysconf values
3133         _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
3134         _SC_AVPHYS_PAGES.
3135
3136 Mon Oct  9 20:26:33 2000  Christopher Faylor <cgf@cygnus.com>
3137
3138         * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
3139         declarations for __CYGWIN__.
3140
3141 2000-09-19  Geoffrey Keating  <geoffk@cygnus.com>
3142
3143         * libc/signal/signal.c (__sigtramp_r): ISO C requires
3144         case labels to be integral constant expressions, so
3145         use an if/else tree instead.
3146         (_raise_r): Likewise.
3147
3148 2000-09-13  Jeff Johnston  <jjohnstn@redhat.com>
3149
3150         * libc/machine/v850/setjmp.S: Fixed tab problems caused by
3151         clipping patch from e-mail reader.
3152
3153 2000-09-13  Will Cohen  <wcohen@redhat.com>
3154
3155         * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
3156         Added return value 0.
3157         (_longjmp): Allow longjmp to return value of second argument
3158         passed to it.
3159
3160 2000-09-06  Jeff Johnston <jjohnstn@redhat.com>
3161
3162         * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
3163         inline code to prevent having to include another header file.
3164
3165 Wed Sep  6 15:06:40 2000  Christopher Faylor <cgf@cygnus.com>
3166
3167         * Makefile.am: Fix space vs. tab problem in install-data-local.
3168         * Makefile.in: Regenerate.
3169
3170 Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com>
3171
3172         * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
3173         (_EXPARM): New macro for defining a function parameter.
3174         * libc/include/stdlib.h: Use _EXPARM.
3175         * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
3176
3177 2000-09-05  Manfred Hollstein  <manfredh@redhat.com>
3178
3179         * Makefile.am (install-data-local): Use optional $(DESTDIR) where
3180         required, as documented in the gnu coding standards.
3181         * Makefile.in: Regenerate.
3182
3183 2000-09-05  Jeff Johnston <jjohnstn@redhat.com>
3184
3185         * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
3186         make O_NDELAY and O_NONBLOCK have the same value.
3187
3188 2000-08-30  Kazu Hirata  <kazu@hxi.com>
3189
3190         * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
3191
3192 2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3193
3194         * libc/posix/execve.c: included unistd.h for "_execve" prototype.
3195         * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
3196         "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
3197         everywhere else.
3198
3199 2000-08-30  Geoffrey Keating  <geoffk@cygnus.com>
3200
3201         * libc/string/swab.c: Specify that it's defined in <unistd.h>.
3202         * libc/include/string.h: Don't include <sys/types.h>,
3203         as it causes really bad namespace pollution.  Don't declare
3204         swab(), it is properly declared in unistd.h.
3205
3206 2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3207
3208         * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
3209         (broken) support for non-existent /etc/passwd field "comment".
3210
3211 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3212
3213         * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
3214         only if _DIRENT_HAVE_D_NAMLEN is defined.
3215         (alphasort): aligned prototype with
3216         libc/sys/cygwin/sys/dirent.h and simplified function body.
3217         * libc/posix/telldir.c (telldir): changed "telldir" prototype to
3218         long telldir (DIR *) as mentioned in annex B of POSIX.1
3219
3220 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3221
3222         * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
3223         of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
3224         Added __CLI and __STI macros (controlled via
3225         _I386MACH_ALLOW_HW_INTERRUPTS macro).
3226         * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
3227         libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
3228         libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
3229         libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
3230         libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
3231         libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
3232         libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
3233         libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
3234         libc/machine/i386/memset.S libc/machine/i386/setjmp.S
3235         libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
3236         (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
3237         for all global entry points.
3238         * libc/machine/i386/setjmp.S: removed code replicated in
3239         libc/machine/i386/i386mach.h and included i386mach.h instead;
3240         Use __CLI and __STI instead of cli and sti.
3241
3242 2000-08-25  DJ Delorie  <dj@redhat.com>
3243
3244         * libc/include/sys/unistd.h (environ): this one isn't from the
3245         DLL, no __IMPORT
3246
3247 Fri Aug 25 13:37:11 2000  Christopher Faylor <cgf@cygnus.com>
3248
3249         * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
3250         environ when compiling under cygwin since it is already declared in
3251         unistd.h.
3252
3253 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3254
3255         * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
3256         like  x << y-z  to the equivalent  x << (y-z).
3257         (d2b): changed if statements with assignment to perform the
3258         assignment prior to the if check.
3259         * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
3260         * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
3261         * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
3262         * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
3263         precedence.
3264         * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
3265         Added "_execve" prototype (for execl.c, execle.c, execv.c, and 
3266         execve.c).
3267         * libc/posix/popen.c (popen): added parentheses to clarify && and ||
3268         precedence.
3269         * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
3270         clarify && and || precendence (and to remove pascalism).
3271         * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
3272         * libm/math/s_infconst.c: added another pair of braces to all
3273         initializers for __infinity (need three: for __infinity[1] array,
3274         for union __dmath, and for i[2]).
3275
3276 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3277
3278         * libc/stdlib/abort.c: changed description: uses "raise" instead of
3279         "getpid" and "kill"; added: uses "write" and "_exit".
3280         Also included unistd.h for "_exit" prototype.
3281         * libc/stdlib/system.c: included unistd.h for "execve" prototype,
3282         reent.h for "_fork_r" and "_wait_r" prototypes.
3283         (do_system): changed  extern char *environ[] to POSIX-friendly 
3284         extern char **environ.
3285         * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
3286         prototypes.
3287         * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
3288         * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
3289         * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
3290         * libc/reent/openr.c: included fcntl.h for "open" prototype.
3291         * libc/reent/signalr.c: included signal.h for "kill" prototype,
3292         unistd.h for "getpid" prototype.
3293         * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
3294         * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
3295         * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
3296         prototype.  Also included stdlib.h for "abort", string.h for
3297         "strdup" and "strncmp" prototypes.
3298         * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
3299         "strncpy", unistd.h for "read" and "close" prototypes.
3300         * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
3301         "strcat" prototypes.
3302
3303 2000-08-23  Werner Almesberger  <Wernen Almesberger@epfl.ch>
3304
3305         * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
3306         used later (ifdef __SCLE)
3307         * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
3308         used later (ifdef MB_CAPABLE)
3309         * libc/string/memset.c (memset): removed unused variables "count"
3310         and "unaligned_addr"
3311         * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
3312         "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
3313         * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
3314         and "gid"
3315
3316 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3317
3318         * libc/stdlib/envlock.c: changed documented "__env_lock" and
3319         "__env_unlock" prototype from "void *" or "char *" to
3320         "struct _reent *" to match real function.  Also added include
3321         of envlock.h.
3322         * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
3323         "__malloc_unlock" prototype from "void *" or "char *" to
3324         "struct _reent *" to match real function.
3325         * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
3326         prototypes (for getenv_r.c and setenv_r.c).
3327
3328 2000-08-22  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3329
3330         * libc/unix/getut.c (utmpname): added _CONST to reflect common use
3331         and prototype in cygwin's utmp.h
3332
3333 2000-08-16  Eric Fifer  <efifer@sanwaint.com>
3334
3335         * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
3336
3337 2000-08-09  Nick Clifton  <nickc@cygnus.com>
3338
3339         * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
3340         epilogue and to allow the functions to be used in a Thumb based
3341         toolchain.
3342
3343 2000-08-08  Jeff Johnston <jjohnstn@redhat.com>
3344
3345         * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
3346         so size of 0 results in nothing being written to string.
3347         Also fixed code so that when size is non-zero, there is only
3348         a maximum of size - 1 characters written to the array and
3349         a nul terminator is appended at the end.
3350         * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3351
3352 2000-08-01  DJ Delorie  <dj@redhat.com>
3353
3354         * libc/include/sys/config.h: define __IMPORT appropriately
3355         * libc/include/ctype.h (_ctype_): use __IMPORT
3356         * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
3357         * libc/include/math.h (__mb_cur_max): ditto
3358         * libc/include/time.h (_timezone, _daylight, _tzname): ditto
3359         * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
3360         * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
3361         * libc/include/unistd.h (environ): ditto
3362
3363 2000-07-28  Michael Meissner  <meissner@redhat.com>
3364
3365         * libc/include/math.h (__infinity): Declare as an array without
3366         bounds to get around small data support.  Rewrite Cygwin support
3367         to be more general.
3368         * libm/math/s_infconst.c (__infinity): Ditto.
3369         * libm/mathfp/s_infconst.c (__infinity): Ditto.
3370
3371 Thu Jul 27 10:46:01 2000  Christopher Faylor <cgf@cygnus.com>
3372
3373         * libc/include/math.h: Use appropriate dll import linkage for
3374         __infinity under Cygwin.
3375
3376 2000-07-13  DJ Delorie  <dj@cygnus.com>
3377
3378         * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
3379
3380 Wed Jun 28 14:08:00 2000  Keith Walker  <keith.walker@arm.com>
3381
3382         * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
3383         to argument list for AngelSWI_Reason_GetCmdLine.
3384
3385 Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  <marekm@linux.org.pl>
3386
3387         * configure.host: Add support for AVR target.
3388         * libc/include/machine/ieeefp.h: Likewise.
3389         * libc/include/sys/config.h: Likewise.
3390
3391 Thu Jun 22 18:35:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
3392
3393         * README: Newlib 1.8.2 must be built in a separate directory
3394         than the sources.
3395
3396 Tue Jun 20 14:30:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3397
3398         * libc/include/sys/reent.h (_rand_next): Added __extension__
3399         qualifier as long long type is not strict ANSI.
3400         * libc/stdlib/rand.c (rand): Added __extension__ qualifier
3401         to long long constant.
3402
3403 Fri Jun 16 23:02:00 2000  Corinna Vinschen <corinna@vinschen.de>
3404
3405         * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
3406         `setegid' provided by Cygwin.
3407
3408 Thu Jun 15  0:21:00 2000  Corinna Vinschen <corinna@vinschen.de>
3409
3410         * libc/stdio/fdopen.c: Take explicit given bin/textmode into
3411         account for Cygwin.
3412
3413 Fri Jun  9 14:28:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3414
3415         * libc/include/sys/reent.h (_rand_next): Changed to
3416         unsigned long long and moved to end of _reent struct in _new union.
3417         (_REENT_INIT): Changed to move _rand_next initialization.
3418         * libc/stdlib/rand.c (rand): Changed to use unsigned long long
3419         linear congruential algorithm that is used by DJGPP.
3420
3421 Thu Jun  8 21:18:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
3422
3423         * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
3424         * libc/include/sys/config.h: Define __RAND_MAX.
3425
3426 Thu Jun  8 17:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3427
3428         * libc/stdlib/rand_r.c: New algorithm that meets minimal
3429         standard.
3430
3431 Fri Jun  2 23:02:11 2000  Christopher Faylor <cgf@cygnus.com>
3432
3433         * libc/include/string.h: Work around problem with strsignal and gdb.
3434
3435 Tue May 30 13:13:01 2000  Christopher Faylor <cgf@cygnus.com>
3436
3437         * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
3438         * libc/include/malloc.h: Ditto.
3439         * libc/include/process.h: Ditto.
3440         * libc/include/stdio.h: Ditto.
3441         * libc/include/stdlib.h: Ditto.
3442         * libc/include/time.h: Ditto.
3443         * libc/include/machine/setjmp.h: Ditto.
3444         * libc/include/sys/errno.h: Ditto.
3445         * libc/include/sys/signal.h: Ditto.
3446         * libc/include/sys/stat.h: Ditto.
3447         * libc/include/sys/time.h: Ditto.
3448         * libc/include/sys/unistd.h: Ditto.
3449         * libc/include/string.h: Ditto.  strsignal should return a const char *.
3450
3451 2000-05-26  Marek Michalkiewicz  <marekm@linux.org.pl>
3452
3453         * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
3454         * libm/common/s_log1p.c (log1p): Likewise.
3455         * libm/common/s_scalbn.c (scalbn): Likewise.
3456         * libm/math/e_log.c: Likewise.
3457         * libm/math/e_asin.c: Likewise.
3458         * libm/math/ef_asin.c: Likewise.
3459         * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
3460         * libm/math/e_j1.c (pone, qone): Likewise.
3461         * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
3462         * libm/math/ef_j1.c (ponef, qonef): Likewise.
3463         * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
3464         * libm/mathfp/e_j1.c (pone, qone): Likewise.
3465         * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
3466         * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
3467
3468 2000-05-19  DJ Delorie  <dj@cygnus.com>
3469
3470         * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
3471         (__sread): always read in binary mode
3472         (__swrite): always write in binary mode
3473         * libc/include/stdio.h: no getc/putc macros for cygwin; causes
3474         compatibility issues with different dll versions
3475         * libc/stdio/fopen.c: use __stextmode
3476         * libc/stdio/fdopen.c: ditto
3477         * libc/stdio/freopen.c: ditto
3478         * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
3479         * libc/stdio/local.h: declare __stextmode
3480         
3481 2000-05-18  DJ Delorie  <dj@cygnus.com>
3482
3483         * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
3484         
3485 Mon May 15 18:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3486
3487         * libc/include/ctype.h: Changed tolower and toupper macros
3488         to use __extension__ to prevent pedantic warnings.
3489
3490 Mon May 15 14:26:00 2000  Joel Sherrill  <joel@oarcorp.com>
3491
3492         * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
3493         structures.
3494
3495 Wed May 10 19:24:53 2000  Jim Wilson  <wilson@cygnus.com>
3496
3497         * libc/include/machine/ieeefp.h: Add ia64 support.
3498         * configure.host: Likewise.
3499
3500 Wed May 10 13:52:24 2000  Egor Duda <deo@logos-m.ru>
3501
3502         * libc/time/asctime_r.c (asctime_r): Change output format. Day of
3503         month is now padded with space, not zero.  This now conforms to
3504         ANSI standard.
3505
3506 Wed May 03 17:57:00 2000  Corinna Vinschen <corinna@vinschen.de>
3507
3508         * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
3509         host or network path") used by cygwin. Add some comments.
3510
3511 Tue May 02 23:45:48 2000  DJ Delorie  <dj@cygnus.com>
3512
3513         * libc/include/stdio.h (FILE): define __SCLE for "convert line
3514         endings" for Cygwin.
3515         (__sgetc): convert line endings if needed
3516         (__sputc): ditto
3517         * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
3518         * libc/stdio/fopen.c (_fopen_r): ditto
3519         * libc/stdio/freopen.c (freopen): ditto
3520         * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
3521         * libc/stdio/fvwrite.c (__sfvwrite): ditto
3522
3523 Thu Apr 27 07:45:48 2000  Alexandre Oliva  <aoliva@cygnus.com>
3524
3525         * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
3526         post-increment when it is worth it, spacewise.
3527
3528 Mon Apr 17 12:46:00 2000  Marek Michalkiewicz <marekm@linux.org.pl>
3529
3530         * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
3531         * libc/stdio/findfp.c (std): Added declaration of flags and file.
3532         * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int 
3533         return type.
3534         * libc/stdio/putchar.c (putchar): Added return statement.
3535         * libc/stdio/refill.c (lflush): Added correct parentheses.
3536         * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3537         * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which 
3538         prints long value to use l qualifier.
3539         * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
3540         messages and initialized local values: ilim, ilim1, and spec_case.
3541         * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
3542         * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
3543         * libc/stdlib/mprec.c: Ditto.
3544         * libc/stdlib/setenv_r.c: Ditto.
3545         * libc/stdlib/strtod.c: Ditto.
3546         * libc/stdlib/strtol.c: Ditto.
3547         * libc/stdlib/strtoul.c: Ditto.
3548         * libm/common/sf_expm1.c: Added curly braces to if else clauses.
3549         * libm/common/sf_log1p.c: Ditto.
3550         * libm/common/sf_scalbn.c: Ditto.
3551         * libm/math/ef_log.c: Ditto.
3552
3553 Sun Apr 16 12:45:00 2000  Corinna Vinschen <corinna@vinschen.de>
3554
3555         * libc/posix/execvp.c (execvp): Check path for
3556         trailing slash.
3557
3558 Fri Mar 31 20:39:00 2000  Corinna Vinschen <corinna@vinschen.de>
3559
3560         * libc/include/sys/unistd.h: Add prototypes for
3561         fchmod, fchown, lchown.
3562
3563 Fri Mar 24 15:34:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3564
3565         * acinclude.m4: Changed release to 1.8.2.
3566         * aclocal.m4 configure doc/aclocal.m4 doc/configure
3567           libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
3568           libc/machine/configure libc/machine/a29k/aclocal.m4
3569           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3570           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3571           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3572           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3573           libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
3574           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3575           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3576           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3577           libc/machine/i386/configure libc/machine/i960/aclocal.m4
3578           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3579           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3580           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3581           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3582           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3583           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3584           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3585           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3586           libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3587           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3588           libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3589           libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3590           libc/machine/v850/configure libc/machine/w65/aclocal.m4
3591           libc/machine/w65/configure libc/machine/z8k/aclocal.m4
3592           libc/machine/z8k/configure libc/sys/aclocal.m4
3593           libc/sys/aclocal.m4 libc/sys/configure
3594           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3595           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
3596           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
3597           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3598           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3599           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3600           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3601           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3602           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3603           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3604           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3605           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3606           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3607           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3608           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3609           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3610           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3611           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3612           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3613           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3614           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3615           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3616           libm/aclocal.m4 libm/configure: Regenerated.
3617
3618 2000-03-24  Nick Clifton  <nickc@cygnus.com>
3619
3620         * libc/sys/arm/syscalls.c: Fix compile time warnings.
3621         (do_AngelSWI): Add "cc" to list o registers clobbered.
3622
3623 Thu Mar 22 14:57:00 2000  Fernando Nasser <fnasser@redhat.com>
3624
3625         * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
3626         information to be clobbered by an Angel C library support syscall. 
3627
3628 Tue Mar 21 19:08:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3629
3630         * libc/stdlib/envlock.c: Fixed comment typo.
3631
3632 Fri Mar 17 15:37:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3633
3634         * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
3635         code to update nread as each character is processed instead
3636         of using buffer contents which throw away leading zeroes.
3637
3638 Mon Mar 13 15:22:00 2000  Sergei Organov <osv@javad.ru>
3639
3640         * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
3641
3642 Fri Mar 10 16:09:20 2000  Jeff Johnston <jjohnstn@cygnus.com>
3643
3644         * libc/include/string.h: Include <sys/types.h>.
3645
3646 Fri Mar 10 14:53:50 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3647
3648         * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
3649         with XSH5, not SVID.
3650
3651 Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
3652
3653         * libc/include/string.h: Changed last argument back to ssize_t
3654         to make it compatible with XPG4 definition which is 
3655         defined in <unistd.h>.  There is a conflict in the SVID 3
3656         and XPG4 definitions and newlib will settle with XPG4.
3657         * libc/string/swab.c: Ditto.
3658
3659 Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
3660
3661         * libc/include/string.h: Changed last argument to size_t.
3662         * libc/string/swab.c: Changed last argument to size_t.
3663
3664 Wed Mar  8 00:46:41 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3665
3666         * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
3667         (CHEWOUT_FILES): Added unlinkr.def.
3668         * libc/reent/Makefile.in: Rebuilt.
3669         * libc/sys.tex: Include unlinkr.def.
3670         * libc/reent/linkr.c (_unlink_r): Moved to...
3671         * libc/reent/unlinkr.c: ... new file.
3672
3673 Wed Mar  8 00:43:07 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3674
3675         * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
3676         (CHEWOUT_FILES): Added swab.def.
3677         * libc/string/Makefile.in: Rebuilt.
3678         * libc/string/string.tex: Include swab.def.
3679         * libc/include/string.h (swab): Declare.
3680         * libc/string/swab.c: New file.
3681
3682 Wed Mar  8 00:38:35 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3683
3684         * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
3685         (CHEWOUT_FILES): Added getw.def and putw.def.
3686         * libc/stdio/Makefile.in: Rebuilt.
3687         * libc/stdio/stdio.tex: Include getw.def and putw.def.
3688         * libc/stdio/getw.c: New file.
3689         * libc/stdio/putw.c: New file.
3690
3691 Fri Feb 25 14:50:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
3692
3693         * libc/stdio/flags.c (__sflags): Added check that mode[1]
3694         is non-null before looking at mode[2].
3695
3696 Thu Feb 24 11:43:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
3697
3698         * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
3699         * libm/mathfp/sf_atan.c: Ditto.
3700
3701 Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>
3702
3703         * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
3704
3705 Tue Feb 22 14:37:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
3706
3707         * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
3708         _DOUBLE_IS_32BITS.
3709
3710 Mon Feb 21 11:43:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
3711
3712         * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
3713         call prior to calling _VFPRINTF_R so reentrant data area is set.
3714         (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
3715
3716 Thu Feb 17 01:42:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3717
3718         * libc/stdio/vfscanf.c (limits.h): #include.
3719         (MAX_LONG_LEN): #define.
3720         (__svfscanf): Handle floating point numbers with arbitrary amounts
3721         of leading zeroes.
3722
3723 2000-02-15  Nick Clifton  <nickc@cygnus.com>
3724
3725         * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
3726         zero.  Set the blocksize to 1024/
3727
3728 Thu Jan 20 18:57:00 2000  Fernando Nasser <fnasser@redhat.com>
3729
3730         * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
3731         with line buffering.
3732
3733 Mon Jan 10 18:43:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3734
3735         * acinclude.m4: Changed include directory for winsup headers. 
3736         * aclocal.m4 configure libc/aclocal.m4
3737           libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
3738           libc/locale/Makefile.in libc/machine/aclocal.m4
3739           libc/machine/configure libc/machine/a29k/aclocal.m4
3740           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3741           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3742           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3743           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3744           libc/machine/fr30/configure
3745           libc/machine/h8300/aclocal.m4
3746           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3747           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3748           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3749           libc/machine/i386/configure libc/machine/i960/aclocal.m4
3750           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3751           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3752           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3753           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3754           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3755           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3756           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3757           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3758           libc/machine/powerpc/configure 
3759           libc/machine/sh/aclocal.m4
3760           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3761           libc/machine/sparc/configure
3762           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3763           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3764           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3765           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3766           libc/misc/Makefile.in libc/posix/Makefile.in
3767           libc/reent/Makefile.in 
3768           libc/signal/Makefile.in
3769           libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3770           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3771           libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3772           libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3773           libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3774           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3775           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3776           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3777           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3778           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3779           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3780           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3781           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3782           libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3783           libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3784           libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3785           libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3786           libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3787           libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3788           libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3789           libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3790           libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3791           libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3792           libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3793           libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3794           libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3795           libm/configure: Regenerated.
3796
3797 Mon Jan 10 18:43:46 2000  Jeff Johnston <jjohnstn@cygnus.com>
3798
3799         * libc/stdlib/putenv_r.c (_putenv_r): New file.
3800         * libc/stdlib/strdup_r.c (_strdup_r): New file.
3801         * libc/include/string.h: Added _strdup_r.
3802         * libc/stdlib/putenv.c: Added call to reentrant version. 
3803         * libc/stdlib/strdup.c: Ditto.
3804         * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3805         * libc/include/stdlib.h: Ditto.
3806         * libc/stdlib/Makefile.in: Regenerated. 
3807         * libc/string/Makefile.in: Regenerated.
3808         * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3809         * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3810         management calls to reentrant versions.
3811         * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3812         * libc/stdlib/wctomb.c: Ditto.
3813         * libc/stdlib/mblen.c: Ditto.
3814         * libc/stdlib/mbstowcs.c: Ditto.
3815         * libc/stdlib/mbtowc.c: Ditto. 
3816         * libc/stdlib/getenv.c: Ditto.
3817         * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3818         and _strdup_r.
3819
3820 Thu Jan  6 15:33:46 2000  Christopher Faylor <cgf@cygnus.com>
3821
3822         patch from Corinna Vinschen <corinna@vinschen.de>
3823         * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3824
3825 Mon Jan 03 14:36:00 2000  Sergei Organov <osv@javad.ru>
3826
3827         * libm/mathfp/s_atangent.c: Fix exponent calculation.
3828         * libm/mathfp/s_ldexp.c: Ditto.
3829         * libm/mathfp/sf_atangent.c: Ditto.
3830         * libm/mathfp/sf_ldexp.c: Ditto.
3831
3832 Tue Dec 14 5:42:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3833
3834         * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3835         * libc/include/locale.h: define NULL to be 0.
3836
3837 Tue Dec  7 15:41:45 1999  Jim Wilson  <wilson@cygnus.com>
3838
3839         * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3840         function.
3841
3842 Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
3843
3844         * libc/machine/mn10300/setjmp.S: Handle am33.
3845
3846 1999-11-26  Nick Clifton  <nickc@cygnus.com>
3847
3848         * libc/sys/arm/syscalls.c: Add function prototypes.
3849         (stack_ptr): Move declaration before function definitions.
3850
3851 Sat Nov 20 17:13:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3852
3853         * NEWS: Updated version information.
3854         * README: Ditto.
3855
3856 Tue Nov 09 12:19:21 1999  Jeff Johnston <jjohnstn@cygnus.com>
3857
3858         * libc/machine/i386/strchr.S: Fixed alignment test.
3859
3860 Thu Oct 28 05:30:46 1999  Andrew Cagney  <cagney@makita.cygnus.com>
3861
3862         * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3863
3864 Thu Oct 28 15:29:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3865
3866         * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3867         ensuring that there is space between the two.
3868
3869 Thu Oct 14 13:39:21 1999  Christopher Faylor <cgf@cygnus.com>
3870
3871         * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3872         only.
3873
3874 1999-10-08  Vadim Egorov  <egorovv@1c.ru>
3875
3876         * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3877         section
3878
3879 Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3880
3881         * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3882         * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3883
3884 Fri Oct  1 13:17:59 CDT 1999  <joel@OARcorp.com>
3885         * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3886           per POSIX 1003.1b.
3887         * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3888           per POSIX 1003.1b.
3889
3890 1999-09-13  DJ Delorie  <dj@cygnus.com>
3891
3892         * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3893         also.
3894
3895 Thu Sep  9 15:31:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3896
3897         * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
3898         also note BUFSIZ as its size.
3899
3900 Tue Sep  7 17:15:00 1999  Joel Sherrill <joel@OARcorp.com>
3901
3902         * configure.host: Corrected feature defines for RTEMS.
3903         * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3904         * libc/include/sys/stat.h: mkfifo() should take const path arg.
3905         * libc/include/sys/unistd.h: pathconf() should take const path arg.
3906           Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3907           Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3908           _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
3909           _PC_PRIO_IO, and _PC_SYNC_IO.
3910         * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3911         * libc/machine/m68k/Makefile.in: Regenerated.
3912         * libc/machine/m68k/strcpy.c: New file.
3913         * libc/machine/m68k/strlen.c: New file.
3914         * libc/stdio/tmpnam.c: Always make the returned name usable.
3915         * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3916         * libc/sys/rtems/sys/dirent.h: New file.
3917         * libc/sys/rtems/sys/types.h: Added dev_t.
3918
3919 Tue Sep  7 17:15:00 1999   Jay Kulpinski <jskulpin@eng01.gdds.com>
3920
3921         * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3922
3923 Fri Sep  3 12:35:20 1999  Jeff Johnston <jjohnstn@cygnus.com>
3924
3925         * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3926         my patch.
3927
3928 Thu Sep  2 22:05:20 1999  Christopher Faylor <cgf@cygnus.com>
3929
3930         patch from Jeff Johnston <jjohnstn@cygnus.com>
3931         * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3932         buffer is not in a useful state.
3933
3934 1999-09-01  Nick Clifton  <nickc@cygnus.com>
3935
3936         * libc/sys/arm/syscalls.c (_link): Add stub.
3937
3938 Fri Aug 27 23:09:09 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3939
3940         * ftell.c (ftell): Use actual position within buffer for text mode.
3941         * findfp.c (std): Initialize ptr->_bf._size.
3942
3943 Wed Aug 18 18:48:02 1999  Christopher Faylor <cgf@cygnus.com>
3944
3945         * libc/include/sys/unistd.h: Add nice() declaration.
3946
3947 1999-08-09  Nick Clifton  <nickc@cygnus.com>
3948
3949         * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3950         declare as a thumb function so that the disassembler will see the
3951         mode change.
3952
3953 Thu Aug  5 17:37:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3954
3955         * libc/reent/reent.tex: Updated list of reentrant functions.
3956
3957 1999-07-09  Michael Meissner  <meissner@cygnus.com>
3958
3959         * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3960         
3961 Tue Jul  6 10:46:24 1999  Jeff Johnston <jjohnstn@cygnus.com>
3962
3963         * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3964         separate file.
3965         * libc/stdio/snprintf.c: New file.
3966         * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3967         separate file.
3968         * libc/stdio/vsnprintf.c: New file.
3969         * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3970         * libc/stdio/Makefile.in: Regenerated.
3971
3972 Mon Jul  5 14:43:24 1999  Christopher Faylor <cgf@cygnus.com>
3973
3974         Patch submitted by Egor Duda <deo@logos-m.ru>:
3975         * libc/include/stdio.h: Add declarations for *nprintf.
3976         * libc/stdio/sprintf.c (snprintf): New function.
3977         (_snprintf_r): New function.
3978         * libc/stdio/vsprintf.c (vsnprintf): New function.
3979         (_vnsprintf_r): New function.
3980
3981 Wed Jun 30 16:36:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3982
3983         * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3984         * libm/Makefile.am (stmp-targetdep): Ditto.
3985         * libc/Makefile.in: Regenerated.
3986         * libm/Makefile.in: Ditto.
3987
3988 Fri Jun 25 10:49:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3989
3990         * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3991         * libm/Makefile.am (stmp-targetdep): Ditto.
3992         * libc/Makefile.in: Regenerated.
3993         * libm/Makefile.in: Ditto.
3994
3995 Thu June 03 16:25:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3996
3997         * Makefile.am: Removed dependencies on all-recursive and added "."
3998         to the SUBDIRS list to prevent infinite recursion from occurring.
3999         Also removed any references to EXTRA_DATA.
4000         * libc/Makefile.am: Ditto.
4001         * libc/machine/Makefile.am: Ditto.
4002         * libc/machine/i386/Makefile.am: Ditto.
4003         * libm/Makefile.am: Ditto.
4004         * libc/sys/Makefile.am: Ditto.
4005         * Makefile.in: Regenerated.
4006         * aclocal.m4: Ditto.
4007         * configure: Ditto.
4008         * doc/Makefile.in: Ditto.
4009         * doc/aclocal.m4: Ditto.
4010         * doc/configure: Ditto.
4011         * libc/Makefile.in: Ditto.
4012         * libc/aclocal.m4: Ditto.
4013         * libc/configure: Ditto.
4014         * libc/machine/Makefile.in: Ditto.
4015         * libc/machine/aclocal.m4: Ditto.
4016         * libc/machine/configure: Ditto.
4017         * libc/machine/mn10300/Makefile.in: Ditto.
4018         * libc/machine/mn10300/aclocal.m4: Ditto.
4019         * libc/machine/mn10300/configure: Ditto.
4020         * libc/sys/Makefile.in: Ditto.
4021         * libc/sys/aclocal.m4: Ditto.
4022         * libc/sys/configure: Ditto.
4023         * libm/Makefile.in: Ditto.
4024         * libm/aclocal.m4: Ditto.
4025         * libm/configure: Ditto.
4026
4027 Thu June 03 16:20:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
4028
4029         * libc/include/stdlib/stdlib.tex: Add link to env_lock.
4030
4031 Fri May 28 17:09:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
4032
4033         * libc/include/stdlib.h: Add reentrant routines.
4034         * libc/stdlib/Makefile.am: Add reentrant routines.
4035         * libc/stdlib/Makefile.in: Ditto.
4036         * libc/stdlib/envlock.c: New file.
4037         * libc/stdlib/envlock.h: New file.
4038         * libc/stdlib/getenv.c: Modify to call reentrant routine.
4039         * libc/stdlib/getenv_r.c: New file.
4040         * libc/stdlib/mblen.c: Modify to call reentrant routine.
4041         * libc/stdlib/mblen_r.c: New file.
4042         * libc/stdlib/setenv.c: Modify to call reentrant routine.
4043         * libc/stdlib/setenv_r.c: New file.
4044         * libc/stdlib/stdlib.tex: Add reentrant routines.
4045
4046 Mon May 17 22:01:38 1999  Christopher Faylor <cgf@cygnus.com>
4047
4048         * libc/include/sys/types.h: Define __MS_types__ whenever
4049         cygwin or win32.
4050
4051 Sun May 16 16:02:41 1999  Christopher Faylor <cgf@cygnus.com>
4052
4053         * libc/include/machine/ieeefp.h: Always default to little
4054         endian if Windows, regardless of architecture.
4055         * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
4056         regardless of architecture.
4057
4058 Mon May  3 11:49:18 1999  Geoffrey Noer  <noer@cygnus.com>
4059
4060         * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
4061         _WIN32 isn't defined.
4062
4063 Mon May  3 11:41:51 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4064
4065         * libm/common/s_rint.c (rint): Add volatile qualifier for
4066         intermediate value w.
4067         * libm/common/sf_rint.c (rintf): Ditto.
4068
4069 Thu Apr 29 20:34:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4070
4071         * libc/sys/arm/syscalls.c (remap_handle): Added check to
4072         ensure that std streams are initialized before being referenced.
4073
4074 1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
4075
4076         * README: Update reference to newlib@cygnus.com new
4077         newlib@sourceware.cygnus.com address.
4078
4079 Mon Apr 26 18:17:33 1999  Geoffrey Noer  <noer@cygnus.com>
4080
4081         * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
4082         * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
4083         defined, even if _WIN32 isn't defined.
4084
4085 Sat Apr 24 19:59:55 1999  Christopher Faylor <cgf@cygnus.com>
4086
4087         * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
4088
4089 Wed Apr 21 18:01:00 1999  Ranjith Kumaran  <ranjith@cygnus.com>
4090
4091         * libc/include/sys/reent.h: Change Long and ULong to __Long and
4092         __ULong.
4093         * libc/stdlib/dtoa.c: Ditto.
4094         * libc/stdlib/mprec.c: Ditto.
4095         * libc/stdlib/mprec.h: Ditto.
4096         * libc/stdlib/strtod.c: Ditto.
4097
4098 1999-04-21  Nick Clifton  <nickc@cygnus.com>
4099
4100         * configure.host (mcore): Remove mcore machine directory.
4101
4102 1999-04-18  Nick Clifton  <nickc@cygnus.com>
4103
4104         * libc/include/machine/ieeefp.h: Add support for mcore target.
4105         * libc/include/machine/setjmp.h: Add support for mcore target.
4106         * configure.host: Add support for mcore target.
4107
4108 1999-04-13  Mark Salter  <msalter@cygnus.com>
4109
4110         * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
4111         * libc/sys/arm/syscalls.c: Added isatty.
4112
4113 Wed Apr 07 16:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4114
4115         * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
4116         insert zeroes after significant digits.
4117
4118 Wed Mar 17 22:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4119         
4120         * libc/stdio/vfprintf.c (cvt): Changed floating point
4121         cvt routine to use union used by dtoa to properly determine
4122         if the sign bit is on or not.
4123         * libc/stdio/vfieeefp.h: New file
4124         
4125 Wed Mar 17 17:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4126
4127         * aclocal.m4: Regenerated.
4128         * configure: Regenerated.
4129
4130 Wed Mar 17 16:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4131
4132         * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
4133         f_tanf reference.
4134         * libc/machine/i386/Makefile.in: Regenerated.
4135
4136 Tue Mar 16 14:56:36 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4137
4138         * acinclude.m4: Changed to work with new automake.
4139         * configure: Regenerated.
4140         * libc/machine/i386/aclocal.m4: Regenerated.
4141         * libc/machine/i386/configure: Regenerated.
4142
4143 Tue Mar 16 13:55:36 1999  Corinna Vinschen  <corinna.vinschen@cityweb.de>
4144
4145         * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
4146         for telldir() and seekdir().  Rename unused structure element
4147         for use with these two routines.
4148
4149 Fri Mar 12 19:11:58 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4150
4151         * libc/time/mktime.c (validate_structure): Multiple fixes to
4152         code to handle cases where input fields are outside valid ranges.
4153         * libc/stdlib/div.c (div): Modified invalid rounding check.
4154         * libc/stdlib/ldiv.c (ldiv): Ditto.
4155
4156 Thu Mar 11 21:32:13 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4157
4158         * libc/machine/i386/memcpy.S: Performance rewrite.
4159         * libc/machine/i386/memmove.S: Ditto.
4160         * libc/machine/i386/i386mach.h: Added more register definitions.
4161         * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
4162         option used.
4163         * libc/include/machine/fastmath.h: Add definitions for x86
4164         fast-math routines.
4165
4166 Wed Mar 10 17:56:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
4167
4168         * libc/stdlib/strtod.c: Change from unsigned long to ULong.
4169
4170 Tue Mar  9 14:31:58 1999  Geoffrey Noer  <noer@cygnus.com>
4171
4172         Adjust newlib headers for new Cygwin Win32 API header files:
4173         * libc/include/sys/time.h: Check _WINSOCK_H rather than
4174         _GNU_H_WINDOWS32_SOCKETS.
4175         * libc/include/sys/types.h: Ditto.
4176
4177 Tue Mar 09 15:55:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
4178
4179         *include/sys/reent.h: Add checks for size of Bigint element Long.
4180         *libc/dtoa.c: Change routines to use generic Long type.
4181         *libc/mprec.c: Change routines to use generic Long type.
4182         *libc/mprec.h: Change routines to use generic Long type.
4183
4184 Tue Mar 02 18:07:49 1999 Ranjith Kumaran  <ranjith@cygnus.com>
4185
4186         * libc/Makefile.am: Add .def files.
4187         * libc/Makefile.in: Regenerate.
4188         * libc/e_acosh.c: Documentation update.
4189         * libc/e_atanh.c: Documentation update.
4190         * libc/e_hypot.c: Documentation update.
4191         * libc/e_remainder.c: Documentation update.
4192         * libc/er_lgamma.c: Documentation update.
4193         * libc/mathfp.tex: Documentation update.
4194         * libc/s_acos.c: Documentation update.
4195         * libc/s_atan.c: Documentation update.
4196         * libc/s_atan2.c: Documentation update.
4197         * libc/s_cosh.c: Documentation update.
4198         * libc/s_fmod.c: Documentation update.
4199         * libc/s_isnan.c: Documentation update.
4200         * libc/s_log10.c: Documentation update.
4201         * libc/s_pow.c: Documentation update.
4202         * libc/w_jn.c: Documentation update.
4203
4204 Sun Feb 28 23:18:49 1999  Geoffrey Noer  <noer@cygnus.com>
4205
4206         * aclocal.m4: Regenerate.
4207         * configure: Regenerate.
4208
4209 Tue Feb 23 13:57:26 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4210
4211         * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
4212         to return 1 if user specified return code is 0.
4213         * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
4214
4215 Thu Feb 18 11:13:28 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4216
4217         * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
4218         to save the return address.  Fixed longjmp to return to the original
4219         calling address of setjmp and to return the user specified return code
4220         rather than default to 1.
4221         * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
4222
4223 Mon Feb 15 17:48:17 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4224
4225         * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
4226
4227 1999-02-10  Nick Clifton  <nickc@cygnus.com>
4228
4229         * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
4230         volatile so that its assignments will not be discarded.
4231
4232 Wed Feb 10 17:19:40 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4233
4234         * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
4235         be __STRICT_ANSI__ which is generated by compiler.
4236         * libc/include/ctype.h: Ditto.
4237         * libc/include/math.h: Ditto.
4238         * libc/include/stdio.h: Ditto.
4239         * libc/include/stdlib.h: Ditto.
4240         * libc/include/string.h: Ditto.
4241         * libc/include/sys/signal.h: Ditto.
4242
4243 1999-02-08  Nick Clifton  <nickc@cygnus.com>
4244
4245         * configure.host: Add support for StrongARM target.
4246
4247 Fri Feb  5 11:13:14 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4248
4249         * libc/string/strncpy.c (strncpy): Removed redundant code
4250         that was copying bytes if data unaligned.
4251
4252 1999-02-02  Brendan Kehoe  <brendan@cygnus.com>
4253
4254         * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
4255         mbstowcs.def, and wcstombs.def.
4256
4257 Sat Jan 30 02:36:33 1999  Christopher Faylor <cgf@cygnus.com>
4258
4259         * libc/include/sys/errno.h: Add Cygwin errno.
4260         * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
4261         is specified.
4262
4263 1999-01-29  Nick Clifton  <nickc@cygnus.com>
4264
4265         * libc/sys/arm/syscalls.c: Move C library functions into seperate
4266         file.
4267         
4268         * libc/sys/arm/libcfunc.c: New file containing C library functions
4269         from syscalls.c
4270
4271         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
4272         * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
4273
4274
4275 1999-01-27  Michael Meissner  <meissner@cygnus.com>
4276
4277         * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
4278         type, and cut size in half so that the jmp_buf array is guaranteed
4279         to be aligned on a 64-bit boundary.
4280
4281 Mon Jan 25 12:05:38 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4282
4283         * libc/string/strings.tex: Added information about
4284         strcasecmp and strncasecmp.
4285         * libc/stdlib/stdlib.tex: Added missing information
4286         about mblen, mbstowcs, and wcstombs.
4287         * libc/string/strchr.c: Changed how mask is built to use
4288         shift operators so register will be used instead of storage.
4289
4290 1999-01-22  DJ Delorie  <dj@cygnus.com>
4291
4292         * libc/include/stdlib.h: don't use dllimport if we're building
4293         newlib, since it's inside cygwin.dll
4294
4295 Fri Jan 22 14:57:18 1999  Christopher Faylor <cgf@cygnus.com>
4296
4297         * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
4298         _ctype_ under cygwin.
4299
4300 Fri Jan 22 09:50:19 1999  Christopher Faylor <cgf@cygnus.com>
4301
4302         * include/stdlib.h: Fix typo from previous checkin.
4303
4304 Thu Jan 21 22:42:21 1999  Christopher Faylor <cgf@cygnus.com>
4305
4306         * include/ctype.h: Use __declspec(dllimport) method for exporting
4307         variable from cygwin DLL.
4308         * include/time.h: Ditto.
4309         * sys/errno.h: Ditto.
4310         * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
4311         * libc/locale/locale.c: Use __declspec(dllexport) method for
4312         exporting variable from cygwin DLL.
4313
4314 Sat Jan 16 13:29:54 1999  Christopher Faylor <cgf@cygnus.com>
4315
4316         * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
4317         access of bogus pointer will result in SIGSEGV.
4318
4319 1999-01-07  Nick Clifton  <nickc@cygnus.com>
4320
4321         * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
4322         of an underscore prefix to function names.
4323
4324 Fri Jan  8 19:00:07 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4325
4326         * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
4327         define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
4328
4329 1998-12-31  Michael Meissner  <meissner@cygnus.com>
4330
4331         * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
4332         to `%' if not already defined.
4333
4334 1998-12-30  Michael Meissner  <meissner@cygnus.com>
4335
4336         * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
4337         arguments const char *, not char *.
4338         * libc/include/stdio.h (_tempnam_r): Ditto.
4339
4340         * libc/include/sys/reent.h (struct _reent): The _sig_func type
4341         points to a function taking an integer, not void.
4342
4343 Tue Dec 29 14:35:53 1998  Christopher Faylor <cgf@cygnus.com>
4344
4345         * configure.host: Add a define for Cygwin builds.
4346         * libc/include/ctype.h: Don't use dll imported variables in newlib.
4347
4348 Mon Dec 28 09:19:56 1998  Christopher Faylor <cgf@cygnus.com>
4349
4350         * libc/include/ctype.h: Define _ctype_ as dll imported variable
4351         for use with Cygwin.
4352         * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
4353         dll imported variables for use with Cygwin.
4354         * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
4355         as a dll imported variable for Cygwin.
4356
4357 Sat Dec 26 00:13:53 1998  Christopher Faylor <cgf@cygnus.com>
4358
4359         * libc/include/sys/unistd.h: Add proto for getpass.
4360
4361 Fri Dec 18 19:28:19 1998  Geoffrey Noer  <noer@cygnus.com>
4362
4363         * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
4364         alphasort.
4365
4366 Fri Dec 18 16:33:25 1998  Geoffrey Noer  <noer@cygnus.com>
4367
4368         * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
4369         not posix_path_list_p.
4370
4371 1998-12-15  Nick Clifton  <nickc@cygnus.com>
4372
4373         * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
4374         a signed int.
4375
4376 1998-12-13  Nick Clifton  <nickc@cygnus.com>
4377
4378         * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
4379
4380 1998-12-12  Nick Clifton  <nickc@cygnus.com>
4381
4382         * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
4383         <msalter@cygnus.com>
4384         * libc/machine/fr30/Makefile.am: Add build of setjmp.S
4385         * libc/machine/fr30/Makefile.in: Regenerated.
4386
4387 1998-12-11  Nick Clifton  <nickc@cygnus.com>
4388
4389         * configure.host: Remove use of libc/sys for FR30 port.
4390         * libc/sys/fr30: Remove directory (replaced by libgloss).
4391
4392 1998-12-10  Ken Raeburn  <raeburn@cygnus.com>
4393
4394         * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
4395         * libc/string/strncat.c (ALIGNED): Ditto.
4396
4397 Wed Dec  9 14:37:57 1998  Geoffrey Noer  <noer@cygnus.com>
4398
4399         * libc/include/sys/time.h: include sys/types.h
4400
4401 Tue Dec  8 15:53:18 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4402
4403         * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
4404         comparison found when checking word at a time.
4405
4406 1998-12-04  Nick Clifton  <nickc@cygnus.com>
4407
4408         * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
4409
4410 1998-12-03  Nick Clifton  <nickc@cygnus.com>
4411
4412         * libc/sys/fr30/syscalls.c (_times): New function stub.
4413
4414 Thu Dec  3 15:59:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4415
4416         * configure.host (mach_add_setjmp): Replaced mach_add_objs
4417         with mach_add_setjmp flag which indicates if setjmp should
4418         be added to the machine directory objects.
4419         * acinclude.m4: Removed reference to mach_add_objs.
4420         * aclocal.m4: Regenerated.
4421         * Makefile.in: Regenerated.
4422         * configure: Regenerated.
4423         * libc/aclocal.m4: Regenerated.
4424         * libc/Makefile.in: Regenerated.
4425         * libc/configure: Regenerated.
4426         * libc/machine/aclocal.m4: Regenerated.
4427         * libc/machine/Makefile.in: Regenerated.
4428         * libc/machine/configure: Regenerated.
4429         * libc/machine/i386/aclocal.m4: Regenerated.
4430         * libc/machine/i386/Makefile.am: Altered to selectively add
4431         setjmp.S to the src files list.
4432         * libc/machine/i386/Makefile.in: Regenerated.
4433         * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
4434         * libc/machine/i386/configure: Regenerated.
4435
4436 1998-12-02  Nick Clifton  <nickc@cygnus.com>
4437
4438         * libc/sys/fr30/crt0.s (_start): Fix function names.
4439
4440         * libc/machine/fr30: New directory
4441         * libc/machine/fr30/Makefile.am: New file.
4442         * libc/machine/fr30/Makefile.in: New generated file.
4443         * libc/machine/fr30/configure.in: New file.
4444         * libc/machine/fr30/configure: New generated file.
4445         * libc/machine/fr30/aclocal.m4: New generated file.
4446         * libc/sys/fr30/Makefile.am: New file.
4447         * libc/sys/fr30/Makefile.in: New generated file.
4448         * libc/sys/fr30/configure.in: New file.
4449         * libc/sys/fr30/configure: New generated file.
4450         * libc/sys/fr30/syscalls.c: New file.
4451
4452 Tue Dec  1 16:28:56 1998  Geoffrey Noer  <noer@cygnus.com>
4453
4454         * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
4455
4456 1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
4457
4458         * libc/time/strftime.c (strftime): Also handle %y for years before
4459         1900.
4460
4461 Tue Dec  1 13:26:07 1998  Christopher Faylor <cgf@cygnus.com>
4462
4463         * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
4464         UNIX convention.  Perform tolower on characters before comparing
4465         them rather than use toupper.
4466         * libc/string/strncasecmp.c (strncasecmp): Ditto.
4467
4468 Mon Nov 30 16:24:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4469         
4470         * configure.host: Added using i386 machine directory
4471         for all x86 cross-compiler and configuring
4472         which added object files to use via new "mach_add_objs" variable.
4473         * configure: Regenerated.
4474         * libc/configure: Regenerated.
4475         * libc/Makefile.in: Regenerated.
4476         * libc/aclocal.m4: Regenerated.
4477         * libc/ctype/Makefile.in: Regenerated.
4478         * libc/errno/Makefile.in: Regenerated.
4479         * libc/locale/Makefile.in: Regenerated.
4480         * libc/machine/Makefile.in: Regenerated.
4481         * libc/machine/aclocal.m4: Regenerated.
4482         * libc/machine/configure: Regenerated.
4483         * libc/posix/Makefile.in: Regenerated.
4484         * libc/reent/Makefile.in: Regenerated.
4485         * libc/signal/Makefile.in: Regenerated.
4486         * libc/stdio/Makefile.in: Regenerated.
4487         * libc/stdlib/Makefile.in: Regenerated.
4488         * libc/string/Makefile.in: Regenerated.
4489         * libc/string/memmove.c: Optimized code to use memcpy
4490         logic when performing a non-destructive copy.
4491         * libc/string/strncmp.c: Altered code to allow building
4492         optimized for size or speed.
4493         * libc/syscalls/Makefile.in: Regenerated.
4494         * libc/time/Makefile.in: Regenerated.
4495         * libc/unix/Makefile.in: Regenerated.
4496         * libc/machine/i386/Makefile.am: Added new files and reference
4497         to "mach_add_objs" to indicate optional object files.
4498         * libc/machine/i386/Makefile.in: Regenerated.
4499         * libc/machine/i386/aclocal.m4: Regenerated.
4500         * libc/machine/i386/configure: Regenerated.
4501         * libc/machine/i386/memchr.S: New file that implements
4502         function in Intel assembler.
4503         * libc/machine/i386/memcmp.S: ditto.
4504         * libc/machine/i386/memcpy.S: ditto.
4505         * libc/machine/i386/memmove.S: ditto.
4506         * libc/machine/i386/memset.S: ditto.
4507         * libc/machine/i386/strchr.S: ditto.
4508         * libc/machine/i386/strlen.S: ditto.
4509         * libc/machine/i386/f_atan2.S: New file that implements
4510         fast version of math function to be used by compiler when
4511         --ffast_math compile option is used.
4512         * libc/machine/i386/f_atan2f.S: ditto.
4513         * libc/machine/i386/f_exp.c: ditto.
4514         * libc/machine/i386/f_expf.c: ditto.
4515         * libc/machine/i386/f_frexp.S: ditto.
4516         * libc/machine/i386/f_frexpf.S: ditto.
4517         * libc/machine/i386/f_ldexp.S: ditto.
4518         * libc/machine/i386/f_ldexpf.S: ditto.
4519         * libc/machine/i386/f_log.S: ditto.
4520         * libc/machine/i386/f_logf.S: ditto.
4521         * libc/machine/i386/f_log10.S: ditto.
4522         * libc/machine/i386/f_log10f.S: ditto.
4523         * libc/machine/i386/f_math.h: New file.
4524         * libc/machine/i386/f_pow.c: ditto.
4525         * libc/machine/i386/f_powf.S: ditto.
4526         * libc/machine/i386/f_tan.S: ditto.
4527         * libc/machine/i386/f_tan.S: ditto.
4528         * libc/machine/i386/i386mach.h: New file.
4529
4530 Mon Nov 30 13:02:17 1998  Christopher Faylor <cgf@cygnus.com>
4531
4532         patch from Mumit Khan <khan@xraylith.wisc.edu>
4533         * libc/include/stdio.h (tempnam): Add prototype.
4534         * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
4535         (tempnam): Adhere to prototype.
4536
4537 Thu Nov 26 00:21:32 1998  Christopher Faylor <cgf@cygnus.com>
4538
4539         * Makefile.am: Add default for AR_FLAGS.
4540         * Makefile.in: Regenerate.
4541
4542 Tue Nov 24 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
4543
4544         * libc/include/time.h: move __cplusplus wrapper after includes
4545         * libc/include/sys/time.h: ditto.  If Cygwin, include
4546         sys/select.h.
4547         * libc/include/sys/types.h: lose "32" in comment about Cygwin.
4548
4549 1998-11-23  Ken Raeburn  <raeburn@cygnus.com>
4550
4551         * libc/time/strftime.c (strftime): Handle %y after year 2000.
4552
4553 Wed Nov 18 12:22:41 1998  Nick Clifton  <nickc@cygnus.com>
4554
4555         * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
4556         abnormnal end-of-crt0 marker.
4557
4558 Tue Nov 17 16:27:58 1998  Nick Clifton  <nickc@cygnus.com>
4559
4560         * libc/sys/fr30/crt0.s: New file/directory.
4561         * libc/include/machine/setjmp.h: Add FR30 target.
4562         * libc/include/machine/ieeefp.h: Add FR30 target.
4563         * configure.host: Add FR30 target.
4564
4565 Mon Nov  16 23:15:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4566
4567         * libm/math: Files that are duplicated in common directory removed.
4568         * libm/math/fdlibm.h: Removed.
4569         * libm/math/s_cbrt.c: Removed.
4570         * libm/math/s_copysign.c: Removed.
4571         * libm/math/s_expm1.c: Removed.
4572         * libm/math/s_finite.c: Removed.
4573         * libm/math/s_ilogb.c: Removed.
4574         * libm/math/s_infinity.c: Removed.
4575         * libm/math/s_lib_ver.c: Removed.
4576         * libm/math/s_log1p.c: Removed.
4577         * libm/math/s_logb.c: Removed.
4578         * libm/math/s_matherr.c: Removed.
4579         * libm/math/s_modf.c: Removed.
4580         * libm/math/s_nan.c: Removed.
4581         * libm/math/s_nextafter.c: Removed.
4582         * libm/math/s_rint.c: Removed.
4583         * libm/math/s_scalbn.c: Removed.
4584         * libm/math/sf_cbrt.c: Removed.
4585         * libm/math/sf_copysign.c: Removed.
4586         * libm/math/sf_expm1.c: Removed.
4587         * libm/math/sf_finite.c: Removed.
4588         * libm/math/sf_ilogb.c: Removed.
4589         * libm/math/sf_infinity.c: Removed.
4590         * libm/math/sf_log1p.c: Removed.
4591         * libm/math/sf_logb.c: Removed.
4592         * libm/math/sf_modf.c: Removed.
4593         * libm/math/sf_nan.c: Removed.
4594         * libm/math/sf_nextafter.c: Removed.
4595         * libm/math/sf_rint.c: Removed.
4596         * libm/math/sf_scalbn.c: Removed.
4597         * libm/math/Makefile.am: Removed references to deleted files (above).
4598         * libm/math/Makefile.in: Regenerated.
4599         * libm/Makefile.am: Added common directory to math.
4600         * libm/Makefile.in: Regenerated.
4601
4602 Mon Nov  2 23:12:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4603
4604         * libm/mathfp: Add non-ANSI functions.
4605         * libm/mathfp/e_acosh.c acosh(): New file.
4606         * libm/mathfp/e_atanh.c atanh(): New file.
4607         * libm/mathfp/e_hypot.c hypot(): New file.
4608         * libm/mathfp/e_j0.c j0(): New file.
4609         * libm/mathfp/e_j1.c j1(): New file.
4610         * libm/mathfp/e_remainder.c remainder(): New file.
4611         * libm/mathfp/e_scalb.c scalb(): New file.
4612         * libm/mathfp/ef_acosh.c acoshf(): New file.
4613         * libm/mathfp/ef_atanh.c atanhf(): New file.
4614         * libm/mathfp/ef_hypot.c hypotf(): New file.
4615         * libm/mathfp/ef_j0.c j0f(): New file.
4616         * libm/mathfp/ef_j1.c j1f(): New file.
4617         * libm/mathfp/ef_remainder.c remainderf(): New file.
4618         * libm/mathfp/ef_scalb.c scalbf(): New file.
4619         * libm/mathfp/er_gamma.c gamma_r: New file.
4620         * libm/mathfp/er_lgamma.c lgamma_r(): New file.
4621         * libm/mathfp/erf_gamma.c gamma_rf(): New file.
4622         * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
4623         * libm/mathfp/w_cabs.c cabs(): New file.
4624         * libm/mathfp/w_drem.c drem(): New file.
4625         * libm/mathfp/w_jn.c jn(): New file.
4626         * libm/mathfp/wf_cabs.c cabsf(): New file.
4627         * libm/mathfp/wf_drem.c dremf(): New file.
4628         * libm/mathfp/wf_jn.c jnf(): New file.
4629
4630 Mon Nov  2 16:43:18 1998  Geoffrey Noer  <noer@cygnus.com>
4631
4632         * libc/sys/cygwin32: remove directory and contents
4633         * libc/sys/cygwin: and add back, losing the "32".
4634         * configure.host: check for cygwin* instead of cygwin32.
4635         * acinclude.m4: ditto.
4636         * aclocal.m4: regenerate with aclocal
4637         * configure: regenerate with autoconf
4638
4639 Tue Oct 20 17:28:28 1998  Geoffrey Noer  <noer@cygnus.com>
4640
4641         * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
4642         for length
4643
4644 Tue Oct 20 18:49:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4645
4646         * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
4647         _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
4648         to make rand/srand, strtok, asctime, localtime, w_gamma,
4649         w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
4650         time.h to bring in struct tm definition.
4651         * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
4652         '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
4653         * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
4654         instead of static variable.
4655         * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
4656         struct reent instead of static variable.
4657         * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
4658         struct reent instead of static variable.
4659         * libm/math/Makefile.am: Removed s_signgam.o.
4660         * libm/math/Makefile.in: Regenerated.
4661         * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
4662         struct reent instead of global variable 'signgam'.
4663         * libm/math/w_lgamma.c (lgamma): Likewise.
4664         * libm/math/wf_gamma.c (gammaf): Likewise.
4665         * libm/math/wf_lgamma.c (lgammaf): Likewise.
4666         * libm/math/s_signgam.c: Removed.
4667         * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
4668         to be const.
4669         * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
4670         to be const.
4671         * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
4672         libc/include/reent.h.
4673         * libc/reent/Makefile.in: Regenerated.
4674         * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
4675         to be const.
4676         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
4677         'JIS_action_table' to be const.
4678         * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
4679
4680 Mon Oct 12 00:26:33 1998  Christopher Faylor <cgf@cygnus.com>
4681
4682         * acinclude.m4:  $with_target_subdir should default to '.'
4683         or confusion results when configuring in same directory as sources.
4684         * Regenerate all aclocal.m4 and configure files.
4685
4686 Fri Oct  9 16:27:36 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4687
4688         * libc/stdlib/mallocr.c: Added 16 byte alignment support which
4689         can be set by defining MALLOC_ALIGNMENT=16.  Also added support
4690         for platforms where sizeof(size_t) < sizeof(long) via
4691         SIZE_T_SMALLER_THAN_LONG macro.
4692         
4693 Wed Oct  7 14:02:40 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4694
4695         * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
4696         to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
4697         which sets _CLOCKS_PER_SEC_ for selected machines.
4698         * libc/include/machine/time.h: New file.
4699
4700 Tue Oct  6 16:08:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4701
4702         * libc/syscalls/sysexecve.c: New file.
4703         * libc/syscalls/sysgettod.c: New file.
4704         * libc/syscalls/systimes.c: New file.
4705         * libc/syscalls/Makefile.am: Added new objects.
4706         * libc/syscalls/Makefile.in: Regenerated.
4707         * libc/include/_syslist.h (_execve): Moved define in file.
4708         * libc/include/reent.h:  Added _execve_r declaration.
4709         * libc/Makefile.in: Regenerated.
4710         * libc/ctype/Makefile.in: Regenerated.
4711         * libc/errno/Makefile.in: Regenerated.
4712         * libc/locale/Makefile.in: Regenerated.
4713         * libc/machine/Makefile.in: Regenerated.
4714         * libc/misc/Makefile.in: Regenerated.
4715         * libc/posix/Makefile.in: Regenerated.
4716         * libc/reent/Makefile.in: Regenerated.
4717         * libc/reent/execr.c (_execve_r): Added _execve_r function.
4718         * libc/signal/Makefile.in: Regenerated.
4719         * libc/stdio/Makefile.in: Regenerated.
4720         * libc/time/Makefile.in: Regenerated.
4721         * libc/unix/Makefile.in: Regenerated.
4722         * libm/mathfp/Makefile.in: Regenerated.
4723
4724 Tue Oct  6 14:14:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4725
4726         * libc/string/Makefile.in: Regenerated.
4727         * libc/string/memchr.c (memchr): Moved code to reduce object size.
4728         * libc/string/memcpy.c (memcpy): Ditto.
4729         * libc/string/memcmp.c (memcmp): Ditto.
4730         * libc/string/memset.c (memset): Ditto.
4731         * libc/string/strchr.c (strchr): Ditto.
4732         * libc/string/strcmp.c (strcmp): Ditto.
4733         * libc/string/strcpy.c (strcpy): Ditto.
4734         * libc/string/strlen.c (strlen): Ditto.
4735
4736 Tue Oct  6 13:58:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4737
4738         * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
4739         to generate aclocal.m4.
4740         * libm/Makefile.in: Regenerated.
4741         * libm/aclocal.m4: Regenerated.
4742         * libm/configure: Regenerated.
4743         * libm/math/Makefile.in: Regenerated.
4744         * libm/mathfp/Makefile.in: Regenerated.
4745
4746 1998-09-25  Mark Salter  <msalter@cygnus.com>
4747
4748         * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
4749         by adding leading and trailing underscores to symbol names.
4750
4751 Tue Sep 22 15:33:41 1998  Christopher Faylor <cgf@cygnus.com>
4752
4753         * Makefile.in: Add default for AR_FLAGS.
4754
4755 Tue Sep 22 15:02:49 1998  Christopher Faylor <cgf@cygnus.com>
4756
4757         patch from ian@airs.com (Ian Taylor):
4758         * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
4759         NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
4760         is needed for detecting the build machine.  Required for
4761         cygwin native builds.
4762
4763         * Regenerate all aclocal.m4 and configure files.
4764
4765 Mon Sep 21 14:44:16 1998  Nick Clifton  <nickc@cygnus.com>
4766
4767         * libc/sys/arm/crt0.S: Prepend a period to all local labels that
4768         used to start with LC.
4769
4770 Thu Sep 17 18:18:11 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4771
4772         * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4773         (longjmp): Likewise.
4774
4775 Thu Sep 17 16:25:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4776
4777         * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4778         the test for small number of bytes.
4779
4780 Thu Sep 10 11:40:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4781
4782         * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
4783         math library that uses floating point algorithms instead of the old
4784         libm.
4785         * Makefile.in: Regenerate with automake version 1.3b.
4786         * configure: Rebuild.
4787         * libm/Makefile.in: Regenerate with automake version 1.3b.
4788         * libm/aclocal.m4: Regenerate.
4789         * libm/configure: Rebuild.
4790         * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4791         * libm/acinclude.m4: Define macros for configure.in.
4792         * libm/config.h.in: Generate.
4793         * libm/mathfp/Makefile.am: New file.
4794         * libm/mathfp/Makefile.in: Generate.
4795         * libm/mathfp/s_acos.c (acos): New file.
4796         * libm/mathfp/s_asin.c (asin): New file.
4797         * libm/mathfp/s_asine.c (asine): New file.
4798         * libm/mathfp/s_atan.c (atan): New file.
4799         * libm/mathfp/s_atan2.c (atan2): New file.
4800         * libm/mathfp/s_atangent.c (atangent): New file.
4801         * libm/mathfp/s_ceil.c (ceil): New file.
4802         * libm/mathfp/s_copysign.c (copysign): New file.
4803         * libm/mathfp/s_cos.c (cos): New file.
4804         * libm/mathfp/s_cosh.c (cosh): New file.
4805         * libm/mathfp/s_exp.c (exp): New file.
4806         * libm/mathfp/s_fabs.c (fabs): New file.
4807         * libm/mathfp/s_finite.c (finite): New file.
4808         * libm/mathfp/s_floor.c (floor): New file.
4809         * libm/mathfp/s_fmod.c (fmod): New file.
4810         * libm/mathfp/s_frexp.c (frexp): New file.
4811         * libm/mathfp/s_infconst.c: New file.
4812         * libm/mathfp/s_isinf (isinf).c: New file.
4813         * libm/mathfp/s_isnan.c (isnan): New file.
4814         * libm/mathfp/s_ispos.c (ispos): New file.
4815         * libm/mathfp/s_ldexp.c (ldexp): New file.
4816         * libm/mathfp/s_log.c (log): New file.
4817         * libm/mathfp/s_log10.c (log10): New file.
4818         * libm/mathfp/s_logarithm.c (logarithm): New file.
4819         * libm/mathfp/s_mathcnst.c: New file.
4820         * libm/mathfp/s_modf (modf).c: New file.
4821         * libm/mathfp/s_numtest.c (numtest): New file.
4822         * libm/mathfp/s_pow.c (pow): New file.
4823         * libm/mathfp/s_scalbn.c (scalbn): New file.
4824         * libm/mathfp/s_sin (sin).c: New file.
4825         * libm/mathfp/s_sine.c (sine): New file.
4826         * libm/mathfp/s_sineh.c (sineh): New file.
4827         * libm/mathfp/s_sinf.c (sinf): New file.
4828         * libm/mathfp/s_sinh.c (sinh): New file.
4829         * libm/mathfp/s_sqrt.c (sqrt): New file.
4830         * libm/mathfp/s_tan.c (tan): New file.
4831         * libm/mathfp/s_tanh.c (tanh): New file.
4832         * libm/mathfp/sf_acos.c (acosf): New file.
4833         * libm/mathfp/sf_asin.c (asinf): New file.
4834         * libm/mathfp/sf_asine.c (asinef): New file.
4835         * libm/mathfp/sf_atan.c (atanf): New file.
4836         * libm/mathfp/sf_atan2.c (atan2f): New file.
4837         * libm/mathfp/sf_atangent.c (atangent): New file.
4838         * libm/mathfp/sf_ceil.c (ceilf): New file.
4839         * libm/mathfp/sf_copysign.c (copysignf): New file.
4840         * libm/mathfp/sf_cos.c (cosf): New file.
4841         * libm/mathfp/sf_cosh.c (coshf): New file.
4842         * libm/mathfp/sf_exp.c (expf): New file.
4843         * libm/mathfp/sf_fabs.c (fabsf): New file.
4844         * libm/mathfp/sf_finite.c (finitef): New file.
4845         * libm/mathfp/sf_floor.c (floorf): New file.
4846         * libm/mathfp/sf_fmod.c (fmodf): New file.
4847         * libm/mathfp/sf_frexp.c (frexpf): New file.
4848         * libm/mathfp/sf_isinf.c (isinff): New file.
4849         * libm/mathfp/sf_isnan.c (isnanf): New file.
4850         * libm/mathfp/sf_ispos.c (isposf): New file.
4851         * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4852         * libm/mathfp/sf_log.c (logf): New file.
4853         * libm/mathfp/sf_log10.c (log10f): New file.
4854         * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4855         * libm/mathfp/sf_modf.c (modff): New file.
4856         * libm/mathfp/sf_numtest.c (numtestf): New file.
4857         * libm/mathfp/sf_pow.c (powf): New file.
4858         * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4859         * libm/mathfp/sf_sin.c (sinf): New file.
4860         * libm/mathfp/sf_sine.c (sinef): New file.
4861         * libm/mathfp/sf_sineh.c (sinehf): New file.
4862         * libm/mathfp/sf_sinh.c (sinhf): New file.
4863         * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4864         * libm/mathfp/sf_tan.c (tanf): New file.
4865         * libm/mathfp/sf_tanh.c (tanhf): New file.
4866         * libm/mathfp/zmath.h: New file.
4867
4868 Wed Sep  2 02:49:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4869
4870         * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4871         exit if it has been overwritten by pre-fetching in delay slot.
4872
4873 1998-09-01  Michael Meissner  <meissner@cygnus.com>
4874
4875         * Makefile.am (tooldir): Add in host_alias, so that multilib
4876         libraries are installed in the directory the compiler looks in.
4877         * Makefile.in: Regenerate.
4878
4879         * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4880
4881 Mon Aug 31 11:39:31 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4882
4883         * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4884         ahead of test for number of bytes being moved.
4885
4886 Thu Aug 27 14:07:53 1998  Christopher Faylor <cgf@cygnus.com>
4887
4888         * libc/include/sys/unistd.h: Nothing special needed for
4889         _exit under cygwin.
4890
4891 Wed Aug 26 15:05:21 1998  Nick Clifton  <nickc@cygnus.com>
4892
4893         * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4894         conform to user label naming conventions. 
4895
4896 Mon Aug 24 14:46:19 1998  Geoffrey Noer <noer@cygnus.com>
4897
4898         * libc/sys/cygwin32/sys/utime.h: variable names in
4899         protos should start with two leading underscores
4900         * libc/include/string.h: ditto
4901         * libc/include/sys/signal.h: ditto
4902         * libc/include/sys/stat.h: ditto
4903         * libc/include/sys/time.h: ditto
4904         * libc/include/sys/unistd.h: ditto
4905         * libc/include/ctype.h: ditto
4906         * libc/include/stdlib.h: ditto
4907         * libc/include/sys/reent.h: struct _atexit function ptr takes a
4908         void, same with _sig_func.
4909
4910 Fri Aug 21 14:44:14 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4911
4912         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4913         for MB_CAPABLE to reduce code size when newlib is not configured
4914         with --enable-newlib-mb.
4915         * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4916         mbtowc_r.o to minimize size.
4917         * libc/stdlib/Makefile.in: Rebuild.
4918         
4919 Wed Aug 19 16:20:13 1998  Jim Wilson  <wilson@cygnus.com>
4920
4921         * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4922         to -DREENT.
4923         * libc/sys/sparc64/Makefile.in: Rebuild.
4924         
4925 Tue Aug 18 22:38:29 1998  Ian Lance Taylor  <ian@cygnus.com>
4926
4927         * Makefile.am (MAKEOVERRIDES): Define.
4928         * Makefile.in: Rebuild.
4929
4930 Tue Aug 18 12:38:47 1998  Jim Wilson  <wilson@cygnus.com>
4931
4932         * libc/sys/sparc64/sys/stat.h (stat): Add const.
4933
4934 Mon Aug 17 22:27:06 1998  Ian Lance Taylor  <ian@cygnus.com>
4935
4936         * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4937         newlib_cflags when looking for targ-include.
4938         * */aclocal.m4, */configure: Rebuild.
4939
4940 Fri Jul 31 10:57:42 1998  Catherine Moore  <clm@cygnus.com>
4941
4942         * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4943         to "_end".
4944
4945 Wed Jul 29 00:02:01 1998  Mark Alexander  <marka@cygnus.com>
4946
4947         * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4948         on SPARCs with little-endian data.
4949         * libc/include/machine/ieeefp.h: Ditto.
4950
4951 Wed Jul 22 18:00:10 1998  Ian Lance Taylor  <ian@cygnus.com>
4952
4953         * acinclude.m4: Handle a relative srcdir correctly when setting
4954         newlib_cflags.
4955         * */aclocal.m4, */configure: Rebuild.
4956
4957 Wed Jul 22 17:11:33 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4958
4959         * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4960         also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4961         * libm/math/wrf_gamma.c (gammaf_r): ditto 
4962         * libm/math/wr_lgamma.c (lgamma_r): ditto 
4963         * libm/math/wr_gamma.c (gamma_r): ditto 
4964         * libm/math/wf_sqrt.c (sqrtf): ditto 
4965         * libm/math/wf_sinh.c (sinhf): ditto 
4966         * libm/math/wf_scalb.c (scalbf): ditto 
4967         * libm/math/wf_remainder.c (remainderf): ditto 
4968         * libm/math/wf_pow.c (powf): ditto 
4969         * libm/math/wf_log10.c (log10f): ditto 
4970         * libm/math/wf_log.c (logf): ditto 
4971         * libm/math/wf_lgamma.c (lgammaf): ditto 
4972         * libm/math/wf_jn.c (jnf, ynf): ditto 
4973         * libm/math/wf_j1.c (j1f, y1f): ditto 
4974         * libm/math/wf_j0.c (j0f, y0f): ditto 
4975         * libm/math/wf_hypot.c (hypotf): ditto 
4976         * libm/math/wf_gamma.c (gammaf): ditto 
4977         * libm/math/wf_fmod.c (fmodf): ditto 
4978         * libm/math/wf_exp.c (expf): ditto 
4979         * libm/math/wf_cosh.c (coshf): ditto 
4980         * libm/math/wf_atanh.c (atanhf): ditto 
4981         * libm/math/wf_atan2f.c (atan2f): ditto 
4982         * libm/math/wf_asin.c (asinf): ditto 
4983         * libm/math/wf_acosh.c (acoshf): ditto 
4984         * libm/math/wf_acos.c (acosf): ditto 
4985         * libm/math/w_sqrt.c (sqrt): ditto 
4986         * libm/math/w_sinh.c (sinh): ditto 
4987         * libm/math/w_scalb.c (scalb): ditto 
4988         * libm/math/w_remainder.c (remainder): ditto 
4989         * libm/math/w_pow.c (pow): ditto 
4990         * libm/math/w_log10.c (log10): ditto 
4991         * libm/math/w_log.c (log): ditto 
4992         * libm/math/w_lgamma.c (lgamma): ditto 
4993         * libm/math/w_jn.c (jn, yn): ditto 
4994         * libm/math/w_j1.c (j1, y1): ditto 
4995         * libm/math/w_j0.c (j0, y0): ditto 
4996         * libm/math/w_hypot.c (hypot): ditto 
4997         * libm/math/w_gamma.c (gamma): ditto 
4998         * libm/math/w_fmod.c (fmod): ditto 
4999         * libm/math/w_exp.c (exp): ditto 
5000         * libm/math/w_cosh.c (cosh): ditto 
5001         * libm/math/w_atanh.c (atanh): ditto 
5002         * libm/math/w_atan2f.c (atan2): ditto 
5003         * libm/math/w_asin.c (asin): ditto 
5004         * libm/math/w_acosh.c (acosh): ditto 
5005         * libm/math/w_acos.c (acos): ditto 
5006
5007 Tue Jul 21 12:34:54 1998  Ian Lance Taylor  <ian@cygnus.com>
5008
5009         * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
5010         (fsrc): Add wf_cabs.c and wf_drem.c.
5011         * libm/math/Makefile.in: Rebuild.
5012
5013         * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
5014         unused directory variables.  Remove duplicate CFLAGS.
5015         * Makefile.in: Rebuild.
5016
5017         * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
5018         with $(CC_FOR_BUILD).
5019         (makedoc.o): Likewise.
5020         * doc/Makefile.in: Rebuild.
5021
5022         * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
5023         force a definition of COMPILE.
5024         (libfoo_a_SOURCES): Define.
5025         * libc/sys/cygwin32/Makefile.in: Rebuild.
5026         * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
5027         force a definition of COMPILE.
5028         (libfoo_a_SOURCES): Define.
5029         * libc/sys/tic80/Makefile.in: Rebuild.
5030
5031 Mon Jul 20 20:49:24 1998  Christopher Faylor <cgf@cygnus.com>
5032
5033         * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
5034         flag.
5035
5036 Fri Jul 17 16:13:16 1998  Ian Lance Taylor  <ian@cygnus.com>
5037
5038         * Build using autoconf and automake.  Added many Makefile.am and
5039         configure.in files, plus generated files.  Old configure.in files
5040         and all old Makefile.in files completely replaced.  Removed
5041         host/any.  Added acinclude.m4 and configure.host.
5042
5043 Sat Jul 11 18:14:49 1998  Felix Lee  <flee@cygnus.com>
5044
5045         * libc/stdio/vfprintf.c: enable long long support, sometimes.
5046         * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
5047
5048 Tue Jul  7 01:51:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5049
5050         * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
5051         * libc/machine/sh/Makefile.in: Add rules for new files.
5052
5053 Tue Jul  7 01:40:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5054
5055         * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
5056         * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
5057         * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
5058
5059 Thu Jul  2 10:33:16 1998  Nick Clifton  <nickc@cygnus.com>
5060
5061         * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
5062         code is ignored.
5063
5064 Wed Jun 24 13:56:54 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5065
5066         * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
5067         internal static buffer when s is NULL, as prescribed by ANSI.
5068
5069 1998-06-22  Vladimir N. Makarov  <vmakarov@cygnus.com>
5070
5071         * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
5072         removed.
5073         * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
5074         libc/stdlib will be used for h8300hms.
5075         
5076 Thu Jun 18 16:56:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5077
5078         * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
5079         version that can be built either for speed or size.
5080         * libc/machine/mn10300/memset.S (_memset): ditto
5081         * libc/machine/mn10300/memchr.S (_memchr): ditto
5082         * libc/machine/mn10300/memcpy.S (_memcpy): ditto
5083         * libc/machine/mn10300/memcmp.S (_memcmp): ditto
5084         * libc/machine/mn10300/strchr.S (_strchr): ditto
5085         * libc/machine/mn10300/strcmp.S (_strcmp): ditto
5086         * libc/machine/mn10300/strcpy.S (_strcpy): ditto
5087         * libc/machine/mn10300/Makefile.in: Added entries for
5088         memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o, 
5089         strcmp.o, strcpy.o, and strlen.o.
5090
5091 Wed Jun 17 12:50:26 1998  Mark Alexander  <marka@cygnus.com>
5092
5093         * configure.in: Don't use libc/sys/sysmec for MN10200; it's
5094         been replaced with libgloss/mn10200.
5095
5096 Fri Jun 12 14:34:39 1998  Michael Meissner  <meissner@cygnus.com>
5097
5098         * libc/string/strchr.c (strchr): Make s a constant pointer to
5099         avoid warning.
5100
5101 Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
5102
5103         * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
5104         instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
5105         board SWIs instead of Demon board SWIs).
5106
5107 Thu Jun  4 12:16:46 1998  Michael Meissner  <meissner@cygnus.com>
5108
5109         * libc/string/strncat.c (strncat):  Make -Os act the same as
5110         PREFER_SIZE_OVER_SPEED being defined.
5111
5112 Wed Jun  3 17:52:33 1998  Michael Meissner  <meissner@cygnus.com>
5113
5114         * libc/string/memchr.c (memchr): Make -Os act the same as
5115         PREFER_SIZE_OVER_SPEED being defined.
5116         * libc/string/memcmp.c (memcmp): Ditto.
5117         * libc/string/memcpy.c (memcpy): Ditto.
5118         * libc/string/memset.c (memset): Ditto.
5119         * libc/string/strcat.c (strcat): Ditto.
5120         * libc/string/strchr.c (strchr): Ditto.
5121         * libc/string/strcmp.c (strcmp): Ditto.
5122         * libc/string/strcpy.c (strcpy): Ditto.
5123         * libc/string/strlen.c (strlen): Ditto.
5124         * libc/string/strncat.c (strncat): Ditto.
5125         * libc/string/strncmp.c (strncmp): Ditto.
5126         * libc/string/strncpy.c (strncpy): Ditto.
5127
5128 Mon Jun  1 15:25:07 1998  Geoffrey Noer  <noer@cygnus.com>
5129
5130         * libc/include/sys/itimer.h: remove
5131         * libc/include/sys/time.h: itimer stuff should be here
5132
5133 Mon Jun  1 16:31:29 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5134
5135         * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
5136         bit instead of comparing to 0 so -0.0 can be printed correctly.
5137
5138 Sat May 30 09:33:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5139
5140         * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
5141
5142 Fri May 29 22:25:10 1998  Geoffrey Noer  <noer@cygnus.com>
5143
5144         * libc/include/sys/unistd.h: fix sync() proto
5145         * libc/include/sys/fcntl.h: remove _close which is already
5146         defined in unistd.h.
5147         * libc/include/sys/time.h: add getitimer proto
5148
5149 Fri May 29 16:10:28 1998  Geoffrey Noer  <noer@cygnus.com>
5150
5151         * libc/string/strchr.c: convert arg to unsigned char
5152         * libc/include/stdlib.h: add protos for random, srandom
5153         * libc/include/sys/stat.h: add lstat proto
5154         * libc/include/sys/time.h: add setitimer proto
5155         * libc/include/sys/unistd.h: add readlink, symlink protos
5156         * libc/include/process.h: instead of including windows.h and using
5157         HANDLEs in sexec protos, just use void *s.  Need to include
5158         sys/types.h.
5159
5160 Fri May 29 03:04:29 1998  Geoffrey Noer  <noer@cygnus.com>
5161
5162         * libc/include/sys/fcntl.h: add _close proto for Cygwin32
5163
5164 Thu May 28 16:34:21 1998  Geoffrey Noer  <noer@cygnus.com>
5165
5166         * libc/include/process.h: add secure exec protos
5167
5168 Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
5169
5170         * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
5171         which are accessed as both doubles and integers.
5172         * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
5173         * libc/stdlib/strtod.c (_strtod_r): Likewise.
5174         * libc/stdlib/mprec.h: Add "union double_union" and change
5175         word0/word1 macros to use it.
5176
5177 Tue May 26 18:04:21 1998  Geoffrey Noer  <noer@cygnus.com>
5178
5179         * libc/include/sys/signal.h: add __cplusplus wrapper
5180
5181 Tue May 26 15:10:22 1998  Geoffrey Noer  <noer@cygnus.com>
5182
5183         * libc/include/sys/utime.h: new generic file that gets replaced by
5184         libc/sys/SYSDIR/sys/utime.h on systems that support the utime
5185         function.
5186         * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
5187         * libc/include/time.h: remove duplicate utime proto
5188         * libc/include/utime.h: add comment
5189
5190 Sun May 24 23:56:20 1998  Christopher Faylor <cgf@cygnus.com>
5191
5192         * libc/include/sys/time.h: Add missing include to
5193         allow use of _EXFUN.  Remove times function that is
5194         already defined in times.h.
5195
5196 Sun May 24 01:32:14 1998  Christopher Faylor <cgf@cygnus.com>
5197
5198         * libc/include/time.h: Fix typo in tzset.
5199
5200 Fri May 22 17:00:48 1998  Geoffrey Noer  <noer@cygnus.com>
5201
5202         * libc/include/sys/time.h: add missing Cygwin32 function protos
5203         * libc/include/sys/unistd.h: ditto
5204         * libc/include/time.h: ditto
5205
5206 Wed May 20 20:35:11 1998  Geoffrey Noer  <noer@cygnus.com>
5207
5208         * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
5209         FIXME.
5210         * libc/include/sys/types.h: add a new __MS_types__ section
5211         to define vm_offset_t, vm_size_t, int32_t et al, register_t,
5212         __BIT_TYPES_DEFINED__.
5213
5214 Wed May 20 18:49:21 1998  Geoffrey Noer  <noer@cygnus.com>
5215
5216         * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
5217         since it overrides the one in libc/include/sys.  Also, start
5218         including types.h.
5219
5220 Wed May 20 14:45:40 1998  Geoffrey Noer  <noer@cygnus.com>
5221
5222         * libm/math/Makefile.in: add s_signgam.o to obj list
5223
5224 Tue May 19 11:57:11 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5225
5226         * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
5227
5228 Mon May 18 22:36:12 1998  Christopher Faylor <cgf@cygnus.com>
5229
5230         * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
5231         so don't use defines.
5232
5233 Mon May 18 19:01:02 1998  Michael Meissner  <meissner@cygnus.com>
5234
5235         * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
5236
5237 Sun May 17 18:40:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
5238
5239         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
5240         _current_locale as default locale.
5241
5242 Sat May 16 21:59:59 1998  Bob Manson  <manson@charmed.cygnus.com>
5243
5244         * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
5245         insufficient space in a chunk.
5246
5247 Tue May 12 14:41:01 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5248
5249         * configure.in (links): Added check for --enable-newlib-mb configure
5250         option which defines the MB_CAPABLE macro.
5251         * libc/locale/locale.c (_setlocale_r): Added support for setting
5252         LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
5253         defined.
5254         * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
5255         implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
5256         * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
5257         implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
5258         * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
5259         implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
5260         * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
5261         wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
5262         * libc/stdlib/Makefile.in: Added new multibyte
5263         routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
5264         * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
5265         _mbstowcs_r(), and _wcstombs_r().
5266         * libc/stdlib/mbctype.h: New internal header file that contains macros to test
5267         for JIS, SJIS, and EUC-JP characters.
5268         * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
5269         MB_CAPABLE defined.
5270         * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
5271         MB_CAPABLE defined.
5272         * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
5273         MB_CAPABLE defined.
5274         * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
5275         if MB_CAPABLE defined.
5276         * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
5277         if MB_CAPABLE defined.
5278         * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
5279         to the format string processing when MB_CAPABLE.
5280         * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
5281         call _mbtowc_r().
5282
5283 Tue May  5 16:07:23 1998  Nick Clifton  <nickc@cygnus.com>
5284
5285         The following modifications are courtesy of Anthony Thompson,
5286         athompson@cambridge.arm.com:
5287         * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
5288         boith RDI and RDP monitors.
5289         * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
5290         RDI and RDP monitors.
5291
5292 Wed Apr 29 15:22:15 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5293
5294         * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
5295         * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
5296         (_swiopen): Fixed open flags to treat write with append as just append.
5297         (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
5298         * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
5299
5300 Fri Apr 24 18:00:09 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5301
5302         * libc/machine/sh/memcpy.S (L_odddst, big endian version):
5303         When needing to transfer an initial 2-byte-word, store as
5304         two single bytes.
5305
5306 Wed Apr 22 17:56:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5307
5308         * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
5309         __SH3E__ .
5310         * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
5311         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
5312
5313 Wed Apr 22 12:28:03 1998  Michael Meissner  <meissner@cygnus.com>
5314
5315         * configure.in (target_cflags): If --enable-target-optspace, use
5316         -Os to compile newlib rather than -O2.  Default to using -Os for
5317         d10v, d30v and m32r if --{enable,disable}-target-optspace is not
5318         used.
5319
5320 Tue Apr 21 23:13:34 1998  Geoffrey Noer  <noer@cygnus.com>
5321
5322         * libc/include/machine/setjmp.h: change sigsetjmp and
5323         siglongjmp definitions to use an array instead of a struct
5324         for __CYGWIN32__
5325
5326 Tue Apr 14 11:47:47 1998  Doug Evans  <devans@canuck.cygnus.com>
5327
5328         * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
5329
5330 Mon Apr  6 15:05:08 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
5331
5332         * libc/string/strxfrm.c: fix to get correct return value
5333
5334 Wed Apr  1 16:09:05 1998  Nick Clifton  <nickc@cygnus.com>
5335
5336         * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
5337         builds.  Make mode change labels global so that they will be seen
5338         by the debugger.
5339
5340 Wed Mar 18 09:45:10 1998  Nick Clifton  <nickc@cygnus.com>
5341
5342         * configure.in (links): Do not use ARM debiugging protocols for PE
5343         builds.
5344
5345         * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
5346         message. 
5347
5348 Fri Mar 13 11:24:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5349
5350         * libc/stdio/findfp.c (__sinit): Made stdout default to
5351         line buffered mode as defined by ANSI.
5352
5353 Tue Mar 10 11:41:26 1997  Bob Manson  <manson@charmed.cygnus.com>
5354
5355         * libc/include/sys/itimer.h: New file.
5356
5357         * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
5358
5359 Mon Mar  9 14:19:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5360
5361         * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
5362         failure.
5363
5364 Fri Feb 27 13:56:10 1998  Michael Meissner  <meissner@cygnus.com>
5365
5366         * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
5367         insns.
5368
5369 Wed Feb 25 09:29:54 1998  Nick Clifton  <nickc@cygnus.com>
5370
5371         * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
5372
5373 Tue Feb 24 18:00:13 1998  Michael Meissner  <meissner@cygnus.com>
5374
5375         * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
5376         support.
5377
5378         * libc/include/machine/setjmp.h: Add D30V support.
5379
5380         * configure.in (d30v-*): Add d30v machine directory.
5381
5382 Mon Feb 23 09:32:58 1998  Mark Alexander  <marka@cygnus.com>
5383
5384         * configure.in: Don't use libc/sys/sysmec for MN10300; it's
5385         been replaced with libgloss/mn10300.
5386
5387 Sat Feb 21 17:44:43 1998  Geoffrey Noer  <noer@cygnus.com>
5388
5389         * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
5390         it is no longer needed.
5391
5392 Thu Feb 19 16:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
5393
5394         * libc/include/sys/signal.h: add sigpause proto for Cygwin32
5395
5396 Wed Feb 18 23:51:08 1998  Geoffrey Noer  <noer@cygnus.com>
5397
5398         * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
5399         the file when O_APPEND is set, wherever the EOF happens to be at
5400         that time. 
5401
5402 Wed Feb 18 23:25:02 1998  Geoffrey Noer  <noer@cygnus.com>
5403         
5404         patch from cgf@bbc.com (Christopher Faylor):
5405         * libc/stdio/freopen.c (freopen): Conform to standard UNIX
5406         convention of closing fp prior to attempting to open the file
5407         argument.  This allows correct operation when reopening
5408         stdin/stdout/stderr.  Replaces last freopen.c patch.
5409
5410 Wed Feb 18 16:27:40 1998  Geoffrey Noer  <noer@cygnus.com>
5411
5412         patch from cgf@bbc.com (Christopher Faylor):
5413         * libc/stdio/freopen.c: freopen was not preserving the fd
5414         of the stream being operated on.  This confuses programs that
5415         expect that the handles for stdout and stderr will be 1 and 2.
5416
5417 Mon Feb 16 23:34:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
5418
5419         * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
5420
5421 Thu Feb 12 15:09:20 1998  Ranjith Kumaran <ranjith@cygnus.com>
5422
5423         * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
5424
5425 Wed Feb 11 17:50:45 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5426
5427         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
5428         altered to not use a branch.  Also added hint that last
5429         bclr in longjmp will likely result in branch.
5430         
5431
5432 Mon Feb  9 03:44:02 1998  Geoffrey Noer  <noer@cygnus.com>
5433
5434         * libc/sys/cygwin32/crt0.c: add missing args to main() extern
5435
5436 Fri Feb  6 16:32:32 1998  Nick Clifton  <nickc@cygnus.com>
5437
5438         * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
5439         v850 builds.
5440
5441         * configure.in: Add -msmall-sld to target_cflags for v850 builds. 
5442
5443 Wed Feb  4 16:56:20 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5444
5445         * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
5446         that loads FR14 to specify offset of 8 rather than 4
5447         so it loads from offset 96 (where setjmp stored it).
5448
5449 Tue Feb  3 18:08:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5450
5451         * libc/machine/sh/memcpy.S: (_memcpy): Update to
5452         latest version supplied by customer.
5453         * libc/machine/sh/memset.S (_memset): Ditto.
5454
5455 Mon Feb  2 16:20:39 1998  Nick Clifton  <nickc@cygnus.com>
5456
5457         * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
5458         PR14730). 
5459
5460 Mon Feb  2 15:13:26 1998  Geoffrey Noer  <noer@cygnus.com>
5461
5462         * libc/include/string.h: remove redefinition of ffs
5463
5464 Wed Jan 28 13:30:14 1998  Geoffrey Noer  <noer@cygnus.com>
5465
5466         * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
5467         defined
5468
5469 Wed Jan 28 10:38:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5470
5471         * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
5472         TI Libraries to link to libc.a
5473         
5474 Sat Jan 24 10:15:56 1998  Michael Meissner  <meissner@cygnus.com>
5475
5476         * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
5477         * libc/include/sys/stat.h (_{,f}stat): Ditto.
5478         * libc/include/sys/wait.h (_wait): Ditto.
5479         * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
5480         (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
5481
5482 Fri Jan 23 11:32:10 1998  Michael Meissner  <meissner@cygnus.com>
5483
5484         * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
5485         minded stabs so function name shows up when running the simulator
5486         with -t.
5487         * libc/sys/d10v/{crt0,trap}.S: Ditto.
5488
5489 Thu Jan 22 15:57:14 1998  Fred Fish  <fnf@cygnus.com>
5490
5491         * libc/sys/d10v/trap.S: Change syscalls to use trap 15. 
5492         * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
5493         Use R5 where we used to use R3.
5494         
5495 Wed Jan 21 14:22:23 1998  Bill Moyer <billm@cygnus.com>
5496
5497         * libc/stdlib/getopt.c (getopt): replaced __progname
5498         with nargv[0] to improve portability to imbedded systems.
5499
5500 Thu Jan 15 12:32:38 1998  Nick Clifton  <nickc@cygnus.com>
5501
5502         * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
5503         patch supplied by Tont.Thompson@arm.com to fix the creation of the
5504         stdout file.
5505
5506 Wed Jan 14 13:00:19 1998  Ian Lance Taylor  <ian@cygnus.com>
5507
5508         * libc/stdio/tmpnam.c (worker): Generate a different file name
5509         each time.
5510
5511         * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
5512         fails, try an execlp for sh.
5513
5514         * host/any (INCLUDES): If target_os is cygwin32, then add a -I
5515         option for the winsup include directory.
5516
5517 Wed Jan  7 17:02:58 1998  Nick Clifton  <nickc@cygnus.com>
5518
5519         * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
5520         debugging interface from Tony.Thompson@arm.com.
5521         
5522         * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
5523         * libc/sys/arm/swi.h: ditto.
5524
5525 Tue Jan  6 14:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
5526
5527         * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
5528         DIR struct used for readdir hashes.
5529
5530 Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
5531
5532         * libc/string/strchr.c: Use "unsigned chars" as necessary.
5533
5534 Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
5535
5536         * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
5537         integer targets.
5538
5539 Sat Dec 13 15:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
5540
5541         * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
5542         INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
5543         * libc/include/malloc.h: Add extern "C" if __cplusplus.
5544         (__malloc_copy): Declare.
5545
5546 Wed Dec 10 12:15:54 1997  Ian Lance Taylor  <ian@cygnus.com>
5547
5548         * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
5549         <sys/config.h>.
5550         (POINTER_UINT): Define.
5551         (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
5552         (MALLOC_ALIGNMENT): Don't define if already defined.
5553         (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
5554         long.
5555
5556 Tue Dec  9 19:23:42 1997  Michael Meissner  <meissner@cygnus.com>
5557
5558         * libc/string/memset.c (memset): Fiddle with code so that the long
5559         value being stored is not a stack value.  Unroll storing longs 4
5560         times.
5561
5562 Tue Dec  9 14:13:18 1997  Jeff Johnston  <jjohnstn@cygnus.com>
5563
5564         * Reduce code size for libm modules.
5565         * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
5566         and simply move code into sqrt.
5567         * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
5568         * libm/math/wr_lgamma.c (lgamma_r): Likewise.
5569         * libm/math/wrf_gamma.c (gammaf_r): Likewise.
5570         * libm/math/wr_gamma.c (gamma_r): Likewise.
5571         * libm/math/wf_sinh.c (sinfh): Likewise.
5572         * libm/math/w_sinh.c (sinh): Likewise.
5573         * libm/math/wf_scalb.c (scalbf): Likewise.
5574         * libm/math/w_scalb.c (scalb): Likewise.
5575         * libm/math/wf_remainder.c (remainderf): Likewise.
5576         * libm/math/w_remainder.c (remainder): Likewise.
5577         * libm/math/wf_pow.c (powf): Likewise.
5578         * libm/math/w_pow.c (pow): Likewise.
5579         * libm/math/wf_log10.c (log10f): Likewise.
5580         * libm/math/w_log10.c (log10): Likewise.
5581         * libm/math/wf_log.c (logf): Likewise.
5582         * libm/math/w_log.c (log): Likewise.
5583         * libm/math/w_lgamma.c (lgamma): Likewise.
5584         * libm/math/wf_lgamma.c (lgammaf): Likewise.
5585         * libm/math/wf_jn.c (jnf): Likewise.
5586         * libm/math/w_jn.c (jn): Likewise.
5587         * libm/math/wf_j1.c (j1f): Likewise.
5588         * libm/math/w_j1.c (j1): Likewise.
5589         * libm/math/wf_j0.c (j0f): Likewise.
5590         * libm/math/w_j0.c (j0): Likewise.
5591         * libm/math/wf_hypot.c (hypotf): Likewise.
5592         * libm/math/w_hypot.c (hypot): Likewise.
5593         * libm/math/wf_gamma.c (gammaf): Likewise.
5594         * libm/math/w_gamma.c (gamma): Likewise.
5595         * libm/math/wf_fmod.c (fmodf): Likewise.
5596         * libm/math/w_fmod.c (fmod): Likewise.
5597         * libm/math/wf_exp.c (expf): Likewise.
5598         * libm/math/w_exp.c (exp): Likewise.
5599         * libm/math/wf_cosh.c (coshf): Likewise.
5600         * libm/math/w_cosh.c (cosh): Likewise.
5601         * libm/math/wf_atanh.c (atanhf): Likewise.
5602         * libm/math/w_atanh.c (atanh): Likewise.
5603         * libm/math/wf_atan2.c (atan2f): Likewise.
5604         * libm/math/w_atan2.c (atan2): Likewise.
5605         * libm/math/wf_asin.c (asinf): Likewise.
5606         * libm/math/w_asin.c (asin): Likewise.
5607         * libm/math/wf_acosh.c (acoshf): Likewise.
5608         * libm/math/w_acosh.c (acosh): Likewise.
5609         * libm/math/wf_acos.c (asocf): Likewise.
5610         * libm/math/w_acos.c (acos): Likewise.
5611         * libm/math/wf_sqrt.c (sqrtf): Likewise.
5612         * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
5613         for embedded systems.
5614
5615 Mon Dec  8 12:12:58 1997  Ian Lance Taylor  <ian@cygnus.com>
5616
5617         * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
5618         Lea in case of a foreign sbrk.
5619
5620 Fri Dec  5 23:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
5621
5622         Incorporate Doug Lea's malloc:
5623         * libc/stdlib/mallocr.c: Completely replaced.
5624         * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
5625         (realloc): Remove.
5626         * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
5627         * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
5628         mallopt.
5629         (mallinfo, malloc_stats, mallopt): New functions.
5630         (_mstats_r): Just call _malloc_stats_r.
5631         * libc/stdlib/malign.c: New file.
5632         * libc/stdlib/mlock.c: New file.
5633         * libc/stdlib/msize.c: New file.
5634         * libc/stdlib/mtrim.c: New file.
5635         * libc/stdlib/realloc.c: New file.
5636         * libc/stdlib/valloc.c: New file.
5637         * libc/stdlib/malloc.h: Remove.
5638         * libc/stdlib/callocr.c: Remove.
5639         * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
5640         malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
5641         mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
5642         reallocr.o, valloc.o, vallocr.o.
5643         (CHEWOUT_FILES): Add mlock.def, mstats.def.
5644         (MALLOC_CFLAGS): New variable.
5645         (mallocr.o): New target, build from mallocr.c.
5646         (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
5647         (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
5648         (msizer.o, malloptr.o): Likewise.
5649         (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
5650         (valloc.o): New target.
5651         * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
5652         * libc/include/malloc.h: Declare struct mallinfo, and new
5653         routines.
5654         * libc/include/stdlib.h (cfree): Correct declaration.
5655
5656 Tue Dec  2 10:12:16 1997  Nick Clifton  <nickc@cygnus.com>
5657
5658         * libc/include/machine/setjmp.h: Add support for Thumb target.
5659
5660         * libc/include/machine/ieeefp.h: Add support for Thumb target.
5661
5662         * configure.in (links): Add support for Thumb target.
5663
5664 Wed Nov 26 09:56:17 1997  Nick Clifton  <nickc@cygnus.com>
5665
5666         * libc/sys/arm/setjmp.S: Updated with version from branch.
5667
5668 Thu Nov 20 01:21:43 1997  Geoffrey Noer  <noer@cygnus.com>
5669
5670         * libc/include/stdio.h: add POSIX-required define L_ctermid
5671         for ctermid
5672
5673 Wed Nov 19 16:11:40 1997  Michael Meissner  <meissner@cygnus.com>
5674
5675         * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
5676         addition to MISSING_SYSCALL_NAMES.
5677
5678 Mon Nov 17 20:05:05 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5679
5680         * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
5681
5682 Mon Nov 10 22:26:55 1997  Geoffrey Noer  <noer@cygnus.com>
5683
5684         * libc/include/string.h: change strsignal proto to return
5685         a char *.  This eliminates compile problems in gdb resulting
5686         from gdb's definition of strsignal in defs.h.
5687
5688 Mon Nov 10 17:11:08 1997  Geoffrey Noer  <noer@cygnus.com>
5689
5690         * libc/sys/cygwin32/sys/utime.h: new (moved here from
5691         winsup/include) so as not to conflict with the one in
5692         libc/include.
5693         * libc/include/string.h: add protos for strsignal, strtosigno
5694
5695 Mon Nov 10 13:49:54 1997  Michael Meissner  <meissner@cygnus.com>
5696
5697         * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
5698
5699         * configure.in (d30v-*-*): Add configuration.
5700
5701 Thu Oct 30 14:01:23 1997  Nick Clifton  <nickc@cygnus.com>
5702
5703         * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
5704         to select which kind of debug monitor is in use for an ARM target.
5705
5706         * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
5707         Angel and Demon debug monitors.  Part of this code was supplied by
5708         Tony Thompson at ARM: athompso@arm.com.
5709
5710 Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
5711
5712         * strncat.c (strncat): Don't call strncpy; strncay has the wrong
5713         semantics when the count is greater than the length of the second
5714         source string.
5715
5716 Thu Oct 23 01:37:41 1997  Geoffrey Noer  <noer@cygnus.com>
5717
5718         * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
5719         * libc/include/sys/unistd.h: add protos for usleep, truncate,
5720         truncate and ftruncate take off_t, not size_t
5721
5722 Tue Oct 21 18:42:00 1997  Jim Wilson  <wilson@cygnus.com>
5723
5724         * libc/string/strcat.c (strcat): Add missing comment end.
5725         * libc/string/strncat.c (strncat): Likewise.
5726
5727 Tue Oct 21 17:23:34 1997  Nick Clifton  <nickc@cygnus.com>
5728
5729         * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
5730         targets. 
5731         * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
5732         optimised version which is selected if PREFER_SIZE_OVER_SPEED is
5733         defined.  
5734         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5735         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5736         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5737
5738 Mon Oct 13 15:12:35 1997  Ian Lance Taylor  <ian@cygnus.com>
5739
5740         * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
5741         (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
5742
5743 Thu Oct  9 13:54:44 1997  Doug Evans  <dje@canuck.cygnus.com>
5744
5745         * libc/machine/i386/setjmp.S: New file.
5746         * libc/machine/i386/Makefile.in: Delete COPYOFILES.
5747         (OFILES): Add setjmp.o.
5748         (setjmp.o): Add rule for.
5749         * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
5750
5751 Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
5752                          Jeffrey A Law  (law@cygnus.com)
5753
5754         * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
5755         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5756         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5757         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5758
5759 Mon Oct  6 14:07:59 1997  Nick Clifton  <nickc@cygnus.com>
5760
5761         * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
5762         rules. 
5763
5764         * libc/include/sys/config.h: Use __v850 to select v850
5765         endianness. 
5766
5767         * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5768         buffer size.
5769
5770         * libc/include/machine/ieeefp.h: Use __v850 to select v850
5771         endianness. 
5772
5773 Thu Sep 25 14:11:37 1997  Geoffrey Noer  <noer@cygnus.com>
5774
5775         * libc/stdlib/setenv.c: change unsetenv definition to match
5776         style of setenv (with _DEFUN).  The string should be a const.
5777         * libc/include/stdlib.h: unsetenv proto should return void.
5778
5779 Tue Sep 23 18:17:20 1997  Geoffrey Noer  <noer@cygnus.com>
5780
5781         * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5782
5783 Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
5784
5785         * libc/stdio/glue.h: remove.
5786         * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5787         * libc/stdio/Makefile.in: remove glue.h dependencies
5788
5789 Wed Sep 17 17:42:27 1997  Nick Clifton  <nickc@cygnus.com>
5790
5791         * libc/sys/sysnecv850/crt0.S: Created V850e version.
5792         
5793 Tue Sep  9 10:40:57 1997  Doug Evans  <dje@canuck.cygnus.com>
5794
5795         * configure.in (target_cpu): Add `arc'.
5796
5797 Tue Sep  9 10:40:42 1997  Joel Sherrill  <joel@OARcorp.com>
5798
5799         * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and 
5800           -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5801         * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5802         * newlib/libc/reent/reent.c: Add _wrapup_reent.
5803         * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5804
5805 Sun Sep  7 16:41:41 1997  Gavin Koch  <gavin@cygnus.com>
5806
5807         * libc/machine/mips/setjmp.S: Handle mips16 builds.
5808
5809 Thu Aug 21 20:05:38 1997  Ian Lance Taylor  <ian@cygnus.com>
5810
5811         * libc/include/stdio.h (siprintf): Declare.
5812
5813 Mon Aug 18 11:19:13 1997  Nick Clifton  <nickc@cygnus.com>
5814
5815         * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5816         TARGET_CFLAGS and NEWLIB_FLAGS.
5817
5818 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5819
5820         * configure.in (links): Add support for v850ea target.
5821
5822 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5823
5824         * configure.in (links): Add support for v850e target.
5825
5826 Wed Aug 13 19:16:54 1997  Nick Clifton  <nickc@cygnus.com>
5827
5828         * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5829
5830 Mon Aug 11 15:49:54 1997  Doug Evans  <dje@canuck.cygnus.com>
5831
5832         * configure.in (arc-*-*): Add support for.
5833         * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5834
5835 Fri Jul 25 17:37:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5836
5837         * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5838
5839 Thu Jul 24 18:32:17 1997  Geoffrey Noer  <noer@cygnus.com>
5840
5841         * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5842         comparison which accesses invalid memory when the key is
5843         larger than the last member of the array.
5844         * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5845         for CYGWIN32
5846         * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5847
5848 Tue Jul 22 16:03:06 1997  Ian Lance Taylor  <ian@cygnus.com>
5849
5850         * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5851         not _STRICT_ANSI.
5852
5853 Thu Jul 10 15:11:52 1997  Doug Evans  <dje@canuck.cygnus.com>
5854
5855         * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5856         ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5857
5858 Thu Jul 10 16:00:09 1997  Mike Meissner  <meissner@cygnus.com>
5859
5860         * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5861         to load/store memory.
5862
5863 Mon Jul  7 17:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
5864
5865         * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5866         underscores if _WIN32.
5867
5868 Wed Jul  2 10:07:20 1997  Doug Evans  <dje@canuck.cygnus.com>
5869
5870         * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5871         support ifdef _USE_WRITE missed in last change.
5872         From Anders Blomdell <anders.blomdell@control.lth.se>.
5873
5874 Wed Jun 25 10:18:49 1997  Doug Evans  <dje@canuck.cygnus.com>
5875
5876         * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5877         (_tmpnam_r, _tempnam_r): Update.
5878
5879 Wed Jun 25 00:16:55 1997  Mark Alexander  <marka@cygnus.com>
5880
5881         * libc/machine/sparc/setjmp.S: New file.
5882         * libc/machine/sparc/Makefile.in: Add setjmp.
5883         * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5884
5885 Tue Jun 24 23:27:38 1997  Mark Alexander  <marka@cygnus.com>
5886
5887         * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5888
5889 Tue Jun 24 14:53:40 1997  Doug Evans  <dje@canuck.cygnus.com>
5890
5891         From Joel Sherrill <joel@oarcorp.com>.
5892         * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5893
5894         Add rtems support.  From Joel Sherrill <joel@oarcorp.com>.
5895         * configure.in: Recognize *-*-rtems*.
5896         * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5897         * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5898         time.h,times.h,types.h}: New files.
5899         * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5900
5901 Fri Jun 20 11:13:16 1997  Geoffrey Noer  <noer@cygnus.com>
5902
5903         patch from sos@prospect.com.ru (Sergey Okhapkin):
5904         * include/sys/wait.h: correct operator precidence bug
5905         in WIFSIGNALED
5906
5907 Wed Jun 18 22:08:27 1997  Geoffrey Noer  <noer@cygnus.com>
5908
5909         * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5910         with newlib's unsetenv function
5911         * libc/sys/cygwin32/sys: new directory for includes
5912         * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5913         here from winsup/include/sys
5914
5915 Mon Jun 16 21:02:22 1997  Geoffrey Noer  <noer@cygnus.com>
5916
5917         * libc/include/sys/unistd.h: _exit should only be
5918         labelled noreturn when not __CYGWIN32__
5919         * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5920         * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5921         increment NSIG
5922
5923 Thu Jun 12 18:52:41 1997  Ian Lance Taylor  <ian@cygnus.com>
5924
5925         * libc/include/sys/time.h: Only define timeval and timezone if
5926         _GNU_H_WINDOWS32_SOCKETS is not defined.
5927         * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5928
5929 Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
5930
5931         * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5932         * libc/machine/mn10300/setjmp.S: Likewise.
5933
5934         * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5935         the mn10300 (more relaxing opportunities).
5936
5937 Tue Jun 10 17:24:45 1997  Mike Meissner  <meissner@cygnus.com>
5938
5939         * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5940         Build libraries with -mstrict-align.
5941
5942 Fri Jun  6 14:07:59 1997  Ian Lance Taylor  <ian@cygnus.com>
5943
5944         * libc/string/strlwr.c: New file.
5945         * libc/string/strupr.c: New file.
5946         * libc/include/string.h: Declare strlwr and strupr.
5947         * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5948         (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5949         (strlwr.o, strupr.o): New targets.
5950         * libc/string/strings.tex: Include strlwr and strupr docs.
5951
5952         * libc/include/sys/types.h: Don't define u_char, et. al., if
5953         _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
5954         et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
5955         _types_fd_set rather than fd_set, and define fd_set as a macro.
5956
5957         * libc/include/malloc.h: New file.
5958
5959         * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5960         strnicmp if they are not already defined.
5961
5962         * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5963         _timezone, _daylight, and _tzname.
5964
5965 Wed Jun  4 12:51:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5966
5967         * configure.in: Sort all configuration tables.
5968
5969         From Joel Sherrill <joel@oarcorp.com>
5970         * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5971
5972 Tue Jun  3 14:47:46 1997  Ian Lance Taylor  <ian@cygnus.com>
5973
5974         * libc/include/sys/signal.h: Don't include <sys/types.h>.  Just
5975         use int when declaring kill.
5976
5977         * libc/include/sys/timeb.h: New file.
5978
5979 Mon Jun  2 12:06:58 1997  Geoffrey Noer  <noer@cirdan.cygnus.com>
5980
5981         * libc/include/sys/time.h: add itimer support for Cygwin32
5982
5983 Mon May 19 11:56:46 1997  Mike Meissner  <meissner@cygnus.com>
5984
5985         * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5986         out a message that abort was called to stderr.
5987
5988 Fri May 16 15:02:59 1997  Bob Manson  <manson@charmed.cygnus.com>
5989
5990         * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5991         so that libio doesn't freak.
5992
5993         * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5994         int.
5995
5996         * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5997         memory sizes, not int.
5998
5999 Wed May 14 21:16:58 1997  Bob Manson  <manson@charmed.cygnus.com>
6000
6001         * libm/math/ef_hypot.c: Use long constants where
6002         appropriate.
6003         * libm/math/ef_sqrt.c: Ditto.
6004
6005         * libc/sys/sysmec/times.c(_times): Change to times.
6006
6007         * libc/sys/sysmec/read.c(_read): The third argument is
6008         size_t.
6009         * libc/sys/sysmec/write.c (_write): Ditto.
6010
6011         * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
6012         (_lseek): It's off_t for the second argument.
6013
6014 Wed May 14 15:23:36 1997  Mike Meissner  <meissner@cygnus.com>
6015
6016         * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
6017         as well as machine/ieeefp.h.
6018
6019 Thu May  8 15:47:25 1997  Geoffrey Noer  <noer@cygnus.com>
6020
6021         * libc/include/sys/signal.h: add signal protos for winsup
6022         functions (when __CYGWIN32__), include types.h
6023         * libc/include/sys/types.h: Change __go32_types__ internal
6024         define to __MS_types__ since it's used for more than just
6025         GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
6026         defined.
6027         * libc/include/sys/unistd.h: add ftruncate proto for
6028         winsup functions (when __CYGWIN32__)
6029
6030 Fri Apr 25 10:10:16 1997  Doug Evans  <dje@canuck.cygnus.com>
6031
6032         * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
6033
6034 Thu Apr 24 15:46:51 1997  Mike Stump  <mrs@cygnus.com>
6035
6036         * libc/include/machine/setjmp.h: Add tic80 support.
6037         * libc/machine/tic80/setjmp.S: Likewise.
6038
6039 Tue Apr 22 16:54:40 1997  Geoffrey Noer  <noer@pizza.cygnus.com>
6040
6041         * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
6042         link programs from libraries only (such as in the X11
6043         distribution)
6044
6045 Mon Apr 21 15:02:12 1997  Fred Fish  <fnf@cygnus.com>
6046
6047         * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
6048         supplied elsewhere in newlib.
6049
6050 Mon Apr 14 16:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
6051
6052         * Makefile.in (INSTALL): Change install.sh to install-sh.
6053
6054 Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
6055
6056         * README: update WWW address for on-line documentation.
6057
6058 Wed Apr  9 00:38:13 1997  Geoffrey Noer  <noer@cygnus.com>
6059
6060         * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
6061         increment NSIG
6062
6063 Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
6064
6065         * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
6066         mn10300.
6067         * libc/sys/sysmec/trap.S: Don't compare a register to itself.
6068
6069 Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
6070
6071         * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
6072         * libc/sys/d10v/syscalls.c: Likewise.
6073         * libc/sys/h8300hms/sbrk.c: Likewise.
6074         * libc/sys/h8500hms/syscalls.c: Likewise.
6075         * libc/sys/m88kbug/syscalls.c: Likewise.
6076         * libc/sys/sh/syscalls.c: Likewise.
6077         * libc/sys/sysmec/sbrk.c: Likewise.
6078         * libc/sys/sysnecv850/sbrk.c: Likewise.
6079         * libc/sys/w65/syscalls.c: Likewise.
6080         * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
6081
6082 Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
6083
6084         * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
6085         emulated syscall instead of "trap".
6086
6087 Fri Mar 14 11:26:13 1997  Michael Meissner  <meissner@cygnus.com>
6088
6089         * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
6090         not trap 0.
6091
6092 Sun Mar  9 23:27:04 1997  Doug Evans  <dje@seba.cygnus.com>
6093
6094         * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
6095
6096 Sat Mar  8 09:05:01 1997  Fred Fish  <fnf@cygnus.com>
6097
6098         * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
6099         not "sh".
6100         * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
6101         not "d10v".
6102         * libc/sys/tic80/crt0.c: New file for TIc80.
6103         * libc/sys/tic80/Makefile.in: New file for TIc80.
6104         * libc/machine/tic80/Makefile.in: New file for TIc80.
6105
6106 Wed Mar  5 11:32:12 1997  J.T. Conklin  <jtc@cygnus.com>
6107
6108         * libc/machine/sh/memcpy.S: New file.
6109         * libc/machine/sh/memset.S: New file.
6110         * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
6111
6112 Thu Feb 27 16:27:55 1997  Fred Fish  <fnf@cygnus.com>
6113
6114         * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
6115         for TIc80.
6116
6117 Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
6118
6119         * libc/sys/sysmec/crt0.S: Handle new calling conventions for
6120         the mn10200.
6121
6122 Wed Feb 26 07:11:03 1997  Michael Meissner  <meissner@cygnus.com>
6123
6124         * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
6125         (patch from andrew@pogo.WV.TEK.COM).
6126
6127 Fri Feb 14 11:49:28 1997  Doug Evans  <dje@canuck.cygnus.com>
6128
6129         * libc/machine/m32r/setjmp.S (setjmp): Save r12.
6130         (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
6131
6132 Mon Feb 10 10:02:34 1997  Fred Fish  <fnf@cygnus.com>
6133
6134         * configure.in:  Add cases for "tic80" to set machine_dir,
6135         sys_dir, and syscall_dir.
6136
6137 Sun Feb  2 17:57:15 1997  Geoffrey Noer  <noer@cygnus.com>
6138
6139         * libc/sys/cygwin32/crt0.c: initialize floating pt registers
6140
6141 Wed Jan 29 15:57:38 1997  Geoffrey Noer  <noer@cygnus.com>
6142
6143         * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
6144
6145 Mon Jan 27 12:50:01 1997  Doug Evans  <dje@seba.cygnus.com>
6146
6147         * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
6148         Use proper constant prefix.
6149
6150 Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
6151
6152         * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
6153         that loses on the mn10200 where ints and pointers are different
6154         sizes.
6155
6156 Tue Jan 14 13:29:55 PST 1997  Jeremy Allison <jra@cygnus.com>
6157
6158         * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
6159         target as signal is provided in winsup.
6160
6161 Tue Jan 14 11:10:13 1997  Jeremy Allison <jra@cygnus.com>
6162
6163         * libc/include/sys/process.h: Corrected const definitions
6164         in spawn functions. Added cwait.
6165
6166 Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
6167
6168         * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
6169         doubles.
6170         * libc/include/sys/config.h: Similarly.
6171
6172 Tue Dec 31 18:36:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6173
6174         * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
6175         target_cflags.
6176         (i[3456]86-*-sco*): Ditto.
6177
6178         * libc/signal/Makefile.in (OFILES): Add signal.o.
6179         (CFILES): Add signal.c.
6180
6181         * libc/signal/raise.c (_raise_r): Only compile code if
6182         SIGNAL_PROVIDED is defined.
6183
6184         * libc/signal/signal.c: Redo whole file so that it works with
6185         current newlib.  Use _kill_r if no signal handler provided.
6186
6187         * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
6188         signal stubs.
6189         * libc/sys/sysvnecv70/Makefile.in: Ditto.
6190         * libc/sys/sysnecv850/Makefile.in: Ditto.
6191
6192         * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
6193         * libc/sys/sysmec/{raise,signal}.c: Ditto.
6194         * libc/sys/sysvnecv70/signal.s: Ditto.
6195         * libc/sys/sysnecv850/raise.c: Ditto.
6196
6197         * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
6198         simulator and debugger can tell the difference between a signal
6199         being raised and an exit system call.
6200
6201         * NEWS: Document software signals being provided.
6202
6203 Mon Dec 23 11:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6204
6205         * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
6206         __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
6207         include/sys/config.h.
6208         (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
6209         Change from 'inpure_data'.
6210         (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
6211         &impure_data, not &inpure_data.
6212
6213         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
6214         and and System V ABI, define so that _impure_ptr lives in the
6215         .sdata section.
6216
6217 Sun Dec 22 23:33:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6218
6219         * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
6220         nothing if not defined.
6221         (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
6222         its attributes.
6223
6224         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): 
6225
6226 Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
6227
6228         * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
6229         * libc/sys/sysmec/trap.s: Handle mn10200 too.
6230         * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
6231
6232 Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
6233
6234         * libc/sys/sysmec/crt0.S: Handle mn10200 too.
6235
6236 Fri Dec 13 11:05:20 1996  Jeremy Allison <jra@cygnus.com>
6237
6238         * libc/include/sys/errno.h: Added net errno's.
6239
6240 Wed Dec 11 16:24:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6241
6242         * libc/misc/ffs.c: New file to support ffs function for GCC test
6243         gcc.c-torture/execute/960909-1.c.
6244
6245         * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
6246
6247 Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
6248
6249         * libc/sys/sysmec/crt0.S: Handle underscore prefix.
6250         * libc/sys/sysmec/trap.S: Likewise.
6251
6252 Fri Dec  6 15:08:49 1996  Jim Wilson  <wilson@cygnus.com>
6253
6254         * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
6255         * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
6256
6257 Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
6258
6259         * libc/sys/sysmec/signal.c: Dummy file.
6260         * libc/sys/sysmec/Makefile.in: Build it.
6261
6262 Wed Nov 27 13:10:18 1996  Ian Lance Taylor  <ian@cygnus.com>
6263
6264         * libc/machine/mips/machine/regdef.h: Define pc as $pc for
6265         mips16.
6266
6267 Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
6268
6269         * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
6270         c-startup and simulator traps.
6271
6272
6273         * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
6274         * libc/sys/sysmec/trap0.S: Likewise.
6275
6276 Sat Nov 23 09:01:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6277
6278         * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
6279         round to double word alignment.
6280         (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
6281         byte alignment.
6282
6283         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
6284
6285         * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
6286         out of memory.
6287
6288 Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
6289
6290         * configure.in: Handle mn10200 and mn10300.
6291         * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
6292         * libc/include/sys/config.h: Likewise.
6293         * libc/sys/sysmec: New directory for mec stuff.
6294         * libc/machine/mn10300: New directory for mn10300 stuff.
6295         * libc/machine/mn10200: Similarly for mn10200 stuff.
6296
6297 Fri Nov 15 16:41:41 1996  Doug Evans  <dje@canuck.cygnus.com>
6298
6299         * libc/sys/arm/crt0.S: Use .text, not .section .text.
6300         * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
6301
6302         * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
6303         (nlink_t): Change type from unsigned int to unsigned short.
6304         (mode_t): Ensure size is 32 bits even if int is 16.
6305         * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
6306         (st_spare[123]): Change type from int to long.
6307
6308 Fri Nov 15 11:41:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6309
6310         * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
6311         byte boundary.
6312
6313         * configure.in (d10v*): Define SMALL_MEMORY.
6314
6315 Mon Nov 11 10:30:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6316
6317         * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
6318         -mrelocatable-lib and -mno-eabi flags.
6319
6320 Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
6321
6322         * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
6323         Fix handling of mis-aligned source operand when both the
6324         destination & length are properly aligned.
6325         
6326 Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
6327
6328         * libc/sys/sysnecv850/Makefile.in (OFILES): Add
6329         times.o, time.o and gettime.o
6330         * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
6331         * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
6332         SYS_gettimeofday.
6333
6334 Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
6335
6336         * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
6337         * libc/sys/sysnecv850/access.c: New file.
6338
6339 Mon Oct 21 19:47:02 1996  Ian Lance Taylor  <ian@cygnus.com>
6340
6341         * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
6342
6343         * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
6344         long.
6345
6346 Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
6347
6348         * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
6349
6350 Thu Oct 17 11:47:16 1996  Doug Evans  <dje@seba.cygnus.com>
6351
6352         * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
6353         * libc/include/sys/config.h: Add m32r support.
6354
6355 Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
6356
6357         * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
6358         here.
6359
6360 Wed Oct 16 21:18:07 1996  Mark Alexander  <marka@cygnus.com>
6361
6362         * libc/include/machine/setjmp.h: Add D10v support.
6363
6364 Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
6365
6366         * configure.in: Configure the "libc/syscalls" directory for
6367         the v850.
6368
6369         * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
6370         * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
6371         * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
6372         * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
6373         * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
6374
6375 Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
6376
6377         * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
6378         stack for args for main and other routines.  Zero out args for
6379         main.
6380
6381         * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
6382         correctly.
6383
6384 Tue Oct 15 11:51:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6385
6386         * libc/stdio/findfp.c (std): Remove extraneous ';' after
6387         function.
6388
6389         * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
6390
6391         * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
6392         real system calls now.
6393
6394         * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
6395         before casting them to int.
6396         * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
6397
6398         * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
6399         aligning pointer.
6400         * libc/string/memset.c (memset): Ditto.
6401         
6402         * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
6403         first convert ints to _POINTER_INT to eliminate GCC warning.
6404
6405         * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
6406         processing %p.
6407
6408         * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
6409         from 65000 if ints are only 16 bits.
6410
6411         * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
6412         from 50000 if ints are only 16 bits.
6413
6414         * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
6415         int type that is the same size as a pointer.
6416
6417         * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
6418         processing %p.
6419         (get_number): Explicitly cast number to long before shifting by 16
6420         or 24, in case ints are short.
6421
6422         * libc/include/sys/config.h (_POINTER_INT): Define as short.
6423
6424 Wed Oct  9 16:54:32 1996  Jeremy Allison <jra@cygnus.com>
6425
6426         * libc/string.h: Added ffs, removed swab.
6427         * libc/sys/errno.h: Added EOPNOTSUPP.
6428         * libc/sys/unistd.h: Added swab.
6429
6430 Thu Oct  3 17:08:50 1996  Jeremy Allison <jra@cygnus.com>
6431
6432         * libc/include/sys/stat.h: Added fchmod.
6433         * libc/include/sys/unistd.h: Added fsync.
6434
6435 Tue Oct  1 17:34:08 1996  Jeremy Allison <jra@cygnus.com>
6436
6437         * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
6438         and ECONNRESET (104) for cygwin32.
6439
6440 Tue Oct  1 16:24:05 1996  Gavin Koch  <gavin@cygnus.com>
6441
6442         * libc/sys/sysnecv850/_exit.c: added _do_dtors to
6443         do the static destructors.
6444         
6445 Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
6446
6447         * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
6448
6449 Mon Sep 30 12:02:50 1996  Doug Evans  <dje@canuck.cygnus.com>
6450
6451         * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
6452         * configure.in: Recognize m32r-*-*.
6453
6454 Mon Sep 30 00:34:41 1996  James G. Smith  <jsmith@cygnus.co.uk>
6455
6456         * libc/sys/arm/trap.S (__rt_stkovf_split_big,
6457         __rt_stkovf_split_small): Added default software stack overflow
6458         handlers, which just call SWI_Exit.
6459         * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
6460         limit initialisation.
6461
6462 Fri Sep 27 13:08:03 1996  Mark Alexander  <marka@cygnus.com>
6463
6464         * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
6465
6466 Fri Sep 27 12:32:00 1996  Jeremy Allison <jra@cygnus.com>
6467
6468         * libc/include/sys/types.h: Added ssize_t definition.
6469         
6470 Wed Sep 25 14:52:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6471
6472         * libc/machine/d10v/setjmp.S: Use ';' for comments.
6473         * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
6474
6475         * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
6476         branch around a single ldi instruction.
6477
6478         * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
6479         Call exit, instead of just issuing a stop instruction.
6480
6481 Sun Sep 22 17:26:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6482
6483         * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
6484
6485 Fri Sep 20 13:23:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6486
6487         * libc/stdlib/mprec.h: Explicitly declare all large constants as
6488         longs, and then cast them to __uint32_t.
6489
6490         * libc/include/sys/config.h: Protect against multiple inclusions.
6491
6492 Tue Sep 17 13:10:33 1996  Mark Alexander  <marka@cygnus.com>
6493
6494         * configure.in (d10v*): Set syscall_dir.
6495
6496 Sun Sep 15 10:41:59 1996  Mark Alexander  <marka@cygnus.com>
6497
6498         * libc/sys/d10v/crt0.S: Set stack pointer.
6499
6500 Thu Sep 12 13:02:38 1996  Mark Alexander  <marka@cygnus.com>
6501
6502         * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
6503         in assembly for efficiency.  Change calling convention to allow
6504         long ints to be returned.
6505
6506 Wed Sep 11 10:28:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6507
6508         * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
6509
6510 Thu Sep  5 19:23:06 1996  Doug Evans  <dje@canuck.cygnus.com>
6511
6512         * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
6513         Handle empty entries in $PATH.
6514
6515 Tue Sep 03 18:15:02 1996  Mark Alexander  <marka@cygnus.com>
6516
6517         * libc/machine/d10v/setjmp.S: Make it really work.
6518
6519 Tue Sep  3 12:16:26 1996  Ian Lance Taylor  <ian@cygnus.com>
6520
6521         * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
6522         the .stack section.
6523
6524 Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
6525
6526         * sys/sysnecv850/sys/file.h: Remove.
6527         * sys/sysnecv850/sys/syscall.h: New file.
6528         * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
6529         * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
6530         * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
6531         * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
6532         * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
6533         * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
6534         * sys/sysnec850/trap.S: New file.
6535         * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
6536         syscalls.
6537         * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
6538         * sys/sysnec850/sbrk.c: New version.
6539
6540 Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
6541
6542         * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
6543         as long as r6 is less than r7.
6544
6545 Sun Sep  1 13:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
6546
6547         * Makefile.in (mostlyclean): Separate from clean target.  Don't
6548         remove *.a or targ-include.
6549         * libc/machine/sparc/Makefile.in (mostlyclean): New target.
6550
6551 Sun Sep  1 11:35:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6552
6553         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
6554         d10v.
6555         (__SMALL_BITFIELDS): Ditto.
6556
6557         * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
6558
6559 Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
6560
6561         * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
6562         prefix.
6563
6564         * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
6565         * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
6566         * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
6567         * libc/sys/sysnecv850/write.c (write): Likewise.
6568
6569         * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
6570         .bss.
6571
6572 Fri Aug 30 11:18:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6573
6574         * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
6575         appropriately for D10V, depending on -mint16/-mint32.
6576
6577 Thu Aug 29 16:09:37 1996  Mark Alexander  <marka@cygnus.com>
6578
6579         * configure.in: Add cases for D10V.
6580
6581 Thu Aug 29 17:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6582
6583         * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
6584
6585 Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
6586
6587         * libc/include/machine/ieeefp.h: Fix typo.
6588
6589 Wed Aug 28 19:47:55 1996  Mark Alexander  <marka@cygnus.com>
6590
6591         * libc/sys/d10v: New directory for D10V stuff.
6592         * libc/include/machine/ieeefp.h: Add D10V defines.
6593
6594 Mon Aug 26 13:34:58 1996  Doug Evans  <dje@canuck.cygnus.com>
6595
6596         * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
6597         ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
6598         ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
6599         * libc/string/strerror.c (strerror): Add them.
6600
6601 Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
6602
6603         * libc/sys/sysnecv850: New directory for v850 stuff.
6604
6605         * libc/machine/v850: New directory for v850 stuff.
6606         * libc/machine/v850/setjmp.S: setjmp/longjmp support.
6607
6608         * configure.in: Add support for the v850.
6609
6610         * libc/include/machine/ieeefp.h: Add v850 defines.
6611         * libc/include/machine/setjmp.h: Likewise.
6612         * libc/include/sys/config.h: Add v850 defines.
6613
6614 Sat Aug 17 04:06:36 1996  Geoffrey Noer  <noer@cygnus.com>
6615
6616         * libc/include/machine/ieeefp.h
6617         * libc/include/machine/setjmp.h
6618         * libc/include/sys/fcntl.h
6619         * libc/include/sys/signal.h
6620         * libc/include/sys/types.h
6621         * libc/stdlib/system.c:
6622         Fix preprocessor defines to match new scheme (_WIN32 for WIN32
6623         API availability, __CYGWIN32__ for cygwin32 environment specific).
6624
6625 Thu Aug 15 17:09:21 1996  Geoffrey Noer  <noer@cygnus.com>
6626
6627         * libc/include/stdlib.h: add multibyte character functions.  Add
6628         __eprintf for assert.
6629
6630 Thu Aug 15 11:15:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6631
6632         * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
6633         arithmetic or __alignof__ to properly get the alignment, instead
6634         of hardwiring it to 4.
6635
6636 Wed Aug 14 23:43:28 1996  Geoffrey Noer  <noer@cygnus.com>
6637
6638         * libc/stdio/fseek.c: add fflush call to adjust seek offset
6639         on append stream (fix from NetBSD sources), adjust curoff offset
6640         for ungetc's benefit.
6641         * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
6642         * libc/stdio/rewind.c: replace code with up to date NetBSD
6643         code to undo hacks made to work around above problem of not
6644         having fflush call mentioned above
6645
6646 Fri Aug  2 18:28:07 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6647
6648         * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
6649         openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
6650         Partially revert last changes.  The thread specific errno is set
6651         iff if the underlying syscall fails and the global errno is not
6652         zero.
6653
6654 Fri Jul 19 11:41:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6655
6656         * libc/reent/filer.c: Removed files, all functions have split out
6657         into their own files.
6658         * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}: 
6659         New files containing functions formally in filer.c
6660         * libc/reent/Makefile.in: Updated for above change.
6661
6662         * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
6663         syscall fails, not if errno is changed.
6664         * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r, 
6665         _write_r): Likewise.
6666         * libc/reent/fstatr.c (_fstat_r): Likewise.
6667         * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
6668         * libc/reent/sbrkr.c (_sbrk_r): Likewise.
6669         * libc/reent/signalr.c (_kill_r): Likewise.
6670         * libc/reent/statr.c (_stat_r): Likewise.
6671         * libc/reent/timer.c (_gettimeofday_r): Likewise.
6672
6673         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
6674         signalr.c, statr.c, timer.c} (errno): declare extern rather
6675         than as a common.
6676
6677         * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
6678         instead of calling vfprintf so that i*printf will not require
6679         floating point support code.
6680         
6681 Mon Jul 15 16:50:59 1996  Doug Evans  <dje@canuck.cygnus.com>
6682
6683         * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
6684         path delimiter.
6685         * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
6686         (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
6687
6688 Thu Jul 11 14:34:14 1996  Geoffrey Noer  <noer@cygnus.com>
6689
6690         * libc/include/signal.h: _sig_func_ptr function takes an int
6691         * libc/include/sys/signal.h: sa_handler function takes an int
6692
6693 Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
6694
6695         * libc/include/machine/ieeefp.h: Simplify H8/S support.
6696         * libc/include/sys/config.h: Add missing H8/S conditional.
6697
6698 Sun Jun 30 12:05:46 1996  Doug Evans  <dje@canuck.cygnus.com>
6699
6700         * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
6701
6702 Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
6703
6704         * libc/include/machine/setjmp.h: Handle H8/S.
6705         * libc/include/machine/ieeefp.h: Likewise.
6706         * libc/include/sys/config.h: Likewise.
6707         * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
6708         * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
6709         * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
6710         * libc/sys/h8300hms/crt0.S: Likewise.
6711
6712 Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
6713
6714         * Makefile.in (datadir): Set to $(prefix)/share.
6715         (oldincludedir, docdir): Removed.
6716         * doc/Makefile.in (datadir): Set to $(prefix)/share.
6717         (oldincludedir, docdir): Removed.
6718         * libc/Makefile.in (datadir): Set to $(prefix)/share.
6719         (oldincludedir, docdir): Removed.
6720         * libm/Makefile.in (datadir): Set to $(prefix)/share.
6721         (oldincludedir, docdir): Removed.
6722
6723 Fri Jun 21 19:24:41 1996  Ian Lance Taylor  <ian@cygnus.com>
6724
6725         * libc/include/sys/reent.h (_REENT_INIT): Update for change to
6726         _reent struct.
6727
6728 Wed Jun 19 14:00:09 1996  Doug Evans  <dje@canuck.cygnus.com>
6729
6730         * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
6731         fetch current path rules with sysconf and handler posix/win32
6732         appropriately.
6733
6734         * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
6735
6736         * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
6737         (WAIT_CHILD): Always define.
6738
6739 Sat Jun 15 17:50:42 1996  Ian Lance Taylor  <ian@cygnus.com>
6740
6741         * libc/stdlib/eprintf.c: New file.
6742         * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
6743         (eprintf.o): New target.
6744
6745 Thu Jun 13 16:44:32 1996  Doug Evans  <dje@canuck.cygnus.com>
6746
6747         * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
6748         (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
6749
6750 Thu Jun 13 17:45:17 1996  Mike Meissner  <meissner@rtl.cygnus.com>
6751
6752         * libc/include/machine/ieeefp.h: Add support for AIX and Windows
6753         NT in PowerPC endianess cases.
6754
6755 Tue Jun 11 12:26:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6756
6757         * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
6758
6759 Thu Jun  6 11:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6760
6761         * libc/string/strtok.c: Fix doc typo.
6762
6763 Mon Jun  3 11:30:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6764
6765         * libc/include/sys/reent.h (struct _reent): Removed _asctime,
6766         _next, _scanpoint, _signgam fields.
6767
6768         * libc/include/stdlib.h (rand_r): Added new declaration.
6769         (_rand_r, _srand_r): Removed declarations.
6770         * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6771         have been made obsolete by rand_r.
6772         * libc/stdlib/rand_r.c: New file, rand_r function as specified
6773         by POSIX.1c.
6774         
6775         * libc/string/strtok.c: Update documentation to describe
6776         strtok_r().
6777
6778 Sat Jun  1 23:50:39 1996  Michael Meissner  <meissner@cygnus.com>
6779
6780         * libc/include/sys/stat.h (stat structure): Use the expanded stat
6781         structure on Solaris, and PowerPC systems even though __svr4__ is
6782         defined.
6783
6784 Tue May 28 13:02:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6785
6786         * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6787
6788 Fri May 17 10:34:44 1996  Ian Lance Taylor  <ian@cygnus.com>
6789
6790         * host/any: Use ../.. rather than .. to get to the main build
6791         directory.  This matches the current layout of the build
6792         directory.
6793
6794 Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
6795
6796         * libc/machine/h8300/__main.S: Delete.  No longer needed.
6797         * libc/machine/h8300/Makefile.in: Corresponding changes.
6798         * libc/sys/h8300hms/crt1.c: New file.
6799         * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6800         * libc/sys/h8300hms/crt0.s: Call __main.
6801
6802         * libc/sys/h8300hms/crt0.S: Use temporary label names
6803         for branch targets.
6804
6805 Mon May 13 14:26:30 1996  Doug Evans  <dje@canuck.cygnus.com>
6806
6807         * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6808
6809 Fri May  3 16:38:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6810
6811         * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6812         .sdata on the PowerPC so that we can link newlib with code
6813         compiled with -msdata.
6814
6815 Mon Apr 29 21:38:02 1996  Doug Evans  <dje@canuck.cygnus.com>
6816
6817         * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6818
6819 Thu Apr 25 06:38:59 1996  Michael Meissner  <meissner@cygnus.com>
6820
6821         * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6822         exception handler to __cygwin_exception_handler.
6823
6824 Tue Apr 23 15:14:20 1996  Ian Lance Taylor  <ian@cygnus.com>
6825
6826         * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6827
6828 Sun Apr 21 12:11:51 1996  Doug Evans  <dje@blues.cygnus.com>
6829
6830         * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6831         SunOS VPATH.
6832         * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6833         wcstombs.o): Likewise.
6834
6835 Thu Apr 18 12:37:01 1996  Doug Evans  <dje@canuck.cygnus.com>
6836
6837         * libc/stdlib/environ.c (initial_env): New static local.
6838         (environ): Point to `initial_env'.
6839
6840         * libc/include/machine/setjmp.h: Clean up.
6841         (__H8300H__,__PPC__): Define _JBTYPE.
6842         (__arm__): Provide entry for.
6843         (sigjmp_buf): Delete.
6844         (jmp_buf): Use _JBTYPE if defined, otherwise int.
6845
6846 Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
6847
6848         * libc/machine/h8300/strcmp.S: Sign extend the result to
6849         32bits so we don't lose with -mint32.
6850
6851 Sun Apr 14 19:59:52 1996  Doug Evans  <dje@canuck.cygnus.com>
6852
6853         * libc/sys/go32/sys/errno.h: New file.
6854         * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6855         * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6856         errno's address (make compatible with rest of newlib).
6857         * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6858         * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6859
6860 Thu Mar 28 13:44:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6861
6862         * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6863         * libc/machine/sparc/Makefile.in: Build them.
6864         * libc/machine/sparc/machine/sparclet.h: New file.
6865
6866 Mon Mar 25 15:29:14 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6867
6868         * libc/machine/sh/asm.h: New file.
6869         * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
6870         support for SH3e's FP registers.  Use asm.h.
6871
6872 Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
6873
6874         * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6875         as first argument.  Call _dtoa_r and pass the reent structure
6876         instead of calling __dtoa.
6877
6878 Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
6879
6880         * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6881         the h8300, h8500, and others.  Add comments for some rather
6882         dubious code.
6883
6884 Thu Mar 14 18:04:43 1996  Ian Lance Taylor  <ian@cygnus.com>
6885
6886         * Makefile.in (check): Check that testsuite exists before cd.
6887
6888 Tue Mar 12 11:46:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6889
6890         * libc/include/string.h (strsep): Correct prototype.
6891
6892 Mon Mar 11 09:55:19 1996  Doug Evans  <dje@charmed.cygnus.com>
6893
6894         * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6895         * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6896         * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6897
6898 Wed Mar  6 11:51:55 1996  Doug Evans  <dje@charmed.cygnus.com>
6899
6900         * libc/posix/{creat.c,isatty.c}: New files.
6901         * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6902
6903         * libc/sys/sparc64/crt0.S (environ): Delete.
6904         (.LHaveBias): Renamed from HaveBias.
6905
6906 Thu Feb 15 10:48:37 1996  Doug Evans  <dje@charmed.cygnus.com>
6907
6908         * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6909         (_morecore_r): Delete SBRK_IS_ALLOC support.
6910
6911 Tue Feb 13 09:44:09 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6912
6913         * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6914         module rather than touch, so we don't get warning messages when
6915         all of the libraries are combined into libc.a.
6916
6917 Tue Feb 13 06:32:07 1996  Doug Evans  <dje@charmed.cygnus.com>
6918
6919         * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6920         crt0.s replaced by version in libgloss.
6921
6922 Mon Feb  5 15:17:51 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6923
6924         * libc/reent/Makefile.in (OFILES): Add impure.o.
6925         * libc/reent/impure.o: New file, define initial reentrancy struct.
6926         * libc/reent/reent.c: Remove above definition.
6927
6928         * libm/math/sf_asinh.c: Fix typo.
6929
6930         * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6931         srf_ldexp.o.
6932         
6933         * libm/libm.texinfo: Change documentation to reflect changes
6934         in reentrancy model.
6935         * libm/math/w_gamma.c: Likewise.
6936
6937 Wed Jan 31 18:49:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6938
6939         * configure.in (*-*-cygwin32): New.
6940         (*-*-win32): Deleted.
6941         * libc/sys/win32 renamed libc/sys/cygwin32.
6942
6943 Tue Jan 30 22:09:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6944
6945         * libc/include/sys/file.h: New include file.
6946
6947 Fri Jan 26 15:52:54 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6948
6949         * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6950
6951 Tue Jan 23 17:49:16 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6952
6953         * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6954
6955 Tue Jan 16 09:28:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6956
6957         * doc/makedoc.c (realloc): Declare at file scope.
6958         (catchar): Not here.
6959
6960 Wed Dec 27 15:45:23 1995  Doug Evans  <dje@canuck.cygnus.com>
6961
6962         * Makefile.in (VERSION): Update to 1.7.0.
6963         * {libc,libm}/Makefile.in (VERSION): Likewise.
6964         * configure.in: Minor clean up of multilib stuff.
6965
6966         From David Johnson <davidj@ICSI.Berkeley.EDU>
6967         * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6968
6969         * libc/stdlib/environ.c: New file.
6970         * libc/stdlib/Makefile.in (OFILES): Build it.
6971         * libc/sys/h8500hms/crt0.c (environ): Deleted.
6972         * libc/sys/m88kbug/crt0.c (environ): Deleted.
6973         * libc/sys/z8ksim/crt0.c (environ): Deleted.
6974         * libc/sys/netware/environ.c: Deleted.
6975
6976 Tue Dec 19 15:24:46 1995  Kim Knuttila  <krk@cygnus.com>
6977
6978         * configure.in (links): set sys_dir, posix_dir, syscall_dir
6979
6980 Wed Dec 13 04:16:25 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6981
6982         * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6983         declaration out to external scope and declare it PTR, not char *.
6984
6985 Mon Dec 11 17:35:12 1995  steve chamberlain  <sac@slash.cygnus.com>
6986
6987         * libc/include/sys/unistd.h (getpagesize): New declaration.
6988         (_SC_PAGESIZE): New definition.
6989         * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6990         * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6991
6992 Fri Dec  1 16:48:46 1995  James G. Smith  <jsmith@cygnus.co.uk>
6993
6994         * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6995         addressing. System call returns size, not (last address + 1).
6996
6997 Thu Nov 30 15:05:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6998
6999         * libm/math/*.c: Removed _foo_r() reentrancy API.
7000         * libc/include/math.h: Removed _foo_r prototypes and macros.
7001
7002         * libm/math/*.c: On systems with IEEE single precision "doubles" 
7003         move foo() -> foof() wrapper code from the files that implement
7004         the standard IEEE double precision functions to the files that 
7005         implement IEEE single precision functions. (ie. On those systems
7006         sin is moved from s_sin.c to sf_sin.c).  There should eventually
7007         be use of a C extension (like gcc's alias attribute) so that the
7008         wrappers are not needed at all.
7009
7010         * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
7011         strict NEC V810 compiler.
7012         * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
7013         for same reason.
7014
7015 Wed Nov 29 14:25:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7016
7017         * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
7018         from NetBSD C library.
7019         * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
7020
7021         * libc/stdlib/assert.c (__assert): Renamed from __assertfail 
7022         and adapted from implementation I wrote for NetBSD C library.
7023         The difference is __assert doesn't take a format argument,
7024         so that there won't be multiple copies of the same string
7025         constant in the executable if assertions are enabled in
7026         more than one source module.
7027         * libc/include/assert.h (assert): Changed to call __assert.
7028
7029 Tue Nov 28 16:54:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7030
7031         * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
7032         word1 on systems with 32 bit doubles.
7033         * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
7034         so that we can do arithmetic on them.
7035         * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
7036         compilers.
7037         
7038 Tue Nov 28 16:03:32 1995  Doug Evans  <dje@canuck.cygnus.com>
7039
7040         * libc/sys/arm/crt0.S: Zero bss.
7041
7042 Fri Nov 24 16:09:23 1995  Doug Evans  <dje@deneb.cygnus.com>
7043
7044         * libc/include/unctrl.h: New file.
7045         * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
7046         * configure.in (subdirs): Add libc/misc.
7047         * libc/Makefile.in (SUBDIRS): Add misc.
7048         (SUBLIBS): Add misc/lib.a.
7049
7050         * libc/include/sys/reent.h (struct _reent): Make __sf last member.
7051
7052 Wed Nov 22 19:49:47 1995  Doug Evans  <dje@deneb.cygnus.com>
7053
7054         * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
7055         (_vfprintf_r): Call CHECK_INIT.
7056
7057 Tue Nov 14 02:52:12 1995  Doug Evans  <dje@canuck.cygnus.com>
7058
7059         * Makefile.in (MULTITOP): Delete.
7060         (MULTISRCTOP, MULTIBUILDTOP): Add.
7061         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
7062         instead of cfg-ml-pos.in.
7063
7064 Wed Nov  8 01:24:08 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
7065
7066         * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
7067         * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
7068         presence.
7069
7070 Thu Nov  2 22:25:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7071
7072         * libc/string/strtok.c: Include string.h to pick up strtok_r
7073         prototype.
7074
7075 Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7076
7077         * libc/string/strtok.c: include <_ansi.h>.
7078         * libc/time/asctime_r.c: `reresult' -> `result'.
7079
7080 Wed Nov  1 14:35:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7081
7082         * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
7083         in #ifndef _REENT_ONLY ... #endif conditional.
7084
7085         * libc/include/string.h (_strtok_r): Remove declaration.
7086         * libc/include/time.h (_asctime_r): Remove declaration.
7087         * libc/string/strtok.c (_strtok_r): Removed.
7088         * libc/time/asctime.c (_asctime_r): Removed.
7089
7090         * libc/string/Makefile.in (OFILES): Add new object.
7091         * libc/string/strtok_r.c: New file.  strtok_r function as
7092         specified by POSIX.1c, adapted from strtok implementation 
7093         from NetBSD C library.
7094         * libc/string/strtok.c (strtok): Reimplemented in terms of 
7095         strtok_r.
7096
7097         * libc/time/Makefile.in (OFILES): Add new objects.
7098         * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
7099         New files, reentrant time functions specified by POSIX.1c.
7100         * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
7101         reentrant time functions re-written in terms of reentrant 
7102         functions.
7103         * libc/time/lcltime.c: Renamed from localtime.c
7104
7105         * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
7106         gmtime_r, and localtime_r.
7107
7108 Sat Oct 28 14:34:31 1995  steve chamberlain  <sac@slash.cygnus.com>
7109
7110         * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
7111         * libc/include/sys/unistd.h (getlogin): Revert change of
7112         Oct 19.
7113         * libc/include/sys/signal.h (sigprocmask): Change prototype
7114         so it compiles with c++.
7115
7116 Wed Oct 25 15:43:18 1995  Michael Meissner  <meissner@cygnus.com>
7117
7118         * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
7119         PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
7120         to give some room in case we need to align the jmp_buf.
7121         
7122         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
7123         the new ppc-asm.h include file the compiler provides to specify
7124         function prologue/epilogue.  Eliminate saves of the xer and ctr
7125         registers, which are volatile.  Before starting to save registers,
7126         align to 8 byte boundary.
7127
7128 Mon Oct 23 11:20:51 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
7129
7130         * libc/sys/vr4300/syscalls.c: Added empty kill() function,
7131         referenced by standard libraries.
7132
7133 Thu Oct 19 21:39:47 1995  Fred Fish  <fnf@cygnus.com>
7134         
7135         * libc/unix/Makefile.in, libc/string/Makefile.in,
7136         libc/stdio/Makefile.in, libc/reent/Makefile.in,
7137         libc/posix/Makefile.in:
7138         Remove tabs from otherwise empty line.  Confuses some
7139         older non-GNU versions of "make".
7140
7141 Thu Oct 19 16:32:17 1995  steve chamberlain  <sac@slash.cygnus.com>
7142
7143         * libc/sys/unistd.h (getlogin): Returns const char *.
7144
7145 Wed Oct 18 12:57:50 1995  steve chamberlain  <sac@slash.cygnus.com>
7146
7147         * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
7148         * libc/include/errno.h: Moved into and include...
7149         * libc/include/sys/errno.h: New file.
7150         * libc/include/sys/wait.h: New file.
7151         * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
7152         * libc/sys/win32/*: Moved out.
7153         * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
7154         * configure.in (i[345]86-*-win32): HAVE_RENAME
7155
7156 Wed Oct 18 09:58:27 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
7157
7158         * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
7159         avoid macro expansion for these two names.
7160
7161 Tue Oct 17 08:45:33 1995  Doug Evans  <dje@canuck.cygnus.com>
7162
7163         * libc/machine/h8500/psi.S: r6 renamed to fp.
7164
7165 Sun Oct 15 12:58:10 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
7166
7167         * configure.in (powerpc*): No longer need to define
7168         NO_LONGLONG_POINTERS to supress warnings.
7169
7170 Sat Oct 14 12:55:08 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
7171
7172         * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
7173         through PTR instead of directly.
7174
7175         * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
7176         non-standard constructor support.
7177
7178 Thu Oct 12 11:39:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7179
7180         * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
7181         address of the Bigint instead of the address of its _x field,
7182         as the size the result buffer was calculated accordingly.  
7183         Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
7184
7185         * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
7186         from NetBSD C library.  No longer special cases division by 
7187         zero (which needs to be done by the application anyway), but
7188         it doesn't need to call abs() (or labs()) four times either.
7189         
7190         * libc/stdlib/qsort.c: Replaced with implementation from 
7191         NetBSD C library.
7192
7193 Tue Oct 10 14:01:10 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7194
7195         * libc/stdio/vfprintf.c: Replaced with implementation from
7196         NetBSD C library (which is derived from the 4.4BSD C library).
7197         * libc/stdio/cvt.c: Removed.
7198         * libc/stdio/Makefile: Updated.
7199         
7200 Tue Oct 10 12:15:23 1995  steve chamberlain  <sac@slash.cygnus.com>
7201
7202         * libc/sys/win32/syscalls.c (rename): New.
7203         * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
7204
7205 Fri Oct  6 12:18:43 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
7206
7207         * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
7208         * libc/machine/sh/setjmp.S: Rename from setjmp.s.
7209
7210         * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
7211         (setjmp.o): Delete rule to build setjmp.o.
7212         * libc/sys/sh/setjmp.S: Delete file.
7213
7214 Fri Oct  6 11:19:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7215
7216         * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
7217         * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
7218         format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
7219         pow5mult and s2b to identifiers with leading underscores.
7220         * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
7221         ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
7222
7223 Thu Oct  5 17:27:30 1995  steve chamberlain  <sac@slash.cygnus.com>
7224
7225         * libc/sys/posix/popen.c (sys/types.h): Include.
7226
7227 Thu Oct  5 16:33:01 1995  Doug Evans  <dje@canuck.cygnus.com>
7228
7229         * libc/sys/win32/syscalls.h (fhandler): New struct.
7230         (__lookup_fhandler, __lookup_fhandler_hook): Declare.
7231         (__fhandler_normal): Declare.
7232         (hinfo): New member op_handlers.
7233         * libc/sys/win32/syscalls.c (__read): Don't validate fd.
7234         (__write): Likewise.
7235         (_read, _write, _open, _close, _lseek): Validate fd here.
7236         Move file type specific stuff to foo_normal.
7237         (read_normal, write_normal, open_normal, close_normal, lseek_normal):
7238         New functions.
7239         (__lookup_fhandler): New function.
7240         (__lookup_fhandler_hook, __fhandler_normal): New variables.
7241
7242         From anders.blomdell@control.lth.se (Anders Blomdell)
7243         * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
7244         Don't touch standard handles.
7245         * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
7246         (_execve): Only create __FD_TABLE__ if necessary.
7247         * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
7248
7249 Thu Oct  5 14:25:14 1995  steve chamberlain  <sac@slash.cygnus.com>
7250
7251         * libc/sys/win32/sys/termios.h (FLUSHO): New.
7252         * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
7253         * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
7254         * libc/sys/win32/exception.c (ehandler3): set strace when a signal
7255         without a handler is received.
7256         * libc/sys/win32/Makefile.in: Remove --nodelete.
7257         * libc/sys/win32/resouce.c (gettimeofday): New.
7258         * libc/sys/win32/syscalls.c (path_to_real_path): New.
7259         * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
7260
7261 Wed Oct  4 13:10:35 1995  Doug Evans  <dje@canuck.cygnus.com>
7262
7263         * libc/sys/win32/dirsearch.c (opendir): stat real path name.
7264         Don't append "/*" to search pattern if trailing '/' already there,
7265         append "*".
7266         * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
7267         like /'s, convert them to \'s.  Handle //<drive>/ path names.
7268         Add space for quoted \'s in arg string.  Print translated prog name
7269         and original prog name.
7270         (_execve): Handle parent doing exec a teensy bit better.
7271         * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
7272         * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
7273         path needs conversion, handle both cases.  Delete `const' from result.
7274         (hash_path_name): New function.
7275         (_open): Call it.
7276         (_stat): Likewise.  Fill in more fields for directories.
7277         * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
7278         (wait_for_any): Fix trace message.
7279         (waitpid): Explicitly test for intpid == 0.
7280
7281         From anders.blomdell@control.lth.se (Anders Blomdell)
7282         * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
7283         so `next' is valid.
7284
7285 Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
7286
7287         * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
7288         complicated.
7289
7290 Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
7291
7292         * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
7293         at all, not just == 1.
7294         * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
7295
7296 Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7297
7298         * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
7299         * libc/sys/win32/include/wintypes.h: include <winnt.h>
7300         * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
7301         file.
7302
7303 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
7304
7305         * libc/sys/syscalls.c (getcwd): Fix off by one error.
7306
7307         * libc/sys/signal.c (sleep): Fill it in.
7308         * libc/sys/termios.c (tcflush): Use PurgeComm
7309         (tcsetattr): Set some more of the bits.
7310         * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
7311
7312 Fri Sep 29 04:33:53 1995  Doug Evans  <dje@deneb.cygnus.com>
7313
7314         * libc/sys/arm/crt0.S (fp): Initialize to 0.
7315         Conditionally include .idata$3 stuff ifdef __pe__.
7316
7317 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
7318
7319         * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
7320         * libc/sys/win32/pipe.c (pipe): Ditto.
7321         * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
7322         * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
7323         * libc/sys/win32/termios.c (tcsetattr): Init new fields.
7324         (tcgetattr): Contents are new.
7325         * libc/sys/win32/include/winkernel.h (DCB): New.
7326         (GetCommState, SetCommState): New.
7327
7328 Thu Sep 28 16:29:09 1995  Doug Evans  <dje@deneb.cygnus.com>
7329
7330         * libc/sys/arm/crt0.S (_start): Define.
7331
7332 Thu Sep 28 12:26:45 1995  steve chamberlain  <sac@slash.cygnus.com>
7333
7334         * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
7335         * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
7336
7337         * libc/sys/win32/sysconf.c: New
7338         * libc/sys/win32/sys/winadvapi.h: New
7339         * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
7340         * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
7341         * libc/sys/win32/pipe.c (pipe): Ditto.
7342         * libc/sys/win32/signal.c (_raise): New.
7343         (_kill): Moved from spawn.c
7344         * libc/sys/win32/spawn.c (kill): Moved to signal.c
7345         * libc/sys/win32/syscalls.c (__read): Use new fields.
7346         (_open): Ditto.
7347         * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
7348         * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
7349         * libc/include/sys/unistd.h (rmdir): Takes const path.
7350         * libc/include/sys/stat.h (mkdir): Takes const path.
7351         * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
7352
7353 Thu Sep 28 10:11:27 1995  Doug Evans  <dje@canuck.cygnus.com>
7354
7355         * libc/sys/win32/spawn.c (_spawn): Fix quoting.
7356
7357         Add support for specifying paths as //<drive>/foo/bar.
7358         * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
7359         (__path_to_real_path): Declare.
7360         (PATH_TO_REAL_PATH): New macro.
7361         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
7362         (__path_needs_conversion_p, __path_to_real_path): New functions.
7363         (_open): Fix test for error return from CreateFileA.
7364         Handle new path syntax.
7365         (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
7366         * libc/sys/win32/dirsearch.c (opendir): Likewise.
7367
7368 Wed Sep 27 16:36:46 1995  steve chamberlain  <sac@slash.cygnus.com>
7369
7370         * libc/sys/win32/include/*.h: Reorganized
7371         * libc/sys/win32/include/WINREADME: New.
7372         * libc/sys/win32/Makefile.in (DLLS): Build version.a.
7373         * libc/sys/win32/*.c: Fix for new include scheme.
7374         * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
7375         * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
7376         * libc/sys/win32/passwd.c (*): Fix.
7377         * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
7378         (_stat): Get directory owner and permissions right.
7379         * libc/sys/win32/syscalls.h (uinfo): New.
7380         * libc/sys/win32/version.def: Remove leading underscores.
7381
7382 Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7383
7384         * libc/sys/win32/key.c: include "include/wincon.h".
7385
7386 Tue Sep 26 07:21:48 1995  steve chamberlain  <sac@slash.cygnus.com>
7387
7388         * libc/sys/win32/{key, stubs}.c: New.
7389         * libc/sys/win32/Makefile: Adjust to cope.
7390         * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
7391         (environ_init): Change env names to upper case.
7392         * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
7393         * libc/sys/win32/passwd.c (*): Fill in the functions.
7394         * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
7395         * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
7396         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
7397         (_open): Initialze hmap->execable_p too.
7398         * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
7399         (_fstat): Fill in permissions.
7400         * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
7401
7402 Fri Sep 22 13:47:27 1995  Doug Evans  <dje@canuck.cygnus.com>
7403
7404         * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
7405         if defined.
7406         (cfg-ml-pos.in invocation): Likewise.
7407
7408 Fri Sep 22 11:43:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7409
7410         * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
7411         s_isnan.o and sf_isnan.o.
7412
7413 Wed Sep 20 14:50:19 1995  Ian Lance Taylor  <ian@cygnus.com>
7414
7415         * All Makefile.in files: added maintainer-clean target as a
7416         synonym for realclean.
7417
7418 Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
7419
7420         * libc/include/machine/setjmp.h: Add hppa support.
7421         * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
7422         support.
7423         * libc/machine/hppa/Makefile.in: Related changes.
7424
7425 Tue Sep 19 12:09:01 1995  J.T. Conklin  <jtc@blues.cygnus.com>
7426
7427         * configure.in (machine_dir): Don't set for v810-*-*.
7428
7429 Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7430
7431         * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
7432         conventions correctly.
7433
7434 Thu Sep 14 13:37:22 1995  J.T. Conklin  <jtc@blues.cygnus.com>
7435
7436         * libc/stdio/puts.c: Update documentation of return value to match
7437         ANSI standard.
7438
7439 Thu Sep 14 01:52:37 1995  Doug Evans  <dje@canuck.cygnus.com>
7440
7441         Fix file descriptor inheritance.
7442         * libc/sys/win32/syscalls.h (CHILD_P): Define again.
7443         (NOT_OPEN_FD): Fix.
7444         * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
7445         close-on-exec flag not set.  Initialize child's entire fd table.
7446         * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
7447         CHILD_P.
7448         * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
7449         if CHILD_P.  Initialize entire hmap entry.
7450         (dup): Only create new handle as inheritable if CHILD_P.
7451         (dup2): Likewise.  Properly initialize hmap entry.
7452
7453         * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
7454         _spawn.
7455         (_exit): Use CHILD_P.
7456         * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
7457         (_stat): Likewise.
7458
7459 Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7460
7461         * libc/sys/win32/crt0.c (passover): fix up the state table.
7462         * libc/posix/popen.c: Added.
7463         * libc/posix/Makefile.in: compile popen.c.
7464         
7465 Mon Sep 11 11:43:38 1995  J.T. Conklin  <jtc@cygnus.com>
7466
7467         * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
7468         h8/500 define _DOUBLE_IS_32BITS.
7469
7470 Sat Sep  9 17:55:54 1995  Doug Evans  <dje@canuck.cygnus.com>
7471
7472         Get vfork/exec/spawn/cwait/wait working again.
7473         * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
7474         (procinfo): New member vfork_level.
7475         * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
7476         (vfork_init_first): Use GetCurrentProcessId to get pid.
7477         Initialize vfork_level.
7478         (vfork_init): Delete __PID__.
7479         (environ_init): New function.  Undo patch of Aug 19, Posix says
7480         environment variables are case sensitive.
7481         (mainCRTStartup): Call it.
7482         * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
7483         (my_longjump: Make static.
7484         (_spawn): New argument `h'.  Delete setting of __PID__.
7485         Delete local `idx'.  Look for chars that need quotes, rather than
7486         ones that don't.  Set handle of created process in `h'.
7487         Result is process id if created task.
7488         (allocate_spawn_entry): New function.
7489         (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
7490         (_execve): Set __FD_TABLE__ before spawning child.
7491         Scan our fd table when passing fds, not our parent's.
7492         Store handle and pid in procinfo entry.
7493         (vfork0): Ensure strace message always printed.
7494         Set child pid to VFORK_NEWBORN_PSEUDO_PID.
7495         (vfork): Don't clobber result of vfork0.
7496         * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
7497         (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
7498
7499         * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
7500         and `exit_code'.
7501         * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
7502         (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
7503         adding vfork level to pseudo-pid.  
7504         (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
7505         (spawnvp, spawnv, _execve): Set handle_valid_p if success.
7506         (_exit): If child, set exit code.
7507         (__vfork_record_death): Only close process handle if valid.
7508         * libc/sys/win32/wait.c (wait_for_single): Watch for children that
7509         didn't exec.
7510         (wait_for_any): Likewise.  Start scan after root entry.
7511
7512 Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7513
7514         * libc/include/sys/types.h (off_t): off_t back to 32 bits.
7515         * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
7516         * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
7517         of actual file length.
7518
7519         * libc/sys/win32/sys/wait.h: include <sys/types.h>.
7520         * libc/include/paths.h: _PATH_BSHELL added.
7521         * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
7522         and STDERR_FILENO.
7523
7524 Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7525
7526         * libc/include/ar.h: Added.
7527         * libc/include/sys/types.h: ino_t goes back to 32-bits.
7528         * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
7529         * libc/sys/win32/syscalls.c (_open): compute .namehash based
7530         on filename.
7531         (_fstat): use .namehash for inode number of the fd.
7532
7533 Thu Sep  7 12:57:19 1995  steve chamberlain  <sac@slash.cygnus.com>
7534
7535         * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
7536          Change hinfo to __this_procinfo.
7537         * libc/sys/win32/crt0.c: Remove procinfo_list.
7538
7539 Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7540
7541         * libc/include/sys/types.h (ino_t): Define ino_t correctly for
7542         win32 environment.
7543
7544 Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7545
7546         * libc/sys/win32/include/grp.h: Removed.
7547         * libc/sys/include/grp.h: Added.
7548         * libc/sys/win32/grp.c: Include <grp.h>.
7549
7550 Wed Sep  6 16:52:48 1995  steve chamberlain  <sac@slash.cygnus.com>
7551
7552         * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
7553         (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
7554         Defined for all but strict ANSI.
7555         * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
7556         * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
7557         * libc/signal/signal.c (_signal_r): Changed from using
7558         _MAX_SIGNALS to NSIG.  
7559         * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
7560          __hmap): Deleted.
7561         (__strace, __vfork_next_pid): New.
7562         (__exe_suffix): Default to 1.
7563         (passover, table): Understand quoted arguments.
7564         (vfork_init_first): New.
7565         (vfork_init): Initialize new process structure.
7566         (mainCRTStartup): Pass environ to main.
7567         * exceptions.c (__sig_mask): New
7568         (ehandler3): Ignore signals in mask.
7569         (really_exit): Remove CHILD_P test.
7570         * pipe.c (pipe, dup, dup2): Use new process and file structure.
7571         * resource.c (getrusage): Ditto.
7572         * signal.c (sigprocmask): New.
7573         * spawn.c (*): Rewritten.
7574         * syscalls.c (*): Use new process and file structure.
7575         (find_unused_handle): New.
7576         * syscalls.h (MAX_HANDLES): Deleted.
7577         (hinfo): Removed child_created_p.
7578         (MAX_CHILDREN): Deleted.
7579         (vfork_jmp_info, procinfo): New.
7580         * wait.c (*): Mostly new.
7581         * sys/strace.h (_STRACE_PARANOID): New.
7582         * sys/param.h: New file.
7583
7584 Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7585
7586         * libc/include/sys/stat.h: add S_BLKSIZE.
7587         * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
7588         * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
7589         types under win32.
7590         (mode_t): add a #else to avoid multiple definitons.
7591
7592         * libc/sys/win32/Makefile.in: add grp.c.
7593         * libc/sys/win32/grp.c: include grp.h correctly.
7594         * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
7595         of the st structure with real information.
7596         * libc/sys/win32 (dirent): d_ino is of type ino_t.
7597
7598 Wed Sep  6 10:41:34 1995  Doug Evans  <dje@canuck.cygnus.com>
7599
7600         * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
7601         and (maybe) sparc64.
7602         (nlink_t): Provide typedef.
7603
7604 Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7605
7606         * libc/sys/win32/grp.c: New file.
7607         * libc/sys/win32/include/grp.h: New file.
7608
7609 Tue Sep  5 13:47:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7610
7611         * libc/include/machine/ieeefp.h: Added whitespace to make this
7612         file easier to maintain.
7613         On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
7614         depending on the value of __LITTLE_ENDIAN__.
7615         On the sh3e, define _DOUBLE_IS_32BITS.
7616         
7617 Fri Sep  1 15:35:18 1995  James G. Smith  <jsmith@beauty.cygnus.com>
7618
7619         * libc/sys/vr4300/syscalls.c: Added missing support
7620         routines. _raise() and getpid().
7621
7622 Fri Sep  1 14:12:48 1995  James G. Smith  <jsmith@rtl.cygnus.com>
7623
7624         * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
7625
7626 Fri Sep  1 08:42:11 1995  James G. Smith  <jsmith@beauty.cygnus.com>
7627
7628         * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
7629         and VR4300 processor.
7630         * libc/sys/vr4300: Add directory.
7631         * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
7632         monitor run-time support.
7633
7634 Thu Aug 31 09:16:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7635
7636         * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
7637         * libc/stdlib/stdlib.tex: Don't include atol.def.
7638
7639 Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7640
7641         * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
7642
7643 Wed Aug 30 10:48:08 1995  steve chamberlain  <sac@slash.cygnus.com>
7644
7645         * libc/ctype/Makefile.in: Fill in _to* dependencies.
7646
7647 Tue Aug 29 17:14:29 1995  steve chamberlain  <sac@slash.cygnus.com>
7648
7649         * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
7650         * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
7651         * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
7652         * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
7653         * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
7654
7655 Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7656
7657         * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
7658
7659 Tue Aug 29 16:08:09 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7660
7661         * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
7662         * libc/stdlib/atoff.c: New file.
7663         * libc/stdlib/atof.c (atoff): Moved to atoff.c.
7664         * libc/stdlib/atoi.c (atol): Removed.
7665         * libc/stdlib/atol.c: Removed duplicate documentation.
7666
7667         * libc/include/ctype.h (_tolower, _toupper): Moved inside
7668         #ifndef _STRICT_ANSI conditional.
7669         * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
7670         * libc/ctype/_tolower.c: New file.
7671         * libc/ctype/_toupper.c: New file.
7672         * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
7673         * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
7674         * libc/ctype/toascii.c (_toascii): Removed.
7675
7676 Tue Aug 29 12:17:32 1995  Doug Evans  <dje@canuck.cygnus.com>
7677
7678         * libc/sys/sparc64/sys/types.h: Deleted.
7679
7680 Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7681
7682         * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
7683         and recognize Windows_95 systems.
7684
7685 Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7686
7687         * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
7688         and passed fds should be opened in text mode.
7689
7690 Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7691
7692         * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
7693         in __hmap, set to binary mode by default.
7694
7695 Tue Aug 22 14:12:37 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7696
7697         * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
7698         * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
7699         vector 34.
7700
7701 Sat Aug 19 18:25:37 1995  steve chamberlain  <sac@slash.cygnus.com>
7702
7703         * Makefile.in (install): Install all libraries found in the
7704         top level.  If there's a sys/<type>/include directory,
7705         install those headers into include.
7706
7707         * libc/sys/win32/kernel.def351: Delete
7708         * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
7709         glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
7710         lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
7711         nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
7712         ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
7713         rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
7714         uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
7715         winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
7716
7717         * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
7718         * libc/sys/win32/crt0.c: Force all env names to upper case.
7719         * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
7720         * libc/sys/win32/*.c: Headers have moved.
7721         * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
7722         __vfork_child_idx is now __vfork_child_ptr.
7723
7724         * posix/execvp (execvp): Don't crash if no PATH envname.
7725
7726 Fri Aug 18 12:22:59 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7727
7728         * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
7729         * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
7730         through the _freelist instead of through the _reclaim list.
7731         * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
7732         * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
7733         sources.
7734
7735 Thu Aug 17 11:03:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7736
7737         * libc/machine/h8500/setjmp.S: New file.
7738         * libc/include/machine/setjmp.h: Updated for H8/500.
7739
7740 Wed Aug 16 16:19:11 1995  steve chamberlain  <sac@slash.cygnus.com>
7741
7742         * libc/sys/win32/syscalls.c (_open): More stracing.
7743         (_stat): Open the file in O_BINARY.
7744
7745 Wed Aug 16 15:49:01 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7746
7747         * libc/machine/h8300/setjmp.S: New file.
7748         * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
7749
7750 Tue Aug 15 10:31:09 1995  Doug Evans  <dje@canuck.cygnus.com>
7751
7752         * libc/sys/win32/crt0.c (__exe_suffix): New global.
7753         (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
7754         * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
7755         __exe_suffix.  Free fd_tab after setting env variable.
7756         (spawnv,_execve): Update.
7757         * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
7758         * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
7759         (__small_vfprintf): New function.
7760         * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
7761         * libc/sys/win32/wait.c (cwait): Validate argument.
7762
7763         * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
7764         (process_deletion_queue): Likewise.
7765
7766         * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
7767
7768 Mon Aug 14 10:14:10 1995  steve chamberlain  <sac@slash.cygnus.com>
7769
7770         * libc/sys/win32: Copyrights and gratuitous indenting.
7771
7772 Mon Aug 14 01:32:58 1995  Doug Evans  <dje@canuck.cygnus.com>
7773
7774         * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7775         (process_deletion_queue): Likewise.
7776         (__close_all_files): New function.
7777         (_close): Only queue file deletion if really a file.
7778         * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7779         _P_APPEND_EXE.
7780         (_exit): Call __close_all_files.
7781
7782         * libc/stdlib/system.c: #include <errno.h>.
7783         (_system_r): Fix results in -DNO_EXEC case.
7784
7785         * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7786         Reorganize structure.
7787         * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7788         if argument is valid.  Save directory name in DIR.  malloc space
7789         for dirent struct separately.
7790         * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7791
7792         * libc/include/errno.h (ENAMETOOLONG): Define.
7793         * libc/string/strerror.c (strerror): Reword ENFILE.
7794         Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7795
7796 Sun Aug 13 22:42:25 1995  Doug Evans  <dje@canuck.cygnus.com>
7797
7798         * libc/sys/win32/crt0.c (__progname): New global.
7799         (mainCRTStartup): Support strace=bitmask,filename.
7800         * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7801         * libc/sys/win32/syscalls.c (_write): Print parent trace message
7802         if error.
7803         (getcwd): Handle len too small.  Convert '\\' to '/'.
7804         * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7805         Add prototypes for open, creat, fcntl.
7806         (O_APPEND): Change value to conform to Microsoft's value.
7807         * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7808
7809         * libc/stdlib/getopt.c: New file.
7810         * libc/stdlib/Makefile.in: Build it.
7811
7812 Sat Aug 12 12:17:14 1995  Doug Evans  <dje@canuck.cygnus.com>
7813
7814         * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7815         Fix scanning of $PATH.
7816         * libc/posix/exec*.c: Call _execve, not execve.
7817         * libc/posix/execve.c: New file.
7818         * libc/posix/Makefile.in (OFILES): Add execve.o.
7819
7820         * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7821         _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7822         (_STRACE): If level==0, always print.  Handle new bit mask scheme.
7823         * libc/sys/win32/crt0.c: Update _STRACE calls.
7824         * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7825
7826         * libc/sys/win32/smallprint.c (rn): Fix digit list.
7827
7828         * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7829         * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7830         * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7831         Print __seterrno trace message first.
7832         (_execve): Renamed from execve.
7833         (vfork): Update __strace usage.
7834         (__vfork_child_pid): Deleted.
7835         (__vfork_children, __vfork_child_idx): New globals.
7836         (_spawnvp): New function.
7837         (spawnvp, spawnv, _execve): Call _spawnvp.
7838         (init_child): Record child in __vfork_children.
7839         (__vfork_get_entry, __vfork_record_death): New functions.
7840         * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7841         * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7842         * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
7843         (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7844         (children): New typedef.
7845         (__vfork_children,__vfork_child_idx): Declare.
7846         (__vfork_get_entry,__vfork_record_death): Declare.
7847         * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7848         (waitpid): Handle pid == -1.
7849         * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7850         * configure.in (i386-win32): Add -DNO_FORK.
7851         * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7852         * libc/reent/execr.c (_fork_r): Likewise.
7853         * libc/stdlib/system.c (do_system): New function.
7854         If WIN32, try to get shell path from $SH_PATH, use vfork.
7855         (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7856         otherwise return 0.
7857
7858 Sat Aug 12 11:08:00 1995  steve chamberlain  <sac@slash.cygnus.com>
7859
7860         * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7861         * libc/sys/win32/fcntl.h: Don't include self.
7862         * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7863         * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7864         * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7865         * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7866         SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7867         Correct prototypes.
7868         * libc/sys/win32/strace.c: New file.
7869         * libc/sys/win32/smallprint.c: New file.
7870         * libc/sys/win32/crt0.c (func): Delete.
7871         (mainCRTStartup): Fix alloca usage.  Set handles explictly.
7872         * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7873         * libc/sys/win32/exceptions.c: Lint.
7874         * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7875         Clean up handle usage.
7876         * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7877         (open.c): Default file type is text.
7878         * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7879         * libc/sys/win32/advapi32.def: New      
7880
7881 Fri Aug 11 17:11:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7882
7883         * configure.in (posix_dir, libc_posix_lib): New variables.
7884         Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7885         (i[345]86-*-win32): Define posix_dir.
7886         Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
7887         (if unix_dir): Fix typo.
7888         * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7889         scandir,seekdir,telldir}: New files.
7890         * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7891         from libc/unix.
7892         * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7893         (SUBDIRS): Add posix.
7894         (SUBLIBS): Add $(LIBC_POSIX_LIB).
7895
7896         * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7897         (NSIG): Increase to 21.
7898         * libc/include/sys/unistd.h (pid_t): Move from here,
7899         * libc/include/sys/types.h (pid_t): to here.
7900
7901         * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7902         (__ptrace): Delete.
7903         (hinfo): New members close_exec_p, child_created_p.
7904         (struct exception_list): Define.
7905         (__hmap): Redefine as pointer to table.
7906         (__parent_hmap, __child_hmap): New globals.
7907         (__set_errno, __really_exit): Declare.
7908         (__vfork_child_pid): Declare.
7909         * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7910         (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7911         (__parent_hmap, __child_hmap): New globals.
7912         (__hmap): Redefine as pointer to active map.
7913         (__get_console): New function.
7914         (mainCRTStartup): Change leading '=' in environ vars to '!'.
7915         (env __FD_TABLE__): Watch for this and initialize our fd/handle
7916         mapping table from it if defined.
7917         (argv, envp): Dump if __strace >= 4.
7918         (main): Call here.
7919         * libc/sys/win32/exceptions.c (myp): Redefine.
7920         (__syscalls_b): Delete.
7921         (__stack_trace): New function.
7922         (ehandler3): Update to use _STRACE.  Print stack trace.
7923         Call __really_exit instead of exit.
7924         (init_exceptions): Delete args argc,argv.  New arg mine.
7925         * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7926         FindFirstFileA, FindNextFileA, GetComputerNameA,
7927         GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7928         * libc/sys/win32/signal.c (signal): Validate arg.
7929         (alarm, sleep): Define as stubs for now.
7930         * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7931         (__syscalls_b, errno): Delete.
7932         (__vfork_child_pid, __vfork_jmp_buf): New globals.
7933         (__seterrno): Handle more errors.
7934         (__sys_printf): Renamed from _ptrace.
7935         (__really_exit): New function.
7936         (queue_file_deletion, process_deletion_queue): New functions.
7937         (__resume_parent): New function.
7938         (_unlink): Handle trying to delete open file.
7939         (__totime_t): Renamed from totime_t.
7940         (setsid, __read, __write): New functions.
7941         (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7942         * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7943         times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7944         * libc/sys/win32/console.c: Update to new definition of __hmap.
7945         * libc/sys/win32/Makefile.in: Build new files.
7946         * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7947         * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7948         * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7949         * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7950
7951 Thu Aug 10 16:32:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7952
7953         * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7954
7955 Thu Aug 10 12:07:38 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7956
7957         * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7958         have been made to the master dtoa.c sources (from netlib.att.com)
7959         since they were integrated into newlib in early 1992.  Fixes
7960         problems with storage leaks and handling of numbers with very
7961         negative exponents.
7962         
7963 Wed Aug  9 14:18:39 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7964
7965         * Makefile.in (all): set rootpre and srcrootpre before calling
7966         sub-makes.
7967
7968 Tue Aug  8 17:20:45 1995  steve chamberlain  <sac@slash.cygnus.com>
7969
7970         * libc/sys/win32/crt0.c: Change __hmap usage.
7971         * libc/sys/win32/exceptions.c: Use _ptrace call.
7972         * libc/sys/win32/syscalls.c: Use _ptrace call.
7973         (read, write): Cope with DOS style CRLF when in TEXT mode.
7974         * libc/sys/win32/syscalls.h: Declare hinfo struct.
7975         * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7976         * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7977         * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7978         * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7979
7980 Mon Aug  7 13:04:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7981
7982         * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7983
7984         * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7985         wrappers for hypot() and remainder() for BSD libm compatibility.
7986         These are public domain implementations written by me for the
7987         NetBSD libm some time ago.  Note cabs() is required by ucbtest.
7988         * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7989         (fobj): Added wf_cabs.o and wf_drem.o.
7990
7991 Thu Aug  3 08:13:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7992
7993         * libc/sys/h8500hms/misc.c: New file.
7994         * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7995
7996 Wed Aug  2 16:46:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7997
7998         * libc/time/localtime.c (localtime): Fix problem with leap year
7999         handling.  Stole algorithm from Arthur David Olson's tz code.
8000         
8001 Mon Jul 31 10:21:54 1995  steve chamberlain  <sac@slash.cygnus.com>
8002
8003         * configure.in: (z8k-*sim): Renamed z8k-*-coff.
8004
8005         * libc/sys/z8ksim/glue.c (_getpid, _kill): New
8006         (_exit): Use argument.
8007
8008 Fri Jul 28 15:17:04 1995  Doug Evans  <dje@canuck.cygnus.com>
8009
8010         * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
8011
8012 Wed Jul 26 16:24:19 1995  steve chamberlain  <sac@slash.cygnus.com>
8013
8014         * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
8015
8016 Mon Jul 24 13:42:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8017
8018         * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
8019         target_cflags.
8020
8021 Mon Jul 24 11:42:07 1995  steve chamberlain  <sac@slash.cygnus.com>
8022
8023         * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
8024         ptrace with case insensitivity
8025         * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
8026         sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8027         New files.
8028
8029 Fri Jul 21 11:22:26 1995  Doug Evans  <dje@canuck.cygnus.com>
8030
8031         * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
8032         (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
8033         (all, install, *clean): Use new multilib support.
8034         * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
8035
8036 Fri Jul 21 07:11:42 1995  steve chamberlain  <sac@slash.cygnus.com>
8037
8038         * libc/include/sys/signal.h (__WIN32__): New.
8039
8040         * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
8041
8042         * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
8043         (ulp, b2d): Handle 32 bit doubles.
8044         * libc/stdlib/mprec.h:  Handle 32 bit doubles.
8045         * libc/stdlib/strtod.c (_strtod_r): Ditto.
8046
8047 Fri Jul 14 08:24:58 1995  steve chamberlain  <sac@slash.cygnus.com>
8048
8049         from medp@primag.co.uk:
8050         * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
8051         dynamically allocated buffers.
8052
8053 Thu Jul 20 10:11:03 1995  Fred Fish  <fnf@fishbowl>
8054
8055         * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
8056         * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
8057
8058 Thu Jul 20 10:16:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
8059
8060         * configure.in (powerpc): Fix previous fix.
8061
8062 Wed Jul 19 14:08:55 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
8063
8064         * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
8065         directories for this target.
8066
8067 Wed Jul 19 00:34:30 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
8068
8069         * configure.in (hppa): Add machine_dir definition.
8070         * libc/machine/hppa: New directory with PA specific implementations
8071         of the basic memory/string functions.
8072
8073 Tue Jul 18 21:16:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
8074
8075         * configure.in: Update current PowerPC multilib directories.
8076         Split big and little endian configurations.
8077
8078 Tue Jul 18 11:55:33 1995  Ian Lance Taylor  <ian@cygnus.com>
8079
8080         * configure.in: Add --enable-single-float option to configure to
8081         control use of MIPS single-float directories.  Default to yes.
8082
8083         * Makefile.in (all): Don't recurse into multilib directory if it
8084         does not exist.
8085
8086 Mon Jul 17 15:51:30 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8087
8088         * libc/sys/sh/syscalls.c: Fix typo.
8089
8090 Mon Jul  3 14:38:52 1995  Steve Chamberlain  <sac@slash.cygnus.com>
8091
8092         * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
8093         Pass down DLLTOOL.
8094         * libc/include/process.h: Define WAIT_CHILD.
8095         * libc/include/types.h: Get sizes right for win32.
8096         * configure.in (i386-*-pe): Becomes i386-win32.
8097         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
8098         wintypes.h,sys/file.h,sys/resource.h}: Second pass.
8099         * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
8100         is defined.
8101
8102 Wed Jun 28 18:34:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
8103
8104         * configure.in (i[345]86-*-pe):  New target (NT).
8105         * host/any: DLLTOOL new.
8106         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
8107         wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
8108         WIN32 (just enough to cross host the comp-tools).
8109
8110 Thu Jun 22 11:45:18 1995  Doug Evans  <dje@canuck.cygnus.com>
8111
8112         * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
8113         Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
8114
8115 Mon Jun 19 11:40:40 1995  Doug Evans  <dje@canuck.cygnus.com>
8116
8117         * libc/include/machine/ieeefp.h (arm): Change to always be
8118         __IEEE_BIG_ENDIAN (even on little endian ARM's).
8119
8120 Thu Jun  8 14:22:28 1995  Steve Chamberlain  <sac@slash.cygnus.com>
8121
8122         * libc/sys/crt0.S: Initialze sp, and call exit after main.
8123         * libc/sys/syscalls.c (abort): New.
8124         * configure.in (arm): Define ABORT_PROVIDED.
8125
8126 Wed Jun  7 14:04:35 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8127
8128         * configure.in (powerpc): Define multidirs.
8129
8130 Mon Jun  5 16:10:13 1995  Doug Evans  <dje@canuck.cygnus.com>
8131
8132         * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
8133
8134 Thu Jun  1 10:51:47 1995  Sean Eric Fagan <sef@cygnus.com>
8135
8136         * configure.in (sparclite): Delete target_cflags.  Define multidirs.
8137
8138 Wed May 24 14:23:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>
8139
8140         * configure.in, libc/include/machine/ieeefp.h: Modified
8141         for arm:
8142         libc/machine/arm/*, libc/sys/arm/*: New
8143
8144 Tue May 23 13:53:07 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8145
8146         * libc/include/machine/ieeefp.h: Use __PPC__ instead of
8147           __powerpc__ when determining endianness.
8148
8149 Wed May 10 07:55:56 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8150
8151         * configure.in (m68*): Add multidir for the m68332.
8152
8153         * host/any (CC): Fix typo in last change.
8154
8155 Fri Apr 14 22:20:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
8156
8157         * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
8158         when determining endianness.
8159         * libc/include/machine/ieeefp.h: Ditto.
8160         * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
8161         operands.
8162
8163 Fri Apr 14 14:14:29 1995  Doug Evans  <dje@chestnut.cygnus.com>
8164
8165         * libc/include/errno.h (ENOTEMPTY): Define.
8166
8167 Thu Apr  6 12:21:20 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8168
8169         * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
8170           target_cflags.
8171
8172         * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
8173           and umultiply.o.
8174
8175         * libc/stdio/tmpnam.c (worker): Unconditionally increment count
8176           instead of only when open succeeds.  ANSI requires that multiple
8177           calls to tmpnam() result in different files.
8178
8179         * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
8180           objects pulled in from /lib/libc.a that must be renamed before
8181           being pulled into newlib.  /lib/libc.a's div.o conflicted with
8182           newlib's file with the same name.
8183
8184         * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
8185
8186         * host/any (CC, AS, AR, RANLIB): Changed so that executables in
8187           the build tree will only be used if the executables are present
8188           (instead of just the Makefiles).
8189
8190         * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
8191           wcstombs): Define.
8192         * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
8193           versions of these functions that I orignally wrote for the
8194           NetBSD C library.
8195         * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
8196           versions I wrote for NetBSD.
8197
8198 Wed Mar 29 12:42:42 1995  Kung Hsu  <kung@mexican.cygnus.com>
8199
8200         * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
8201         * libc/sys/sparclite/crt0.s: ditto.
8202
8203 Tue Mar 28 20:28:03 1995  Rob Savoye  <rob@rtl.cygnus.com>
8204
8205         * configure.in: Add soft-float for proelf.
8206
8207 Mon Mar 27 12:07:56 1995  Steve Chamberlain  <sac@bang.hack.com>
8208
8209         * libc/stdlib/mprec.h (Bcopy): Copy the right number
8210         of bytes.
8211
8212 Mon Mar 27 11:24:22 1995  Doug Evans  <dje@chestnut.cygnus.com>
8213
8214         * Makefile.in (all): Depend on `force'.
8215         * configure.in (syscall_dir): Renamed from fake_sys_dir.
8216         (libc_syscall_lib): Renamed from libc_fake_sys_lib.
8217         (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
8218         * libc/Makefile.in: Likewise.
8219         * libc/include/reent.h: Update syscall references.
8220         (_fcntl_r): Add prototype.
8221         * libc/syscalls/*.c #include <reent.h>.
8222         (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
8223
8224 Mon Mar 20 16:57:39 1995  Doug Evans  <dje@deneb.cygnus.com>
8225
8226         * libc/include/sys/stat-dj.h (S_ISBLK): Define.
8227         (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
8228         * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
8229         (time.h, sys/types.h): Always include (even if MSDOS).
8230         (stat): Fix prototype.
8231
8232 Fri Mar 10 11:30:38 1995  Ian Lance Taylor  <ian@cygnus.com>
8233
8234         * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
8235
8236 Mon Feb 27 18:00:39 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
8237
8238         * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
8239
8240 Mon Feb 13 16:10:03 1995  Ian Lance Taylor  <ian@cygnus.com>
8241
8242         * libc/include/regdef.h: New file.
8243         * libc/machine/mips/machine/regdef.h: New file.
8244
8245 Mon Feb  6 15:24:29 1995  Doug Evans  <dje@canuck.cygnus.com>
8246
8247         * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
8248
8249 Fri Jan 27 13:52:10 1995  Steve Chamberlain  <sac@splat>
8250
8251         * libc/sys/sh/crt0.S: Pass main's return to exit.
8252         * libc/sys/sh/trap.S: Put errno in the right place.
8253
8254 Tue Jan 24 18:57:56 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8255
8256         * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
8257         from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
8258         * libm/math/ef_rem_pio2.c: Likewise.
8259         * libm/math/e_log10.c: Remove unused static one.
8260         * libm/math/ef_log10.c: Likewise.
8261         * libm/math/s_frexp.c: Likewise.
8262         * libm/math/sf_frexp.c: Likewise.
8263
8264 Sun Jan 22 21:26:14 1995  Steve Chamberlain  <sac@splat>
8265
8266         * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
8267         longjmp.S: Upgraded.
8268         * libc/sys/go32/sys/setjmp.h: Upgraded.
8269         * libc/sys/go32/sys/go32.h, dpmi.h: New files.
8270
8271 Fri Jan 20 18:33:18 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8272
8273         * configure.in: Add many entries to multidirs for mips targets.
8274
8275 Wed Jan 18 10:19:25 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8276
8277         * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
8278           5.2 which fixes bug where jn(-1,x) is three times larger than
8279           the actual answer.
8280         * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
8281
8282 Sun Jan 15 21:48:58 1995  Steve Chamberlain  <sac@splat>
8283
8284         * libc/sys/w65/sys/syscalls.h: New file
8285         * libc/include/machine/ieeefp.h: W65 support.
8286         * libc/include/sys/config.h: Ditto.
8287         * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
8288         sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
8289         * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
8290
8291 Wed Jan 11 15:59:01 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8292
8293         * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
8294
8295 Tue Jan  3 15:57:03 1995  Rob Savoye  <rob@darkstar.cygnus.com>
8296
8297         * Makefile.in, configure.in: Remove any references to the old
8298         "stub" dir.
8299
8300 Thu Dec 22 10:42:08 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8301
8302         * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
8303         uses ... in prototype.
8304
8305
8306 Wed Nov 30 08:39:42 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
8307
8308         * libc/sys/a29khif/sys/libconfig.h: Remove.
8309         * libc/sys/go32/sys/libconfig.h: Remove.
8310         * libc/sys/sun4/sys/libconfig.h: Remove.
8311         * libc/sys/sysvi386/sys/libconfig.h: Remove.
8312         * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
8313         * libc/sys/sparc64/sys/libconfig.h: Remove.
8314
8315         * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
8316         * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
8317         * libc/include/math.h: Change all uses of _FLOAT_RET and
8318         _FLOAT_ARG to float.
8319         * libm/test/math.c: Likewise.
8320         * testsuite/libm.sac/math.c: Likewise.
8321         * testsuite/libm.sac/working/math.c: Likewise.
8322
8323 Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
8324
8325         * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
8326         gcc calls gas with endian option.
8327         * configure.in (sh): Build little endian version too.
8328
8329 Wed Nov 16 18:21:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8330
8331         * configure.in: Configure big and little endian versions for MIPS
8332         targets.
8333
8334 Sat Nov 12 21:12:51 1994  Doug Evans  <dje@canuck.cygnus.com>
8335
8336         * libc/include/limits.h: Deleted.
8337         * libc/include/machine/limits.h: Deleted.
8338
8339 Thu Nov 10 15:32:44 1994  Rob Savoye  <rob@rtl.cygnus.com>
8340
8341         * ChangeLog: Remove stub directory. This has all been rewritten
8342         and moved to devo/libgloss.
8343
8344 Thu Sep 29 18:31:04 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8345
8346         * Makefile.in (dvi): Add to info target, use $@ in sub make.
8347         (docs): Merge into info target.
8348         * libm/Makefile.in (dvi): Add $(srcdir).
8349         * libm/math/Makefile.in (chobjs): Remove underscores from file
8350         names.  Texinfo doesn't like them.
8351         (wacos.def, ...): Add explicit targets for all .def files.
8352         * libm/math/math.tex: Remove underscores from @include file names.
8353         * doc/Makefile.in (dvi): Add dummy target.
8354         * testsuite/Makefile.in (dvi): Add dummy target.
8355
8356 Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
8357
8358         * Makefile.in (VERSION): Define.  For net newlib releases.
8359
8360 Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
8361
8362         * README: New file.
8363
8364 Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
8365
8366         * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
8367
8368 Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8369
8370         * libc/stdlib/setenv.c (_findenv): Declare.
8371
8372         * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
8373         fcntl to not use _EXFUN, and change string parameters to open and
8374         creat to be ``const char *''.
8375         * libc/sys/sparc64/sys/fcntl.h: Likewise.
8376         * libc/sys/sparc64/creat.c (creat): Make PATH const.
8377         * libc/syscalls/sysopen.c: Include <fcntl.h>.
8378         (open) Make _FILE const.
8379         * libc/sys/z8ksim/glue.c (_open): Make BUF const.
8380         (_creat): Make PATH const.
8381         * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
8382         * libc/sys/h8500hms/syscalls.c (_open): Likewise.
8383         * libc/sys/m88kbug/syscalls.c (open): Likewise.
8384         * libc/sys/sh/syscalls.c (_open): Likewise.
8385         * stub/shared/glue.c (open): Make BUF const.
8386         * stub/ex93x/syscalls.c (open): Make FILENAME const.
8387
8388 Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
8389
8390         * libc/include/errno.h: Add ENMFILE
8391         * libc/include/sys/config.h: Support Z8000.
8392         * libc/include/sys/signal.h: New signals for go32.
8393         * libc/machine/h8500/psi.S (__addpsir0r0): New function
8394         * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
8395         * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
8396         * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
8397         size is variable, depending upon CHUNK_POWER.
8398         * libc/sys/go32/*.c: Upgrade to new go32 stuff.
8399
8400 Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
8401
8402         * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
8403
8404 Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8405
8406         * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
8407
8408 Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8409
8410         * configure.in: Change i[34]86 to i[345]86.
8411
8412         * libc/include/math.h: Don't define HUGE_VAL if it is already
8413         defined.
8414
8415 Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8416
8417         * testsuite/libm.sac/test_erfc.c: Correct some result values.
8418         * testsuite/libm.sac/test_gammaf.c: Likewise.
8419         * testsuite/libm.sac/test_sin.c: Likewise.
8420         * testsuite/libm.sac/test_tanh.c: Likewise.
8421
8422 Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8423
8424         * libc/include/machine/ieeefp.h: Don't try set endianness if it is
8425         already set.  Define typedefs __int32_t and __uint32_t.
8426         * libc/include/math.h: Include <machine/ieeefp.h>.
8427         (union __dmath): Use __uint32_t.
8428         * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
8429         instead of int and unsigned int.
8430
8431 Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8432
8433         Replace the math library with the SunPRO fdlibm package.
8434         * libm/math: Completely changed all files.
8435         * libm/ieeefp: Remove contents and directory.
8436         * libm/Makefile.in (LIBM_FP_LIB): Remove.
8437         (SUBDIRS): Just set to math/lib.a.
8438         * libm/libm.texinfo: Updated for new library.
8439         * libc/include/math.h: Extensive changes for new math library.
8440         * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
8441         from _FLOAT_ARG to float.
8442         (maxpowtwo, maxpowtwof): Don't declare.
8443         * configure.in (fp_dir): Removed; was always ieeefp anyhow.
8444         (libm_fp_lib): Removed.
8445         * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
8446         * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
8447         argument to ${RUNTEST}.
8448         * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
8449         (.c.o): New rule.
8450         (RUNTESTFLAGS): Set CC and CFLAGS.
8451         (TESTS): Remove test_log2 and test_log2f.
8452         (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
8453         * testsuite/libm.sac/math.c (run_vector_1): Use float, not
8454         _FLOAT_ARG, for single precision argument type.
8455         * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
8456         expected failure.  Close the input pipe.
8457         * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
8458         Correct misspelling of inaccurate.
8459         (test_mok): Use ``inaccurate'', not ``wrong''.
8460         * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
8461         test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
8462         test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
8463         test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
8464         test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
8465         test_yn.c): Correct many result values.  Many are still wrong.
8466
8467         * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
8468         just copy the string.
8469         (_gcvt): Always return the buffer.
8470
8471 Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
8472
8473         * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
8474
8475 Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
8476
8477         * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
8478         structure.
8479         (struct _reent): add _p5s, _cvtlen, _cvtbuf.
8480         (_reclaim_reent): declare new entry point.
8481         * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
8482         functions.
8483
8484         * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
8485         ever allocated, so that we can later reclaim them all.
8486         (pow5mult): make reentrant.
8487
8488         * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
8489         so that when given NULL as a buffer, return a pointer to static
8490         space in the rent structure.  This is not documented behaviour;
8491         it's only to support ecvt and fcvt, which aren't ANSI anyway.
8492         * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
8493         therefore become reentrant).
8494         
8495         * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
8496
8497 Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8498
8499         * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
8500
8501 Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
8502
8503         * Makefile.in: Make link to libg.a after libc.a; this is needed
8504           for the testsuites to build executables when everything comes
8505           from the tree.
8506
8507 Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
8508
8509         * libc/Makefile.in: Add a VERSION variable so we can keep track.
8510         * libm/Makefile.in: Add a VERSION variable so we can keep track.
8511
8512 Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8513
8514         * libc/include/stdio.h: Use __VALIST, not va_list.
8515
8516 Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
8517
8518         * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
8519         testsuite/libm.sac/execute.exp:
8520           Replace error proc calls with perror calls.
8521
8522 Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
8523
8524         * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
8525         * libc/include/time.h: #define NULL as 0L.
8526
8527 Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
8528
8529         * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
8530         care of it.
8531
8532 Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8533
8534         * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
8535         not __unix__.
8536
8537 Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
8538
8539         * configure.in (TARGET_CFLAGS): Set -O2 as default.
8540         (z8k-*-*): Use syscalls fake sys dir.
8541         * libc/sys/z8k/glue.c: Rename syscalls.
8542         * libc/sys/go32/Makefile.in: Use new routines.
8543         * libc/machine/Makefile.in: Fix typo in ln stuff.
8544
8545 Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8546
8547         * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
8548         * libc/Makefile.in (crt0.o): Likewise.
8549         * libc/machine/Makefile.in (lib.a): Likewise.
8550         * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
8551
8552         All Makefile.in files: Added mostlyclean, realclean and distclean
8553         targets.
8554
8555         * Makefile.in: Don't bother to unexport XTRAFLAGS or
8556         XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
8557         the top level Makefile.
8558
8559 Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
8560
8561         * libc/sys/sparc64/sys/stat.h: New file.
8562         * libc/sys/sparc64/sys/time.h: New file.
8563         * libc/sys/sparc64/sys/types.h: New file.
8564
8565 Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
8566
8567         * stub/ex93x/crt0.s (start): Add code to clear bss.
8568
8569 Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
8570
8571         * libc/include/sys/types.h (time_t): Properly protect inside
8572         #ifndef __time_t_defined.
8573
8574         * libc/stdio/fileno.c: New file.
8575         * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
8576         (fileno.o): Add dependency.
8577         * libc/include/stdio.h (__sgetc): Rename never to _never.
8578         (fileno macro): Disable, needs to do CHECK_INIT first.
8579
8580 Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
8581
8582         * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
8583         goal.
8584
8585         * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
8586         * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
8587         runtest.
8588         * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
8589         runtest.
8590
8591 Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
8592
8593         * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
8594         of the various constants.
8595
8596 Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
8597
8598         * libc/include/math.h: #ifndef __math_68881 around things which
8599         conflict with the (gcc-provided) inline functions in
8600         gcc/ginclude/math-68881.h.
8601
8602 Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
8603
8604         * libc/include/_syslist.h (_gettimeofday): Define.
8605         (_times): Ditto.
8606         * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
8607         (struct tms, timeval, timezone): Declare.
8608         (_gettimeofday_r, _times_r): Declare.
8609         * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
8610         #ifdef _CLOCK_T_ surrounding definition of clock_t.
8611         (time_t): Add multiple definition protection, __time_t_defined.
8612         * libc/include/sys/time.h: Don't #include <time.h>.
8613         Always define struct timezone (remove #ifndef _TIME_H_).
8614         * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
8615         #ifdef _CLOCK_T_ surrounding definition of clock_t.
8616         * libc/reent/Makefile.in (OFILES): Add timer.o.
8617         (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
8618         * libc/reent/timer.c: New file.
8619         * libc/time/clock.c: #include <reent.h>.
8620         (clock): Call _times_r instead of times.
8621         * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
8622         HAVE_GET_TIME_OF_DAY.
8623         Add comment regarding supporting OS routine(s) required (for docs).
8624         #include <reent.h>.
8625         (time): Call _gettimeofday_r instead of gettimeofday.
8626         * libc/time/asctime.c: Fix comment regarding supporting OS routines.
8627         * libc/time/ctime.c: Ditto.
8628         * libc/time/strftime.c: Ditto.
8629         * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
8630         (TEMPLATE_SFILES_R): Define here.  Also define times.
8631         Add times_r.o/times.S dependence.
8632         (time2.c, junk.c): Deleted.
8633         * libc/sys/sparc64/time2.c: Deleted.
8634         * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
8635
8636         * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
8637         * libc/stdio/tmpnam.c (_getpid_r): Ditto.
8638         * libc/sys/sparc64/junk.c: Deleted.
8639
8640 Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
8641
8642         * libc/sys/sparc64/Makefile.in: Add times syscall.
8643         * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
8644         be used with and without it.  Add comment clarifying Medium/Anywhere
8645         model requirements.
8646         * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
8647         * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
8648         even if obsolete.
8649
8650 Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
8651
8652         * configure.in (target_cflags): Move init.
8653         (sparc64-*-*): Define HAVE_BLKSIZE.
8654
8655 Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
8656
8657         * libc/include/sys/_types.h: New file.
8658         * libc/include/reent.h: #include it.
8659         Add comment describing REENTRANT_SYSCALLS_PROVIDED and
8660         MISSING_SYSCALL_NAMES.
8661         Sort syscalls.
8662         * libc/include/_syslist.h: Remove _raise.
8663         * libc/reent/signalr.c: New file.
8664         * libc/reent/Makefile.in: Compile it.
8665         * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
8666         Add doc for raise and _raise_r.
8667         * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
8668         (raise): Call _raise_r.
8669         (_raise_r): Call _getpid_r and _kill_r.
8670         * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
8671         (abort): Loop forever calling raise and _exit.
8672
8673 Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8674
8675         * configure.in: Remove extraneous echo.
8676
8677 Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
8678
8679         * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
8680         collision with unistd.h, and fix for svr4.
8681
8682 Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
8683
8684         * libc/stdio/local.h (_llicvt): Declare.
8685         (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
8686         * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
8687         (_llicvt): Define.
8688         (_sicvt): Fix function header (`value' is short).
8689         * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
8690         Add printing of long long's support.
8691         Add printing of 8 byte pointer support.
8692
8693 Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
8694
8695         * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
8696         stat, chmod): New hooks. 
8697         (sbrk): Abort if stack and heap collide.
8698         * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
8699         shortcut when given small args.
8700         * libc/machine/sh/setjmp.s: Rewritten.
8701         * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
8702         of cmp/str instruction.
8703
8704 Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8705
8706         * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
8707         and machine_dir powerpc.
8708         * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
8709         Add cases for __powerpc__.
8710         * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
8711         New files.
8712
8713         * libc/include/stdio.h (_iprintf_r): Declare correctly.
8714
8715 Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
8716
8717         * libc/stdlib/callocr.c: New file with _calloc_r in it.
8718         * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
8719
8720 Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
8721
8722         * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
8723         (print_e): More comments to describe args, etc.
8724         "type" arg may now be 'g' or 'G' for %g/G format --> remove
8725         trailing blanks.
8726         (_gcvt): Remove locals decpt, sign, end, p, done.
8727         More comments for print_e invocation.
8728         Pass "type" to print_e as is (g/G).
8729
8730 Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
8731
8732         * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
8733         stock m68000. 
8734
8735 Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
8736
8737         * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
8738         works with any sized pointer, including ones bigger than ints and
8739         longs.
8740
8741 Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
8742
8743         * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
8744
8745 Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8746
8747         * libc/include/stdlib.h (_calloc_r): Add prototype.
8748         * libc/machine/h8500/negsi2.c: New file.
8749         * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
8750         large unsigned numbers.
8751         * libc/machine/h8500/cmpsi.c: Add cmppsi.
8752         * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
8753         works when sizeof(size_t) != sizeof(char *).
8754         * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
8755         get play area
8756         * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
8757
8758 Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
8759
8760         * libc/include/assert.h (assert): Handle -traditional.
8761
8762 Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
8763
8764         * Makefile.in: added ; after every "fi" and "done" that wasn't at
8765         the end of a line (ie. anything before a backslash continuation)
8766         so that bash handles them.
8767
8768 Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8769
8770         * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8771         stat to lstat
8772
8773 Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
8774
8775         * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8776         libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8777         libc/machine/sh/udivsi3.s: Use new calling convention.
8778
8779 Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
8780
8781         * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8782         chmod, access, chdir, chown by making _path const. Also fix _amode
8783         param of access.
8784
8785 Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
8786
8787         * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8788         _khif_tmpnam, because it doesn't comply with ANSI but may be
8789         useful anyway. Real tmpnam was already in libc/stdio, and was
8790         colliding with this one (pr 2176.) 
8791         * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8792         the wrong idea anyhow.
8793
8794 Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8795
8796         * configure.in: Remove h8300h, we have multilib now.
8797
8798 Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
8799
8800         * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8801         functions, to get preference over the ones in libiberty (since we
8802         provide correct declarations in <string.h>.
8803         * libc/string/Makefile.in: add support for strncasecmp,
8804         strcasecmp.
8805
8806 Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
8807
8808         * Change netware config not to look for cpu explicitly.
8809
8810 Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8811
8812         * libc/sys/sparc64/{creat.c,junk.c}: New files.
8813         * libc/sys/sparc64/Makefile.in: Add dependencies.
8814
8815 Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
8816
8817         * configure.in: Clean up v9 a bit, new "os" aoutv8.
8818
8819 Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
8820
8821         * libc/include/sys/reent.h: make structure smaller by allocating
8822         some stuff when needed.
8823         * libc/signal/signal.c: allocate as needed
8824         * libc/stdio/findfp.c,stdio/local.h: ditto
8825         * libc/stdlib/mprec.c: ditto
8826
8827         * libc/time/localtime.c: don't return a dangling stack ptr.
8828
8829 Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8830
8831         * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8832
8833 Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8834
8835         * libc/include/stdio.h (__sputc): comment out static inline which
8836           confuses coff toolchains.
8837
8838 Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
8839
8840         * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8841         _write.s, getpid.c, kill.c, read.s}:
8842         * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8843         through the syscalls directory.
8844
8845 Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8846
8847         * configure.in: fixed double quote gotcha.
8848
8849 Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8850
8851         * stub/ex931: stub library for sparclite board.
8852         * stub/idp: Renamed from mc68ec. Added contructor table
8853         stuff to linker script.
8854         * stub/mvme135: Renamed from m68kmvme. Added contructor table
8855         stuff to linker script.
8856
8857 Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8858
8859         * configure.in: Configure testsuites only if they exist.
8860
8861 Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8862
8863         * configure.in: Don't set machine_dir for i386 until there is
8864         something in libc/machine/i386 to compile.  For i[34]86-*-netware*
8865         use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8866         CLOCK_PROVIDED and MALLOC_PROVIDED.
8867
8868         * libc/sys/netware: New directory.  Contains simplistic and
8869         probably incorrect stubs for NetWare.  Should be enough to load
8870         the library.
8871         * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8872         libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8873         stub files.
8874
8875         * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8876         * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8877         * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8878         * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8879
8880 Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
8881
8882         * testsuite/Makefile.in: add "docs" dummy target for consistency
8883         with rest of newlib; turn "info" and "install-info" into dummy
8884         targets, since they wouldn't have worked.  (Depended on
8885         nonexistent "doc" subdir.)
8886
8887 Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8888
8889         * configure.in: handle mips* instead of mips
8890
8891 Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8892
8893         * libc/include/sys/dirent.h: New file.  If it is not overridden by
8894         a version of libc/sys/*/sys/dirent.h, it includes the next
8895         <dirent.h> file in case there is one lurking somewhere.
8896
8897 Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8898
8899         * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8900         compliance, namely: Accept a minus sign.  Consider a single 0 with
8901         a radix of 0 as being a conversion.  Determine overflow correctly.
8902         If an overflow occurs, set *ptr to the end of the number, not the
8903         middle.
8904         * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8905
8906 Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
8907
8908         * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8909
8910 Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
8911
8912         * Makefile.in (INSTALL): Use $srcrootpre.
8913         (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8914         can't handle it.
8915         * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8916         it.
8917         * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8918         * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8919         * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8920         * libm/math/Makefile.in (matherr.o): Ditto.
8921
8922 Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8923
8924         * configure.in: Build multidirs for z8k.
8925         * libc/include/stdlib.h (_strtoul_r): add prototype.
8926         * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8927         * libc/include/machine/setjmp.h: Add for z8k.
8928         * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8929         * libc/sys/z8ksim/glue.c: tidy up.
8930
8931 Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
8932
8933         * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8934         New files.  Requires execve system call.
8935         * libc/unix/Makefile.in: Use them.
8936         * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8937         Deleted, moved to libc/unix.
8938         * libc/sys/sparc64/Makefile.in: Remove them.
8939
8940 Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8941
8942         * libc/sys/sparc64/{template.S template_r.S}: New files.
8943         * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8944         from templates.
8945         * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8946         fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8947         umask.S unlink.S wait4.S write.S}: Removed, now built from
8948         templates.
8949
8950 Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
8951
8952         * libc/time/time.c: #include <_ansi.h>.
8953
8954 Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8955
8956         * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8957
8958 Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8959
8960         * configure.in: match m8* rather than m88k so that m88110 is
8961           recognized as well.
8962
8963 Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8964
8965         * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8966         Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8967         misc.c: New file.
8968
8969         * configure.in: Add multilib support to h8300.
8970
8971 Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8972
8973         * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8974         * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8975         * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8976
8977 Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8978
8979         * configure.in: Corrected multidirs for sparc target.
8980
8981 Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8982
8983         Support for building newlib multiple times with different
8984         compilation flags.
8985         * configure.in: Only configure doc at top level.  Set multidirs
8986         when appropriate for target, unless not at top level.  If
8987         multidirs is set, independently configure each subdirectory.
8988         Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8989         * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8990         automagically set by configure.in.
8991         (all): If MULTIDIRS is set, build multiple copies of libraries.
8992         (install): If MULTIDIRS is set, install multiple copies of
8993         libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
8994         MULTISUBDIR is set, don't bother to install header files.
8995         * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8996         ${srcrootpre}.
8997         * stub/configure.in: Set MULTISUBDIR appropriately.
8998         * stub/Makefile.in (install): Install in
8999         $(tooldir)/lib/$(MULTISUBDIR).
9000         * All Makefile.in files: Define SRCTOP as well as TOP.
9001
9002 Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
9003
9004         * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
9005         * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
9006
9007 Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
9008
9009         * libc/sys/h8300hms/exit.c (_exit): New function.
9010
9011 Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9012
9013         * configure.in: recognize m88110.
9014
9015 Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9016
9017         * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
9018           prototype main and call with args.
9019
9020 Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
9021
9022         First real try at system traps for m88k-bug.
9023         * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
9024           to real trap calls.
9025         * libc/sys/m88kbug/sys/systraps.h: new file.
9026
9027 Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9028
9029         Patches to fix info building when target does not use sys
9030         directory.
9031         * libc/Makefile.in (targetdep.tex): add sys.tex separately.
9032         * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
9033           libc/sys.tex.
9034         * libc/sys/Makefile.in (doc): do nothing.
9035
9036 Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9037
9038         * libc/Makefile.in (CRT0): new macro.
9039           (all): depend on $(CRT0) rather than crt0.o.
9040
9041         * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
9042           do not default crt0, instead, set crt0 and crt0_dir based on
9043           sys_dir and stub_dir.
9044
9045         * Makefile.in (CRT0_DIR): new macro.
9046           (all): depend on $(CRT0) rather than crt0.o which may not exist.
9047           (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
9048           $(CRT0).
9049           ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
9050
9051 Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
9052
9053         * testsuite/lib/libm.exp: 
9054                 added code to support compiling and linking of tests for 
9055                 libm.sac (paranoia to be added next) and processing the 
9056                 pass or failure of the tests.
9057
9058         * testsuite/config/unix-libm.exp:
9059                 platform specific proc's for dealing with compiler, linker
9060                 and the way we execute and process the test results.
9061
9062         * testsuite/libm.sac/execute.exp:
9063                 generic framework for the sac tests. the config and lib 
9064                 expect code for specific platforms tie it all together.
9065
9066         * testsuite/libm.sac/test_is.c:
9067                 changed the output of the test to be consistant with the
9068                 other tests. parsing of pass nad fail messages is now fixed.
9069
9070 Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
9071
9072         * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
9073         locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
9074         stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
9075         #ifdef __cplusplus, surround by extern ""C { ... }.
9076         * libc/include/assert.h:  Do *not* protect assert.h against
9077         multiple inclusion!  Also, #undef it before #define, to allow
9078         redefinition.
9079         * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
9080         should be only in unistd.h.
9081
9082         * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
9083         unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
9084         ... }.
9085
9086 Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
9087
9088         * libc/machine/sparc/Makefile.in: Must create a library, even
9089         if empty.
9090
9091 Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9092
9093         * configure.in: set machine_dir for m88k.  edit crt0 definition
9094           into makefiles.
9095
9096         * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
9097
9098         * libc/Makefile.in (all): also build crt0.o.
9099
9100         * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
9101           libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
9102           to remove CRT0.
9103
9104         * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
9105           (all): reworked to build in place.
9106           (clean): remove lib.a
9107           (Makefile): remove redundant ./, call $(SHELL) rather than sh.
9108
9109         * libc/sys/m88kbug/crt0.c (start): renamed to _start.
9110           (_start): key off edata rather than _start_bss.
9111
9112 Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
9113
9114         * libc/include/sys/unistd.h, libc/include/reent.h,
9115         libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
9116
9117 Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9118
9119         * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
9120
9121         * Makefile.in (libc.a): break into two rules, one for libc.a and
9122           one for libc/libc.a.  Force subdirs current before rebuilding
9123           library.
9124           (libm.a): break into two rules, one for libm.a and one for
9125           libm/libm.a.  Force subdirs current before rebuilding library.
9126
9127         * libc/Makefile.in (SUBLIBS): fix typo.
9128
9129         * libc/sys/Makefile.in (all): force descent into subdirs, then
9130           rebuild library iff out of of date.
9131
9132 Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9133
9134         Rework so that library is built and then finished rather than
9135         being built on each invocation of make.
9136
9137         * host/any (machine_dir, sys_dir, signal_dir): these are not
9138           shared and have been moved to their associated Makefile.in's.
9139           (AR_FLAGS): switch to qc which is faster.
9140         * configure.in: no longer assign machine_dir for m88k.  set
9141           stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
9142           stub_dir set, then add to configdirs.  add comment about silly
9143           configuration.
9144           (configdirs): drop stub.  It will be added only
9145           when needed.
9146           (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
9147           libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
9148           stub_lib, crt0): new variables for tailoring lower level
9149           makefiles.  Assign accordingly and edit into makefiles.
9150         * libm/Makefile.in: updated copyright.
9151           (TARGETLIB): removed.
9152           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
9153           (SUBDIRS): removed TARGETDEP_DIRS.
9154           (LIBM_FP_LIB, SUBLIBS): new macros.
9155           (all): reworked.
9156           (force): new target to force rebuilds.
9157           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
9158         * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
9159           libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
9160           libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
9161           libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
9162           libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
9163           libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
9164           stub/m68kmvme/Makefile.in: updated copyright.
9165           (TARGETLIB, TARGETCRT0, CRT0): macros removed.
9166           (all): reworked.  made this the default rule.
9167           (clean): also remove lib.a.
9168           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
9169         * stub/Makefile.in: updated copyright.
9170           (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
9171           (stub_lib): new macro.
9172           (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
9173           RANLIB.
9174           (all): reworked.
9175           (clean, install): assume stub_dir exists.
9176           (Makefile): depend on configure.in.  call $(SHELL) rather than
9177           sh.  drop redundant ./
9178         * stub/configure.in (stublib): new macro, assign it, edit it into
9179           makefiles.
9180         * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
9181           updated copyright.
9182           (all): reworked.
9183           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
9184         * libc/Makefile.in (TARGETCRT0): removed.
9185           (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
9186           TARGETCRT0.
9187           (SUBDIRS): drop TARGETDEP_DIRS.
9188           (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
9189           LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
9190           (force): new target to force rebuilds.
9191         * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
9192           (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
9193           removed.
9194           (clean): assume sys_dir always exists.
9195         * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
9196           drop redundant ./
9197         * libc/ctype/Makefile.in, libc/errno/Makefile.in,
9198           libc/locale/Makefile.in, libc/machine/Makefile.in,
9199           libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
9200           libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
9201           libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
9202           libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
9203           libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
9204           libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
9205           libc/signal/Makefile.in, libc/stdio/Makefile.in,
9206           libc/stdlib/Makefile.in, libc/string/Makefile.in,
9207           libc/sys/Makefile.in, libc/syscalls/Makefile.in,
9208           libc/time/Makefile.in, libc/unix/Makefile.in,
9209           libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
9210           (TARGETLIB): removed.
9211           (all): reworked.
9212           (clean): also remove lib.a.
9213           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
9214         * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
9215           new macros.
9216           (SUBDIRS): moved to follow frag inclusion, change stub to
9217           stub_dir.
9218           (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
9219           are now set in the libc Makefile.
9220         * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
9221           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
9222           TARGETCRT0.
9223           (force): new target to force rebuilds.
9224         * stub/configure.in: determine and set stub_lib for for Makefile.
9225
9226 Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
9227
9228         * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
9229         crt0.s renamed to crt0.S.
9230         * libc/sys/h8300hms/crt0.S: Add h8/300h support.
9231
9232         * libc/machine/h8300/Makefile.in: Make `all' the default target.
9233         * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
9234         h8300h.
9235         * libc/machine/h8300/defines.h: Add macros to handle pointers for
9236         h8300 (16 bits) and h8300h (32 bits).
9237         * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
9238         reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
9239
9240 Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
9241
9242         * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
9243         implementation of setjmp and longjmp for the m88k.
9244         * libc/include/machine/setjmp.h: Added __m88000__ case.
9245
9246 Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
9247
9248         * configure.in: Recognize h8300h as variant of h8300.
9249
9250 Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
9251
9252         * libc/include/sys/unistd.h (read, write): get prototypes right.
9253         (sbrk): New prototype.
9254         * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
9255         * libc/stdio/local.h: Include unistd.h.
9256         * libc/machine/h8300/syscalls.c: Names have changed.
9257
9258 Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
9259
9260         * configure.in: add sys_dir assignment for m88k-bug.
9261
9262 Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
9263
9264         * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
9265         a.out or elf.
9266         * libc/sys/sparc64: all *.S files: Use new macros.
9267         * libc/sys/sparc64/isatty.c: New file.
9268         * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
9269         functions beyond what newlib provides.
9270
9271 Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
9272
9273         * libc/include/sys/stat.h: Move st_atime so not doubly defined for
9274         svr4.
9275
9276 Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
9277
9278         * libc/include/machine/ieeefp.h: Add support for h8/300h.
9279
9280 Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
9281
9282         * configure.in: add m88k.
9283         * libc/include/machine/ieeefp.h: add case for m88k.  Also add
9284         sanity check so no one else need ever chase what I did to find
9285         this.
9286
9287         * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
9288
9289 Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
9290
9291         * doc/makedoc.c: Include <ctype.h>.
9292
9293 Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
9294
9295         * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9296         * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9297         * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9298
9299         * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
9300
9301 Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
9302
9303         * libc/include/errno.h (ENOSYS): Added.
9304
9305         * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
9306
9307 Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
9308
9309         * libc/stdio/fflush.c (fflush): Check for reent struct
9310         initialization.
9311         * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
9312
9313 Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
9314
9315         * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
9316         out of dtoa.c so it doesn't pollute the namespace.
9317         * libc/include/_syslist.h: new file -- mappings from _function to
9318         function, for systems where we can't win (by default, all of them,
9319         until we start updating system calls.)
9320         * libc/syscalls: new directory -- stubs for exporting _function
9321         names as unmodified function names.
9322         * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
9323         _syslist.h on all platforms by default, but put hooks in for
9324         fake_sys_dir so we can include it when we've renamed the system
9325         calls.
9326         * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
9327         libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
9328         libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
9329         libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
9330         libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
9331         libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
9332         non ANSI functions to call _function.
9333
9334 Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
9335
9336         * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
9337         when base 16 is specified.  Don't accept non-digits if radix > 10.
9338
9339 Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
9340
9341         * libc/include/math.h: Rename xxx_r fns to _xxx_r.
9342
9343 Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
9344
9345         * libc/include/sys/stat.h: Surround text after #endif with
9346         comments.
9347
9348 Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
9349
9350         * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
9351         _malloc_r, _realloc_r, and free_r call the corresponding
9352         non-reentrant functions.
9353
9354         * libm/math/modf.c (modf): We now take the address of ipart, so
9355         don't make it a register variable.
9356
9357 Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
9358
9359         * libm/math/*: Rename all xxx_r fns to _xxx_r.
9360
9361 Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
9362
9363         * libc/libc.texinfo and embedded docn throughout: formatting
9364         improvements, minor rephrasing for clarity, and improved
9365         reentrancy docn.
9366
9367 Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9368
9369         * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
9370
9371         * libc/stdio/cvt.c (_licvt): Print the right value on machines
9372         where sizeof(int) != sizeof(long).
9373
9374 Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9375
9376         * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
9377         libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
9378         libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
9379         libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
9380         libm/math/matherr.c: changes for better docn formatting (info).
9381
9382         * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
9383         libc/reent/reent.tex, libc/signal/signal.tex,
9384         libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
9385         libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
9386         libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
9387         makeinfo node defaulting to get better Info file node structure.
9388         (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
9389         Also include a few formerly missing sections (subroutines).
9390
9391         * doc/doc.str: delete fossil expansion for "func"
9392
9393         * default.menu, no-signal.menu: delete.
9394
9395         * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
9396         method used to adjust doc for missing "signals" chapter when 
9397         signal_dir is empty.
9398
9399 Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
9400
9401         * configure.in: added testsuite/libm.sac
9402
9403 Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
9404
9405         * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
9406         code model).
9407
9408 Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
9409
9410         * libm/Makefile.in: Use $(MAKE) rather than make, and define
9411         MAKEOVERRIDES to be empty.
9412
9413 Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
9414
9415         * configure.in: Don't build mips-*-* with -msoft-float, since that
9416         makes it incompatible with hard floating point.
9417
9418 Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
9419
9420         * Makefile.in: added recursive 'make check'
9421
9422 Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
9423
9424         * configure.in: added ./testsuite ./testsuite/libm.paranoia
9425         * ./testsuite/Makefile.in: created
9426         * ./testsuite/libm.paranoia: paranoia tests added
9427
9428 Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
9429
9430         * configure.in: For mips-*-* set machine_dir to mips.
9431
9432         * libc/machine/mips: New directory.
9433         * libc/machine/mips/Makefile.in: New file.
9434         * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
9435         setjmp and longjmp.
9436         * libc/include/machine/setjmp.h: Added __mips__ case.
9437
9438         * libc/machine/lmips: Removed unused and useless directory.
9439
9440 Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
9441
9442         * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
9443
9444 Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
9445
9446         * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
9447         start up).
9448
9449 Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
9450
9451         * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
9452         SETJMP_H.
9453
9454 Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
9455
9456         * libm/test/convert.c: structure member errno -> errno_val.
9457         Must include <errno.h> to use errno, it's a macro now.
9458         * libm/test/math.c: Ditto.
9459         * libm/test/math2.c: Include errno.h.
9460         * libm/test/string.c: Ditto.
9461         * libm/test/test.h: structure member errno -> errno_val.
9462         Remove extern int errno decl.
9463
9464 Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
9465
9466         * libc/stdio/Makefile.in: Added dependencies on local header
9467         files.
9468         * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
9469         files.
9470
9471 Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
9472
9473         * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
9474
9475 Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
9476
9477         * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
9478         Initialize _data.
9479
9480         * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
9481         * libc/stdio/local.h: Add prototype for _licvt.
9482
9483         * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
9484         instead of malloc,reealloc.
9485
9486         * libc/stdlib/local.h: New file.
9487         * libc/stdlib/efgcvt.c: #include local.h.
9488         (gcvt): Fix call to _gcvt.
9489         * libc/stdlib/ecvtbuf.c: #include local.h.
9490
9491         * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
9492         * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
9493         * libc/stdlib/malloc.c: main routines moved to mallocr.c.
9494
9495         * libc/stdlib/atexit.c: moved global data to struct _reent.
9496         * libc/stdlib/exit.c: use struct _atexit in struct _reent.
9497
9498         * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
9499
9500 Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
9501
9502         * libc/include/sys/reent.h: Stuff required by ANSI headers moved
9503         here from ../reent.h.
9504
9505 Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
9506
9507         * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
9508         should be provided in both libc.a and libm.a.
9509         (libc.a): Depend on targ-include and libm.a.  Copy
9510         $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
9511         (libm.a): Depend on targ-include.
9512         * configure.in (subdirs): Removed libc/math.
9513
9514 Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9515
9516         * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
9517
9518 Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
9519
9520         * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
9521         sys/reent.h instead of reent.h.
9522         * libc/include/reent.h: Split into two parts: stuff needed by ANSI
9523         headers moved to sys/reent.h.  
9524         * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
9525         * libc/include/sys/signal.h: Define _MAX_SIGNALS if
9526         __need__MAX_SIGNALS defined.
9527         * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
9528         std{in,out,err} refer to new _std{in,out,err} members.
9529
9530 Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
9531
9532         * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
9533         case.
9534
9535 Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
9536
9537         * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
9538         rather than whatever macro seterrno() has.
9539
9540 Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
9541
9542         * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
9543         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9544
9545         * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
9546         __STDC__.
9547
9548         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
9549         reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
9550         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9551
9552         * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
9553         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9554
9555         * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
9556         fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
9557         fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
9558         mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
9559         remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
9560         sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
9561         vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
9562         renamed to _xxx_r.  struct reent_struct renamed to struct _reent
9563         for ANSI.  structure members given leading "_" for ANSI.  Use
9564         _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9565
9566         * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
9567         mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
9568         system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
9569         reent_struct renamed to struct _reent for ANSI.
9570         Structure members given leading "_" for ANSI.
9571         _CONST --> const in prototypes.
9572         Use _HAVE_STDC instead of __STDC__.
9573
9574         * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
9575         _xxx_r.
9576         struct reent_struct renamed to struct _reent for ANSI.
9577         Structure members given leading "_" for ANSI.
9578
9579         * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
9580         _xxx_r.
9581         struct reent_struct renamed to struct _reent for ANSI.
9582
9583         * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
9584         cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
9585         gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
9586         mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
9587         tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
9588
9589         * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
9590         signal.h, stdio.h, stdlib.h, string.h, time.h}:
9591         Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9592         #ifndef _STRICT_ANSI non-ANSI routines.
9593         Reentrant routines renamed from _r_xxx to _xxx_r.
9594         No need to use _STRICT_ANSI on _xxx_r reentrant routines.
9595         Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
9596         Clean up namespace (structure members have leading "_").
9597         struct reent_struct renamed to struct _reent for ANSI compliance.
9598         _CONST --> const in function prototypes.
9599
9600         * libc/include/string.h: Add NULL and size_t.
9601
9602         * libc/sys/sparc64/Makefile.in: New syscall routines for link,
9603         unlink, wait, wait4. Reentrant syscall routines close, fork,
9604         fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
9605         write.
9606         * libc/sys/sparc64/cerror.S (cerror_r): New routine.
9607         * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
9608         open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
9609         write.S}: Define reentrant versions.
9610         * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
9611         reentrant syscalls.
9612
9613         * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
9614
9615         * libc/include/stdlib.h (RAND_MAX): Fix value.
9616
9617 Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
9618
9619         * libc/sys/a29khif/_main.c: Removed unnecessary file.
9620         * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
9621         VPATH support targets after all: target.
9622
9623         * stub/mvme135/mvme.S: Renamed exceptionhandler to
9624         exceptionHandler, which is what mvme135-stub.c expects.
9625
9626 Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
9627
9628         * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
9629
9630         * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
9631         def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
9632         compliant).
9633
9634 Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
9635
9636         * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
9637         first.
9638         libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
9639         _r_write): Ditto.
9640         libc/reent/fstatr.c (_r_fstat): Ditto.
9641         libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
9642         libc/reent/sbrkr.c (_r_sbrk): Ditto.
9643         libc/reent/statr.c (_r_stat): Ditto.
9644
9645         * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
9646         * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
9647         * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
9648         * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
9649         * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
9650         * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
9651         * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
9652         * libc/stdio/stdio.c (__sread): Ditto for _r_read.
9653         (__swrite): Ditto for _r_lseek, _r_write.
9654         (__sseek): Ditto for _r_lseek.
9655         (__close): Ditto for _r_close.
9656         * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
9657
9658         * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
9659         * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
9660
9661         * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
9662         to make reent_struct the first argument (and thus consistent with
9663         the rest of newlib).
9664
9665         * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
9666         reference to __STDC__.
9667
9668 Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
9669
9670         * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
9671         global __cleanup.
9672
9673 Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
9674
9675         * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
9676         first.
9677         libc/stdio/fclose.c (fclose): Ditto.
9678
9679 Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
9680
9681         * Run through indent and rename reentrant routines for ANSI.
9682         libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
9683         fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
9684         fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
9685         fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
9686         getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
9687         putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
9688         scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
9689         tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
9690         vsprintf.c wbuf.c wsetup.c local.h}
9691
9692         * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
9693
9694         * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
9695         libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
9696         assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
9697         dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
9698         mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
9699         strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
9700
9701         * Run through indent.
9702         libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
9703         memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
9704         strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
9705         strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
9706         strxfrm.c}
9707
9708         * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
9709         localtime.c mktime.c strftime.c time.c}:
9710         Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
9711
9712         * Reformatting + renaming (for ANSI, GNU style, consistency).
9713         libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
9714         ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
9715         signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
9716
9717 Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
9718
9719         * libc/include/stdio.h (stdin_r): Fix.
9720
9721 Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
9722
9723         * Makefile.in: Unexport some variables to keep GNU make from
9724         putting them in the environment and using up needed ARG_MAX space
9725         (a hack is used to let this work with older makes as well).
9726
9727 Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
9728
9729         * Makefile.in: Use $(MAKE) rather than make.
9730         (MAKEOVERRIDES): Define to be empty.
9731         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9732         (libc.a, libm.a): Depend on targ-include.
9733         * host/any (LD): Don't define.
9734         (INCLUDES): Use targ-include.   
9735         * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
9736         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9737         * libc/Makefile.in: Use $(MAKE) rather than make.
9738         (MAKEOVERRIDES): Define to be empty.
9739         (FLAGS_TO_PASS): Don't pass LD (it's not used).
9740         (all): Rewrote to be slightly smaller.
9741         * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
9742         Define to be empty.
9743         (FLAGS_TO_PASS): Don't pass LD (it's not used).
9744         * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
9745
9746 Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
9747
9748         * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
9749         with errno/errno.c.
9750
9751 Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
9752
9753         * Changes for reentrancy.
9754         libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
9755         Use ptr->_errno, not errno.
9756         libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
9757         libc/stdio/remove.c (remove_r): New function.
9758         libc/stdio/rename.c (rename_r): New function.
9759         libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9760         libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
9761         libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
9762         reentrant versions of system calls.
9763         libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
9764         libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
9765         libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
9766         libc/stdio/findfp.c: Include <string.h>.
9767         libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9768         "local.h".
9769         libc/stdio/wbuf.c: Include "fvwrite.h"
9770
9771         * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9772         <string.h>.
9773         libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9774         (NULL): Don't define if already defined.
9775         libc/stdlib/system.c: Call reentrant versions of system calls.
9776         (system_r): New function.
9777
9778         * Changes for reentrancy.
9779         libc/include/_ansi.h (_PARAMS): New macro.
9780         libc/include/errno.h: Define errno as a macro that calls __errno.
9781         (__errno_r): New macro for reentrant code.
9782         libc/include/math.h: Include reent.h.  Declare many reentrant
9783         functions.
9784         (signgam): Now a macro, not a variable.
9785         (struct exception): Added err field.
9786         libc/include/reent.h: Don't declare __sglue.  Added function
9787         declarations.
9788         (struct reent_struct): Moved errno to beginning.  Added _signgam.
9789         libc/include/stdio.h, libc/include/stdlib.h: Added function
9790         declarations.
9791
9792         * More reentrancy hacking.
9793         libc/errno/errno.c (__errno): New function.
9794         libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9795         libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9796         files.
9797         
9798         * Added many new reentrant functions to libm/math/*.
9799         libm/math/error.c (__matherror): Added reent_struct pointer
9800         argument. Changed all callers.
9801         libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9802         libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9803         libm/math/tan.h: Removed obsolete unused header files.
9804
9805         * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9806
9807         * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9808
9809 Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9810
9811         * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9812         delay slots.
9813
9814 Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9815
9816         * libc/libc.texinfo:  comment out reentrancy chapter (duh)
9817
9818 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9819
9820         * libc/reent/reent.tex:  New file.  (text from
9821         newlib/libc/libc.texinfo)
9822         * libc/stdio/tmpnam.c:  fixed doc typo
9823         * libc/stdlib/rand.c:   fixed doc typo
9824
9825 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9826
9827         * libc/reent/reent.tex:  New file.  (text from
9828         newlib/libc/libc.texinfo)
9829
9830 Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9831
9832         support for reentrancy
9833         * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9834         new files
9835         * libc/errno/errno.c, libc/include/ieeefp.h,
9836         libc/include/locale.h, libc/include/reent.h,
9837         libc/include/signal.h, libc/include/stdio.h,
9838         libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9839         libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9840         libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9841         libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9842         libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9843         libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9844         libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9845         libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9846         libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9847         libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9848         libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9849         libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9850         libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9851         libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9852         libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9853         libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9854         libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9855         libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9856         libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9857         libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9858         libc/time/strftime.c: modify to provide reentracy.
9859
9860         new routines:
9861         strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9862         perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9863         tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9864         srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9865         mstats_r, realloc_r, localeconv_r, setlocale_r
9866
9867 Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
9868
9869         * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9870         libc/include/sys/config.h, libc/include/sys/signal.h,
9871         libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9872         provided macros (such as m68000), use the ansi version
9873         (__m68000__) so that the library can be used with code compiled
9874         -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9875         and sparc.
9876
9877 Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
9878
9879         * configure.in (sparc*): Don't set -fsoft-float for sparc
9880         configurations.  Do set -fsoft-float for sparclite configurations.
9881
9882 Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9883
9884         * default.menu, no-signal.menu: alternate forms of libc main menu
9885           (in newlib rather than newlib/libc due to configuration restrictions)
9886
9887         * configure.in: select one of the two menus above, link to
9888         libc.menu
9889
9890         * libc/libc.texinfo: include menu from separate file
9891
9892 Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
9893
9894         * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9895         (info): Split long shell command in half.
9896         * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9897         sub-makes, just CHEW and TARGETDOC. 
9898         (targetdep.tex): Removed now special handling of sys and machine
9899         subdirectories, made obsolete some time ago.
9900         * libc/machine/Makefile.in (doc): Don't pass everything to
9901         sub-make, just CHEW and TARGETDOC.
9902         (Makefile): New target.
9903         * libc/sys/Makefile.in (Makefile): New target.
9904
9905 Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
9906
9907         * Makefile.in (here and most subdirectories): Only pass down CHEW
9908         and TARGETDOC when making info, not for other targets.
9909
9910         * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9911         $(AR_FLAGS) rather than $(ARUPDATE).
9912
9913 Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
9914
9915         * Try to reduce command line length:
9916         * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9917         CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9918         (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9919         (info): Pass CHEW to other subdirs.
9920
9921 Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
9922
9923         * configure.in: add signal_dir, like unix_dir, but by default it
9924         is set to "signal" so that a29khif can turn it off (since a29khif
9925         has raise() as part of machine-specific signal.s.)
9926
9927 Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9928
9929         * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9930         * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9931         correctly.
9932         * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9933         libc/stdio/vfprintf: type lint.
9934         * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9935         initialzation code.
9936         * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9937
9938 Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
9939
9940         * stub/mvme135/mvme135-asm.S: new file.
9941         stub/mvme135mvme135-stub.c: moved all assembler routines into
9942         mvme135-asm.S.
9943         stub/mvme135/Makefile.in: build mvme135-stub.o.
9944
9945 Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9946
9947         * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9948         sub-Makefiles instead, to try to avoid line length limitations.
9949
9950 Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
9951
9952         * libc/include/unistd.h (read, write):  Use void* instead of
9953         char*.
9954
9955 Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
9956
9957         * stub/go32/resetpc: sample script to send a reset packet to the
9958         stub
9959
9960         * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9961         DOS environment, which compiles with Turbo C.
9962
9963         * stub/go32/DSER32.LNK: new file, linker commands for serial
9964         remote stub.
9965
9966         * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9967         start up message to identify version; call set_debug_traps.
9968
9969         * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9970         keyboard interaction); call handle_exception() in go_til_stop,
9971         rather than return, so that the remote stub gets control.
9972
9973         * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9974         rename, rather than mv), set flags that work with current Turbo C,
9975         including using the /3 flag; also, add commands to build dser32.
9976
9977         * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9978         default Turbo C installation (\tc rather than \usr)
9979
9980         * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9981         "&..."
9982
9983 Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9984
9985         * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9986
9987 Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9988
9989         * libc/stdio/cvt.c (licvt): new function to convert ints when
9990         sizeof(int) != sizeof(long).
9991
9992         * libc/include/stdio.h: added prototype for iprintf.
9993         * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9994
9995 Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9996
9997         * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9998         __REGISTER_PREFIX__.
9999
10000 Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
10001
10002         * libc/sys/m68kbare: moved into stub directory.
10003
10004 Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
10005
10006         * configure.in, Makefile.in: created new directory stub, to hold
10007         sample code for specific targets.
10008
10009 Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
10010
10011         * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
10012         in the unified libc/include/sys/fcntl.h.
10013
10014 Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
10015
10016         * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
10017         printed .01, not 0.01.
10018
10019 Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
10020
10021         * configure.in: compile with -m68000 for m68* targets.
10022
10023 Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
10024
10025         * libm/math/remainder.c (remainder): document the svr4 and sunos
10026         references used to construct the function.
10027
10028 Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
10029
10030         * libm/math/remainder.c (rint, remainder): fix old typos.
10031         * libm/math/Makefile.in: actually build remainder.c (functions
10032         rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
10033         page.)
10034
10035 Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
10036
10037         * libc/string/bcopy.c: BSD version works on overlapping strings,
10038         so ours should too.
10039
10040         * libc/stdlib/system.c: always invoke /bin/sh, not getenv
10041         ("SHELL").
10042
10043 Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
10044
10045         * Makefile.in (docs): new target.
10046
10047 Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
10048
10049         * libc/include/sys/times.h: define clock_t as required by POSIX.
10050         libc/include/time.h: protect clock_t from multiple definitions.
10051
10052 Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
10053
10054         * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
10055         does not need more than the original three iterations to get
10056         within 1 ulp. (Paranoia tests for rounding to better than that,
10057         but further iterations *don't* help, only more subtle changes
10058         can.)
10059
10060 Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
10061
10062         * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
10063         were doing nothing useful.
10064
10065 Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
10066
10067         * configure.in: define MALLOC_PROVIDED for vxworks targets;
10068         removed sys_dir settings of vxworks68 and vxworks960.
10069         host/any: don't pass -nostdinc to gcc, since newlib no longer
10070         provides all required header files.
10071
10072         * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
10073         is not defined; this provides a hook for VxWorks.
10074
10075 Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
10076
10077         * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
10078         buffer if buf is NULL, don't do it here -- it is already being
10079         done by makebuf elsewhere in stdio.
10080
10081 Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
10082
10083         * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
10084         that C programs can call functions without using initial
10085         underscores.
10086
10087 Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
10088
10089         * libc/stdlib/abort.c (abort): call exit, in case kill returns.
10090
10091 Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
10092
10093         * configure.in: set TARGET_CFLAGS for certain CPU types to
10094         -msoft-float.
10095
10096 Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
10097
10098         * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
10099
10100 Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
10101
10102         * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
10103         m68k*-unknown-coff.
10104
10105 Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
10106
10107         * libc/include/stdio.h: define __need___va_list before including
10108         <stdarg.h>, to avoid defining va_arg, et. al.
10109
10110 Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
10111
10112         * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
10113         (don't cd to the user's home directory).
10114
10115         * libc/Makefile.in: replaced all instances of $(MAKE) with make.
10116         In general this is the wrong thing to do, but I can't get around
10117         GNU make's insistence on passing command line arguments any other
10118         way.
10119
10120 Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
10121
10122         * configure.in: always configure the libc/sys directory, since it
10123         now provides a required documentation file.
10124
10125         * Makefile.in: replaced all instances of $(MAKE) with make.  In
10126         general this is the wrong thing to do, but I can't get around GNU
10127         make's insistence on passing command line arguments any other way.
10128
10129 Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
10130
10131         * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
10132         terminated.
10133
10134         * libc/stdio/local.h: include <stdarg.h> to define va_list.
10135         libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
10136
10137         * libc/include/float.h, libc/include/stdarg.h,
10138         libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
10139         versions instead.
10140         libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
10141         <stdarg.h>, not from <machine/types.h>.  Protect definition of
10142         NULL.
10143         libc/include/time.h: get size_t from stddef.h.  Protect definition
10144         of NULL.
10145         libc/include/machine/limits.h: override gcc <limits.h> by defining
10146         _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc <limits.h> to
10147         get correct INT_MIN and LONG_LONG values.
10148         libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
10149         size_t or va_list at all; they're now gotten from stddef.h
10150         instead.
10151         libc/include/machine/varargs.h: removed; use gcc version instead.
10152         libc/include/sys/types.h: explicitly include <machine/types.h>.
10153
10154         * libm/math/sqrt.h: using the fp-bit routines appears to require
10155         more iterations.
10156
10157         * Makefile.in, host/any: let system include files override machine
10158         include files.
10159
10160 Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
10161
10162         * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
10163         override _*_T_ definitions defaulted here.
10164
10165 Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
10166
10167         * Makefile.in (install): install the include files in
10168         $(tooldir)/include, not $(exec_prefix)/include.
10169
10170 Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
10171
10172         * Makefile.in (install): fixed typo, and changed install to not
10173         force rebuild of libc.a and libm.a.
10174
10175 Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
10176
10177         * libc/sys/a29khif/*: Changed all .include's to include
10178         sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
10179         that they will be installed for the user.
10180
10181         * Makefile.in (all): create targ-include, a directory holding the
10182         machine and system specific header files during the build.
10183         (install): fixed installation of machine and system specific
10184         header files.
10185
10186         * Makefile.in: fixed comment.
10187         host/any: change .s.o rule to use $(AS) rather than $(CC), so that
10188         we can pass $(INCLUDES) to it.
10189
10190 Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
10191
10192         * libc/include/sys/param.h: new generic file, which may be
10193         overridden for specific systems.
10194
10195         * libc/include/sys/signal.h: define all ANSI signal names, and
10196         NSIG (which is not ANSI) for a29k.
10197
10198 Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
10199
10200         * Makefile.in: don't pass down arguments the lower level makes
10201         will not need.
10202         * libc/Makefile.in: recurse directly, rather than using subdir_do,
10203         in hopes of avoiding argument length limits.
10204         * libm/Makefile.in: recurse directly, rather using subdir_do, in
10205         hopes of avoiding argument length limits.
10206
10207 Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
10208
10209         * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
10210         mode_t is defined.
10211
10212 Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
10213
10214         * Fixed make info and make install-info for newlib, changing most
10215         Makefile.in and several *.tex files.  Moved doc directory from
10216         libc to top level.
10217
10218         * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
10219         Should be rewritten.
10220
10221         * libc/string/strings.tex: renamed node index to node index
10222         function, so that it does not conflict with the top level index
10223         node.
10224
10225         * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
10226
10227 Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
10228
10229         * Overhauled general configuration for newlib.  Eliminated all
10230         target dependent Makefile fragments.  Create libraries in newlib
10231         rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
10232         than CROSS_CC, et. al.  Broke make docs; will fix later.
10233
10234         * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
10235         Should be rewritten.
10236
10237 Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
10238
10239         * libc/configure.in: cleaned up somewhat; switch on ${target}
10240         rather than ${target_alias}.
10241         * libm/configure.in: cleaned up somewhat; switch on ${target}
10242         rather than ${target_alias}.
10243
10244         * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
10245         * libc/include/ctype.h: marked _ctype_ as _CONST.
10246
10247         * libc/locale/locale.c (lconv, localeconv): marked static lconv as
10248         _CONST.
10249
10250         * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
10251         libc/stdio/vfscanf.c (__svfscanf): made static variables const.
10252         libc/stdio/gets.c (gets): removed non-ANSI warning message.
10253         libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
10254
10255         * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
10256         bigtens, tinytens): marked arrays _CONST.
10257         libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
10258         rather than a static variable.
10259
10260         * libc/time/asctime.c (asctime), libc/time/localtime.c
10261         (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
10262         _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
10263         mname_len, mname): Marked static arrays _CONST.
10264
10265         * libm/math/gamma.h: made local variables non-static.
10266
10267         * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
10268         libm/math/exp.c, libm/math/gamma.h: marked static arrays as
10269         _CONST.
10270
10271         * libm/math/constants.c: removed file, because the constants it
10272         defined were never referenced.
10273         libm/math/Makefile.in: removed references to constants.c.
10274         libm/math/mathimpl.h: removed declarations of constants.
10275
10276 Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
10277
10278         * libc/include/machine/varargs.h: only call __builtin_saveregs if
10279         it is sensibly defined in libgcc2.  Checks preprocessor defines,
10280         which is not a good solution.
10281
10282         * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
10283
10284         * libm/frexp.c: handle denormalized numbers as arguments.
10285
10286         * libm/math/Makefile.in: added some dependencies for .c files
10287         which include local .h files.
10288
10289 Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
10290
10291         * libc/configure.in: set target_alias for OSE*.  Replace
10292         target_makefile_frag if it is blank.
10293
10294         * libc/Makefile.in: make sure everything is passed to subsidiary
10295         makes; create all directories when installing.
10296
10297         * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
10298         CROSS_ARUPDATE instead of AR.
10299
10300         * libm/configure.in: set target_alias for OSE*.  Replace
10301         target_makefile_frag if it is blank.
10302
10303         * libm/Makefile.in: make sure everything is passed to subsidiary
10304         makes; create all directories when installing.
10305
10306 Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
10307
10308         * add following change from libc copy.
10309
10310 Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10311
10312         * libc/libc.texinfo: make copyright disclaimers appear on back of
10313         title page; make format of same slightly less ugly; avoid using
10314         underbars in section headings (avoids nasty texinfo bug in table
10315         of contents).
10316
10317         * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
10318           comments only) avoid using underbars in section headings
10319
10320         * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
10321           isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
10322           changes in comments only): shorten headings ieeefp/infinity.c,
10323           ieeefp/isnan.c: (doc, comments only) more informative headings
10324
10325         * libc/math/bessel.c: (doc, comments only) shorten heading
10326
10327         * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
10328         (doc, comments only) shorten headings
10329
10330         * libc/time/localtime.c (doc, comments only): shorten headings
10331
10332         * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
10333           isnan
10334           libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
10335           libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
10336           headings
10337           libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
10338           only) more informative headings
10339         * libm/math/bessel.c: (doc, comments only) shorten heading
10340
10341 Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
10342
10343         * .../Makefile.in: use CROSS_ARUPDATE consistently.
10344         * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
10345         * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
10346         * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
10347         defined, the one from the .mt file will be correct.
10348         * libc/include/machine, libc/include/sys: created, and populated
10349         with common files from machine/*/machine. ifdefs were used for
10350         most, typically by handling exceptions first and then filling in
10351         defaults. Files with D.J. Delorie copyright #included rather than
10352         copied. Most files in include/sys really were the same in the
10353         original.
10354         * libc/include/...: cleaned up use of _EXFUN.
10355         * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
10356         it with double quotes, not angles.
10357
10358 Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
10359
10360         * libc/Makefile.in: always create installation directories.
10361
10362 Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
10363
10364         * libc/configure.in: handle host properly (using canonical
10365         triples), better error message for the case of target not found
10366
10367 Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
10368
10369         * libc/Makefile.in (insincdir): Ensure this directory exists
10370         before attempting installation.
10371
10372 Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10373
10374         * libc/stdlib/assert.c: now calls abort like it should
10375         * libc/sys/a29khif: many many patches for 29khif work
10376         * libc/machine/i386: gnulib2 expanded there.
10377
10378 Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10379
10380         Added accurate fp conversion routines to stdlib, moved dcvt from
10381         stdio to stdlib and called it ecvtbuf:
10382         * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
10383         * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
10384         routines
10385         * libc/libc.texinfo: Modifed to include the copyright info from
10386         the mprec files
10387         * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
10388         * libc/test/ : many vector which tested for the implementation
10389         defined returns of strange conversion requests have been updated
10390         to relflect the new implementation
10391
10392 Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10393
10394         * libc/libc.texinfo: new chapter on variable arg lists
10395         (stdarg.h/varargs.h)
10396         * libc/libc.texinfo: new title
10397         * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
10398         (doc only) shorter headings for better formatting.
10399
10400 Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10401
10402         * libc/libc.texinfo: three more info menu entries
10403         * libc/locale/locale.tex: new chapter
10404         * libc/locale/locale.c: new doc for setlocale, localeconv
10405         * libc/locale/Makefile.in: use new locale doc
10406         * libc/signal/signal.tex: new chapter
10407         * libc/signal/raise.c, libc/signal/signal.c: new doc
10408         * libc/signal/Makefile.in: use new doc
10409         * libc/time/time.tex: new chapter
10410         * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
10411         libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
10412         libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
10413         * libc/time/Makefile.in: use new doc
10414
10415 Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10416
10417         * libm/math/log1p.c: split to use the new function way of float
10418         function definition. math/log1p.h deleted
10419         * libm/math/scalb.c: obsolete and deleted
10420         * libm/math/scalbn.c: created from part log1p.c
10421         * libm/math/Makefile.in: know about log1p and scalbn
10422
10423 Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10424
10425         * libc/ctype/isupper.c: revise doc;
10426           libc/ctype/ctype.tex: use doc from isupper.c
10427
10428         * libc/string/bzero.c: new doc
10429
10430 Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10431
10432         * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
10433         new doc
10434         * libc/stdlib/Makefile.in: extract new doc
10435         * libc/stdlib/stdlib.tex: use new doc
10436
10437         * libc/string/strerror.c: expanded doc.
10438
10439         * libc/stdio/Makefile.in: extract doc from more files
10440         * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
10441         libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
10442         libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
10443         libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
10444         libc/stdio/vsprintf.c: new doc
10445         * libc/stdio/stdio.tex: use new doc
10446
10447 Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10448
10449         * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
10450         * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
10451         finitef functions.
10452         * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
10453         time ago.
10454
10455         * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
10456         * libc/stdio/setbuf.c: added ansi style definition.
10457         * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
10458         buffer if none provided.
10459         * libc/stdio/tmpfile.c: lint
10460         * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
10461         rather than using static, also make sure file isn't already
10462         present.  Uses P_tmpdir. (tempnam): rewritten to use new
10463         subroutine, and uses P_tmpdir.
10464         * libc/stdio/siprintf.c: created
10465
10466 Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10467
10468         Release 1.03 for NEC, major mods. Main differences from release
10469         1.02::
10470
10471         More tests in test/:
10472         * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
10473         log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
10474         * test_ieee.c: tests for ieee flags & masks - get/set rounding,
10475         get/set mask, get/set sticky and get/set roundtoi.  Tests
10476         that setting the bits changes the way arithmetic is done.
10477         * string.c: added test to make sure memcmp does it with unsigned
10478         chars.
10479         * test.c: cleaned up and removed lint.
10480         * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
10481         dvec.c: tests for string to value conversions,  sprintf, scanf,
10482         atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
10483         ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
10484         rounding in sprintf too.
10485         * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
10486         isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
10487         isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
10488         and function form.
10489         * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
10490         powf
10491
10492         In the library:
10493         * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
10494         libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
10495         libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
10496         libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
10497         * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
10498         than sprintf.
10499         * libc/stdio/dcvt.c: rewritten to make more useful elsewhere. 
10500         * Method of producting float versions of double functions has
10501         changed, functions will be modified gradually. So far:
10502         libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
10503         libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
10504         altered
10505         * libc/string/memcmp.c: now uses unsigned chars
10506         * libc/string/bcmp.c, libc/string/strcpy.c,
10507         libc/stsring/strxfrm.c: fixed doc
10508         * libc/sys/sysvnecv70.tex: fix example of sbrk code
10509 \f
10510 Local Variables:
10511 version-control: never
10512 End: