]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
d541ba3e
JJ
12002-07-22 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
4 * libc/machine/powerpc/times.c: New file.
5 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
6 * libc/machine/powerpc/Makefile.in: Regenerated.
7
82002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
9
10 * libc/machine/powerpc/time.c: New file.
11 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
12 time.c.
13 * libc/machine/powerpc/Makefile.in: Regenerated.
14
5e7d0a55
TF
152002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
16
17 * libc/libc.texinfo: Change copyright notices to Red Hat from
18 Cygnus.
19 * libm/libm.texinfo: Likewise.
20 * README: Change docs URL to
21 http://sources.redhat.com/newlib/docs.html.
22
504628e7
JJ
232002-07-19 Jeff Johnston <jjohnstn@redhat.com>
24
25 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
26 * libc/sys/linux/Makefile.in: Regenerated.
27 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
28 * libc/sys/linux/io.c: Add ftruncate syscall.
29 * libc/sys/linux/fpathconf.c: New file.
30 * libc/sys/linux/pathconf.c: Ditto.
31 * libc/sys/linux/linux_fsinfo.h: Ditto.
32 * libc/sys/linux/sys/unistd.h: Ditto.
33
b155ad9f
JJ
342002-07-19 Jeff Johnston <jjohnstn@redhat.com>
35
36 * libc/stdio64/Makefile.am: Remove missing files.
37 * libc/stdio64/Makefile.in: Regenerated.
38
c119e0ab
JJ
392002-07-19 Jeff Johnston <jjohnstn@redhat.com>
40
41 * libc/include/sys/config.h[__i386__][__linux__]: Define
42 _LARGE64FILE_SOURCE to 1.
43 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
44 * libc/sys/linux/Makefile.in: Regenerated.
45 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
46 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
47 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
48 of <linux/resource.h>.
49 * libc/sys/linux/getrlimit64.c: New file.
50 * libc/sys/linux/setrlimit64.c: Ditto.
51
9b022d6d
TF
522002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
53
54 * libc/argz/argz_replace.c: Include buf_findstr.h.
55 * libc/argz/buf_findstr.c: Likewise.
56 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
57 value to (char *).
58 * libc/argz/envz_get.c: Likewise.
59 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
60 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
61 * libc/stdlib/getsubopt.3: New file.
62 * libc/stdlib/getsubopt.c: New file.
63 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
64 Change esp to ebp.
65
dee51391
JJ
662002-07-17 Jeff Johnston <jjohnstn@redhat.com>
67
68 * configure.host(stdio64_dir): New setting that is used to
69 enable building of new stdio64 directory.
70 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
71 large files.
72 (stmp-stdio64,stdio64.texi): New targets to optionally add in
73 stdio64 info to info files.
74 * libc/Makefile.in: Regenerated.
75 * libc/configure: Ditto.
76 * libc/configure.in: Add configuration variables that are set
77 when stdio64 is selected as subdir in configure.host.
78 * libc/libc.texinfo: Add optional menu item for Stdio64, based
79 on whether STDIO64 flag is set or not.
80 * libc/sys.tex: Add optional stdio64 syscalls based on whether
81 STDIO64 flag is set or not.
82 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
83 _r sycall routines.
84 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
85 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
86 (__SL64): New file flag indicating file is opened via fopen64.
87 * libc/include/sys/_types.h(_off64_t): Added.
88 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
89 * libc/include/sys/reent.h(struct __sFILE64): New file structure
90 for 64-bit offset large file support.
91 (__FILE): New intermediate type either set to struct __sFILE64 or
92 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
93 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
94 * libc/reent/Makefile.in: Regenerated.
95 * libc/reent/fstat64r.c: New file.
96 * libc/reent/lseek64r.c: Ditto.
97 * libc/reent/open64r.c: Ditto.
98 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
99 based on whether STDIO64 flag is set.
100 * libc/stdio/stdio.tex: Add blank line.
101 * libc/stdio64/Makefile.am: New file.
102 * libc/stdio64/Makefile.in: Ditto.
103 * libc/stdio64/fgetpos64.c: Ditto.
104 * libc/stdio64/fopen64.: Ditto.
105 * libc/stdio64/freopen64.c: Ditto.
106 * libc/stdio64/fseeko64.c: Ditto.
107 * libc/stdio64/fsetpos64.c: Ditto.
108 * libc/stdio64/ftello64.c: Ditto.
109 * libc/stdio64/local64.h: Ditto.
110 * libc/stdio64/stdio64.c: Ditto.
111 * libc/stdio64/stdio64.tex: Ditto.
112 * libc/stdio64/tmpfile64.c: Ditto.
113 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
114 open64.
115
778876f6
JJ
1162002-07-16 Jeff Johnston <jjohnstn@redhat.com>
117
118 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
119 if LIBC_EXTRA_LIB is present.
120 * libc/Makefile.in: Regenerated.
121 * libc/libc.texinfo: Add blank line.
122 * libc/argz/Makefile.am: Add doc support.
123 * libc/search/Makefile.am: Ditto.
124 * libc/argz/Makefile.in: Regenerated.
125 * libc/search/Makefile.in: Ditto.
126 * libc/misc/misc.tex: Add ffs function.
127 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
128
37981145
JJ
1292002-07-15 Jeff Johnston <jjohnstn@redhat.com>
130
131 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
132 definition that was removed in error.
133
38b5dc59
JJ
1342002-07-15 Jeff Johnston <jjohnstn@redhat.com>
135
136 * libc/include/machine/ieeefp.h: Change to only define
137 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
138 __IEEE_LITTLE_ENDIAN must be defined for each platform).
139 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
140 remove redundant floating point definitions.
141
8cb61a96
JJ
1422002-07-15 Jeff Johnston <jjohnstn@redhat.com>
143
144 * libc/sys/linux/callocr.c: Fix so code references
145 calloc.
146
edba3282
JJ
1472002-07-15 Jeff Johnston <jjohnstn@redhat.com>
148
149 * libc/sys/linux/Makefile.am: Add new files.
150 * libc/sys/linux/Makefile.in: Regenerated.
151 * libc/sys/linux/bp-sym.h: Moved to include directory.
152 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
153 * libc/sys/linux/inode.c: Set _LIBC to 1.
154 * libc/sys/linux/mq_close.c: Ditto.
155 * libc/sys/linux/mq_getattr.c: Ditto.
156 * libc/sys/linux/mq_open.c: Ditto.
157 * libc/sys/linux/mq_receive.c: Ditto.
158 * libc/sys/linux/mq_send.c: Ditto.
159 * libc/sys/linux/mq_setattr.c: Ditto.
160 * libc/sys/linux/mq_unlink.c: Ditto.
161 * libc/sys/linux/calloc.c: New file.
162 * libc/sys/linux/callocr.c: Ditto.
163 * libc/sys/linux/cfreer.c: Ditto.
164 * libc/sys/linux/config.h: Ditto.
165 * libc/sys/linux/free.c: Ditto.
166 * libc/sys/linux/freer.c: Ditto.
167 * libc/sys/linux/msize.c: Ditto.
168 * libc/sys/linux/msizer.c: Ditto.
169 * libc/sys/linux/mstats.c: Ditto.
170 * libc/sys/linux/mtrim.c: Ditto.
171 * libc/sys/linux/mtrimr.c: Ditto.
172 * libc/sys/linux/pvallocr.c: Ditto.
173 * libc/sys/linux/realloc.c: Ditto.
174 * libc/sys/linux/reallocr.c: Ditto.
175 * libc/sys/linux/thread-m.h: Ditto.
176 * libc/sys/linux/vallocr.c: Ditto.
177 * libc/sys/linux/bp-checks.h: Ditto.
178 * libc/sys/linux/libc-symbols.h: Ditto.
179 * libc/sys/linux/libc-tsd.h: Ditto.
180 * libc/sys/linux/libintl.h: Ditto.
181 * libc/sys/linux/malign.c: Ditto.
182 * libc/sys/linux/malignr.c: Ditto.
183 * libc/sys/linux/mallinfor.c: Ditto.
184 * libc/sys/linux/malloc.c: Ditto.
185 * libc/sys/linux/mallocr.c: Ditto.
186 * libc/sys/linux/malloptr.c: Ditto.
187 * libc/sys/linux/mallstatsr.c: Ditto.
188 * libc/sys/linux/mcheck.c: Ditto.
189 * libc/sys/linux/mhooks.h: Ditto.
190 * libc/sys/linux/include/bp-sym.h: Ditto.
191 * libc/sys/linux/include/malloc.h: Ditto.
192 * libc/sys/linux/include/mcheck.h: Ditto.
193 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
194 getpagesize.c.
195 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
196 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
197 * libc/sys/linux/machine/i386/getpagesize.c: New file.
198 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
199 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
200 * libc/sys/linux/machine/i386/sysdep.h: New file.
201 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
202 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
203 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
204
ea20b60a
JJ
2052002-07-12 Jeff Johnston <jjohnstn@redhat.com>
206
207 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
208 instead of <asm/siginfo.h>.
209 * libc/sys/linux/sys/signal.h: Change to include various linux
210 <bits/xxx.h> header files, rather than <linux/signal.h> so as
211 to work with multiple releases of glibc header files.
212
2fc82912
JJ
2132002-07-11 Chris Demetriou <cgd@broadcom.com>
214
215 * testsuite/newlib.search/hsearchtest.c: New file to test
216 newlib/libc/search.
217 * testsuite/newlib.search/hsearchtest.exp: Likewise.
218
4a404e97 2192002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
220
221 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
222 a terminal.
223 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
224
6aec558e
JJ
2252002-07-08 Jeff Johnston <jjohnstn@redhat.com>
226
227 * libc/include/math.h (MAXFLOAT): Added.
228
e47e6f0e 229Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
230
231 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
232 Make strcmp.S unconditional.
233 * libc/machine/sh/Makefile.in: Regenerate.
234 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
235 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
236 for SHcompact.
237
89ffbd66
JJ
2382002-07-04 Jeff Johnston <jjohnstn@redhat.com>
239
240 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
241 define before including <sys/lock.h>.
242
ae6c4c84
JJ
2432002-07-04 Jeff Johnston <jjohnstn@redhat.com>
244
245 * libc/include/utime.h: Add include of <_ansi.h>.
246 * libc/sys/linux/Makefile.am: Add utimes.c.
247 * libc/sys/linux/Makefile.in: Regenerated.
248 * libc/sys/linux/inode.c(__umask): New static routine.
249 (umask): Written to use __umask and attempt to thread lock.
250 (getumask): New function written to use __umask and thread lock.
251 * libc/sys/linux/utimes.c: New file.
252 * libc/sys/linux/sys/time.h: Fix utimes prototype.
253 * libc/sys/linux/sys/utime.h: New file.
254
a6cac46c
TF
2552002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
256
257 * libtool.m4: New file.
258 * libc/sys/linux/process.c: Implement vfork in terms of fork,
259 rather than as a syscall.
260
30b2092f
JJ
2612002-07-04 Jeff Johnston <jjohnstn@redhat.com>
262
263 * libc/include/stdio.h: Add new prototypes.
264 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
265 * libc/stdio/Makefile.in: Regenerated.
266 * libc/stdio/fseek.c: Add fseeko documentation.
267 * libc/stdio/ftell.c: Add ftello documentation.
268 * libc/stdio/fseeko.c: New file.
269 * libc/stdio/ftello.c: New file.
270
7501704d
JJ
2712002-07-04 Jeff Johnston <jjohnstn@redhat.com>
272
273 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
274 * libc/stdio/Makefile.in: Regenerated.
275 * libc/stdio/asprintf.c: New file.
276 * libc/stdio/vasprintf.c: Ditto.
277 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
278 the buffer for asprintf support.
279 * libc/stdio/sprintf.c: Add asprintf documentation.
280 * libc/stdio/vfprintf.c: Add vasprintf documentation.
281 * libc/include/stdio.h: Add new prototypes.
282
66eee32b
TF
2832002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
284
285 * libc/search/hcreate.c: Remove advertising clause from license.
286 * libc/search/hcreate_r.c: Likewise.
287
cec4a9f8
JJ
2882002-07-02 Chris Demetriou <cgd@broadcom.com>
289
290 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
291 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
292 Check that one of them is defined and error out if not.
293 Add any platforms defined in <machine/ieeefp.h> that are missing.
294 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
295 (DB_LITTLE_ENDIAN): New defines.
296 * libc/search/hash.c: Replace all incorrect checks for
297 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
298 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
299 * libc/search/hash_page.c: Likewise.
300
2d5eb17e
TF
3012002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
302
303 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
304
c1a3171f
JJ
3052002-06-27 Benjamin Kosnik <bkoz@redhat.com>
306
307 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
308 * libc/include/time.h: Same.
309 * libc/include/string.h: Same.
310 * libc/include/stdlib.h: Same.
311 * libc/include/signal.h: Same.
312 * libc/include/setjmp.h: Same.
313 * libc/include/math.h: Same.
314 * libc/include/locale.h: Same.
315 * libc/include/ctype.h: Same.
316 * libc/include/machine/setjmp.h: Same.
317 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
318 (_END_STD_C): Add.
319
533b4e66
JJ
3202002-06-27 Jeff Johnston <jjohnstn@redhat.com>
321
322 * libc/include/sys/_types.h: Define _ssize_t as int if int is
323 32-bits, otherwise define it as long.
324 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
325 and define ssize_t as _ssize_t.
326 * libc/reent/readr.c: Change return type to _ssize_t.
327 * libc/reent/writer.c: Ditto.
328 * libc/sys/linux/Makefile.am: Add aio.c.
329 * libc/sys/linux/Makefile.in: Regenerated.
330 * libc/sys/linux/aio.c: New file.
331 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
332 * libm/common/fdlibm.h: Undef __P before defining it.
333
c36e6dd7
TF
3342002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
335
54be629f
TF
336 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
337 exponent_is_even_int variable. Handle case where x is
338 negative, and y is an odd integer.
339 * libm/mathfp/sf_pow.c (powf): Likewise.
340
c36e6dd7
TF
341 * libm/mathfp/er_lgamma.c: Remove __kernel references.
342 * libm/mathfp/erf_lgamma.c: Likewise.
343 * libm/mathfp/s_tgamma.c: Likewise.
344 * libm/mathfp/sf_tgamma.c: Likewise.
345
baf051ca
JJ
3462002-06-27 Jeff Johnston <jjohnstn@redhat.com>
347
348 * libc/sys/linux/Makefile.am: Add new clock routines.
349 * libc/sys/linux/Makefile.in: Regenerated.
350 * libc/sys/linux/clock_getres.c: New file.
351 * libc/sys/linux/clock_gettime.c: Ditto.
352 * libc/sys/linux/clock_settime.c: Ditto.
353 * libc/sys/linux/hp-timing.h: Ditto.
354 * libc/sys/linux/libc-internal.h: Ditto.
355 * libc/sys/linux/sysconf.c: Fix typo.
356 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
357 * libc/sys/linux/machine/hp-timing.h: New file.
358 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
359 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
360 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
361 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
362 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
363 * libc/sys/linux/sys/linux_time.h: New file.
364 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
365 replace with <sys/linux_time.h>.
366
0431ed4e
JR
367Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
368
369 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
370
fc067ba5
JJ
3712002-06-25 Jeff Johnston <jjohnstn@redhat.com>
372
373 * libc/sys/linux/Makefile.am: Consolidate additional items under
374 ADD_OBJS.
375 * libc/sys/linux/Makefile.in: Regenerated.
376
ffddf61e
JJ
3772002-06-25 Jeff Johnston <jjohnstn@redhat.com>
378
379 * libc/sys/linux/sethostname.c: New file.
380 * libc/sys/linux/Makefile.am: Add sethostname.c support.
381 * libc/sys/linux/Makefile.in: Regenerated.
382
d5487d3f
TF
3832002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
384
385 * libc/search/db_local.h: New file.
386 * libc/include/db.h: Remove.
387 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
388 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
389 "db_local.h".
390 * libc/search/hash_bigkey.c: Likewise.
391 * libc/search/hash_buf.c: Likewise.
392 * libc/search/hash_func.c: Likewise.
393 * libc/search/hash_log2.c: Likewise.
394 * libc/search/hash_page.c: Likewise.
395
3962002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 397
1e7ca711 398 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
399 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
400 * libc/machine/sh/Makefile.am: Regenerate.
401
59c6d6c4
JJ
4022002-06-24 Jeff Johnston <jjohnstn@redhat.com>
403
404 * libc/sys/linux/gethostname.c: Change name to __gethostname and
405 add gethostname alias.
406
a70486d7
JJ
4072002-06-24 Jeff Johnston <jjohnstn@redhat.com>
408
409 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 410 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 411 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 412 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
413 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
414 * libm/common/fdlibm.h: Ditto.
415
3118725a
TF
4162002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
417
418 * libc/include/ndbm.h: Remove.
419 * libc/search/ndbm.c: Remove.
420
30a06168
TF
4212002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
422
423 * libc/stdio/fseek.c (fseek): Fix braces.
424
01f5155e
CV
4252002-06-21 Corinna Vinschen <corinna@vinschen.de>
426
427 * libc/time/strftime.c (strftime): Add %e format specifier.
428
930bc96b
TF
4292002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
430
431 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
432 previously defined.
433
55105f86
JJ
4342002-06-21 Richard Earnshaw (rearnsha@arm.com)
435
436 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
437 (BYTE_ORDER): Define as appropriate for the target.
438
2e78444a
JJ
4392002-06-21 Jeff Johnston <jjohnstn@redhat.com>
440
441 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
442 to _ssize_t.
443 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
444
d427d092
JJ
4452002-06-21 Jeff Johnston <jjohnstn@redhat.com>
446
447 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
448 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
449 [HAVE_GETDATE](getdate_err): New error code.
450 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
451 * libc/stdio/Makefile.in: Regenerated.
452 * libc/stdio/getdelim.c: New file.
453 * libc/stdio/getline.c: Ditto.
454 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
455 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
456 * libc/sys/linux/Makefile.in: Regenerated.
457 * libc/sys/linux/getdate.c: New file.
458 * libc/sys/linux/getdate_err.c: Ditto.
459 * libc/sys/linux/ntp_gettime.c: Ditto.
460 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
461 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
462
35728d4f
JJ
4632002-06-21 Jeff Johnston <jjohnstn@redhat.com>
464
465 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
466 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
467 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
468 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
469 * libc/include/sys/param.h: Remove i386 case which is handled
470 by default case.
471 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
472 definitions in case they are already defined.
473 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
474 _IEEE_LITTLE_ENDIAN flags.
475 * libc/include/sys/reent.h: Change __uint32_t references to
476 use _ULong instead.
477 (_REENT_GETDATE_REENT_P): New macro.
478 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
479 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
480 * libc/search/hash.h: Add default setting of BYTE_ORDER,
481 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
482 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
483 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
484 pid_t, off_t, loff_t, caddr_t, and daddr_t type
485 definitions which are done by subsequent glibc headers.
486 Add macro definitions to prevent subsequent header files from
487 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
488 intptr_t to after glibc definitions of types they are based on.
489
4a2bfab7
JJ
4902002-06-21 Jeff Johnston <jjohnstn@redhat.com>
491
492 * libc/include/errno.h: Protect from multiple inclusion.
493
f42d18ea
NC
4942002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
495
496 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
497
a7b23a8f
TF
4982002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
499
500 * Makefile.am (LIB_OBJECTLISTS): Add
501 libc/search/objectlist.awk.in.
502 * libc/Makefile.am (SUBDIRS): Add search.
503 (SUBLIBS): Add search/libsearch.la.
504 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
505 * libc/search: New directory.
506 * libc/search/Makefile.am: New file.
507 * libc/search/extern.h: New file.
508 * libc/search/hash.c: New file.
509 * libc/search/hash.h: New file.
510 * libc/search/hash_bigkey.c: New file.
511 * libc/search/hash_buf.c: New file.
512 * libc/search/hash_func.c: New file.
513 * libc/search/hash_log2.c: New file.
514 * libc/search/hash_page.c: New file.
515 * libc/search/hcreate.3: New file.
516 * libc/search/hcreate.c: New file.
a7b23a8f
TF
517 * libc/search/hcreate_r.c: New file.
518 * libc/search/ndbm.c: New file.
519 * libc/search/page.h: New file.
520 * libc/search/tdelete.c: New file.
521 * libc/search/tdestroy.c: New file.
522 * libc/search/tfind.c: New file.
523 * libc/search/tsearch.3: New file.
524 * libc/search/tsearch.c: New file.
525 * libc/search/twalk.c: New file.
526 * libc/include/db.h: New file.
527 * libc/include/ndbm.h: New file.
528 * libc/include/search.h: New file.
529 * libc/include/sys/queue.h: New file.
530 * libc/include/sys/cdefs.h: New file.
531 * libc/include/sys/param.h
532 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
533 LITTLE_ENDIAN or BIG_ENDIAN.
534 * libc/include/sys/errno.h (EFTYPE): New macro.
535 * libc/search/bsearch.c: Move from libc/stdlib.
536 * libc/search/qsort.c: Likewise.
537 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
538 qsort.c.
539 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
540 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
541
ef467338
JJ
5422002-06-19 Jeff Johnston <jjohnstn@redhat.com>
543
544 * libc/sys/linux/Makefile.am: Add support for message queue routines,
545 ipc routines, and ftok.
546 * libc/sys/linux/Makefile.in: Regenerated.
547 * libc/sys/linux/ftok.c: New file.
548 * libc/sys/linux/ipc.c: Ditto.
549 * libc/sys/linux/mq_close.c: Ditto.
550 * libc/sys/linux/mq_getattr.c: Ditto.
551 * libc/sys/linux/mq_notify.c: Ditto.
552 * libc/sys/linux/mq_open.c: Ditto.
553 * libc/sys/linux/mq_receive.c: Ditto.
554 * libc/sys/linux/mq_send.c: Ditto.
555 * libc/sys/linux/mq_setattr.c: Ditto.
556 * libc/sys/linux/mq_unlink.c: Ditto.
557 * libc/sys/linux/mqlocal.h: Ditto.
558 * libc/sys/linux/include/mqueue.h: Ditto.
559 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
560 __uid_t_defined.
561
7f55c08c
TF
5622002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
563
564 * libm/common/sf_lround.c (round): Change name to: (lround).
565 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
566 remquof.
567
c9ca68d7
TF
5682002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
569
570 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
571 procedure.
572 (newlib_pass_fail): Change to compile and run only one file.
573 * testsuite/newlib.locale/locale.exp: Use new
574 newlib_pass_fail_all procedure.
575 * testsuite/newlib.string/string.exp: Likewise.
576
4ecedd09
DB
5772002-06-18 Dave Brolley <brolley@redhat.com>
578
579 From Catherine Moore, Michael Meissner, Richard Sandiford:
580 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
581 (_JBTYPE): Ditto.
582 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
583 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
584 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
585 * configure.host: Support frv-*-*.
586 * libc/machine/frv/Makefile.am: New file.
587 * libc/machine/frv/configure.in: New file.
588 * libc/machine/frv/setjmp.S: New file.
589
af1c257a
TF
5902002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
591
592 * libc/include/ctype.h: Remove isblank macro.
593
594 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
595 * libc/ctype/isblank.c: New file.
596 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
597 declaration. Add isblank macro.
598
4e04fa90
JJ
5992002-06-18 Jeff Johnston <jjohnstn@redhat.com>
600
601 * testsuite/newlib.stdlib/atexit.c: New file.
602 * testsuite/newlib.stdlib/atexit.exp: Ditto.
603 * testsuite/newlib.string/tstring.c: Change default start size
604 to something more reasonable for embedded platforms.
605
b56d7e79
TF
6062002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
607
ece3c72f
TF
608 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
609
b56d7e79
TF
610 * libc/argz: New directory.
611 * libc/argz/*: New files.
612 * libc/argz/argz_add.c: New file.
613 * libc/argz/argz_add_sep.c: New file.
614 * libc/argz/argz_append.c: New file.
615 * libc/argz/argz_count.c: New file.
616 * libc/argz/argz_create.c: New file.
617 * libc/argz/argz_create_sep.c: New file.
618 * libc/argz/argz_delete.c: New file.
619 * libc/argz/argz_extract.c: New file.
620 * libc/argz/argz_insert.c: New file.
621 * libc/argz/argz_next.c: New file.
622 * libc/argz/argz_replace.c: New file.
623 * libc/argz/argz_stringify.c: New file.
624 * libc/argz/buf_findstr.c: New file.
625 * libc/argz/envz_add.c: New file.
626 * libc/argz/envz_entry.c: New file.
627 * libc/argz/envz_get.c: New file.
628 * libc/argz/envz_merge.c: New file.
629 * libc/argz/envz_remove.c: New file.
630 * libc/argz/envz_strip.c: New file.
631 * libc/include/argz.h: New file.
632 * libc/include/envz.h: New file.
633 * Makefile.am (LIBC_OBJECTLISTS): Add
634 libc/argz/objectlist.awk.in.
635 * libc/Makefile.am (SUBDIRS): Add argz.
636 (SUBLIBS): Add argz/libargz.la.
637 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
638 * libc/include/errno.h: Add error_t typedef.
639
d062d3dd
JJ
6402002-06-13 Jeff Johnston <jjohnstn@redhat.com>
641
642 * libc/include/stdlib.h: Add _Exit prototype.
643 * libc/stdlib/Makefile.am: Add _Exit.c support.
644 * libc/stdlib/Makefile.in: Ditto.
645 * libc/stdlib/_Exit.c: New file.
646
a47e66ae
JJ
6472002-06-13 Stephen L. Moshier <steve@moshier.net>
648
649 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
650 x is close to -1.0 and y is very large to use ax (absolute value)
651 instead of x.
652 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
653
13f7d71f
JR
654Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
655
656 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
657 Fix clobbering bytes before destination if src and dst have same
658 non-zero misalignment.
1f1fb421
JR
659
660 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
661 Fixed bug in writing end of set region.
662
b2e8018f
CF
6632002-06-10 Christopher Faylor <cgf@redhat.com>
664
665 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
666 spawnve declaration.
667
0953fe64
TF
6682002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
669
670 * libm/common/s_fdim.c: New file.
671 * libm/common/s_fma.c: Likewise.
672 * libm/common/s_fmax.c: Likewise.
673 * libm/common/s_fmin.c: Likewise.
674 * libm/common/s_fpclassify.c: Likewise.
675 * libm/common/s_lrint.c: Likewise.
676 * libm/common/s_lround.c: Likewise.
677 * libm/common/s_nearbyint.c: Likewise.
678 * libm/common/s_remquo.c: Likewise.
679 * libm/common/s_round.c: Likewise.
680 * libm/common/s_scalbln.c: Likewise.
681 * libm/common/s_signbit.c: Likewise.
682 * libm/common/s_trunc.c: Likewise.
683 * libm/common/sf_fdim.c: Likewise.
684 * libm/common/sf_fma.c: Likewise.
685 * libm/common/sf_fmax.c: Likewise.
686 * libm/common/sf_fmin.c: Likewise.
687 * libm/common/sf_lrint.c: Likewise.
688 * libm/common/sf_lround.c: Likewise.
689 * libm/common/sf_nearbyint.c: Likewise.
690 * libm/common/sf_remquo.c: Likewise.
691 * libm/common/sf_round.c: Likewise.
692 * libm/common/sf_scalbln.c: Likewise.
693 * libm/common/sf_trunc.c: Likewise.
694 * libm/math/w_exp2.c: Likewise.
695 * libm/math/w_tgamma.c: Likewise.
696 * libm/math/wf_exp2.c: Likewise.
697 * libm/math/wf_tgamma.c: Likewise.
698 * libm/mathfp/s_exp2.c: Likewise.
699 * libm/mathfp/s_tgamma.c: Likewise.
700 * libm/mathfp/sf_exp2.c: Likewise.
701 * libm/mathfp/sf_tgamma.c: Likewise.
702 * libm/math/er_gamma.c: Fix return value.
703 * libm/math/erf_gamma.c: Likewise.
704 * libm/mathfp/er_gamma.c: Likewise.
705 * libm/mathfp/erf_gamma.c: Likewise.
706 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
707 declarations and macros.
708 Regenerated all Makefile.in, aclocal.m4 and configure files to
709 use new libtool macros in top-level libtool.m4
710
39e65e01
JJ
7112002-06-05 Jeff Johnston <jjohnstn@redhat.com>
712
713 * libc/include/string.h[__linux__]: Add strsignal prototype.
714 * libc/include/sys/lock.h: New file with default locking support.
715 * libc/include/sys/reent.h: Add signal buffer support for strsignal
716 and psignal.
717 * libc/posix/Makefile.am: Add support for readdir_r.c.
718 * libc/posix/Makefile.in: Regenerated.
719 * libc/posix/closedir.c: Add locking support and hash table cleanup.
720 * libc/posix/opendir.c: Add lock support.
721 * libc/posix/readdir.c: Ditto.
722 * libc/posix/rewinddir.c: Ditto.
723 * libc/posix/scandir.c: Ditto.
724 * libc/posix/seekdir.c: Ditto.
725 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
726 clean up leftover hash table entries.
727 * libc/posix/readdir_r.c: New file.
728 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
729 * libc/sys/linux/Makefile.in: Regenerated.
730 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
731 * libc/sys/linux/sys/signal.h: Add psignal prototype.
732 * libc/sys/linux/psignal.c: New file.
733 * libc/sys/linux/strsignal.c: Ditto.
734
cc890e89
CV
7352002-06-03 Corinna Vinschen <corinna@vinschen.de>
736
737 * libc/include/sys/types.h: Don't define dev_t when compiling for
738 Cygwin.
739
ea55e3f7
JJ
7402002-05-31 Jeff Johnston <jjohnstn@redhat.com>
741
742 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
743 make siglist.inc dependent on sig.c instead of signal.c.
744 * libc/sys/linux/Makefile.in: Regenerated.
745 * libc/sys/linux/sig.c: Rename from signal.c and change code to
746 use NSIG instead of _NSIG.
747 * libc/sys/linux/sigaction.c: New file.
748 * libc/sys/linux/signal.c: Changed to be linux signal() function
749 so as to override regular newlib default signal.c.
ea55e3f7
JJ
750 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
751 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
752 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
753 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
754 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
755 default linux sigset_t typedef by defining it equal to __sigset_t.
756 * libc/unix/sigset.c: Add check so code isn't compiled on systems
757 with a sigset_t that isn't implemented with a single int.
758
9d362914
JJ
7592002-05-30 Jeff Johnston <jjohnstn@redhat.com>
760
761 * libc/sys/linux/Makefile.am: Add support for new files.
762 * libc/sys/linux/Makefile.in: Regenerated.
763 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
764 * libc/sys/linux/signal.c: Change to use real-time syscalls for
765 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
766 it is in a separate file now.
767 * libc/sys/linux/machine/i386/Makefile.am
768 * libc/sys/linux/machine/i386/Makefile.in
769 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
770 * libc/sys/linux/sigaction.c: New file.
771 * libc/sys/linux/sigqueue.c: Ditto.
772 * libc/sys/linux/sigwait.c: Ditto.
773 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
774 * libc/sys/linux/kernel_sigaction.h: Ditto.
775
b1f07180
JJ
7762002-05-28 Jeff Johnston <jjohnstn@redhat.com>
777
778 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
779 tcsendbrk.c.
780 * libc/sys/linux/Makefile.in: Regenerated.
781 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
782 tcgetpgrp(), and tcsetpgrp() functions.
783 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
784 to get __MAX_BAUD rate.
785 * libc/sys/linux/machine/i386/include/termios.h: New file.
786 * libc/include/machine/termios.h: Ditto.
787 * libc/sys/linux/cfspeed.c: Ditto.
788 * libc/sys/linux/tcsendbrk.c: Ditto.
789
d29587b4
JJ
7902002-05-24 Jeff Johnston <jjohnstn@redhat.com>
791
792 * libc/include/string.h: Add strnlen and strerror_r prototypes.
793 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
794 * libc/string/Makefile.in: Regenerated.
795 * libc/string/strerror_r.c: New file.
796 * libc/string/strnlen.c: New file.
797 * libc/sys/linux/Makefile.am: Add rename.c.
798 * libc/sys/linux/Makefile.in: Regenerated.
799 * libc/sys/linux/rename.c: New file to override default rename.
800
9a292385
TF
8012002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
802
803 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
804 * libc/sys/linux/sys/time.h: Add conversion macros.
805 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
806 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
807 * libc/sys/linux/gethostname.c: New file.
808 * libc/sys/linux/seteuid.c: New file.
809 * libc/sys/linux/sysctl.c: New file.
810
7a364eb3
JJ
8112002-05-23 Jeff Johnston <jjohnstn@redhat.com>
812
813 * libc/string/Makefile.am: Add support for strsep.c.
814 * libc/string/Makefile.in: Regenerated.
815 * libc/string/strsep.c: New file.
816 * libc/string/strtok.c: Change to call __strtok_r service routine.
817 * libc/string/strtok_r.c: Add __strtok_r routine which takes
818 additional flag parameter regarding whether to skip leading delimeters.
819 Change strtok_r to call __strtok_r.
820
164ee5b0
JJ
8212002-05-23 Gareth Pearce <tilps@hotmail.com>
822
823 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
824 * libc/stdio/Makefile.in: Regenerated.
825 * libc/stdio/setbuffer.c: New file.
826 * libc/stdio/setlinebuf.c: New file.
827
f6b2b567
JJ
8282002-05-23 Jeff Johnston <jjohnstn@redhat.com>
829
830 * libc/sys/linux/Makefile.am: Add resource.c.
831 * libc/sys/linux/Makefile.in: Regenerated.
832 * libc/sys/linux/resource.c: New file.
833 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
834 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
835 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
836 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
837 are now found in libc/sys/linux/resource.c.
838
afe56517
JJ
8392002-05-23 Jeff Johnston <jjohnstn@redhat.com>
840
841 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
842 to use void * pointers and comply with Single Unix spec.
843 * libc/string/bcmp.c: Change to use void * instead of char *.
844 * libc/string/bcopy.c: Ditto.
845 * libc/string/bzero.c: Ditto.
846
7736feb2
JJ
8472002-05-22 Jeff Johnston <jjohnstn@redhat.com>
848
849 * libc/sys/linux/shm_open.c: New file.
850 * libc/sys/linux/shm_unlink.c: Ditto.
851 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
852 shm_unlink.c.
853 * libc/sys/linux/Makefile.in: Regenerated.
854 * libc/sys/linux/sys/types.h: Add some additional checks to see
855 if clock_t or time_t is already defined.
856
19f111bd
JJ
8572002-05-22 Jeff Johnston <jjohnstn@redhat.com>
858
859 * Makefile.am: Don't pass $toollibdir down directly in
860 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
861 Pass it under the name: top_toollibdir.
862 * Makefile.in: Regenerated.
863
c811b1ee
CV
8642002-05-22 Corinna Vinschen <vinschen@redhat.com>
865
866 * libc/include/sys/types.h: Revert previous patch.
867
2b43ad33
CV
8682002-05-22 Corinna Vinschen <vinschen@redhat.com>
869
870 * libc/include/sys/types.h: Include cygwin/types.h always under
871 Cygwin, not only if _POSIX_THREADS is defined.
872
dd671cde
TF
8732002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
874
875 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
876
5e2cbfb6
JJ
8772002-05-17 Jeff Johnston <jjohnstn@redhat.com>
878
879 * Makefile.am: Copy and install headers from sys/machine/include
880 directory. Also pass $toollibdir to lower-level directories.
881 * Makefile.in: Regenerated.
882 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
883 stderr to use _REENT macro instead of _impure_ptr directly.
884 * libc/include/sys/config.h[__i386__][__linux__]: Define
885 __DYNAMIC_REENT__.
886 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
887 call to __getreent() function if !__SINGLE_THREAD__ and
888 __DYNAMIC_REENT__ is set.
889 * libc/reent/Makefile.am: Add support for getreent.c.
890 * libc/reent/Makefile.in: Regenerated.
891 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
892 * libc/sys/linux/Makefile.am: Add support for new files.
893 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
894 * libc/sys/linux/Makefile.in: Regenerated.
895 * libc/sys/linux/configure: Ditto.
896 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
897 __close, __read, __write, __poll, __open, __lseek, __fcntl from
898 their __libc_ counterparts.
899 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
900 and weak-alias to regular names.
901 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
902 to pread64 and __pread64.
903 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
904 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
905 weak-alias to pwrite64.
906 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
907 __libc_sched_getscheduler, __libc_sched_get_priority_max,
908 __libc_sched_get_priority_min, and __libc_sched_setschedule to
909 name with __ instead of __libc_.
910 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
911 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
912 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
913 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
914 to raise.
915 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
916 __libc_send to __send.
917 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
918 __gettimeofday.
919 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
920 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
921 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
922 type and typedef __jmp_buf to jmp_buf.
923 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
924 setjmp.S.
925 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
926 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
927 section.
928 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
929 prefix for function macros and then use weak_alias() to regular names.
930 * libc/sys/linux/machine/i386/syscall.h: Ditto.
931 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
932 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
933 to be flockfile() and funlockfile() respectively.
934 * libc/sys/linux/sys/types.h
935 * libc/reent/getreent.c: New file.
936 * libc/sys/linux/flockfile.c: Ditto.
937 * libc/sys/linux/funlockfile.c: Ditto.
938 * libc/sys/linux/getreent.c: Ditto.
939 * libc/sys/linux/pread.c: Ditto.
940 * libc/sys/linux/pwrite.c: Ditto.
941 * libc/sys/linux/raise.c: Ditto.
942 * libc/sys/linux/system.c: Ditto.
943 * libc/sys/linux/tcdrain.c: Ditto.
944 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
945 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
946 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
947 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
948 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
949
7fc85bd1
TF
9502002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
951
952 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
953 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
954 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
955 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
956
6935231f 957Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
958
959 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
960 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
961 exit point.
d7a2f413 962
3a6cb01b
TF
9632002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
964
a68fa571
TF
965 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
966 options when testing natively on i[3456]86-*-linux.
967
3a6cb01b
TF
968 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
969 only one pass or fail per test file. Trim \r's from output
970 values received from test programs. Remove support for named
971 tests.
972 * testsuite/newlib.locale/UTF-8.exp: Update to support new
973 newlib_check_output behaviour.
974 * testsuite/newlib.locale/UTF-8.c: Likewise.
975
dc824ef7
JJ
9762002-05-15 Jeff Johnston <jjohnstn@redhat.com>
977
978 * libc/include/stdlib.h: Add on_exit prototype.
979 * libc/include/sys/reent.h (struct _atexit): Add argument array
980 and bits to track type of exit routine to support both on_exit
981 and atexit.
982 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
983 by default and change the setting of the atexit structure.
984 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
985 * libc/stdlib/on_exit.c: New file.
986 * libc/stdlib/Makefile.am: Add support for on_exit.
987 * libc/stdlib/Makefile.in: Regenerated.
988 * libc/stdlib/atexit.c: Change to initialize types field.
989 * libc/stdlib/exit.c: Change to look at types field for each
990 exit routine and either call an atexit-style or an on_exit-style
991 routine accordingly.
992
48d91b4a
JJ
9932002-05-13 Jeff Johnston <jjohnstn@redhat.com>
994
995 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
996 allow v specifier with n or L specifiers. For vector c format,
997 move tmp declaration to the top.
998
024739eb
JJ
9992002-05-13 Jeff Johnston <jjohnstn@redhat.com>
1000
1001 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
1002 the original format specifier when looping for vectors to compensate
1003 for any changes made in vector %g format processing.
1004 Also add syntax checking for various invalid scenarios
1005 involving vector format extensions.
1006 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
1007 return code setting for vector formats. Also treat vector
1008 separator mismatch as a match error instead of an input error.
1009 Perform some syntax checking for vector formats.
1010
7d2ce898
TF
10112002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1012
1013 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
1014 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
1015 * libc/string/strlcat.c: New file.
1016 * libc/string/strlcpy.c: New file.
1017
809b6ce7
JJ
10182002-05-10 Jeff Johnston <jjohnstn@redhat.com>
1019
1020 * libc/string/strchr.c: Fix comment typo.
1021
76490806
TF
10222002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
1023
0c048a9a
TF
1024 * acinclude.m4: Add support for --enable-newlib-multithread.
1025 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
1026 --enable-newlib-multithread=no.
1027
76490806
TF
1028 * libc/stdio/getc_u.c: New file.
1029 * libc/stdio/getchar_u.c: New file.
1030 * libc/stdio/putc_u.c: New file.
1031 * libc/stdio/putchar_u.c: New file.
1032 * libc/include/stdio.h: Add declarations for getc_unlocked,
1033 getchar_unlocked, putc_unlocked and putchar_unlocked.
1034 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
1035 (CHEWOUT_FILES): Add new files' .def's.
1036 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
1037
96bff22c
JR
1038Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
1039
1040 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
1041 Also handle as single quad word when destination ends at last
1042 byte of first quad word. Fix byte selection in single quad code.
1043
e71372fa
TF
10442002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
1045
1046 * libc/include/sys/stdio.h: New file.
1047 * libc/sys/linux/sys/stdio.h: New file.
1048 * libc/include/stdio.h: Add declarations for flockfile,
1049 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
1050 * libc/stdio/clearerr.c: Add file locking.
1051 * libc/stdio/fclose.c: Likewise.
1052 * libc/stdio/feof.c: Likewise.
1053 * libc/stdio/ferror.c: Likewise.
1054 * libc/stdio/fflush.c: Likewise.
1055 * libc/stdio/fgetc.c: Likewise.
1056 * libc/stdio/fgetpos.c: Likewise.
1057 * libc/stdio/fgets.c: Likewise.
1058 * libc/stdio/fileno.c: Likewise.
1059 * libc/stdio/fputc.c: Likewise.
1060 * libc/stdio/fputs.c: Likewise.
1061 * libc/stdio/fread.c: Likewise.
1062 * libc/stdio/freopen.c: Likewise.
1063 * libc/stdio/fseek.c: Likewise.
1064 * libc/stdio/ftell.c: Likewise.
1065 * libc/stdio/fwrite.c: Likewise.
1066 * libc/stdio/getc.c: Likewise.
1067 * libc/stdio/putc.c: Likewise.
1068 * libc/stdio/setvbuf.c: Likewise.
1069 * libc/stdio/ungetc.c: Likewise.
1070 * libc/stdio/vfprintf.c: Likewise.
1071
a03790e4
JJ
10722002-05-06 Jeff Johnston <jjohnstn@redhat.com>
1073
60b2107c
TF
1074 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
1075 support for 'p' format. Fix code to print bytes for vector
1076 integer formats that do not specify 'h' or 'l'.
1077 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
1078 for 'p' specifier. Fix code to scan 16 bytes for vector integer
1079 formats that do not specify 'h' or 'l'.
1080
1081 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
1082
9c7d6a9d
TF
10832002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
1084
1085 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
1086 (_sbrk): Add cast of return value.
1087
c33c3635
JJ
10882002-05-06 Jeff Johnston <jjohnstn@redhat.com>
1089
1090 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
1091 (_REENT_L64A_BUF): New macro for accessing area.
1092 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
1093 * libc/stdlib/Makefile.in: Regenerated.
1094 * libc/stdlib/a64l.c: New file.
1095 * libc/stdlib/l64a.c: New file.
1096
f78e59a8
JJ
10972002-05-06 Jeff Johnston <jjohnstn@redhat.com>
1098
1099 * libc/unix/pread.c: Fix typo for _pread_r.
1100 * libc/unix/pwrite.c: Fix type for _pwrite_r.
1101 * libc/sys/linux/pread64.c: Fix typo for read syscall.
1102 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
1103
4b3f6588
CF
11042002-05-03 Christopher Faylor <cgf@redhat.com>
1105
1106 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
1107
e911832c
TF
11082002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
1109
1110 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
1111
0d0fdc8d
CF
11122002-05-01 Christopher Faylor <cgf@redhat.com>
1113
1114 * utmp.h: Define more UNIX constants.
1115
1e997c56
TF
11162002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
1117
0717f01c
TF
1118 * Makefile.am: Add support for checking multilibs.
1119
09841445
TF
1120 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
1121 (SUBDEFS): Add LIBC_EXTRA_DEF.
1122 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
1123 (LIBC_EXTRA_DEF): Likewise.
1124 (extra_dir): Likewise.
1125 * libc/machine/xscale/machine: New directory.
1126 * libc/machine/xscale/machine/profile.h: New file.
1127
1e997c56
TF
1128 * Makefile.am (site.exp): Remove newlib_cflags. Add
1129 multibuildtop.
1130 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
1131 * testsuite/lib/flags.exp: New file.
1132 * testsuite/lib/newlib.exp: Load flags.exp.
1133 (newlib_target_compile): Remove libgloss directory references.
1134 (newlib_init): Remove newlib_cflags references.
1135
4cf4f010
TF
11362002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
1137
f6bdb6f9
TF
1138 * testsuite/lib/newlib.exp (newlib_target_compile): Change
1139 method of finding libgloss_target_dir.
1140
4cf4f010
TF
1141 * Makefile.am (site.exp): Change host_alias, host_triplet,
1142 target_alias, target_triplet to refer to gcc's host and target
1143 variables (newlib's build and host variables).
1144 * testsuite/lib/newlib.exp (newlib_init): Change build
1145 references to host references, host references to target
1146 references to reflect Makefile.am changes.
1147 (newlib_target_compile): Likewise.
1148 (newlib_finish): Likewise.
1149
83096ae8
JJ
11502002-04-29 Jeff Johnston <jjohnstn@redhat.com>
1151
1152 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
1153
822afa53
JL
11542002-04-29 Jonathan Larmour <jlarmour@redhat.com>
1155
1156 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
1157 (_system): New function. Ditto.
1158 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
1159 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
1160 targets.
1161
29798f0d
JJ
11622002-04-29 Jeff Johnston <jjohnstn@redhat.com>
1163
1164 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
1165 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
1166 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
1167 * libc/sys/linux/Makefile.in: Regenerated.
1168 * libc/unix/Makefile.in: Ditto.
1169 * libc/sys/linux/pread64.c: New file.
1170 * libc/sys/linux/pwrite64.c: Ditto.
1171 * libc/unix/pread.c: Ditto.
1172 * libc/unix/pwrite.c: Ditto.
1173
557856bd
JJ
11742002-04-26 Jeff Johnston <jjohnstn@redhat.com>
1175
1176 * libc/sys/linux/Makefile.am: Add io64.c.
1177 * libc/sys/linux/Makefile.in: Regenerated.
1178 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
1179 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
1180 * libc/sys/linux/io64.c: New file.
1181
7b2b12d5
JJ
11822002-04-26 Jeff Johnston <jjohnstn@redhat.com>
1183
1184 * configure.in (CC_FOR_NEWLIB): New variable that
1185 bases on $(CC) and adds targ-include and libc/include as
1186 -isystem directives if they are not already part of $(CC).
1187 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
1188 $(CC_FOR_NEWLIB).
1189 * configure: Regenerated.
1190 * Makefile.in: Ditto.
1191
c62adacc
JJ
11922002-04-25 Jeff Johnston <jjohnstn@redhat.com>
1193
1194 * libc/sys/linux/Makefile.am: Add support for sched.c.
1195 * libc/sys/linux/Makefile.in: Regenerated.
1196 * libc/sys/linux/sched.c: New file.
1197 * libc/sys/linux/sys/types.h: Add struct timespec.
1198
217ad4a0
TF
11992002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
1200
1201 * configure.in (CC_FOR_BUILD): Set to gcc whether
1202 cross-compiling or not.
1203 (CC): Add -isystem's for targ-include and libc/include when they
1204 do not already appear in CC.
1205
eaa75b70
TF
12062002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1207
1208 * Makefile.am (check-DEJAGNU): New target.
1209 (site.exp): Likewise.
1210 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
1211 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
1212 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
1213 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
1214 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
1215 * testsuite: New directory.
1216 * testsuite/config: Likewise.
1217 * testsuite/lib: Likewise.
1218 * testsuite/newlib.locale: Likewise.
1219 * testsuite/newlib.string: Likewise.
1220 * testsuite/config/default.exp: New file.
1221 * testsuite/lib/checkoutput.exp: New file.
1222 * testsuite/lib/newlib.exp: New file.
1223 * testsuite/lib/passfail.exp: New file.
1224 * testsuite/newlib.locale/UTF-8.c: New file.
1225 * testsuite/newlib.locale/UTF-8.exp: New file.
1226 * testsuite/newlib.locale/locale.exp: New file.
1227 * testsuite/newlib.string/string.exp: New file.
1228 * testsuite/newlib.string/tstring.c: New file.
1229
b9f9f699
JJ
12302002-04-23 Jeff Johnston <jjohnstn@redhat.com>
1231
1232 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
1233 * libc/sys/linux/Makefile.am: Add support for mmap.c.
1234 * libc/sys/linux/Makefile.in: Regenerated.
1235 * libc/sys/linux/mmap.c: New file.
1236 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
1237 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
1238
7394edbb
TF
12392002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1240
1241 * acinclude.m4 (newlib_cflags): Remove include directories that
1242 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
1243
b9f9f699 12442002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
1245
1246 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
1247 * libc/machine/xscale/memcmp.c: Ditto.
1248 * libc/machine/xscale/memcpy.c: Ditto.
1249 * libc/machine/xscale/memmove.c: Ditto.
1250 * libc/machine/xscale/memset.c: Ditto.
1251 * libc/machine/xscale/strchr.c: Ditto.
1252 * libc/machine/xscale/strcmp.c: Ditto.
1253 * libc/machine/xscale/strcpy.c: Ditto.
1254 * libc/machine/xscale/strlen.c: Ditto.
1255
2dd4c4dc
JJ
12562002-04-19 Alexandre Oliva <aoliva@redhat.com>
1257
1258 * libc/include/sys/config.h: Remove include of <limits.h>.
1259 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
1260 define INT_MAX and LONG_MAX. Use them in tests.
1261
0d844014
JJ
12622002-04-19 Jeff Johnston <jjohnstn@redhat.com>
1263
1264 * configure.host: Add support for powerpc-eabialtivec*.
1265 * libc/include/malloc.h: Add include of <machine/malloc.h>.
1266 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
1267 * libc/include/machine/malloc.h: New file.
1268 * libc/include/machine/stdlib.h: Ditto.
1269 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
1270 * libc/machine/powerpc/Makefile.am: Add conditional objects and
1271 sources based on configuration.
1272 * libc/machine/powerpc/Makefile.in: Regenerated.
1273 * libc/machine/powerpc/configure: Ditto.
1274 * libc/machine/powerpc/configure.in: Add check for
1275 powerpc-eabialtivec* in which case add in additional source files.
1276 * libc/machine/powerpc/setjmp.S: Add altivec support.
1277 * libc/machine/powerpc/vec_calloc.c: New file.
1278 * libc/machine/powerpc/vec_free.c: Ditto.
1279 * libc/machine/powerpc/vec_malloc.c: Ditto.
1280 * libc/machine/powerpc/vec_mallocr.c: Ditto.
1281 * libc/machine/powerpc/vec_realloc.c: Ditto.
1282 * libc/machine/powerpc/machine/malloc.h: Ditto.
1283 * libc/machine/powerpc/machine/stdlib.h: Ditto.
1284 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
1285 with added altivec format specifiers.
1286 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
1287 added altivec format specifiers.
1288
d413aadc
JS
12892002-04-19 Joel Sherrill <joel@OARcorp.com>
1290
1291 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
1292 while autoconf is trying to link main(){}.
1293
27193895
JJ
12942002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1295
1296 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
1297 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
1298
10d00216
JJ
12992002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1300
6b0f808e
JJ
1301 * libc/time/time.tex: Add tzset info.
1302
13032002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1304
1305 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
1306 (strptime): Moved prototype to be within !__STRICT_ANSI__.
1307 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1308 (tzname): Defined for all platforms.
1309 (daylight, timezone): Defined only for CYGWIN.
1310 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1311 environment set up.
1312 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1313 environment variable is set.
1314 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1315 tzset_r.c.
1316 * libc/time/Makefile.in: Regenerated.
1317 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1318 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1319 * libc/time/lcltime_r.c (lcltime_r): Ditto.
1320 * libc/time/local.h: New local header file.
1321 * libc/time/mktime.c (mktime): Add timezone support.
1322 * libc/time/mktm_r.c: New file which is the common engine
1323 for gmtime_r and lcltime_r. This code has timezone support.
1324 * libc/time/strftime.c (strftime): Add %Z timezone support.
1325 * libc/time/tzlock.c: New file containing timezone lock stubs.
1326 * libc/time/tzset.c: New file containing tzset() routine.
1327 * libc/time/tzset_r.c: New file containing _tzset_r and
1328 internal routine for calculating timezone changes for specified year.
1329
13302002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1331
1332 * configure.in (CRT0_DIR): Set to libc/.
1333 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1334 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1335 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
1336 $(CRT1_DIR)/$(CRT1).
1337 * libc/machine/xstormy16/Makefile.in: Regenerated.
1338 * libc/machine/xstormy16/aclocal.m4: Regenerated.
1339 * libc/machine/xstormy16/configure: Regenerated.
1340
13412002-04-13 Alexandre Oliva <aoliva@redhat.com>
1342
1343 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1344 fails, don't bail out, and try to correct next time.
1345
1346 * libc/include/sys/config.h: Include limits.h.
1347
13482002-04-12 Eric Norum <eric.norum@usask.com>
1349
1350 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1351 routine to allow autoconf to determine that building executables
1352 for rtems works.
1353 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1354 (rtems_gxx_mutex_once): Ditto.
1355
13562002-04-09 Tom Rix <trix@redhat.com>
1357
1358 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1359
13602002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1361
1362 * libc/include/time.h: Fix strptime declaration.
1363 * libc/time/Makefile.am: Add strptime.c.
1364 * libc/time/Makefile.in: Regenerated.
1365 * libc/time/strptime.c: New file.
1366
13672002-04-08 Jeff Johnston <jjohnstn@redhat.com>
1368
1369 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1370 siglongjmp prototype, and sigsetjmp macro definition.
1371 * libc/sys/linux/siglongjmp.c: New file.
1372 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1373 * libc/sys/linux/Makefile.in: Regenerated.
1374
13752002-04-04 Jeff Johnston <jjohnstn@redhat.com>
1376
1377 * Makefile.am: Add support for installing crt1.o if one exists.
1378 * configure.host: Specify crt1.o for linux.
1379 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1380 * Makefile.in: Regenerated.
1381 * configure: Ditto.
1382 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1383 Added for non-Cygwin, non-RTEMS configurations.
1384 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1385 * libc/sys/linux/Makefile.in: Regenerated.
1386 * libc/sys/linux/crt1.c: New empty file to override one defaulted
1387 by gcc. This fixes problem with reconfiguring linux newlib build.
1388 * libc/sys/linux/sysconf.c: New file.
1389
13902002-04-03 Jeff Johnston <jjohnstn@redhat.com>
1391
1392 * configure.host: Add support for machine subdirectory of
1393 sys subdirectory.
1394 * configure.in: Add check for sys machine subdirectory.
1395 * Makefile.am: Ditto.
1396 * configure: Regenerated.
1397 * Makefile.in: Ditto.
1398 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1399 * libc/sys/linux/sys/syscall.h: Ditto.
1400 * libc/sys/linux/sleep.c: New file.
1401 * libc/sys/linux/socket.c: Ditto.
1402 * libc/sys/linux/sockops.h: Ditto.
1403 * libc/sys/linux/stack.c: Ditto.
1404 * libc/sys/linux/usleep.c: Ditto.
1405 * libc/sys/linux/machine/Makefile.am: Ditto.
1406 * libc/sys/linux/machine/Makefile.in: Ditto.
1407 * libc/sys/linux/machine/aclocal.m4: Ditto.
1408 * libc/sys/linux/machine/configure: Ditto.
1409 * libc/sys/linux/machine/configure.in: Ditto.
1410 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1411 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1412 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1413 * libc/sys/linux/machine/i386/configure: Ditto.
1414 * libc/sys/linux/machine/i386/configure.in: Ditto.
1415 * libc/sys/linux/machine/i386/crt0.c: Ditto.
1416 * libc/sys/linux/machine/i386/sigset.c: Ditto.
1417 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1418 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1419 * libc/sys/linux/machine/i386/syscall.h: Ditto.
1420 * libc/sys/linux/sys/select.h: Ditto.
1421 * libc/sys/linux/configure.in: Add support for machine directory.
1422 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1423 * libc/sys/linux/Makefile.in: Regenerated.
1424 * libc/sys/linux/configure: Ditto.
1425 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1426 * libc/sys/linux/inode.c: Ditto.
1427 * libc/sys/linux/linux.c: Ditto.
1428 * libc/sys/linux/process.c: Ditto.
1429 * libc/sys/linux/systat.c: Ditto.
1430 * libc/sys/linux/time.c: Ditto.
1431 * libc/sys/linux/wait.c: Ditto.
1432 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1433 * libc/sys/linux/io.c: Change header plus add readv/writev.
1434 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1435 use __sigsuspend syscall.
1436 * libc/sys/linux/select.c: Change header plus change select to
1437 use _newselect syscall.
1438 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1439 used by glibc header files.
1440 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1441 types.
1442
14432002-04-01 Jeff Johnston <jjohnstn@redhat.com>
1444
1445 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1446 initializing a struct _reent that has been dynamically allocated.
1447 (_REENT_CHECK_MISC): New macro that checks _misc struct for
1448 _REENT_SMALL and does nothing otherwise.
1449 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1450 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1451 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1452 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1453 [_REENT_SMALL](struct _misc_reent): New structure containing
1454 miscellaneous reentrant areas needed by newlib.
1455 [_REENT_SMALL](struct _reent): Add _misc pointer.
1456 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1457 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1458 and _REENT_STRTOK_LAST macros.
1459 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1460 and _REENT_MBLEN_STATE macros.
1461 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1462 and _REENT_MBTOWC_STATE macros.
1463 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1464 and _REENT_WCTOMB_STATE macros.
1465
14662002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
1467
1468 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1469
1470Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
1471
1472 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1473
1474Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
1475
1476 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1477 Store high part of leading bytes too.
1478
14792002-03-22 Richard Sandiford <rsandifo@redhat.com>
1480
1481 * libm/math/ef_hypot.c: Increase scale factor to 68.
1482
14832002-03-13 Alexandre Oliva <aoliva@redhat.com>
1484
1485 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1486 error.
1487
14882002-03-12 Jeff Johnston <jjohnstn@redhat.com>
1489
1490 * libc/sys/go32/access.c: Change license to relaxed license
1491 used in identical file throughout newlib/libgloss.
1492
14932002-03-12 Richard Earnshaw <rearnsha@arm.com>
1494
1495 * libc/sys/arm/access.c: New file.
1496 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1497 * libc/sys/arm/Makefile.in: Regenerate.
1498 * libc/sys/arm/syscalls.c (_stat): New function.
1499
15002002-03-11 Michael Meissner <meissner@redhat.com>
1501
1502 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1503 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1504 * libc/machine/mips/Makefile.in: Regenerate.
1505 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1506 * libc/machine/mips/memset.c: Dito.
1507 * libc/machine/mips/strcmp.c: Dito.
1508 * libc/machine/mips/strlen.c: Dito.
1509 * libc/machine/mips/strncmp.c: Dito.
1510
15112002-03-06 Jeff Johnston <jjohnstn@redhat.com>
1512
1513 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1514 object so it works for shared library or statici library.
15152002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1516
10d00216
JJ
1517 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
1518 (strptime): Moved prototype to be within !__STRICT_ANSI__.
1519 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1520 (tzname): Defined for all platforms.
1521 (daylight, timezone): Defined only for CYGWIN.
1522 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1523 environment set up.
1524 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1525 environment variable is set.
1526 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1527 tzset_r.c.
1528 * libc/time/Makefile.in: Regenerated.
1529 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1530 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1531 * libc/time/lcltime_r.c (lcltime_r): Ditto.
1532 * libc/time/local.h: New local header file.
1533 * libc/time/mktime.c (mktime): Add timezone support.
1534 * libc/time/mktm_r.c: New file which is the common engine
1535 for gmtime_r and lcltime_r. This code has timezone support.
1536 * libc/time/strftime.c (strftime): Add %Z timezone support.
1537 * libc/time/tzlock.c: New file containing timezone lock stubs.
1538 * libc/time/tzset.c: New file containing tzset() routine.
1539 * libc/time/tzset_r.c: New file containing _tzset_r and
1540 internal routine for calculating timezone changes for specified year.
1541
5f1c13c6
TF
15422002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1543
1544 * configure.in (CRT0_DIR): Set to libc/.
1545 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1546 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1547 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
1548 $(CRT1_DIR)/$(CRT1).
1549 * libc/machine/xstormy16/Makefile.in: Regenerated.
1550 * libc/machine/xstormy16/aclocal.m4: Regenerated.
1551 * libc/machine/xstormy16/configure: Regenerated.
1552
0cc261b1
AO
15532002-04-13 Alexandre Oliva <aoliva@redhat.com>
1554
2f3009bd
AO
1555 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1556 fails, don't bail out, and try to correct next time.
1557
0cc261b1
AO
1558 * libc/include/sys/config.h: Include limits.h.
1559
26116455
JJ
15602002-04-12 Eric Norum <eric.norum@usask.com>
1561
1562 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1563 routine to allow autoconf to determine that building executables
1564 for rtems works.
1565 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1566 (rtems_gxx_mutex_once): Ditto.
1567
4608280d
TR
15682002-04-09 Tom Rix <trix@redhat.com>
1569
1570 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1571
dea7e25c
JJ
15722002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1573
1574 * libc/include/time.h: Fix strptime declaration.
1575 * libc/time/Makefile.am: Add strptime.c.
1576 * libc/time/Makefile.in: Regenerated.
1577 * libc/time/strptime.c: New file.
1578
c5ef1e95
JJ
15792002-04-08 Jeff Johnston <jjohnstn@redhat.com>
1580
1581 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1582 siglongjmp prototype, and sigsetjmp macro definition.
1583 * libc/sys/linux/siglongjmp.c: New file.
1584 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1585 * libc/sys/linux/Makefile.in: Regenerated.
1586
6e6cd5bd
JJ
15872002-04-04 Jeff Johnston <jjohnstn@redhat.com>
1588
1589 * Makefile.am: Add support for installing crt1.o if one exists.
1590 * configure.host: Specify crt1.o for linux.
1591 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1592 * Makefile.in: Regenerated.
1593 * configure: Ditto.
1594 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1595 Added for non-Cygwin, non-RTEMS configurations.
1596 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1597 * libc/sys/linux/Makefile.in: Regenerated.
1598 * libc/sys/linux/crt1.c: New empty file to override one defaulted
1599 by gcc. This fixes problem with reconfiguring linux newlib build.
1600 * libc/sys/linux/sysconf.c: New file.
1601
fa4a16a1
JJ
16022002-04-03 Jeff Johnston <jjohnstn@redhat.com>
1603
1604 * configure.host: Add support for machine subdirectory of
1605 sys subdirectory.
1606 * configure.in: Add check for sys machine subdirectory.
1607 * Makefile.am: Ditto.
1608 * configure: Regenerated.
1609 * Makefile.in: Ditto.
1610 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1611 * libc/sys/linux/sys/syscall.h: Ditto.
1612 * libc/sys/linux/sleep.c: New file.
1613 * libc/sys/linux/socket.c: Ditto.
1614 * libc/sys/linux/sockops.h: Ditto.
1615 * libc/sys/linux/stack.c: Ditto.
1616 * libc/sys/linux/usleep.c: Ditto.
1617 * libc/sys/linux/machine/Makefile.am: Ditto.
1618 * libc/sys/linux/machine/Makefile.in: Ditto.
1619 * libc/sys/linux/machine/aclocal.m4: Ditto.
1620 * libc/sys/linux/machine/configure: Ditto.
1621 * libc/sys/linux/machine/configure.in: Ditto.
1622 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1623 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1624 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1625 * libc/sys/linux/machine/i386/configure: Ditto.
1626 * libc/sys/linux/machine/i386/configure.in: Ditto.
1627 * libc/sys/linux/machine/i386/crt0.c: Ditto.
1628 * libc/sys/linux/machine/i386/sigset.c: Ditto.
1629 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1630 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1631 * libc/sys/linux/machine/i386/syscall.h: Ditto.
1632 * libc/sys/linux/sys/select.h: Ditto.
1633 * libc/sys/linux/configure.in: Add support for machine directory.
1634 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1635 * libc/sys/linux/Makefile.in: Regenerated.
1636 * libc/sys/linux/configure: Ditto.
1637 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1638 * libc/sys/linux/inode.c: Ditto.
1639 * libc/sys/linux/linux.c: Ditto.
1640 * libc/sys/linux/process.c: Ditto.
1641 * libc/sys/linux/systat.c: Ditto.
1642 * libc/sys/linux/time.c: Ditto.
1643 * libc/sys/linux/wait.c: Ditto.
1644 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1645 * libc/sys/linux/io.c: Change header plus add readv/writev.
1646 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1647 use __sigsuspend syscall.
1648 * libc/sys/linux/select.c: Change header plus change select to
1649 use _newselect syscall.
1650 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1651 used by glibc header files.
1652 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1653 types.
1654
d4dca0e4
JJ
16552002-04-01 Jeff Johnston <jjohnstn@redhat.com>
1656
1657 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1658 initializing a struct _reent that has been dynamically allocated.
1659 (_REENT_CHECK_MISC): New macro that checks _misc struct for
1660 _REENT_SMALL and does nothing otherwise.
1661 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1662 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1663 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1664 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1665 [_REENT_SMALL](struct _misc_reent): New structure containing
1666 miscellaneous reentrant areas needed by newlib.
1667 [_REENT_SMALL](struct _reent): Add _misc pointer.
1668 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1669 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1670 and _REENT_STRTOK_LAST macros.
1671 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1672 and _REENT_MBLEN_STATE macros.
1673 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1674 and _REENT_MBTOWC_STATE macros.
1675 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1676 and _REENT_WCTOMB_STATE macros.
1677
54a7c6d2
JJ
16782002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
1679
1680 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1681
c82479b1
CF
1682Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
1683
1684 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1685
43ecf6e8
JR
1686Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
1687
1688 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1689 Store high part of leading bytes too.
1690
a485d93f
RS
16912002-03-22 Richard Sandiford <rsandifo@redhat.com>
1692
1693 * libm/math/ef_hypot.c: Increase scale factor to 68.
1694
62a963ee
AO
16952002-03-13 Alexandre Oliva <aoliva@redhat.com>
1696
1697 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1698 error.
1699
c53d8453
JJ
17002002-03-12 Jeff Johnston <jjohnstn@redhat.com>
1701
1702 * libc/sys/go32/access.c: Change license to relaxed license
1703 used in identical file throughout newlib/libgloss.
1704
d2a246ad
JJ
17052002-03-12 Richard Earnshaw <rearnsha@arm.com>
1706
1707 * libc/sys/arm/access.c: New file.
1708 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1709 * libc/sys/arm/Makefile.in: Regenerate.
1710 * libc/sys/arm/syscalls.c (_stat): New function.
1711
eabb48d5
MM
17122002-03-11 Michael Meissner <meissner@redhat.com>
1713
1714 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1715 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1716 * libc/machine/mips/Makefile.in: Regenerate.
1717 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1718 * libc/machine/mips/memset.c: Dito.
1719 * libc/machine/mips/strcmp.c: Dito.
1720 * libc/machine/mips/strlen.c: Dito.
1721 * libc/machine/mips/strncmp.c: Dito.
1722
2a606041
JJ
17232002-03-06 Jeff Johnston <jjohnstn@redhat.com>
1724
eabb48d5
MM
1725 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1726 object so it works for shared library or statici library.
1727 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 1728
55f26f11
JR
1729Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
1730
96bff22c
JR
1731 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
1732 Add memcpy.S, memset.S and strcpy.S.
1733 * libc/machine/sh/Makefile.in: Regenerate.
1734 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 1735 (SHHI, SHLO): Define.
96bff22c
JR
1736 * libc/machine/sh/memset.S: Add code for SH5.
1737 * libc/machine/sh/memset.S: Likewise.
1738 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 1739
afecf2fa
JJ
17402002-02-27 Jeff Johnston <jjohnstn@redhat.com>
1741
1742 * configure.host: Add check for --disable-newlib-io-float
1743 configuration option and add -DNO_FLOATING_POINT to newlib cflags
1744 if appropriate.
1745 * acinclude.m4: Added --disable-newlib-io-float option.
1746 * aclocal.m4: Regenerated.
1747 * configure: Ditto.
1748 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1749 * libc/*/aclocal.m4 libc/*/configure
1750 * libm/*/aclocal.m4 libm/*/configure: Ditto.
1751 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
1752 if NO_FLOATING_POINT flag is not defined.
1753
c1010a63
JJ
17542002-02-25 Jeff Johnston <jjohnstn@redhat.com>
1755
1756 * libc/include/sys/config.h: Add __extension__ in front of
1757 long long references.
1758
630c657e
CV
17592002-02-23 Corinna Vinschen <corinna@vinschen.de>
1760
1761 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
1762 (_stat): Ditto.
1763
59ee2e20
CV
17642002-02-23 Corinna Vinschen <corinna@vinschen.de>
1765
1766 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
1767 of off_t.
1768
2dd68dc2
NC
17692002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1770
1771 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
1772 clobbered registers.
1773
55500bf1
TF
17742002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1775
1776 * configure.host (newlib_cflags): When host is in m68* add
1777 -DCOMPACT_CTYPE.
1778
ba0173f0
JJ
17792002-02-15 Jeff Johnston <jjohnstn@redhat.com>
1780
1781 * libc/include/sys/config.h: Add definitions for
1782 __int16_t, __uint16_t, __int64_t, and __uint64_t.
1783
7b61d0c5
JJ
17842002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
1785
1786 * libc/sys/mmixware/link.c: New.
1787 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1788 volatile.
1789 * libc/sys/mmixware/times.c (_times): Renamed from times.
1790 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1791 properly by reading previous contents, not through BinaryReadWrite.
1792 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1793 * libc/sys/mmixware/Makefile.in: Regenerate.
1794
a505db65
CV
17952002-02-10 Corinna Vinschen <corinna@vinschen.de>
1796
1797 * libc/include/grp.h: Don't declare group functions when compiling
1798 Cygwin.
1799
f3b39c45
CV
18002002-02-09 Corinna Vinschen <corinna@vinschen.de>
1801
1802 * libc/include/grp.h: Include Cygwin specific header.
1803 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
1804 when compiling for Cygwin.
1805 * libc/include/sys/types.h: Don't define off_t, uid_t
1806 and gid_t when compiling for Cygwin.
1807
82b3ac56
MG
18082002-02-08 matthew green <mrg@redhat.com>
1809
1810 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1811 _REENT_EMERGENCY_SIZE, not sizeof(char *).
1812
9f25eed9
AO
18132002-02-08 Alexandre Oliva <aoliva@redhat.com>
1814
1815 Contribute sh64-elf.
1816 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1817 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1818 support in printf.
1819 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
1820 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1821 any labels.
1822 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
1823 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1824 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
1825 * libc/machine/sh/configure.in: Rework conditionals.
1826 * libc/machine/sh/Makefile.am: Likewise.
1827 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1828 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
1829 * configure.host: Match `sh*'.
1830 * libc/include/machine/setjmp.h: Define for SH5.
1831 * libc/machine/sh/configure.in: Detect SH5.
1832 * libc/machine/sh/configure: Rebuilt.
1833 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1834 * libc/machine/sh/Makefile.in: Rebuilt.
1835 * libc/machine/sh/asm.h: Adjust for SH5.
1836 * libc/machine/sh/setjmp.S: Implement in SHmedia.
1837 * libc/sys/sh/crt0.S: Likewise.
1838 * libc/sys/sh/trap.S: Likewise.
1839
a2a405ae
JJ
18402002-02-07 Jeff Johnston <jjohnstn@redhat.com>
1841
1842 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1843 (mach_add_obj): Conditionally set to setjmp.o or nothing.
1844 (LIB_SOURCES): Remove $(mach_add_src).
1845 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1846 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1847 * libc/machine/i386/Makefile.in: Regenerate.
1848
27478365
JJ
18492002-02-05 Manik Raina <manik@cisco.com>
1850
994fa212 1851 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
1852 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1853 s, p, k, and outstr.
1854 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1855
815a37f7
JJ
18562002-02-04 Jeff Johnston <jjohnstn@redhat.com>
1857
1858 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1859 _REENT_CHECK_EMERGENCY macro.
1860
a4139c12
MG
18612002-02-03 matthew green <mrg@redhat.com>
1862
1863 * libc/reent/signgam.c (__signgam): Fix error in previous.
1864
8195aff7
MG
18652002-02-02 matthew green <mrg@redhat.com>
1866
1867 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1868
1869 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1870 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1871 * libc/include/sys/reent.h (struct _reent): Completely new version
1872 for _REENT_SMALL.
1873 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1874 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1875 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1876 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1877 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1878 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1879 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1880 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1881 (_REENT_EMERGENCY): Likewise.
1882
1883 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1884 the start of the real __sFILE, used for stdin, stdout and stderr until
1885 they are setup properly.
1886 (struct __sFILE): Move location of _data in _REENT_SMALL case.
1887 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1888 allocated stdin, stdout and stderr.
1889 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1890 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1891 * libc/stdio/perror.c (_perror_r): Likewise.
1892 * libc/stdio/printf.c (printf, _printf_r): Likewise.
1893 * libc/stdio/putchar.c (_putchar_r): Likewise.
1894 * libc/stdio/puts.c (_puts_r): Likewise.
1895 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1896 * libc/stdio/vprintf.c (vprintf): Likewise.
1897 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1898
1899 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1900
1901 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1902 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1903 for _REENT_SMALL.
1904 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1905 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1906
1907 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1908 _REENT_SMALL.
1909 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1910 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1911 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1912 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1913 * libc/stdlib/rand48.c (__dorand48): Likewise.
1914 * libc/stdlib/seed48.c (_seed48_r): Likewise.
1915 * libc/stdlib/srand48.c (_srand48_r): Likewise.
1916 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1917 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1918 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
1919 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1920 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1921 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1922 * libc/stdlib/rand.c (rand): Likewise.
1923
1924 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1925 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1926
1927 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
1928 _REENT_MP_FREELIST() and _REENT_MP_P5S.
1929 * libc/include/sys/reent.h (struct _mprec): New structure.
1930
1931 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1932 _unused_strtok_last.
1933 * libc/string/strtok.c (strtok): Use a local static variable.
1934
1935 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1936 (_REENT_EMERGENCY_SIZE): Likewise.
1937 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
1938 _REENT_ASCTIME_BUF().
1939 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
1940 _REENT_TM().
1941
1942 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1943 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1944 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1945 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1946 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1947 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1948
9c2e7642
GK
19492002-02-01 Geoffrey Keating <geoffk@redhat.com>
1950
1951 * configure.host (xstormy16): Don't use the generic malloc.
1952 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1953 * libc/machine/xstormy16/Makefile.in: Regenerate.
1954 * libc/machine/xstormy16/mallocr.c: New file.
1955 * libc/machine/xstormy16/tiny-malloc.c: New file.
1956
4bb6112f
TF
19572002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
1958
1959 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1960 when _CYGWIN_TYPES_H is not defined.
1961
8d345552
TF
19622002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1963
1964 * libc/include/sys/signal.h: Revert 2002-01-23 change.
1965
bcc49082
TF
19662002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1967
1968 * libc/include/sys/signal.h: Remove pthread_kill declaration
1969 when __CYGWIN__ is defined.
1970
13baedeb
CF
19712002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1972
1973 * libc/include/time.h: Add prototype for strptime for Cygwin.
1974
b2db0ebc
NC
19752002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1976
ebf139fb
NC
1977 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1978 dst was not word aligned.
1979
b2db0ebc
NC
1980 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1981 if too much memory is requested.
1982
798c015d
JJ
19832002-01-11 Jeff Johnston <jjohnstn@redhat.com>
1984
1985 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1986 reads blanks from the input file to break if EOF reached
1987 rather than end processing.
1988
46ad2ef4
JJ
19892002-01-07 Jeff Johnston <jjohnstn@redhat.com>
1990
1991 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1992
86b06396
JJ
19932002-01-07 Alan Matsuoka <alanm@redhat.com>
1994
1995 * libc/include/machine/ieeefp.h: Configure d10v doubles to
1996 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
1997 libc/include/sys/config.h: Ditto.
1998
423d5064
CV
19992001-12-28 Corinna Vinschen <corinna@vinschen.de>
2000
2001 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
2002
f6eff1c0
GK
20032001-12-22 Geoffrey Keating <geoffk@redhat.com>
2004 Catherine Moore <clm@redhat.com>
2005 Richard Henderson <rth@redhat.com>
2006 Corinna Vinschen <vinschen@redhat.com>
2007
2008 * configure.host: Add support for xstormy16.
2009 * libc/include/machine/ieeefp.h: Add support for xstormy16.
2010 * libc/include/machine/setjmp.h: Add support for xstormy16.
2011 * libc/include/sys/config.h: Add support for xstormy16.
2012 * libc/machine/xstormy16/Makefile.am: New file.
2013 * libc/machine/xstormy16/Makefile.in: New file.
2014 * libc/machine/xstormy16/aclocal.m4: New file.
2015 * libc/machine/xstormy16/configure: New file.
2016 * libc/machine/xstormy16/configure.in: New file.
2017 * libc/machine/xstormy16/setjmp.S: New file.
2018
1f93c55f
TF
20192001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2020
2021 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
2022 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
2023
13b918be
CV
20242001-12-19 Corinna Vinschen <corinna@vinschen.de>
2025
2026 * libm/machine/Makefile.am: Change rules to create correct lib.a.
2027 * libm/machine/Makefile.in: Regenerated through automake.
2028
08e857b4
TF
20292001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2030
2031 * Makefile.am (DOCDIR): Force to empty string when doc
2032 directory is not present.
2033
60565ed6
TF
20342001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
2035
2036 * libc/machine/i386/f_*: Move to libm/machine/i386.
2037
20382001-12-18 Joel Sherrill <joel@OARcorp.com>
2039
2040 * libm/machine/Makefile.am: Add dummy doc stub so
2041 "make info" works.
2042
20432001-12-17 Joel Sherrill <joel@OARcorp.com>
2044
2045 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
2046
fc504135
TF
20472001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
2048
2049 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
2050 $(COMPILE) rather than $(CC).
2051 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
2052 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
2053 $(LIB_COMPILE) change.
2054 (vfiprintf.$(oext)): Likewise.
2055
efeae9a3
CV
20562001-12-17 Corinna Vinschen <vinschen@redhat.de>
2057
2058 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
2059 conditionalized including of getopt stuff.
2060
cdf7120d
TF
20612001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
2062
2063 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
2064 compile line.
f85be99c 2065 (vfiprintf.$(oext)): Likewise.
cdf7120d 2066
2e1a7175
TF
20672001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
2068
2069 * Makefile.shared: New file.
2070 * libc/sys/linux/shared.ld: New file.
2071 * libm/machine/*: New files.
2072 * libm/machine/i386/*: New files.
2073 * Makefile.am: Add libtool support. Change math and mathfp
2074 references to variables.
2075 * configure.host: Add variables for libtool support. Add
2076 libm_machine_dir variable.
2077 * configure.in: Add objectlist variables, for libtool
2078 support. Add CC_FOR_BUILD tests.
2079 * libc/Makefile.am: Add libtool support. Change crt0.o
2080 reference to be a variable reference.
2081 * libc/configure.in: Add libtool support. Change sublib
2082 names to be lib${subdir}.la when using libtool.
2083 * libc/ctype/Makefile.am: Add libtool support.
2084 * libc/errno/Makefile.am: Likewise.
2085 * libc/locale/Makefile.am: Likewise.
2086 * libc/machine/Makefile.am: Likewise.
2087 * libc/machine/configure.in: Likewise.
2088 * libc/machine/i386/Makefile.am: Likewise.
2089 * libc/machine/i386/configure.in: Likewise.
2090 * libc/misc/Makefile.am: Likewise.
2091 * libc/posix/Makefile.am: Likewise.
2092 * libc/reent/Makefile.am: Likewise.
2093 * libc/signal/Makefile.am: Likewise.
2094 * libc/stdio/Makefile.am: Likewise.
2095 * libc/stdlib/Makefile.am: Likewise.
2096 * libc/string/Makefile.am: Likewise.
2097 * libc/sys/Makefile.am: Likewise.
2098 * libc/sys/configure.in: Likewise.
2099 * libc/sys/linux/Makefile.am: Add libtool support. Change
2100 awk reference to a variable reference. Change signal.h
2101 reference to a variable reference.
2102 * libc/sys/linux/configure.in: Add libtool support.
2103 * libc/syscalls/Makefile.am: Likewise.
2104 * libc/time/Makefile.am: Likewise.
2105 * libc/unix/Makefile.am: Likewise.
2106 * libm/Makefile.am: Add libtool support. Change math and
2107 mathfp references to variables.
2108 * libm/configure.in: Add libtool support. Add
2109 LIBM_MACHINE_LIB variable.
2110 * libm/common/Makefile.am: Add libtool support.
2111 * libm/math/Makefile.am: Likewise.
2112 * libm/mathfp/Makefile.am: Likewise.
2113 Regenerate all Makefile.in, aclocal.m4, and configure.
2114
b92591a1
JJ
21152001-12-13 Anita Kulkarni <anitak@kpit.com>
2116
2117 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
2118
355b664e
CF
21192001-12-06 John Peacock <jpeacock@rowman.com>
2120
2121 * libc/include/sys/unistd.h: Correct ualarm declaration.
2122
e9853806
NC
21232001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
2124
2125 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
2126 vector before calling the initialisation functions.
2127
a8e091b0
CF
21282001-11-29 Christopher Faylor <cgf@redhat.com>
2129
2130 * libc/include/dirent.h: Protect against multiple inclusion.
2131
ab634123
CF
21322001-11-27 Christopher Faylor <cgf@redhat.com>
2133
2134 * libc/include/sys/types.h: Define useconds_t.
2135 * libc/include/sys/ulimit.h: Declare ualarm.
2136
d37e401e
CF
21372001-11-21 Christopher Faylor <cgf@redhat.com>
2138
2139 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
2140
8ac90051
HPN
21412001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
2142
2143 * libc/sys/mmixware/*: Tweak license header in all source files.
2144
d7ca37e4
CV
21452001-11-12 Corinna Vinschen <vinschen@redhat.com>
2146
2147 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
2148 to here. Rearrange for general inclusion by stdlib.h.
2149 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
2150 isn't defined.
2151 * libc/sys/linux/include/alloca.h: Move to libc/include.
2152
28f8744e
AG
21532001-11-12 Anthony Green <green@redhat.com>
2154
2155 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
2156
4cede8c4
HPN
21572001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
2158
2159 * libc/sys/mmixware/*: Correct spacing in all source files.
2160 * libc/sys/mmixware/syscall.h: Move misplaced file...
2161 * libc/sys/mmixware/sys/syscall.h: ...here.
2162
8be9b48b
JJ
21632001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
2164
2165 * libc/include/machine/ieeefp.h: Add support for mmix target.
2166 * libc/include/machine/setjmp.h: Ditto.
2167 * configure.host: Ditto.
2168 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
2169 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
2170 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
2171 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
2172 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
2173 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
2174 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
2175 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
2176 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
2177 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
2178 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
2179 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
2180 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
2181 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
2182 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
2183 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
2184 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
2185 libc/sys/mmixware/aclocal.m4: Generate.
2186
c7dd4f95
CV
21872001-11-05 Corinna Vinschen <corinna@vinschen.de>
2188
2189 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
2190 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
2191 when __CYGWIN__ is defined.
2192 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
2193 logwtmp().
2194
a6a6f9fe
JJ
21952001-11-01 Arati Dikey <aratidikey@hotmail.com>
2196
2197 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
2198 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
2199 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
2200 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
2201
d0504c35
JJ
22022001-10-24 Christopher Faylor <cgf@redhat.com>
2203
2204 * libc/stdio/fseek.c: Reset pointer to buffer base
2205 when forced to seek outside of current buffer contents.
2206 This prevents the code from erroneously thinking there is
2207 anything in the current buffer.
2208
0280c8c0
GK
22092001-10-22 Geoffrey Keating <geoffk@redhat.com>
2210
2211 * libc/include/math.h: The C++ standard adds the single-precision
2212 versions of the elementary functions.
2213
333d6098
CF
22142001-10-22 Christopher Faylor <cgf@redhat.com>
2215
2216 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
2217 throughout.
2218 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
2219 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
2220 * system.c (_system_r): Ditto.
2221
c7118319
CV
22222001-10-17 Corinna Vinschen <corinna@vinschen.de>
2223
2224 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 2225 __CYGWIN__ or __rtems__ is defined.
c7118319 2226
5665b0e1
JJ
22272001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
2228
2229 * libc/include/stdlib.h: add declarations for
2230 _strtoull_r, _strtoll_r, strtoull, and strtoll.
2231 * libc/stdio/local.h: remove declarations of
2232 __strtoull_r and __strtoll_r.
2233 * libc/stdio/vfscanf.c(__svfscanf_r): call
2234 _strtoull_r instead of __strtoull_r. Ditto
2235 _strtoll_r vs. __strtoll_r.
2236 * libc/stdlib/Makefile.am: add new files to
2237 .c list and .def list
2238 * libc/stdlib/Makefile.in: regenerate
2239 * libc/stdlib/strtoll_r.c: rename __strtoll_r
2240 as _strtoll_r
2241 * libc/stdlib/strtoull_r.c: rename __strtoull_r
2242 as _strtoull_r
2243 * libc/stdlib/strtoull.c: new file
2244 * libc/stdlib/strtoll.c: new file
2245
d2d5eb41
CF
2246Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
2247
2248 * libc/include/process.h: Add getpid() declaration.
2249
448e3c14
NC
22502001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
2251
2252 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
2253 for new style arm/elf ctor/dtor handling.
2254 Minor formatting tidy up.
2255
7a2afbbb
JJ
22562001-09-13 Jeff Johnston <jjohnstn@redhat.com>
2257
2258 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
2259 and strtoull_r.c.
2260 * libc/stdlib/Makefile.in: Regenerated.
2261 * libc/stdlib/strtoll_r.c: New file.
2262 * libc/stdlib/strtoull_r.c: New file.
2263 * libc/stdio/local.h: Add prototypes for long long string
2264 conversion routines.
2265 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
2266 tied to %L integer conversion specifier.
2267
6342caa4
JJ
2268Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
2269
2270 * strftime.c (strftime): Fix "%W" implementation to properly handle
2271 Mondays too.
2272
b2d319cb
JJ
22732001-09-07 Jeff Law <law@redhat.com>
2274
2275 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
2276 __fini with "mov.l" instead of "mov.w".
2277
233823ba
CV
22782001-09-05 Corinna Vinschen <corinna@vinschen.de>
2279
2280 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
2281 and getopt.h.
2282
63c17b54
JJ
22832001-09-04 Jason Merrill <jason_merrill@redhat.com>
2284
2285 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
2286
a3e67ddf
CV
22872001-09-03 Corinna Vinschen <corinna@vinschen.de>
2288
2289 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
2290 field.
2291 (__DIRENT_VERSION): New define.
2292
6d47f33a
CV
22932001-09-03 Corinna Vinschen <corinna@vinschen.de>
2294
2295 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
2296 Shrink __d_reserved accordingly to keep structure size.
2297 (dirfd): Declare external.
6d47f33a 2298
348c5e06
JJ
22992001-08-29 Joel Sherrill <joel@OARcorp.com>
2300
2301 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
2302
23032001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2304
2305 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
2306 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
2307 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
2308 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
2309 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
2310 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
2311 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
2312 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
2313 Add conditional compilation to avoid HW FPU instructions
2314 when compiled for soft-float.
2315
f29865c5
JJ
23162001-08-29 Jeff Johnston <jjohnstn@redhat.com>
2317
2318 * Makefile.am: Add check for ln failing when creating libg.a
2319 so that cp gets used as a backup.
2320 * Makefile.in: Regenerated.
2321
9e2a4ef8
JJ
23222001-08-29 Jeff Johnston <jjohnstn@redhat.com>
2323
2324 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
2325 No longer include time.h. Add struct __tm to use for
2326 _localtime_buf in the reentrant structure. Add a
2327 _NULL definition to use in initializing the reentrant struct.
2328 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
2329 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
2330 <sys/_types.h>.
2331 * libc/include/sys/unistd.h: Include <sys/_types.h>.
2332 * libc/time/lcltime.c (localtime): Cast the reentrant struct
2333 _localtime_buf to be struct tm *.
2334
1ae900d6
JR
2335Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
2336
2337 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
2338 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
2339 __ctors_end.
2340 * libc/sys/h8300hms/syscalls.c: Include errno.h.
2341 (_unlink): New stub function.
2342
8e26d5b5
CF
2343Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
2344
2345 * libc/include/sys/errno.h: Add a cautionary comment.
2346
e8267664
JJ
23472001-08-21 Jeff Johnston <jjohnstn@redhat.com>
2348
2349 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
2350 for SIZE_SZ so that alignment ends up a minimum of 8.
2351
4acf3edf
CF
2352Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
2353
2354 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
2355 arguments.
2356
2357 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
2358 Cygwin.
2359
52c80be8
JJ
23602001-08-13 Jeff Johnston <jjohnstn@redhat.com>
2361
2362 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
2363 macro constants for mallopt options.
2364 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
2365
a7061f7f
JJ
23662001-08-02 Jeff Johnston <jjohnstn@redhat.com>
2367
2368 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
2369 otherwise default.
2370
0b4bfdd5
AH
23712001-07-12 Aldy Hernandez <aldyh@redhat.com>
2372
2373 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
2374
2b6b730c
NC
23752001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
2376
2377 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
2378 Define for little endian ARMs.
2379
2380 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
2381 __IEEE_BYTES_LITTLE_ENDIAN is defined.
2382
25842b68
JJ
23832001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
2384
2385 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
2386
371b76ef
JJ
23872001-06-11 Egor Duda <deo@logos-m.ru>
2388
2389 * libc/ctype/ctype_.c: When compiled with gcc on platforms
2390 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
2391 initialized memory region. Platform can define COMPACT_CTYPE
2392 to avoid allocation of the additional 128 bytes of data.
2393 Add pointer to _ctype_ array. Always initialize all _ctype_
2394 array elements.
2395
43b44bc5
JL
23962001-06-08 Jonathan Larmour <jlarmour@redhat.com>
2397
2398 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
2399 NULL pointer.
2400
188bc140
NC
24012001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
2402
2403 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
2404
2ce88418
NC
24052001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
2406
2407 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
2408 matching, non-word alignment, and the length is <= 4 but more than
2409 enough to move them over a word boundary.
2410 Add comments explaining what each instruction does.
2411
ca60ed47
CF
2412Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
2413
2414 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 2415 * libc/include/sys/unistd.h: Ditto.
ca60ed47 2416
8b3bcfba
JJ
24172001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
2418
2419 * libc/string/strrchr.c: Use strchr for the speed improvements.
2420
b09e3cf8
JJ
24212001-05-01 Jeff Johnston <jjohnstn@redhat.com>
2422
2423 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
2424 real file systems, let __smakebuf() determine if line buffering
2425 should be used for stdout.
2426
0ca66974
JJ
24272001-04-27 Jeff Johnston <jjohnstn@redhat.com>
2428
2429 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
2430
7cb7017a
JJ
24312001-04-27 Jeff Johnston <jjohnstn@redhat.com>
2432
2433 * libc/include/stdlib.h: Add prototype for _strtod_r.
2434
a874cd21
JJ
24352001-04-24 Charles Wilson <cwilson@ece.gatech.edu
2436
2437 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
2438 * libc/stdio/vprintf.c (_vprintf_r): new function
2439 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
2440 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
2441 _DEFUN, and call _vfprintf_r, not vfprintf.
2442 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
2443 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
2444 _DEFUN, and call _vfprintf_r, not vfprintf.
2445
cb4cc283
CF
24462001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
2447
2448 * libc/include/sys/unistd.h [X_OK]: Use better protection against
2449 Cygwin X_OK definitions in sys/file.h.
2450
8c9df1d5
CF
2451Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
2452
2453 * libc/include/sys/time.h: Define timercmp and other macros for
2454 __CYGWIN__, too.
2455
3ac6f3a7
JJ
24562001-04-20 Jeff Johnston <jjohnstn@redhat.com>
2457
2458 * acinclude.m4: Added --enable-malloc-debugging configure flag.
2459 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
2460 --enable-malloc-debugging selected.
2461 * aclocal.m4 configure: Regenerated.
2462 libm/aclocal.m4 libm/configure: Ditto.
2463 * libc/aclocal.m4 libc/configure: Ditto.
2464 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
2465 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
2466 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
2467 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
2468 * doc/aclocal.m4 doc/configure: Ditto.
2469
52cb9e69
JJ
24702001-04-20 Jeff Johnston <jjohnstn@redhat.com>
2471
2472 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
2473 into one list.
2474 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
2475 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
2476 function prototypes.
2477 (_fscanf_r, _sscanf_r): Ditto.
2478 * libc/include/stdlib.h: Added _strtod_r prototype.
2479 * libc/stdio/Makefile.am: Add new v*scanf functions.
2480 * libc/stdio/Makefile.in: Regenerate.
2481 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
2482 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
2483 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
2484 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
2485 (sscanf): Changed to call __svfscanf_r with _REENT argument.
2486 (_sscanf_r): New routine.
2487 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
2488 with __svfscanf_r prototype.
2489 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
2490 routines.
2491 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
2492 structure as argument as calls reentrant versions of helper functions
2493 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
2494 to _strtol_r and _strtod_r respectively.
2495 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
2496 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
2497 _REENT argument.
2498 * libc/stdio/vscanf.c: New file.
2499 * libc/stdio/vsscanf.c: Ditto.
2500
ee9f39fb
JJ
25012001-04-19 Robert Collins <rbtcollins@hotmail.com>
2502
2503 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
2504 Define daylight to _daylight if it is not defined
2505 Prepare a variable export of timezone based on timezonevariable.
2506 (Cannot be used with the timezone() function.)
2507
273861e3
JJ
25082001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
2509
2510 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
2511 Correct the numerical values.
2512
a25b8414
CF
25132001-04-13 Robert Collins <rbtcollins@hotmail.com>
2514
2515 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
2516
b8a8c59d
CV
2517Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
2518
2519 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
2520 on case insensitve file systems.
2521
74f8cc63
CF
25222001-04-12 Robert Collins <rbtcollins@hotmail.com>
2523
2524 * libc/include/sys/features.h: Add appropriate defines for Cygwin
2525 pthread support.
2526 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
2527 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
2528 types. Include <cygwin/types.h> for the cygwin specific typedefs.
2529
16740220
RS
25302001-04-04 Richard Sandiford <rsandifo@redhat.com>
2531
2532 * libc/include/machine/ieeefp.h: Comment about new configuration
2533 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
2534 * libm/common/fdlib.h: Define new macros for testing floats.
2535 * libm/common/sf_*: Use them.
2536 * libm/math/ef_*: Likewise.
2537 * libm/math/sf_*: Likewise.
2538
0694d8d3
JJ
25392001-03-29 Jeff Johnston <jjohnstn@redhat.com>
2540
2541 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
2542 prolog to by-pass possible assembler error.
2543
4833b38c
JJ
25442001-03-21 Egor Duda <deo@logos-m.ru>
2545
2546 Allow building internal stubs for non-reentrant syscalls
2547 if target provides its own malloc
2548 * libc/reent/reent.c (errno): Move definition here.
2549 * libc/reent/sbrkr.c: From here.
2550
d17d6d42
CF
25512001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
2552
2553 * libc/include/sys/types.h (BSD int typedefs): Guard with
2554 _BSDTYPES_DEFINED rather than _WINSOCK_H.
2555 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
2556 _SYS_TYPES_FD_SET.
2557 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
2558 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
2559
c7ee75cd
CV
2560Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
2561
2562 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
2563 _PC_POSIX_SECURITY constants for Cygwin.
2564
63dc5d80
CV
2565Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
2566
2567 * libc/sys/cygwin/crt0.c: Add copyright hint.
2568 * libc/sys/cygwin/sys/dirent.h: Ditto.
2569 * libc/sys/cygwin/sys/param.h: Ditto.
2570 * libc/sys/cygwin/sys/utime.h: Ditto.
2571 * libc/sys/cygwin/sys/utmp.h: Ditto.
2572
6f637037
AO
25732001-03-13 Alexandre Oliva <aoliva@redhat.com>
2574
2575 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
2576 equivalent to LONGINT.
2577
e69b6f73
JJ
25782001-03-08 Richard Sandiford <rsandifo@redhat.com>
2579
2580 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
2581 jmpbuf on MIPS64 targets.
2582 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
2583
6198dece
CF
2584Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
2585
e69b6f73
JJ
2586 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
2587 declarations.
6198dece 2588
cfc05d96
JJ
2589Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
2590
2591 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
2592 For RTEMS, define to be ssize_t. Default to int if not defined.
2593 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
2594 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
2595 * libc/stdio/local.h (__sread, __swrite): Likewise.
2596 * libc/include/sys/reent.h (_read, _write): Likewise.
2597 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
2598 * libc/syscalls/sysread.c (read): Likewise.
2599 * libc/syscalls/syswrite.c (write): Likewise.
2600
6249353a
JJ
26012001-03-05 Jeff Johnston <jjohnstn@redhat.com>
2602
2603 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
2604
658b5db9
CF
2605Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
2606
2607 * libc/include/sys/stat.h: Use special defines for executable stat bits
2608 when compiling for Cygwin.
2609 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
2610 for Cygwin.
2611
19ca46d5
JJ
26122001-03-02 Jeff Johnston <jjohnstn@redhat.com>
2613
2614 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
2615 of strtok_r is always defined.
2616
b73ed85e
JJ
26172001-03-02 Jeff Johnston <jjohnstn@redhat.com>
2618
2619 * libc/include/machine/ansi.h: New dummy header file.
2620
ee37ede1
JJ
26212001-02-22 Jeff Johnston <jjohnstn@redhat.com>
2622
2623 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
2624 changed the copyright information to allow free modification of the
2625 file with no reference to "copying.dj".
2626 * libc/include/sys/stat-dj.h: Ditto.
2627 * libc/machine/i386/setjmp.S: Ditto.
2628 * libc/sys/h8300hms/sys/file.h: Ditto.
2629 * libc/sys/sysmec/access.c: Ditto.
2630 * libc/sys/sysnecv850/access.c: Ditto.
2631 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
2632 * libc/stdlib/getenv_r.c: Ditto.
2633 * libc/stdlib/putenv_r.c: Ditto.
2634 * libc/stdlib/setenv_r.c: Ditto.
2635 * libc/stdlib/getenv.c: Removed DJ reference since any possible
2636 modifications will now be in the _r version of this file.
2637 * libc/stdlib/putenv.c: Ditto.
2638 * libc/stdlib/setenv.c: Ditto.
2639 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
2640 valid. Added a reference to DJ's web page that contains his address.
2641 * libc/sys/go32/*.s: Removed references to DJ's old address.
2642 * libc/sys/go32/*.c: Ditto.
2643 * libc/sys/go32/*.h: Ditto.
2644 * libc/sys/go32/*.S: Ditto.
2645 * libc/sys/go32/sys/*.h: Ditto.
2646
3a8fc0e4
JJ
26472001-02-21 Jeff Johnston <jjohnstn@redhat.com>
2648
2649 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
2650 HAVE_FCNTL flag check.
2651 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
2652 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
2653
b24ee749
CF
2654Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
2655
2656 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
2657
ab4745dc
JJ
26582001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2659
2660 * libc/include/stdlib.h: Add declarations of rand48 functions and
2661 their reentrant versions.
2662 * libc/include/sys/reent.h: Move macros from rand48.h. Add
2663 struct _rand48 for shared parameters of rand48 functions.
2664 (struct _reent): Add a variable _r48 of struct _rand48.
2665 (_REENT_INIT): Add _r48 initialization.
2666 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
2667 (CHEWOUT_FILES): Add rand48.def.
2668 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
2669 * libc/stdlib/Makefile.in: Regenerated.
2670 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
2671 NetBSD C library.
2672 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
2673 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
2674 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
2675 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
2676 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
2677 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
2678 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
2679 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
2680 * libc/stdlib/rand48.c (__dorand48): Ditto.
2681 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
2682 parameters into macros referring them in the reentrant structure.
2683
a34c461f
JJ
26842001-02-12 Jeff Johnston <jjohnstn@redhat.com>
2685
2686 * libc/include/sys/stat.h: Add mknod for Cygwin now that
2687 Cygwin definition has correct prototype.
2688
34f31ff2
JJ
26892001-02-08 Jeff Johnston <jjohnstn@redhat.com>
2690
2691 * libc/include/sys/stat.h: Must revert change for mknod
2692 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
2693 prototype.
2694
5336d6de
JJ
26952001-02-08 Jeff Johnston <jjohnstn@redhat.com>
2696
2697 * libc/include/stdio.h: Revert putw prototype.
2698
8915d10a
JJ
26992001-02-08 Edward M. Lee <tailbert@yahoo.com>
2700
2701 * libc/include/grp.h: add prototype for initgroups.
2702 * libc/include/stdio.h: fix prototype for putw.
2703 * libc/include/sys/signal.h: add prototype for killpg.
2704 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
2705 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
2706 vhangup and remove duplicate sysconf prototype.
2707
93ac4487
JJ
27082001-02-07 Jeff Johnston <jjohnstn@redhat.com>
2709
2710 * libc/sys/rtems/sys/types.h: Removed.
2711
31f5feea
JJ
27122001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
2713
2714 * libc/include/locale.h: add LC_MESSAGES definition
2715
b5139f59
AO
27162001-02-01 Alexandre Oliva <aoliva@redhat.com>
2717
2718 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
2719 SYS_get_argN):
2720 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
2721 __setup_argv_and_call_main): New.
2722
e29d8355
JJ
27232001-01-31 Jeff Johnston <jjohnstn@redhat.com>
2724
2725 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
2726 if defined.
2727 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
2728 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
2729 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
2730 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2731
82ea92f3
CF
2732Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
2733
2734 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
2735 compiling under Cygwin.
2736
3aaa66f8
JJ
27372001-01-29 Jeff Johnston <jjohnstn@redhat.com>
2738
2739 * libc/include/math.h (signgam): Change to errno-like solution
2740 using a function to return the address of the real signgam.
2741 * libc/reent/signgam.c: New file containing __signgam().
2742 * libc/reent/Makefile.am: Added signgam.c to list of files.
2743 * libc/reent/Makefile.in: Regenerated.
2744
610b895a
AO
27452001-01-25 Alexandre Oliva <aoliva@redhat.com>
2746
b0913397
AO
2747 * libc/sys/sh/syscalls.c (_times): New.
2748
610b895a
AO
2749 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
2750 * libc/sys/sh/syscalls.c (_gettimeofday): New.
2751
3643210e
JJ
27522001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2753
2754 * libc/include/math.h (signgam): Regress previous fix as
2755 it does not handle programs with extern int signgam in them.
2756
841081c9
JJ
27572001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2758
2759 * libc/include/math.h (signgam): Changed to a macro refering to
2760 its location in the reentrant structure.
2761
e9cd87b8
JJ
27622001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2763
2764 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
2765 that suppressed . for %.0f, 0.1. Check now looks if there
2766 are padding zeroes (expt) in addition to any digits (ndig) to
2767 print.
2768
a302b48c
JJ
27692001-01-18 Jeff Johnston <jjohnstn@redhat.com>
2770
2771 * libc/sys/arc/Makefile.am: New file.
2772 * libc/sys/arc/Makefile.in: Ditto.
2773 * libc/sys/arc/aclocal.m4: Ditto.
2774 * libc/sys/arc/configure: Ditto.
2775 * libc/sys/arc/configure.in: Ditto.
2776 * libc/sys/arc/crt0.S: Ditto.
2777 * libc/sys/arc/isatty.c: Ditto.
2778 * libc/sys/arc/mem-layout.c: Ditto.
2779 * libc/sys/arc/sbrk.c: Ditto.
2780 * libc/sys/arc/syscalls.c: Ditto.
2781 * libc/sys/arc/sys/syscall.h: Ditto.
2782
d0319c3b
CF
2783Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
2784
2785 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2786
e45ab890
CF
2787Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
2788
2789 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2790
1376245a
DD
2791Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
2792
2793 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2794
92b57543
NC
27952001-01-09 Nick Clifton <nickc@redhat.com>
2796
2797 * configure.host (v859): Remove unsupported compiler options.
2798
7d6d33d4
JJ
2799Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
2800
2801 * src/newlib/configure.host (*-*-rtems*): add printf long long
2802 support for RTEMS.
2803
602f8b5a 28042000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
2805
2806 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2807
9c2b8183
JJ
2808Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
2809
2810 * configure.host: Turn on long double I/O for Cygwin.
2811
804368d3
JJ
2812Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
2813
2814 * MAINTAINERS: Removed Ranjith.
2815 * NEWS: Updated for 1.9.0.
2816 * README: Updated.
2817 * acinclude.m4: Updated to release 1.9.0.
2818 * aclocal.m4 configure
2819 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2820 libc/machine/aclocal.m4 libc/machine/configure
2821 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2822 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2823 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2824 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2825 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2826 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2827 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2828 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2829 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2830 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2831 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2832 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2833 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2834 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2835 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2836 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2837 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2838 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2839 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2840 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2841 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2842 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2843 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2844 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2845 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2846 libc/sys/aclocal.m4 libc/sys/configure
2847 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2848 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2849 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2850 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2851 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2852 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2853 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2854 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2855 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2856 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2857 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2858 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2859 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2860 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2861 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2862 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2863 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2864 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2865 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2866 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2867 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2868 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2869 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2870 libm/aclocal.m4 libm/configure: Regenerated.
2871
0985d43f
CV
2872Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2873
2874 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2875 when __CYGWIN__ is defined.
2876
b6182a09
JJ
28772000-12-13 Jeff Johnston <jjohnstn@redhat.com>
2878
2879 * libc/stdlib/ldtoa.c (_ldcheck): New routine
2880 that categorizes a long double as NaN, Infinity, or other.
2881 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
2882 isinfl and isnanl static routines which were i386-specific. Changed
2883 calls to the two removed routines to a single _ldcheck call.
2884 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2885
adbbb034
JJ
28862000-12-13 Jeff Johnston <jjohnstn@redhat.com>
2887
2888 * Makefile.am: Fixed install-data-local target to use
2889 $(mkinstalldirs) for the installed header files to ensure
2890 the directories exist before copying.
2891 * Makefile.in: Regenerated.
2892
cbd19336
JJ
28932000-12-12 Jeff Johnston <jjohnstn@redhat.com>
2894
2895 * libc/include/sys/unistd.h: Restored Cygwin _SC
2896 constants and moved new constants appropriately
2897 so Cygwin will build.
2898
8fb37963
JJ
28992000-12-11 Joel Sherrill <joel@OARcorp.com>
2900
2901 * Merge RTEMS specific .h files into main libc/include.
2902 * libc/sys/rtems/include/signal.h: Removed.
2903 * libc/sys/rtems/include/time.h: Removed.
2904 * libc/sys/rtems/sys/features.h: Removed.
2905 * libc/sys/rtems/sys/sched.h: Removed.
2906 * libc/sys/rtems/sys/siginfo.h: Removed.
2907 * libc/sys/rtems/sys/signal.h: Removed.
2908 * libc/sys/rtems/sys/time.h: Removed.
2909 * libc/sys/rtems/sys/times.h: Removed.
2910 definitions for time_t and clock_t since these are
2911 no longer in time.h.
2912 * libc/include/pthread.h: New file.
2913 * libc/include/sys/sched.h: New file.
2914 * libc/include/sys/features.h: New file.
2915 * libc/include/time.h: Removed duplicate definition of clock_t
2916 and time_t, get them from <sys/types.h> instead. Add prototypes
2917 for POSIX clock and timer functionality.
2918 * libc/sys/linux/sys/types.h: Changed to include
2919 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2920 * libc/include/sys/signal.h: Add more complete set of POSIX
2921 signal functionality including real-time and threaded signals.
2922 * libc/include/sys/types.h: Add clock_t, time_t, struct
2923 timespec, and struct itimerspec. Centralizing these makes
2924 things cleaner. RTEMS uses 64-bit dev_t.
2925 Added numerous primitive definitions
2926 for pthreads including macros, pthread_attr_t,
2927 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
2928 pthread_once_t, and pthread_t.
2929 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2930 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2931 Feature flags removed and moved to new file <sys/features.h>.
2932 Full set of POSIX sysconf() constants
2933
2efbc2a7
JJ
29342000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
2935
2936 * configure.host: Added x86 linux target.
2937 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2938 definitions provided if not already defined.
2939 * libc/sys/linux/crt0.c: New file.
2940 * libc/sys/linux/Makefile.am: Ditto.
2941 * libc/sys/linux/Makefile.in: Ditto.
2942 * libc/sys/linux/aclocal.m4: Ditto.
2943 * libc/sys/linux/brk.c: Ditto.
2944 * libc/sys/linux/configure: Ditto.
2945 * libc/sys/linux/configure.in: Ditto.
2946 * libc/sys/linux/getoptlong.c: Ditto.
2947 * libc/sys/linux/ids.c: Ditto.
2948 * libc/sys/linux/inode.c: Ditto.
2949 * libc/sys/linux/io.c: Ditto.
2950 * libc/sys/linux/linux.c: Ditto.
2951 * libc/sys/linux/process.c: Ditto.
2952 * libc/sys/linux/realpath.c: Ditto.
2953 * libc/sys/linux/select.c: Ditto.
2954 * libc/sys/linux/signal.c: Ditto.
2955 * libc/sys/linux/systat.c: Ditto.
2956 * libc/sys/linux/termios.c: Ditto.
2957 * libc/sys/linux/time.c: Ditto.
2958 * libc/sys/linux/wait.c: Ditto.
2959 * libc/sys/linux/include/alloca.h: Ditto.
2960 * libc/sys/linux/include/getopt.h: Ditto.
2961 * libc/sys/linux/include/stdint.h: Ditto.
2962 * libc/sys/linux/include/unistd.h: Ditto.
2963 * libc/sys/linux/sys/cdefs.h: Ditto.
2964 * libc/sys/linux/sys/dirent.h: Ditto.
2965 * libc/sys/linux/sys/errno.h: Ditto.
2966 * libc/sys/linux/sys/fcntl.h: Ditto.
2967 * libc/sys/linux/sys/file.h: Ditto.
2968 * libc/sys/linux/sys/ioctl.h: Ditto.
2969 * libc/sys/linux/sys/resource.h: Ditto.
2970 * libc/sys/linux/sys/signal.h: Ditto.
2971 * libc/sys/linux/sys/stat.h: Ditto.
2972 * libc/sys/linux/sys/syscall.h: Ditto.
2973 * libc/sys/linux/sys/termios.h: Ditto.
2974 * libc/sys/linux/sys/time.h: Ditto.
2975 * libc/sys/linux/sys/types.h: Ditto.
2976 * libc/sys/linux/sys/utmp.h: Ditto.
2977 * libc/sys/linux/sys/utsname.h: Ditto.
2978 * libc/sys/linux/sys/wait.h: Ditto.
2979
a08c98bb
JJ
29802000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2981
2982 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
2983 can be a relative path to $(top_srcdir)/install.sh so ensure the
2984 autoconf detected settings are properly passed recursively.
2985 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2986 properly to subdirectories.
2987 * Makefile.in: Regenerated.
2988
b294082c
JJ
29892000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
2990
2991 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2992 a floating point register unless really printing a floating
2993 point number.
2994
2005ab6b
JJ
29952000-12-07 Jeff Johnston <jjohnstn@redhat.com>
2996
2997 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2998 Also removed \r's.
2999 (asctoeg): Replaced alloca call with stack array and malloc
3000 when storage exceeds reasonable limit.
3001 (e53toe): Fixed einfin calls missing ldp parameter.
3002 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
3003
9f6e8f1b
JJ
30042000-12-06 Jeff Johnston <jjohnstn@redhat.com>
3005
2005ab6b 3006
9f6e8f1b
JJ
3007 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
3008
6bdac416
JJ
30092000-12-06 Jeff Johnston <jjohnstn@redhat.com>
3010
3011 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
3012 * libc/stdlib/Makefile.in: Regenerated.
3013 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
3014 * libc/stdio/vfieeefp.h: Added long double bit structures.
3015 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
3016 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
3017 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
3018 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
3019 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
3020 _strtold routines used for conversions between character
3021 and long double.
3022
ec270d31
CV
3023Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3024
3025 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
3026
db2d9549
JJ
30272000-12-04 Joel Sherrill <joel@OARcorp.com>
3028
3029 * libc/include/machine/time.h: RTEMS systems can configure clock
3030 tick rate so use sysconf() to ask.
3031
6ba54a15
JJ
30322000-12-04 Joel Sherrill <joel@OARcorp.com>
3033
3034 * libc/include/sys/times.h: Add reference to POSIX standard.
3035
8677b819
JJ
30362000-12-04 Joel Sherrill <joel@OARcorp.com>
3037
3038 * libc/include/sys/time.h: Added BSD timer manipulation macros
3039 used by RTEMS code.
3040
1b61a706
JJ
30412000-12-04 Joel Sherrill <joel@OARcorp.com>
3042
3043 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
3044 referenced by code generated by gcc 2.8.1.
3045 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
3046 satisfy gcc.
3047
f5e7c124
JJ
30482000-12-04 Joel Sherrill <joel@OARcorp.com>
3049
3050 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
3051
768abc9c
JJ
30522000-12-04 Joel Sherrill <joel@OARcorp.com>
3053
3054 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
3055
9e5dd5ea
JJ
30562000-12-04 Joel Sherrill <joel@OARcorp.com>
3057
3058 * configure.host (or16, or32): New entries for OpenCores
3059 OpenRisc CPUs.
3060 (*-*-rtems*): Add -DNO_EXEC.
3061
768abc9c 30622000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
3063
3064 * libc/include/sys/errno.h: Added comments on many error numbers.
3065 * libc/string/strerror.c: Added some more strings.
3066
b273323f
JJ
30672000-11-30 Jeff Johnston <jjohnstn@redhat.com>
3068
3069 * libc/sys/sh/syscalls.c (_link): New stub.
3070
0ffc3b94
NC
30712000-11-29 Nick Clifton <nickc@redhat.com>
3072
3073 * configure.host: Add xscale target.
3074 * libc/machine/xscale: New directory.
3075 * libc/machine/xscale/Makefile.am: New file.
3076 * libc/machine/xscale/Makefile.in: New file.
3077 * libc/machine/xscale/aclocal.m4: New file.
3078 * libc/machine/xscale/configure: New file.
3079 * libc/machine/xscale/configure.in: New file.
3080 * libc/machine/xscale/memchr.S: New file.
3081 * libc/machine/xscale/memcmp.S: New file.
3082 * libc/machine/xscale/memcpy.S: New file.
3083 * libc/machine/xscale/memmove.S: New file.
3084 * libc/machine/xscale/memset.S: New file.
3085 * libc/machine/xscale/strchr.S: New file.
3086 * libc/machine/xscale/strcmp.S: New file.
3087 * libc/machine/xscale/strcpy.S: New file.
3088 * libc/machine/xscale/strlen.S: New file.
3089
cbbf0f96
CV
3090Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3091
3092 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
3093 avoid compiler warnings.
3094
73dea790
MM
30952000-11-22 Michael Meissner <meissner@redhat.com>
3096
3097 * libc/posix/execl.c (execl): Don't reference environ directly,
3098 reference it only via a static pointer to avoid problems with some
3099 shared library systems and with different uses of small data where
3100 the user specifies his own version of environ.
3101 * libc/posix/execv.c (execv): Ditto.
3102 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
3103 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
3104 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
3105
3106 * libc/stdlib/getenv.c (environ): Delete unused reference to
3107 environ.
3108
3109 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
3110 colorization.
3111 * libc/stdlib/system.c: Ditto.
3112
08eac2ae
CF
3113Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
3114
3115 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
3116 including windows headers.
3117
5478bf37
JJ
31182000-11-20 Jeff Johnston <jjohnstn@redhat.com>
3119
3120 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
3121 * libc/include/dirent.h: Added definition of MAXNAMLEN if
3122 not defined by sys/dirent.h.
3123 * libc/posix/execvp.c: Added include of dirent.h to get
3124 MAXNAMLEN value which used to be in unistd.h.
3125
3a760728
CV
3126Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3127
3128 * libc/include/sys/types.h: Change type of i to `size_t' in
3129 FD_ZERO macro to avoid compiler warnings.
3130
86fff69f
CF
3131Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
3132
3133 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
3134 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
3135
ba9e88d2
CV
3136Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
3137
3138 * libc/include/sys/unistd.h: Add defines for sysconf values
3139 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
3140 _SC_AVPHYS_PAGES.
3141
a8018ef3
CF
3142Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
3143
3144 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
3145 declarations for __CYGWIN__.
3146
b944c6f6
GK
31472000-09-19 Geoffrey Keating <geoffk@cygnus.com>
3148
3149 * libc/signal/signal.c (__sigtramp_r): ISO C requires
3150 case labels to be integral constant expressions, so
3151 use an if/else tree instead.
3152 (_raise_r): Likewise.
3153
7f18fcb4
JJ
31542000-09-13 Jeff Johnston <jjohnstn@redhat.com>
3155
3156 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
3157 clipping patch from e-mail reader.
3158
242361df
JJ
31592000-09-13 Will Cohen <wcohen@redhat.com>
3160
3161 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
3162 Added return value 0.
3163 (_longjmp): Allow longjmp to return value of second argument
3164 passed to it.
3165
8a8c59b9
JJ
31662000-09-06 Jeff Johnston <jjohnstn@redhat.com>
3167
3168 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
3169 inline code to prevent having to include another header file.
3170
a385ae75
CF
3171Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
3172
3173 * Makefile.am: Fix space vs. tab problem in install-data-local.
3174 * Makefile.in: Regenerate.
3175
3176Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
3177
3178 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
3179 (_EXPARM): New macro for defining a function parameter.
3180 * libc/include/stdlib.h: Use _EXPARM.
3181 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
3182
a36cd013
JJ
31832000-09-05 Manfred Hollstein <manfredh@redhat.com>
3184
3185 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
3186 required, as documented in the gnu coding standards.
3187 * Makefile.in: Regenerate.
3188
f825dfda
JJ
31892000-09-05 Jeff Johnston <jjohnstn@redhat.com>
3190
3191 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
3192 make O_NDELAY and O_NONBLOCK have the same value.
3193
4ba9aab7
JJ
31942000-08-30 Kazu Hirata <kazu@hxi.com>
3195
3196 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
3197
db7acc38
JJ
31982000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
3199
3200 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
3201 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
3202 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
3203 everywhere else.
3204
44e36af4
GK
32052000-08-30 Geoffrey Keating <geoffk@cygnus.com>
3206
3207 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
3208 * libc/include/string.h: Don't include <sys/types.h>,
3209 as it causes really bad namespace pollution. Don't declare
3210 swab(), it is properly declared in unistd.h.
3211
00a2f168
JJ
32122000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
3213
3214 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
3215 (broken) support for non-existent /etc/passwd field "comment".
3216
6beeb240
JJ
32172000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
3218
3219 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
3220 only if _DIRENT_HAVE_D_NAMLEN is defined.
3221 (alphasort): aligned prototype with
3222 libc/sys/cygwin/sys/dirent.h and simplified function body.
3223 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
3224 long telldir (DIR *) as mentioned in annex B of POSIX.1
3225
ef44da42
JJ
32262000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
3227
3228 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
3229 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
3230 Added __CLI and __STI macros (controlled via
3231 _I386MACH_ALLOW_HW_INTERRUPTS macro).
3232 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
3233 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
3234 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
3235 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
3236 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
3237 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
3238 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
3239 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
3240 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
3241 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
3242 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
3243 for all global entry points.
3244 * libc/machine/i386/setjmp.S: removed code replicated in
3245 libc/machine/i386/i386mach.h and included i386mach.h instead;
3246 Use __CLI and __STI instead of cli and sti.
3247
14d3488d
DD
32482000-08-25 DJ Delorie <dj@redhat.com>
3249
3250 * libc/include/sys/unistd.h (environ): this one isn't from the
3251 DLL, no __IMPORT
3252
c9ca4412
CF
3253Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
3254
3255 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
3256 environ when compiling under cygwin since it is already declared in
3257 unistd.h.
3258
2d5862de
JJ
32592000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
3260
3261 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
3262 like x << y-z to the equivalent x << (y-z).
3263 (d2b): changed if statements with assignment to perform the
3264 assignment prior to the if check.
3265 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
3266 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
3267 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
3268 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
3269 precedence.
3270 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
3271 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
3272 execve.c).
3273 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
3274 precedence.
3275 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
3276 clarify && and || precendence (and to remove pascalism).
3277 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
3278 * libm/math/s_infconst.c: added another pair of braces to all
3279 initializers for __infinity (need three: for __infinity[1] array,
3280 for union __dmath, and for i[2]).
3281
0888fedd
JJ
32822000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
3283
199359f0
JJ
3284 * libc/stdlib/abort.c: changed description: uses "raise" instead of
3285 "getpid" and "kill"; added: uses "write" and "_exit".
3286 Also included unistd.h for "_exit" prototype.
3287 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
3288 reent.h for "_fork_r" and "_wait_r" prototypes.
3289 (do_system): changed extern char *environ[] to POSIX-friendly
3290 extern char **environ.
3291 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
3292 prototypes.
3293 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
3294 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
3295 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
3296 * libc/reent/openr.c: included fcntl.h for "open" prototype.
3297 * libc/reent/signalr.c: included signal.h for "kill" prototype,
3298 unistd.h for "getpid" prototype.
3299 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
3300 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
3301 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
3302 prototype. Also included stdlib.h for "abort", string.h for
3303 "strdup" and "strncmp" prototypes.
3304 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
3305 "strncpy", unistd.h for "read" and "close" prototypes.
3306 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
3307 "strcat" prototypes.
3308
33092000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
3310
0888fedd
JJ
3311 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
3312 used later (ifdef __SCLE)
3313 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
3314 used later (ifdef MB_CAPABLE)
3315 * libc/string/memset.c (memset): removed unused variables "count"
3316 and "unaligned_addr"
3317 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
3318 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
3319 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
3320 and "gid"
3321
a334e5ef
JJ
33222000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
3323
3324 * libc/stdlib/envlock.c: changed documented "__env_lock" and
3325 "__env_unlock" prototype from "void *" or "char *" to
3326 "struct _reent *" to match real function. Also added include
3327 of envlock.h.
3328 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
3329 "__malloc_unlock" prototype from "void *" or "char *" to
3330 "struct _reent *" to match real function.
3331 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
3332 prototypes (for getenv_r.c and setenv_r.c).
3333
644b7f26
DD
33342000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
3335
3336 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
3337 and prototype in cygwin's utmp.h
3338
5bacbf10
JJ
33392000-08-16 Eric Fifer <efifer@sanwaint.com>
3340
3341 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
3342
38a6bf98
NC
33432000-08-09 Nick Clifton <nickc@cygnus.com>
3344
3345 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
3346 epilogue and to allow the functions to be used in a Thumb based
3347 toolchain.
3348
befe0fb3
JJ
33492000-08-08 Jeff Johnston <jjohnstn@redhat.com>
3350
3351 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
3352 so size of 0 results in nothing being written to string.
3353 Also fixed code so that when size is non-zero, there is only
3354 a maximum of size - 1 characters written to the array and
3355 a nul terminator is appended at the end.
3356 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3357
749d9bcd
DD
33582000-08-01 DJ Delorie <dj@redhat.com>
3359
3360 * libc/include/sys/config.h: define __IMPORT appropriately
3361 * libc/include/ctype.h (_ctype_): use __IMPORT
3362 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
3363 * libc/include/math.h (__mb_cur_max): ditto
3364 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
3365 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
3366 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
3367 * libc/include/unistd.h (environ): ditto
3368
7c110b17
MM
33692000-07-28 Michael Meissner <meissner@redhat.com>
3370
3371 * libc/include/math.h (__infinity): Declare as an array without
3372 bounds to get around small data support. Rewrite Cygwin support
3373 to be more general.
3374 * libm/math/s_infconst.c (__infinity): Ditto.
3375 * libm/mathfp/s_infconst.c (__infinity): Ditto.
3376
bf7be721
CF
3377Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
3378
3379 * libc/include/math.h: Use appropriate dll import linkage for
3380 __infinity under Cygwin.
3381
91a8d90b
DD
33822000-07-13 DJ Delorie <dj@cygnus.com>
3383
3384 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
3385
ba2048d3
JJ
3386Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
3387
3388 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
3389 to argument list for AngelSWI_Reason_GetCmdLine.
3390
4634da64
JJ
3391Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
3392
3393 * configure.host: Add support for AVR target.
3394 * libc/include/machine/ieeefp.h: Likewise.
3395 * libc/include/sys/config.h: Likewise.
3396
b19f72a2
RK
3397Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
3398
3399 * README: Newlib 1.8.2 must be built in a separate directory
3400 than the sources.
3401
a704d94a
JJ
3402Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3403
3404 * libc/include/sys/reent.h (_rand_next): Added __extension__
3405 qualifier as long long type is not strict ANSI.
3406 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
3407 to long long constant.
3408
b585720b
CV
3409Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
3410
3411 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
3412 `setegid' provided by Cygwin.
3413
01c327ba
CV
3414Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
3415
3416 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
3417 account for Cygwin.
3418
46a43a99
JJ
3419Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3420
3421 * libc/include/sys/reent.h (_rand_next): Changed to
3422 unsigned long long and moved to end of _reent struct in _new union.
3423 (_REENT_INIT): Changed to move _rand_next initialization.
3424 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
3425 linear congruential algorithm that is used by DJGPP.
3426
a68078cb
RK
3427Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
3428
3429 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
3430 * libc/include/sys/config.h: Define __RAND_MAX.
3431
518882f3
JJ
3432Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3433
3434 * libc/stdlib/rand_r.c: New algorithm that meets minimal
3435 standard.
3436
d51d968a
CF
3437Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
3438
3439 * libc/include/string.h: Work around problem with strsignal and gdb.
3440
d2dd5765
CF
3441Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
3442
3443 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
3444 * libc/include/malloc.h: Ditto.
3445 * libc/include/process.h: Ditto.
3446 * libc/include/stdio.h: Ditto.
3447 * libc/include/stdlib.h: Ditto.
3448 * libc/include/time.h: Ditto.
3449 * libc/include/machine/setjmp.h: Ditto.
3450 * libc/include/sys/errno.h: Ditto.
3451 * libc/include/sys/signal.h: Ditto.
3452 * libc/include/sys/stat.h: Ditto.
3453 * libc/include/sys/time.h: Ditto.
3454 * libc/include/sys/unistd.h: Ditto.
3455 * libc/include/string.h: Ditto. strsignal should return a const char *.
3456
88870218
JJ
34572000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
3458
3459 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
3460 * libm/common/s_log1p.c (log1p): Likewise.
3461 * libm/common/s_scalbn.c (scalbn): Likewise.
3462 * libm/math/e_log.c: Likewise.
3463 * libm/math/e_asin.c: Likewise.
3464 * libm/math/ef_asin.c: Likewise.
3465 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
3466 * libm/math/e_j1.c (pone, qone): Likewise.
3467 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
3468 * libm/math/ef_j1.c (ponef, qonef): Likewise.
3469 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
3470 * libm/mathfp/e_j1.c (pone, qone): Likewise.
3471 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
3472 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
3473
c4e1aa01
DD
34742000-05-19 DJ Delorie <dj@cygnus.com>
3475
3476 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
3477 (__sread): always read in binary mode
3478 (__swrite): always write in binary mode
3479 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
3480 compatibility issues with different dll versions
3481 * libc/stdio/fopen.c: use __stextmode
3482 * libc/stdio/fdopen.c: ditto
3483 * libc/stdio/freopen.c: ditto
3484 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
3485 * libc/stdio/local.h: declare __stextmode
3486
f4393261
DD
34872000-05-18 DJ Delorie <dj@cygnus.com>
3488
3489 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
3490
2b533fac
JJ
3491Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3492
3493 * libc/include/ctype.h: Changed tolower and toupper macros
3494 to use __extension__ to prevent pedantic warnings.
3495
75362a76
RK
3496Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
3497
3498 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
3499 structures.
3500
ec463fc7
JW
3501Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
3502
3503 * libc/include/machine/ieeefp.h: Add ia64 support.
3504 * configure.host: Likewise.
3505
f35ceefa
JJ
3506Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
3507
3508 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
3509 month is now padded with space, not zero. This now conforms to
3510 ANSI standard.
3511
b96fca8c
CV
3512Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
3513
3514 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
3515 host or network path") used by cygwin. Add some comments.
3516
49d64538
JJ
3517Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
3518
3519 * libc/include/stdio.h (FILE): define __SCLE for "convert line
3520 endings" for Cygwin.
3521 (__sgetc): convert line endings if needed
3522 (__sputc): ditto
3523 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
3524 * libc/stdio/fopen.c (_fopen_r): ditto
3525 * libc/stdio/freopen.c (freopen): ditto
3526 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
3527 * libc/stdio/fvwrite.c (__sfvwrite): ditto
3528
91fb1e7f
AO
3529Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
3530
3531 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
3532 post-increment when it is worth it, spacewise.
3533
c87be3e4
JJ
3534Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
3535
3536 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
3537 * libc/stdio/findfp.c (std): Added declaration of flags and file.
3538 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
3539 return type.
3540 * libc/stdio/putchar.c (putchar): Added return statement.
3541 * libc/stdio/refill.c (lflush): Added correct parentheses.
3542 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3543 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
3544 prints long value to use l qualifier.
3545 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
3546 messages and initialized local values: ilim, ilim1, and spec_case.
3547 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
3548 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
3549 * libc/stdlib/mprec.c: Ditto.
3550 * libc/stdlib/setenv_r.c: Ditto.
3551 * libc/stdlib/strtod.c: Ditto.
3552 * libc/stdlib/strtol.c: Ditto.
3553 * libc/stdlib/strtoul.c: Ditto.
3554 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
3555 * libm/common/sf_log1p.c: Ditto.
3556 * libm/common/sf_scalbn.c: Ditto.
3557 * libm/math/ef_log.c: Ditto.
3558
11f5b065
CV
3559Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
3560
3561 * libc/posix/execvp.c (execvp): Check path for
3562 trailing slash.
3563
796e3b20
CV
3564Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
3565
3566 * libc/include/sys/unistd.h: Add prototypes for
3567 fchmod, fchown, lchown.
3568
b489803a
JJ
3569Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3570
3571 * acinclude.m4: Changed release to 1.8.2.
3572 * aclocal.m4 configure doc/aclocal.m4 doc/configure
3573 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
3574 libc/machine/configure libc/machine/a29k/aclocal.m4
3575 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3576 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3577 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3578 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3579 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
3580 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3581 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3582 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3583 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3584 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3585 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3586 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3587 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3588 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3589 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3590 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3591 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3592 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3593 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3594 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3595 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3596 libc/machine/v850/configure libc/machine/w65/aclocal.m4
3597 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
3598 libc/machine/z8k/configure libc/sys/aclocal.m4
3599 libc/sys/aclocal.m4 libc/sys/configure
3600 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3601 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
3602 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
3603 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3604 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3605 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3606 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3607 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3608 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3609 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3610 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3611 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3612 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3613 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3614 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3615 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3616 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3617 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3618 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3619 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3620 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3621 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3622 libm/aclocal.m4 libm/configure: Regenerated.
3623
79908d67
NC
36242000-03-24 Nick Clifton <nickc@cygnus.com>
3625
3626 * libc/sys/arm/syscalls.c: Fix compile time warnings.
3627 (do_AngelSWI): Add "cc" to list o registers clobbered.
3628
7684ddaf
FN
3629Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
3630
3631 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
3632 information to be clobbered by an Angel C library support syscall.
3633
b8ec20c8
JJ
3634Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3635
3636 * libc/stdlib/envlock.c: Fixed comment typo.
3637
fae4c299
JJ
3638Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3639
3640 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
3641 code to update nread as each character is processed instead
3642 of using buffer contents which throw away leading zeroes.
3643
dc98804b
RK
3644Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
3645
3646 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
3647
5ed2f523
JJ
3648Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
3649
3650 * libc/include/string.h: Include <sys/types.h>.
3651
1cf0ee34
AO
3652Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3653
3654 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
3655 with XSH5, not SVID.
3656
e9c94978
JJ
3657Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
3658
3659 * libc/include/string.h: Changed last argument back to ssize_t
3660 to make it compatible with XPG4 definition which is
3661 defined in <unistd.h>. There is a conflict in the SVID 3
3662 and XPG4 definitions and newlib will settle with XPG4.
3663 * libc/string/swab.c: Ditto.
3664
3072163c
JJ
3665Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
3666
3667 * libc/include/string.h: Changed last argument to size_t.
3668 * libc/string/swab.c: Changed last argument to size_t.
3669
f205ea7a
AO
3670Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3671
3672 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
3673 (CHEWOUT_FILES): Added unlinkr.def.
3674 * libc/reent/Makefile.in: Rebuilt.
3675 * libc/sys.tex: Include unlinkr.def.
3676 * libc/reent/linkr.c (_unlink_r): Moved to...
3677 * libc/reent/unlinkr.c: ... new file.
3678
85dd2e5b
AO
3679Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3680
3681 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
3682 (CHEWOUT_FILES): Added swab.def.
3683 * libc/string/Makefile.in: Rebuilt.
3684 * libc/string/string.tex: Include swab.def.
3685 * libc/include/string.h (swab): Declare.
3686 * libc/string/swab.c: New file.
3687
c5053058
AO
3688Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3689
3690 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
3691 (CHEWOUT_FILES): Added getw.def and putw.def.
3692 * libc/stdio/Makefile.in: Rebuilt.
3693 * libc/stdio/stdio.tex: Include getw.def and putw.def.
3694 * libc/stdio/getw.c: New file.
3695 * libc/stdio/putw.c: New file.
3696
dbaf37cf
JJ
3697Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
3698
3699 * libc/stdio/flags.c (__sflags): Added check that mode[1]
3700 is non-null before looking at mode[2].
3701
bc019ef2
RK
3702Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
3703
3704 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
3705 * libm/mathfp/sf_atan.c: Ditto.
3706
3707Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
3708
3709 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
3710
cd641b2d
RK
3711Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
3712
3713 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
3714 _DOUBLE_IS_32BITS.
3715
b0ba0ac2
JJ
3716Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
3717
3718 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
3719 call prior to calling _VFPRINTF_R so reentrant data area is set.
3720 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
3721
8a0efa53
CF
3722Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3723
3724 * libc/stdio/vfscanf.c (limits.h): #include.
3725 (MAX_LONG_LEN): #define.
3726 (__svfscanf): Handle floating point numbers with arbitrary amounts
3727 of leading zeroes.
3728
37292000-02-15 Nick Clifton <nickc@cygnus.com>
3730
3731 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
3732 zero. Set the blocksize to 1024/
3733
3734Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
3735
3736 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
3737 with line buffering.
3738
3739Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3740
3741 * acinclude.m4: Changed include directory for winsup headers.
3742 * aclocal.m4 configure libc/aclocal.m4
3743 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
3744 libc/locale/Makefile.in libc/machine/aclocal.m4
3745 libc/machine/configure libc/machine/a29k/aclocal.m4
3746 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3747 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3748 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3749 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3750 libc/machine/fr30/configure
3751 libc/machine/h8300/aclocal.m4
3752 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3753 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3754 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3755 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3756 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3757 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3758 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3759 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3760 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3761 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3762 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3763 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3764 libc/machine/powerpc/configure
3765 libc/machine/sh/aclocal.m4
3766 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3767 libc/machine/sparc/configure
3768 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3769 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3770 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3771 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3772 libc/misc/Makefile.in libc/posix/Makefile.in
3773 libc/reent/Makefile.in
3774 libc/signal/Makefile.in
3775 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3776 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3777 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3778 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3779 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3780 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3781 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3782 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3783 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3784 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3785 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3786 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3787 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3788 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3789 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3790 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3791 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3792 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3793 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3794 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3795 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3796 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3797 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3798 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3799 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3800 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3801 libm/configure: Regenerated.
3802
3803Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
3804
3805 * libc/stdlib/putenv_r.c (_putenv_r): New file.
3806 * libc/stdlib/strdup_r.c (_strdup_r): New file.
3807 * libc/include/string.h: Added _strdup_r.
3808 * libc/stdlib/putenv.c: Added call to reentrant version.
3809 * libc/stdlib/strdup.c: Ditto.
3810 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3811 * libc/include/stdlib.h: Ditto.
3812 * libc/stdlib/Makefile.in: Regenerated.
3813 * libc/string/Makefile.in: Regenerated.
3814 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3815 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3816 management calls to reentrant versions.
3817 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3818 * libc/stdlib/wctomb.c: Ditto.
3819 * libc/stdlib/mblen.c: Ditto.
3820 * libc/stdlib/mbstowcs.c: Ditto.
3821 * libc/stdlib/mbtowc.c: Ditto.
3822 * libc/stdlib/getenv.c: Ditto.
3823 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3824 and _strdup_r.
3825
3826Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
3827
3828 patch from Corinna Vinschen <corinna@vinschen.de>
3829 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3830
bc019ef2 3831Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
3832
3833 * libm/mathfp/s_atangent.c: Fix exponent calculation.
3834 * libm/mathfp/s_ldexp.c: Ditto.
3835 * libm/mathfp/sf_atangent.c: Ditto.
3836 * libm/mathfp/sf_ldexp.c: Ditto.
3837
3838Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3839
3840 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3841 * libc/include/locale.h: define NULL to be 0.
3842
3843Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
3844
3845 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3846 function.
3847
3848Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
3849
3850 * libc/machine/mn10300/setjmp.S: Handle am33.
3851
38521999-11-26 Nick Clifton <nickc@cygnus.com>
3853
3854 * libc/sys/arm/syscalls.c: Add function prototypes.
3855 (stack_ptr): Move declaration before function definitions.
3856
3857Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3858
3859 * NEWS: Updated version information.
3860 * README: Ditto.
3861
3862Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
3863
3864 * libc/machine/i386/strchr.S: Fixed alignment test.
3865
3866Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
3867
3868 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3869
3870Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
3871
3872 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3873 ensuring that there is space between the two.
3874
3875Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
3876
3877 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3878 only.
3879
38801999-10-08 Vadim Egorov <egorovv@1c.ru>
3881
3882 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3883 section
3884
3885Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3886
3887 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3888 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3889
3890Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
3891 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3892 per POSIX 1003.1b.
3893 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3894 per POSIX 1003.1b.
3895
38961999-09-13 DJ Delorie <dj@cygnus.com>
3897
3898 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3899 also.
3900
3901Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
3902
3903 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
3904 also note BUFSIZ as its size.
3905
3906Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
3907
3908 * configure.host: Corrected feature defines for RTEMS.
3909 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3910 * libc/include/sys/stat.h: mkfifo() should take const path arg.
3911 * libc/include/sys/unistd.h: pathconf() should take const path arg.
3912 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3913 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3914 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
3915 _PC_PRIO_IO, and _PC_SYNC_IO.
3916 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3917 * libc/machine/m68k/Makefile.in: Regenerated.
3918 * libc/machine/m68k/strcpy.c: New file.
3919 * libc/machine/m68k/strlen.c: New file.
3920 * libc/stdio/tmpnam.c: Always make the returned name usable.
3921 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3922 * libc/sys/rtems/sys/dirent.h: New file.
3923 * libc/sys/rtems/sys/types.h: Added dev_t.
3924
3925Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
3926
3927 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3928
3929Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
3930
3931 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3932 my patch.
3933
3934Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
3935
3936 patch from Jeff Johnston <jjohnstn@cygnus.com>
3937 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3938 buffer is not in a useful state.
3939
39401999-09-01 Nick Clifton <nickc@cygnus.com>
3941
3942 * libc/sys/arm/syscalls.c (_link): Add stub.
3943
3944Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3945
3946 * ftell.c (ftell): Use actual position within buffer for text mode.
3947 * findfp.c (std): Initialize ptr->_bf._size.
3948
3949Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
3950
3951 * libc/include/sys/unistd.h: Add nice() declaration.
3952
39531999-08-09 Nick Clifton <nickc@cygnus.com>
3954
3955 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3956 declare as a thumb function so that the disassembler will see the
3957 mode change.
3958
3959Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3960
3961 * libc/reent/reent.tex: Updated list of reentrant functions.
3962
39631999-07-09 Michael Meissner <meissner@cygnus.com>
3964
3965 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3966
3967Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
3968
3969 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3970 separate file.
3971 * libc/stdio/snprintf.c: New file.
3972 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3973 separate file.
3974 * libc/stdio/vsnprintf.c: New file.
3975 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3976 * libc/stdio/Makefile.in: Regenerated.
3977
3978Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
3979
3980 Patch submitted by Egor Duda <deo@logos-m.ru>:
3981 * libc/include/stdio.h: Add declarations for *nprintf.
3982 * libc/stdio/sprintf.c (snprintf): New function.
3983 (_snprintf_r): New function.
3984 * libc/stdio/vsprintf.c (vsnprintf): New function.
3985 (_vnsprintf_r): New function.
3986
3987Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3988
3989 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3990 * libm/Makefile.am (stmp-targetdep): Ditto.
3991 * libc/Makefile.in: Regenerated.
3992 * libm/Makefile.in: Ditto.
3993
3994Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3995
3996 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3997 * libm/Makefile.am (stmp-targetdep): Ditto.
3998 * libc/Makefile.in: Regenerated.
3999 * libm/Makefile.in: Ditto.
4000
4001Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
4002
4003 * Makefile.am: Removed dependencies on all-recursive and added "."
4004 to the SUBDIRS list to prevent infinite recursion from occurring.
4005 Also removed any references to EXTRA_DATA.
4006 * libc/Makefile.am: Ditto.
4007 * libc/machine/Makefile.am: Ditto.
4008 * libc/machine/i386/Makefile.am: Ditto.
4009 * libm/Makefile.am: Ditto.
4010 * libc/sys/Makefile.am: Ditto.
4011 * Makefile.in: Regenerated.
4012 * aclocal.m4: Ditto.
4013 * configure: Ditto.
4014 * doc/Makefile.in: Ditto.
4015 * doc/aclocal.m4: Ditto.
4016 * doc/configure: Ditto.
4017 * libc/Makefile.in: Ditto.
4018 * libc/aclocal.m4: Ditto.
4019 * libc/configure: Ditto.
4020 * libc/machine/Makefile.in: Ditto.
4021 * libc/machine/aclocal.m4: Ditto.
4022 * libc/machine/configure: Ditto.
4023 * libc/machine/mn10300/Makefile.in: Ditto.
4024 * libc/machine/mn10300/aclocal.m4: Ditto.
4025 * libc/machine/mn10300/configure: Ditto.
4026 * libc/sys/Makefile.in: Ditto.
4027 * libc/sys/aclocal.m4: Ditto.
4028 * libc/sys/configure: Ditto.
4029 * libm/Makefile.in: Ditto.
4030 * libm/aclocal.m4: Ditto.
4031 * libm/configure: Ditto.
4032
4033Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4034
4035 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
4036
4037Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4038
4039 * libc/include/stdlib.h: Add reentrant routines.
4040 * libc/stdlib/Makefile.am: Add reentrant routines.
4041 * libc/stdlib/Makefile.in: Ditto.
4042 * libc/stdlib/envlock.c: New file.
4043 * libc/stdlib/envlock.h: New file.
4044 * libc/stdlib/getenv.c: Modify to call reentrant routine.
4045 * libc/stdlib/getenv_r.c: New file.
4046 * libc/stdlib/mblen.c: Modify to call reentrant routine.
4047 * libc/stdlib/mblen_r.c: New file.
4048 * libc/stdlib/setenv.c: Modify to call reentrant routine.
4049 * libc/stdlib/setenv_r.c: New file.
4050 * libc/stdlib/stdlib.tex: Add reentrant routines.
4051
4052Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
4053
4054 * libc/include/sys/types.h: Define __MS_types__ whenever
4055 cygwin or win32.
4056
4057Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
4058
4059 * libc/include/machine/ieeefp.h: Always default to little
4060 endian if Windows, regardless of architecture.
4061 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
4062 regardless of architecture.
4063
4064Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
4065
4066 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
4067 _WIN32 isn't defined.
4068
4069Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
4070
4071 * libm/common/s_rint.c (rint): Add volatile qualifier for
4072 intermediate value w.
4073 * libm/common/sf_rint.c (rintf): Ditto.
4074
4075Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
4076
4077 * libc/sys/arm/syscalls.c (remap_handle): Added check to
4078 ensure that std streams are initialized before being referenced.
4079
40801999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
4081
4082 * README: Update reference to newlib@cygnus.com new
4083 newlib@sourceware.cygnus.com address.
4084
4085Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
4086
4087 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
4088 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
4089 defined, even if _WIN32 isn't defined.
4090
4091Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
4092
4093 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
4094
4095Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4096
4097 * libc/include/sys/reent.h: Change Long and ULong to __Long and
4098 __ULong.
4099 * libc/stdlib/dtoa.c: Ditto.
4100 * libc/stdlib/mprec.c: Ditto.
4101 * libc/stdlib/mprec.h: Ditto.
4102 * libc/stdlib/strtod.c: Ditto.
4103
41041999-04-21 Nick Clifton <nickc@cygnus.com>
4105
4106 * configure.host (mcore): Remove mcore machine directory.
4107
41081999-04-18 Nick Clifton <nickc@cygnus.com>
4109
4110 * libc/include/machine/ieeefp.h: Add support for mcore target.
4111 * libc/include/machine/setjmp.h: Add support for mcore target.
4112 * configure.host: Add support for mcore target.
4113
41141999-04-13 Mark Salter <msalter@cygnus.com>
4115
4116 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
4117 * libc/sys/arm/syscalls.c: Added isatty.
4118
4119Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4120
4121 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
4122 insert zeroes after significant digits.
4123
4124Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4125
4126 * libc/stdio/vfprintf.c (cvt): Changed floating point
4127 cvt routine to use union used by dtoa to properly determine
4128 if the sign bit is on or not.
4129 * libc/stdio/vfieeefp.h: New file
4130
4131Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4132
4133 * aclocal.m4: Regenerated.
4134 * configure: Regenerated.
4135
4136Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
4137
4138 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
4139 f_tanf reference.
4140 * libc/machine/i386/Makefile.in: Regenerated.
4141
4142Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
4143
4144 * acinclude.m4: Changed to work with new automake.
4145 * configure: Regenerated.
4146 * libc/machine/i386/aclocal.m4: Regenerated.
4147 * libc/machine/i386/configure: Regenerated.
4148
4149Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
4150
4151 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
4152 for telldir() and seekdir(). Rename unused structure element
4153 for use with these two routines.
4154
4155Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
4156
4157 * libc/time/mktime.c (validate_structure): Multiple fixes to
4158 code to handle cases where input fields are outside valid ranges.
4159 * libc/stdlib/div.c (div): Modified invalid rounding check.
4160 * libc/stdlib/ldiv.c (ldiv): Ditto.
4161
4162Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
4163
4164 * libc/machine/i386/memcpy.S: Performance rewrite.
4165 * libc/machine/i386/memmove.S: Ditto.
4166 * libc/machine/i386/i386mach.h: Added more register definitions.
4167 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
4168 option used.
4169 * libc/include/machine/fastmath.h: Add definitions for x86
4170 fast-math routines.
4171
4172Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4173
4174 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
4175
4176Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
4177
4178 Adjust newlib headers for new Cygwin Win32 API header files:
4179 * libc/include/sys/time.h: Check _WINSOCK_H rather than
4180 _GNU_H_WINDOWS32_SOCKETS.
4181 * libc/include/sys/types.h: Ditto.
4182
4183Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
4184
4185 *include/sys/reent.h: Add checks for size of Bigint element Long.
4186 *libc/dtoa.c: Change routines to use generic Long type.
4187 *libc/mprec.c: Change routines to use generic Long type.
4188 *libc/mprec.h: Change routines to use generic Long type.
4189
4190Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
4191
4192 * libc/Makefile.am: Add .def files.
4193 * libc/Makefile.in: Regenerate.
4194 * libc/e_acosh.c: Documentation update.
4195 * libc/e_atanh.c: Documentation update.
4196 * libc/e_hypot.c: Documentation update.
4197 * libc/e_remainder.c: Documentation update.
4198 * libc/er_lgamma.c: Documentation update.
4199 * libc/mathfp.tex: Documentation update.
4200 * libc/s_acos.c: Documentation update.
4201 * libc/s_atan.c: Documentation update.
4202 * libc/s_atan2.c: Documentation update.
4203 * libc/s_cosh.c: Documentation update.
4204 * libc/s_fmod.c: Documentation update.
4205 * libc/s_isnan.c: Documentation update.
4206 * libc/s_log10.c: Documentation update.
4207 * libc/s_pow.c: Documentation update.
4208 * libc/w_jn.c: Documentation update.
4209
4210Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
4211
4212 * aclocal.m4: Regenerate.
4213 * configure: Regenerate.
4214
4215Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
4216
4217 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
4218 to return 1 if user specified return code is 0.
4219 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
4220
4221Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
4222
4223 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
4224 to save the return address. Fixed longjmp to return to the original
4225 calling address of setjmp and to return the user specified return code
4226 rather than default to 1.
4227 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
4228
4229Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
4230
4231 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
4232
42331999-02-10 Nick Clifton <nickc@cygnus.com>
4234
4235 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
4236 volatile so that its assignments will not be discarded.
4237
4238Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
4239
4240 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
4241 be __STRICT_ANSI__ which is generated by compiler.
4242 * libc/include/ctype.h: Ditto.
4243 * libc/include/math.h: Ditto.
4244 * libc/include/stdio.h: Ditto.
4245 * libc/include/stdlib.h: Ditto.
4246 * libc/include/string.h: Ditto.
4247 * libc/include/sys/signal.h: Ditto.
4248
42491999-02-08 Nick Clifton <nickc@cygnus.com>
4250
4251 * configure.host: Add support for StrongARM target.
4252
4253Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
4254
4255 * libc/string/strncpy.c (strncpy): Removed redundant code
4256 that was copying bytes if data unaligned.
4257
42581999-02-02 Brendan Kehoe <brendan@cygnus.com>
4259
4260 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
4261 mbstowcs.def, and wcstombs.def.
4262
4263Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
4264
4265 * libc/include/sys/errno.h: Add Cygwin errno.
4266 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
4267 is specified.
4268
42691999-01-29 Nick Clifton <nickc@cygnus.com>
4270
4271 * libc/sys/arm/syscalls.c: Move C library functions into seperate
4272 file.
4273
4274 * libc/sys/arm/libcfunc.c: New file containing C library functions
4275 from syscalls.c
4276
4277 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
4278 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
4279
4280
42811999-01-27 Michael Meissner <meissner@cygnus.com>
4282
4283 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
4284 type, and cut size in half so that the jmp_buf array is guaranteed
4285 to be aligned on a 64-bit boundary.
4286
4287Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
4288
4289 * libc/string/strings.tex: Added information about
4290 strcasecmp and strncasecmp.
4291 * libc/stdlib/stdlib.tex: Added missing information
4292 about mblen, mbstowcs, and wcstombs.
4293 * libc/string/strchr.c: Changed how mask is built to use
4294 shift operators so register will be used instead of storage.
4295
42961999-01-22 DJ Delorie <dj@cygnus.com>
4297
4298 * libc/include/stdlib.h: don't use dllimport if we're building
4299 newlib, since it's inside cygwin.dll
4300
4301Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
4302
4303 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
4304 _ctype_ under cygwin.
4305
4306Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
4307
4308 * include/stdlib.h: Fix typo from previous checkin.
4309
4310Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
4311
4312 * include/ctype.h: Use __declspec(dllimport) method for exporting
4313 variable from cygwin DLL.
4314 * include/time.h: Ditto.
4315 * sys/errno.h: Ditto.
4316 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
4317 * libc/locale/locale.c: Use __declspec(dllexport) method for
4318 exporting variable from cygwin DLL.
4319
4320Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
4321
4322 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
4323 access of bogus pointer will result in SIGSEGV.
4324
43251999-01-07 Nick Clifton <nickc@cygnus.com>
4326
4327 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
4328 of an underscore prefix to function names.
4329
4330Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
4331
4332 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
4333 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
4334
43351998-12-31 Michael Meissner <meissner@cygnus.com>
4336
4337 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
4338 to `%' if not already defined.
4339
43401998-12-30 Michael Meissner <meissner@cygnus.com>
4341
4342 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
4343 arguments const char *, not char *.
4344 * libc/include/stdio.h (_tempnam_r): Ditto.
4345
4346 * libc/include/sys/reent.h (struct _reent): The _sig_func type
4347 points to a function taking an integer, not void.
4348
4349Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
4350
4351 * configure.host: Add a define for Cygwin builds.
4352 * libc/include/ctype.h: Don't use dll imported variables in newlib.
4353
4354Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
4355
4356 * libc/include/ctype.h: Define _ctype_ as dll imported variable
4357 for use with Cygwin.
4358 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
4359 dll imported variables for use with Cygwin.
4360 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
4361 as a dll imported variable for Cygwin.
4362
4363Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
4364
4365 * libc/include/sys/unistd.h: Add proto for getpass.
4366
4367Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
4368
4369 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
4370 alphasort.
4371
4372Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
4373
4374 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
4375 not posix_path_list_p.
4376
43771998-12-15 Nick Clifton <nickc@cygnus.com>
4378
4379 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
4380 a signed int.
4381
43821998-12-13 Nick Clifton <nickc@cygnus.com>
4383
4384 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
4385
43861998-12-12 Nick Clifton <nickc@cygnus.com>
4387
4388 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
4389 <msalter@cygnus.com>
4390 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
4391 * libc/machine/fr30/Makefile.in: Regenerated.
4392
43931998-12-11 Nick Clifton <nickc@cygnus.com>
4394
4395 * configure.host: Remove use of libc/sys for FR30 port.
4396 * libc/sys/fr30: Remove directory (replaced by libgloss).
4397
43981998-12-10 Ken Raeburn <raeburn@cygnus.com>
4399
4400 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
4401 * libc/string/strncat.c (ALIGNED): Ditto.
4402
4403Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
4404
4405 * libc/include/sys/time.h: include sys/types.h
4406
4407Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
4408
4409 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
4410 comparison found when checking word at a time.
4411
44121998-12-04 Nick Clifton <nickc@cygnus.com>
4413
4414 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
4415
44161998-12-03 Nick Clifton <nickc@cygnus.com>
4417
4418 * libc/sys/fr30/syscalls.c (_times): New function stub.
4419
4420Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
4421
4422 * configure.host (mach_add_setjmp): Replaced mach_add_objs
4423 with mach_add_setjmp flag which indicates if setjmp should
4424 be added to the machine directory objects.
4425 * acinclude.m4: Removed reference to mach_add_objs.
4426 * aclocal.m4: Regenerated.
4427 * Makefile.in: Regenerated.
4428 * configure: Regenerated.
4429 * libc/aclocal.m4: Regenerated.
4430 * libc/Makefile.in: Regenerated.
4431 * libc/configure: Regenerated.
4432 * libc/machine/aclocal.m4: Regenerated.
4433 * libc/machine/Makefile.in: Regenerated.
4434 * libc/machine/configure: Regenerated.
4435 * libc/machine/i386/aclocal.m4: Regenerated.
4436 * libc/machine/i386/Makefile.am: Altered to selectively add
4437 setjmp.S to the src files list.
4438 * libc/machine/i386/Makefile.in: Regenerated.
4439 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
4440 * libc/machine/i386/configure: Regenerated.
4441
44421998-12-02 Nick Clifton <nickc@cygnus.com>
4443
4444 * libc/sys/fr30/crt0.s (_start): Fix function names.
4445
4446 * libc/machine/fr30: New directory
4447 * libc/machine/fr30/Makefile.am: New file.
4448 * libc/machine/fr30/Makefile.in: New generated file.
4449 * libc/machine/fr30/configure.in: New file.
4450 * libc/machine/fr30/configure: New generated file.
4451 * libc/machine/fr30/aclocal.m4: New generated file.
4452 * libc/sys/fr30/Makefile.am: New file.
4453 * libc/sys/fr30/Makefile.in: New generated file.
4454 * libc/sys/fr30/configure.in: New file.
4455 * libc/sys/fr30/configure: New generated file.
4456 * libc/sys/fr30/syscalls.c: New file.
4457
4458Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
4459
4460 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
4461
44621998-12-01 Ken Raeburn <raeburn@cygnus.com>
4463
4464 * libc/time/strftime.c (strftime): Also handle %y for years before
4465 1900.
4466
4467Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
4468
4469 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
4470 UNIX convention. Perform tolower on characters before comparing
4471 them rather than use toupper.
4472 * libc/string/strncasecmp.c (strncasecmp): Ditto.
4473
4474Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
4475
4476 * configure.host: Added using i386 machine directory
4477 for all x86 cross-compiler and configuring
4478 which added object files to use via new "mach_add_objs" variable.
4479 * configure: Regenerated.
4480 * libc/configure: Regenerated.
4481 * libc/Makefile.in: Regenerated.
4482 * libc/aclocal.m4: Regenerated.
4483 * libc/ctype/Makefile.in: Regenerated.
4484 * libc/errno/Makefile.in: Regenerated.
4485 * libc/locale/Makefile.in: Regenerated.
4486 * libc/machine/Makefile.in: Regenerated.
4487 * libc/machine/aclocal.m4: Regenerated.
4488 * libc/machine/configure: Regenerated.
4489 * libc/posix/Makefile.in: Regenerated.
4490 * libc/reent/Makefile.in: Regenerated.
4491 * libc/signal/Makefile.in: Regenerated.
4492 * libc/stdio/Makefile.in: Regenerated.
4493 * libc/stdlib/Makefile.in: Regenerated.
4494 * libc/string/Makefile.in: Regenerated.
4495 * libc/string/memmove.c: Optimized code to use memcpy
4496 logic when performing a non-destructive copy.
4497 * libc/string/strncmp.c: Altered code to allow building
4498 optimized for size or speed.
4499 * libc/syscalls/Makefile.in: Regenerated.
4500 * libc/time/Makefile.in: Regenerated.
4501 * libc/unix/Makefile.in: Regenerated.
4502 * libc/machine/i386/Makefile.am: Added new files and reference
4503 to "mach_add_objs" to indicate optional object files.
4504 * libc/machine/i386/Makefile.in: Regenerated.
4505 * libc/machine/i386/aclocal.m4: Regenerated.
4506 * libc/machine/i386/configure: Regenerated.
4507 * libc/machine/i386/memchr.S: New file that implements
4508 function in Intel assembler.
4509 * libc/machine/i386/memcmp.S: ditto.
4510 * libc/machine/i386/memcpy.S: ditto.
4511 * libc/machine/i386/memmove.S: ditto.
4512 * libc/machine/i386/memset.S: ditto.
4513 * libc/machine/i386/strchr.S: ditto.
4514 * libc/machine/i386/strlen.S: ditto.
4515 * libc/machine/i386/f_atan2.S: New file that implements
4516 fast version of math function to be used by compiler when
4517 --ffast_math compile option is used.
4518 * libc/machine/i386/f_atan2f.S: ditto.
4519 * libc/machine/i386/f_exp.c: ditto.
4520 * libc/machine/i386/f_expf.c: ditto.
4521 * libc/machine/i386/f_frexp.S: ditto.
4522 * libc/machine/i386/f_frexpf.S: ditto.
4523 * libc/machine/i386/f_ldexp.S: ditto.
4524 * libc/machine/i386/f_ldexpf.S: ditto.
4525 * libc/machine/i386/f_log.S: ditto.
4526 * libc/machine/i386/f_logf.S: ditto.
4527 * libc/machine/i386/f_log10.S: ditto.
4528 * libc/machine/i386/f_log10f.S: ditto.
4529 * libc/machine/i386/f_math.h: New file.
4530 * libc/machine/i386/f_pow.c: ditto.
4531 * libc/machine/i386/f_powf.S: ditto.
4532 * libc/machine/i386/f_tan.S: ditto.
4533 * libc/machine/i386/f_tan.S: ditto.
4534 * libc/machine/i386/i386mach.h: New file.
4535
4536Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
4537
4538 patch from Mumit Khan <khan@xraylith.wisc.edu>
4539 * libc/include/stdio.h (tempnam): Add prototype.
4540 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
4541 (tempnam): Adhere to prototype.
4542
4543Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
4544
4545 * Makefile.am: Add default for AR_FLAGS.
4546 * Makefile.in: Regenerate.
4547
4548Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
4549
4550 * libc/include/time.h: move __cplusplus wrapper after includes
4551 * libc/include/sys/time.h: ditto. If Cygwin, include
4552 sys/select.h.
4553 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
4554
45551998-11-23 Ken Raeburn <raeburn@cygnus.com>
4556
4557 * libc/time/strftime.c (strftime): Handle %y after year 2000.
4558
4559Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
4560
4561 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
4562 abnormnal end-of-crt0 marker.
4563
4564Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
4565
4566 * libc/sys/fr30/crt0.s: New file/directory.
4567 * libc/include/machine/setjmp.h: Add FR30 target.
4568 * libc/include/machine/ieeefp.h: Add FR30 target.
4569 * configure.host: Add FR30 target.
4570
4571Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4572
4573 * libm/math: Files that are duplicated in common directory removed.
4574 * libm/math/fdlibm.h: Removed.
4575 * libm/math/s_cbrt.c: Removed.
4576 * libm/math/s_copysign.c: Removed.
4577 * libm/math/s_expm1.c: Removed.
4578 * libm/math/s_finite.c: Removed.
4579 * libm/math/s_ilogb.c: Removed.
4580 * libm/math/s_infinity.c: Removed.
4581 * libm/math/s_lib_ver.c: Removed.
4582 * libm/math/s_log1p.c: Removed.
4583 * libm/math/s_logb.c: Removed.
4584 * libm/math/s_matherr.c: Removed.
4585 * libm/math/s_modf.c: Removed.
4586 * libm/math/s_nan.c: Removed.
4587 * libm/math/s_nextafter.c: Removed.
4588 * libm/math/s_rint.c: Removed.
4589 * libm/math/s_scalbn.c: Removed.
4590 * libm/math/sf_cbrt.c: Removed.
4591 * libm/math/sf_copysign.c: Removed.
4592 * libm/math/sf_expm1.c: Removed.
4593 * libm/math/sf_finite.c: Removed.
4594 * libm/math/sf_ilogb.c: Removed.
4595 * libm/math/sf_infinity.c: Removed.
4596 * libm/math/sf_log1p.c: Removed.
4597 * libm/math/sf_logb.c: Removed.
4598 * libm/math/sf_modf.c: Removed.
4599 * libm/math/sf_nan.c: Removed.
4600 * libm/math/sf_nextafter.c: Removed.
4601 * libm/math/sf_rint.c: Removed.
4602 * libm/math/sf_scalbn.c: Removed.
4603 * libm/math/Makefile.am: Removed references to deleted files (above).
4604 * libm/math/Makefile.in: Regenerated.
4605 * libm/Makefile.am: Added common directory to math.
4606 * libm/Makefile.in: Regenerated.
4607
4608Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4609
4610 * libm/mathfp: Add non-ANSI functions.
4611 * libm/mathfp/e_acosh.c acosh(): New file.
4612 * libm/mathfp/e_atanh.c atanh(): New file.
4613 * libm/mathfp/e_hypot.c hypot(): New file.
4614 * libm/mathfp/e_j0.c j0(): New file.
4615 * libm/mathfp/e_j1.c j1(): New file.
4616 * libm/mathfp/e_remainder.c remainder(): New file.
4617 * libm/mathfp/e_scalb.c scalb(): New file.
4618 * libm/mathfp/ef_acosh.c acoshf(): New file.
4619 * libm/mathfp/ef_atanh.c atanhf(): New file.
4620 * libm/mathfp/ef_hypot.c hypotf(): New file.
4621 * libm/mathfp/ef_j0.c j0f(): New file.
4622 * libm/mathfp/ef_j1.c j1f(): New file.
4623 * libm/mathfp/ef_remainder.c remainderf(): New file.
4624 * libm/mathfp/ef_scalb.c scalbf(): New file.
4625 * libm/mathfp/er_gamma.c gamma_r: New file.
4626 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
4627 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
4628 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
4629 * libm/mathfp/w_cabs.c cabs(): New file.
4630 * libm/mathfp/w_drem.c drem(): New file.
4631 * libm/mathfp/w_jn.c jn(): New file.
4632 * libm/mathfp/wf_cabs.c cabsf(): New file.
4633 * libm/mathfp/wf_drem.c dremf(): New file.
4634 * libm/mathfp/wf_jn.c jnf(): New file.
4635
4636Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
4637
4638 * libc/sys/cygwin32: remove directory and contents
4639 * libc/sys/cygwin: and add back, losing the "32".
4640 * configure.host: check for cygwin* instead of cygwin32.
4641 * acinclude.m4: ditto.
4642 * aclocal.m4: regenerate with aclocal
4643 * configure: regenerate with autoconf
4644
4645Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
4646
4647 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
4648 for length
4649
4650Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4651
4652 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
4653 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
4654 to make rand/srand, strtok, asctime, localtime, w_gamma,
4655 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
4656 time.h to bring in struct tm definition.
4657 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
4658 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
4659 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
4660 instead of static variable.
4661 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
4662 struct reent instead of static variable.
4663 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
4664 struct reent instead of static variable.
4665 * libm/math/Makefile.am: Removed s_signgam.o.
4666 * libm/math/Makefile.in: Regenerated.
4667 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
4668 struct reent instead of global variable 'signgam'.
4669 * libm/math/w_lgamma.c (lgamma): Likewise.
4670 * libm/math/wf_gamma.c (gammaf): Likewise.
4671 * libm/math/wf_lgamma.c (lgammaf): Likewise.
4672 * libm/math/s_signgam.c: Removed.
4673 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
4674 to be const.
4675 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
4676 to be const.
4677 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
4678 libc/include/reent.h.
4679 * libc/reent/Makefile.in: Regenerated.
4680 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
4681 to be const.
4682 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
4683 'JIS_action_table' to be const.
4684 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
4685
4686Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
4687
4688 * acinclude.m4: $with_target_subdir should default to '.'
4689 or confusion results when configuring in same directory as sources.
4690 * Regenerate all aclocal.m4 and configure files.
4691
4692Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
4693
4694 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
4695 can be set by defining MALLOC_ALIGNMENT=16. Also added support
4696 for platforms where sizeof(size_t) < sizeof(long) via
4697 SIZE_T_SMALLER_THAN_LONG macro.
4698
4699Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
4700
4701 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
4702 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
4703 which sets _CLOCKS_PER_SEC_ for selected machines.
4704 * libc/include/machine/time.h: New file.
4705
4706Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4707
4708 * libc/syscalls/sysexecve.c: New file.
4709 * libc/syscalls/sysgettod.c: New file.
4710 * libc/syscalls/systimes.c: New file.
4711 * libc/syscalls/Makefile.am: Added new objects.
4712 * libc/syscalls/Makefile.in: Regenerated.
4713 * libc/include/_syslist.h (_execve): Moved define in file.
4714 * libc/include/reent.h: Added _execve_r declaration.
4715 * libc/Makefile.in: Regenerated.
4716 * libc/ctype/Makefile.in: Regenerated.
4717 * libc/errno/Makefile.in: Regenerated.
4718 * libc/locale/Makefile.in: Regenerated.
4719 * libc/machine/Makefile.in: Regenerated.
4720 * libc/misc/Makefile.in: Regenerated.
4721 * libc/posix/Makefile.in: Regenerated.
4722 * libc/reent/Makefile.in: Regenerated.
4723 * libc/reent/execr.c (_execve_r): Added _execve_r function.
4724 * libc/signal/Makefile.in: Regenerated.
4725 * libc/stdio/Makefile.in: Regenerated.
4726 * libc/time/Makefile.in: Regenerated.
4727 * libc/unix/Makefile.in: Regenerated.
4728 * libm/mathfp/Makefile.in: Regenerated.
4729
4730Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4731
4732 * libc/string/Makefile.in: Regenerated.
4733 * libc/string/memchr.c (memchr): Moved code to reduce object size.
4734 * libc/string/memcpy.c (memcpy): Ditto.
4735 * libc/string/memcmp.c (memcmp): Ditto.
4736 * libc/string/memset.c (memset): Ditto.
4737 * libc/string/strchr.c (strchr): Ditto.
4738 * libc/string/strcmp.c (strcmp): Ditto.
4739 * libc/string/strcpy.c (strcpy): Ditto.
4740 * libc/string/strlen.c (strlen): Ditto.
4741
4742Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4743
4744 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
4745 to generate aclocal.m4.
4746 * libm/Makefile.in: Regenerated.
4747 * libm/aclocal.m4: Regenerated.
4748 * libm/configure: Regenerated.
4749 * libm/math/Makefile.in: Regenerated.
4750 * libm/mathfp/Makefile.in: Regenerated.
4751
47521998-09-25 Mark Salter <msalter@cygnus.com>
4753
4754 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
4755 by adding leading and trailing underscores to symbol names.
4756
4757Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
4758
4759 * Makefile.in: Add default for AR_FLAGS.
4760
4761Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
4762
4763 patch from ian@airs.com (Ian Taylor):
4764 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
4765 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
4766 is needed for detecting the build machine. Required for
4767 cygwin native builds.
4768
4769 * Regenerate all aclocal.m4 and configure files.
4770
4771Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
4772
4773 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
4774 used to start with LC.
4775
4776Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4777
4778 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4779 (longjmp): Likewise.
4780
4781Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4782
4783 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4784 the test for small number of bytes.
4785
4786Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4787
4788 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
4789 math library that uses floating point algorithms instead of the old
4790 libm.
4791 * Makefile.in: Regenerate with automake version 1.3b.
4792 * configure: Rebuild.
4793 * libm/Makefile.in: Regenerate with automake version 1.3b.
4794 * libm/aclocal.m4: Regenerate.
4795 * libm/configure: Rebuild.
4796 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4797 * libm/acinclude.m4: Define macros for configure.in.
4798 * libm/config.h.in: Generate.
4799 * libm/mathfp/Makefile.am: New file.
4800 * libm/mathfp/Makefile.in: Generate.
4801 * libm/mathfp/s_acos.c (acos): New file.
4802 * libm/mathfp/s_asin.c (asin): New file.
4803 * libm/mathfp/s_asine.c (asine): New file.
4804 * libm/mathfp/s_atan.c (atan): New file.
4805 * libm/mathfp/s_atan2.c (atan2): New file.
4806 * libm/mathfp/s_atangent.c (atangent): New file.
4807 * libm/mathfp/s_ceil.c (ceil): New file.
4808 * libm/mathfp/s_copysign.c (copysign): New file.
4809 * libm/mathfp/s_cos.c (cos): New file.
4810 * libm/mathfp/s_cosh.c (cosh): New file.
4811 * libm/mathfp/s_exp.c (exp): New file.
4812 * libm/mathfp/s_fabs.c (fabs): New file.
4813 * libm/mathfp/s_finite.c (finite): New file.
4814 * libm/mathfp/s_floor.c (floor): New file.
4815 * libm/mathfp/s_fmod.c (fmod): New file.
4816 * libm/mathfp/s_frexp.c (frexp): New file.
4817 * libm/mathfp/s_infconst.c: New file.
4818 * libm/mathfp/s_isinf (isinf).c: New file.
4819 * libm/mathfp/s_isnan.c (isnan): New file.
4820 * libm/mathfp/s_ispos.c (ispos): New file.
4821 * libm/mathfp/s_ldexp.c (ldexp): New file.
4822 * libm/mathfp/s_log.c (log): New file.
4823 * libm/mathfp/s_log10.c (log10): New file.
4824 * libm/mathfp/s_logarithm.c (logarithm): New file.
4825 * libm/mathfp/s_mathcnst.c: New file.
4826 * libm/mathfp/s_modf (modf).c: New file.
4827 * libm/mathfp/s_numtest.c (numtest): New file.
4828 * libm/mathfp/s_pow.c (pow): New file.
4829 * libm/mathfp/s_scalbn.c (scalbn): New file.
4830 * libm/mathfp/s_sin (sin).c: New file.
4831 * libm/mathfp/s_sine.c (sine): New file.
4832 * libm/mathfp/s_sineh.c (sineh): New file.
4833 * libm/mathfp/s_sinf.c (sinf): New file.
4834 * libm/mathfp/s_sinh.c (sinh): New file.
4835 * libm/mathfp/s_sqrt.c (sqrt): New file.
4836 * libm/mathfp/s_tan.c (tan): New file.
4837 * libm/mathfp/s_tanh.c (tanh): New file.
4838 * libm/mathfp/sf_acos.c (acosf): New file.
4839 * libm/mathfp/sf_asin.c (asinf): New file.
4840 * libm/mathfp/sf_asine.c (asinef): New file.
4841 * libm/mathfp/sf_atan.c (atanf): New file.
4842 * libm/mathfp/sf_atan2.c (atan2f): New file.
4843 * libm/mathfp/sf_atangent.c (atangent): New file.
4844 * libm/mathfp/sf_ceil.c (ceilf): New file.
4845 * libm/mathfp/sf_copysign.c (copysignf): New file.
4846 * libm/mathfp/sf_cos.c (cosf): New file.
4847 * libm/mathfp/sf_cosh.c (coshf): New file.
4848 * libm/mathfp/sf_exp.c (expf): New file.
4849 * libm/mathfp/sf_fabs.c (fabsf): New file.
4850 * libm/mathfp/sf_finite.c (finitef): New file.
4851 * libm/mathfp/sf_floor.c (floorf): New file.
4852 * libm/mathfp/sf_fmod.c (fmodf): New file.
4853 * libm/mathfp/sf_frexp.c (frexpf): New file.
4854 * libm/mathfp/sf_isinf.c (isinff): New file.
4855 * libm/mathfp/sf_isnan.c (isnanf): New file.
4856 * libm/mathfp/sf_ispos.c (isposf): New file.
4857 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4858 * libm/mathfp/sf_log.c (logf): New file.
4859 * libm/mathfp/sf_log10.c (log10f): New file.
4860 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4861 * libm/mathfp/sf_modf.c (modff): New file.
4862 * libm/mathfp/sf_numtest.c (numtestf): New file.
4863 * libm/mathfp/sf_pow.c (powf): New file.
4864 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4865 * libm/mathfp/sf_sin.c (sinf): New file.
4866 * libm/mathfp/sf_sine.c (sinef): New file.
4867 * libm/mathfp/sf_sineh.c (sinehf): New file.
4868 * libm/mathfp/sf_sinh.c (sinhf): New file.
4869 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4870 * libm/mathfp/sf_tan.c (tanf): New file.
4871 * libm/mathfp/sf_tanh.c (tanhf): New file.
4872 * libm/mathfp/zmath.h: New file.
4873
4874Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4875
4876 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4877 exit if it has been overwritten by pre-fetching in delay slot.
4878
48791998-09-01 Michael Meissner <meissner@cygnus.com>
4880
4881 * Makefile.am (tooldir): Add in host_alias, so that multilib
4882 libraries are installed in the directory the compiler looks in.
4883 * Makefile.in: Regenerate.
4884
4885 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4886
4887Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
4888
4889 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4890 ahead of test for number of bytes being moved.
4891
4892Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
4893
4894 * libc/include/sys/unistd.h: Nothing special needed for
4895 _exit under cygwin.
4896
4897Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
4898
4899 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4900 conform to user label naming conventions.
4901
4902Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
4903
4904 * libc/sys/cygwin32/sys/utime.h: variable names in
4905 protos should start with two leading underscores
4906 * libc/include/string.h: ditto
4907 * libc/include/sys/signal.h: ditto
4908 * libc/include/sys/stat.h: ditto
4909 * libc/include/sys/time.h: ditto
4910 * libc/include/sys/unistd.h: ditto
4911 * libc/include/ctype.h: ditto
4912 * libc/include/stdlib.h: ditto
4913 * libc/include/sys/reent.h: struct _atexit function ptr takes a
4914 void, same with _sig_func.
4915
4916Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
4917
4918 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4919 for MB_CAPABLE to reduce code size when newlib is not configured
4920 with --enable-newlib-mb.
4921 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4922 mbtowc_r.o to minimize size.
4923 * libc/stdlib/Makefile.in: Rebuild.
4924
4925Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
4926
4927 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4928 to -DREENT.
4929 * libc/sys/sparc64/Makefile.in: Rebuild.
4930
4931Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
4932
4933 * Makefile.am (MAKEOVERRIDES): Define.
4934 * Makefile.in: Rebuild.
4935
4936Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
4937
4938 * libc/sys/sparc64/sys/stat.h (stat): Add const.
4939
4940Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
4941
4942 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4943 newlib_cflags when looking for targ-include.
4944 * */aclocal.m4, */configure: Rebuild.
4945
4946Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
4947
4948 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4949 to "_end".
4950
4951Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
4952
4953 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4954 on SPARCs with little-endian data.
4955 * libc/include/machine/ieeefp.h: Ditto.
4956
4957Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
4958
4959 * acinclude.m4: Handle a relative srcdir correctly when setting
4960 newlib_cflags.
4961 * */aclocal.m4, */configure: Rebuild.
4962
4963Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
4964
4965 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4966 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4967 * libm/math/wrf_gamma.c (gammaf_r): ditto
4968 * libm/math/wr_lgamma.c (lgamma_r): ditto
4969 * libm/math/wr_gamma.c (gamma_r): ditto
4970 * libm/math/wf_sqrt.c (sqrtf): ditto
4971 * libm/math/wf_sinh.c (sinhf): ditto
4972 * libm/math/wf_scalb.c (scalbf): ditto
4973 * libm/math/wf_remainder.c (remainderf): ditto
4974 * libm/math/wf_pow.c (powf): ditto
4975 * libm/math/wf_log10.c (log10f): ditto
4976 * libm/math/wf_log.c (logf): ditto
4977 * libm/math/wf_lgamma.c (lgammaf): ditto
4978 * libm/math/wf_jn.c (jnf, ynf): ditto
4979 * libm/math/wf_j1.c (j1f, y1f): ditto
4980 * libm/math/wf_j0.c (j0f, y0f): ditto
4981 * libm/math/wf_hypot.c (hypotf): ditto
4982 * libm/math/wf_gamma.c (gammaf): ditto
4983 * libm/math/wf_fmod.c (fmodf): ditto
4984 * libm/math/wf_exp.c (expf): ditto
4985 * libm/math/wf_cosh.c (coshf): ditto
4986 * libm/math/wf_atanh.c (atanhf): ditto
4987 * libm/math/wf_atan2f.c (atan2f): ditto
4988 * libm/math/wf_asin.c (asinf): ditto
4989 * libm/math/wf_acosh.c (acoshf): ditto
4990 * libm/math/wf_acos.c (acosf): ditto
4991 * libm/math/w_sqrt.c (sqrt): ditto
4992 * libm/math/w_sinh.c (sinh): ditto
4993 * libm/math/w_scalb.c (scalb): ditto
4994 * libm/math/w_remainder.c (remainder): ditto
4995 * libm/math/w_pow.c (pow): ditto
4996 * libm/math/w_log10.c (log10): ditto
4997 * libm/math/w_log.c (log): ditto
4998 * libm/math/w_lgamma.c (lgamma): ditto
4999 * libm/math/w_jn.c (jn, yn): ditto
5000 * libm/math/w_j1.c (j1, y1): ditto
5001 * libm/math/w_j0.c (j0, y0): ditto
5002 * libm/math/w_hypot.c (hypot): ditto
5003 * libm/math/w_gamma.c (gamma): ditto
5004 * libm/math/w_fmod.c (fmod): ditto
5005 * libm/math/w_exp.c (exp): ditto
5006 * libm/math/w_cosh.c (cosh): ditto
5007 * libm/math/w_atanh.c (atanh): ditto
5008 * libm/math/w_atan2f.c (atan2): ditto
5009 * libm/math/w_asin.c (asin): ditto
5010 * libm/math/w_acosh.c (acosh): ditto
5011 * libm/math/w_acos.c (acos): ditto
5012
5013Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
5014
5015 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
5016 (fsrc): Add wf_cabs.c and wf_drem.c.
5017 * libm/math/Makefile.in: Rebuild.
5018
5019 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
5020 unused directory variables. Remove duplicate CFLAGS.
5021 * Makefile.in: Rebuild.
5022
5023 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
5024 with $(CC_FOR_BUILD).
5025 (makedoc.o): Likewise.
5026 * doc/Makefile.in: Rebuild.
5027
5028 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
5029 force a definition of COMPILE.
5030 (libfoo_a_SOURCES): Define.
5031 * libc/sys/cygwin32/Makefile.in: Rebuild.
5032 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
5033 force a definition of COMPILE.
5034 (libfoo_a_SOURCES): Define.
5035 * libc/sys/tic80/Makefile.in: Rebuild.
5036
5037Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
5038
5039 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
5040 flag.
5041
5042Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
5043
5044 * Build using autoconf and automake. Added many Makefile.am and
5045 configure.in files, plus generated files. Old configure.in files
5046 and all old Makefile.in files completely replaced. Removed
5047 host/any. Added acinclude.m4 and configure.host.
5048
5049Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
5050
5051 * libc/stdio/vfprintf.c: enable long long support, sometimes.
5052 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
5053
5054Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5055
5056 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
5057 * libc/machine/sh/Makefile.in: Add rules for new files.
5058
5059Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5060
5061 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
5062 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
5063 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
5064
5065Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
5066
5067 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
5068 code is ignored.
5069
5070Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
5071
5072 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
5073 internal static buffer when s is NULL, as prescribed by ANSI.
5074
50751998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
5076
5077 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
5078 removed.
5079 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
5080 libc/stdlib will be used for h8300hms.
5081
5082Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
5083
5084 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
5085 version that can be built either for speed or size.
5086 * libc/machine/mn10300/memset.S (_memset): ditto
5087 * libc/machine/mn10300/memchr.S (_memchr): ditto
5088 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
5089 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
5090 * libc/machine/mn10300/strchr.S (_strchr): ditto
5091 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
5092 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
5093 * libc/machine/mn10300/Makefile.in: Added entries for
5094 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
5095 strcmp.o, strcpy.o, and strlen.o.
5096
5097Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
5098
5099 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
5100 been replaced with libgloss/mn10200.
5101
5102Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
5103
5104 * libc/string/strchr.c (strchr): Make s a constant pointer to
5105 avoid warning.
5106
5107Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
5108
5109 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
5110 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
5111 board SWIs instead of Demon board SWIs).
5112
5113Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
5114
5115 * libc/string/strncat.c (strncat): Make -Os act the same as
5116 PREFER_SIZE_OVER_SPEED being defined.
5117
5118Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
5119
5120 * libc/string/memchr.c (memchr): Make -Os act the same as
5121 PREFER_SIZE_OVER_SPEED being defined.
5122 * libc/string/memcmp.c (memcmp): Ditto.
5123 * libc/string/memcpy.c (memcpy): Ditto.
5124 * libc/string/memset.c (memset): Ditto.
5125 * libc/string/strcat.c (strcat): Ditto.
5126 * libc/string/strchr.c (strchr): Ditto.
5127 * libc/string/strcmp.c (strcmp): Ditto.
5128 * libc/string/strcpy.c (strcpy): Ditto.
5129 * libc/string/strlen.c (strlen): Ditto.
5130 * libc/string/strncat.c (strncat): Ditto.
5131 * libc/string/strncmp.c (strncmp): Ditto.
5132 * libc/string/strncpy.c (strncpy): Ditto.
5133
5134Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
5135
5136 * libc/include/sys/itimer.h: remove
5137 * libc/include/sys/time.h: itimer stuff should be here
5138
5139Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
5140
5141 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
5142 bit instead of comparing to 0 so -0.0 can be printed correctly.
5143
5144Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5145
5146 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
5147
5148Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
5149
5150 * libc/include/sys/unistd.h: fix sync() proto
5151 * libc/include/sys/fcntl.h: remove _close which is already
5152 defined in unistd.h.
5153 * libc/include/sys/time.h: add getitimer proto
5154
5155Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
5156
5157 * libc/string/strchr.c: convert arg to unsigned char
5158 * libc/include/stdlib.h: add protos for random, srandom
5159 * libc/include/sys/stat.h: add lstat proto
5160 * libc/include/sys/time.h: add setitimer proto
5161 * libc/include/sys/unistd.h: add readlink, symlink protos
5162 * libc/include/process.h: instead of including windows.h and using
5163 HANDLEs in sexec protos, just use void *s. Need to include
5164 sys/types.h.
5165
5166Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
5167
5168 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
5169
5170Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
5171
5172 * libc/include/process.h: add secure exec protos
5173
5174Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
5175
5176 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
5177 which are accessed as both doubles and integers.
5178 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
5179 * libc/stdlib/strtod.c (_strtod_r): Likewise.
5180 * libc/stdlib/mprec.h: Add "union double_union" and change
5181 word0/word1 macros to use it.
5182
5183Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
5184
5185 * libc/include/sys/signal.h: add __cplusplus wrapper
5186
5187Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
5188
5189 * libc/include/sys/utime.h: new generic file that gets replaced by
5190 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
5191 function.
5192 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
5193 * libc/include/time.h: remove duplicate utime proto
5194 * libc/include/utime.h: add comment
5195
5196Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
5197
5198 * libc/include/sys/time.h: Add missing include to
5199 allow use of _EXFUN. Remove times function that is
5200 already defined in times.h.
5201
5202Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
5203
5204 * libc/include/time.h: Fix typo in tzset.
5205
5206Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
5207
5208 * libc/include/sys/time.h: add missing Cygwin32 function protos
5209 * libc/include/sys/unistd.h: ditto
5210 * libc/include/time.h: ditto
5211
5212Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
5213
5214 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
5215 FIXME.
5216 * libc/include/sys/types.h: add a new __MS_types__ section
5217 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
5218 __BIT_TYPES_DEFINED__.
5219
5220Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
5221
5222 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
5223 since it overrides the one in libc/include/sys. Also, start
5224 including types.h.
5225
5226Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
5227
5228 * libm/math/Makefile.in: add s_signgam.o to obj list
5229
5230Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
5231
5232 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
5233
5234Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
5235
5236 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
5237 so don't use defines.
5238
5239Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
5240
5241 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
5242
5243Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
5244
5245 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
5246 _current_locale as default locale.
5247
5248Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
5249
5250 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
5251 insufficient space in a chunk.
5252
5253Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
5254
5255 * configure.in (links): Added check for --enable-newlib-mb configure
5256 option which defines the MB_CAPABLE macro.
5257 * libc/locale/locale.c (_setlocale_r): Added support for setting
5258 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
5259 defined.
5260 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
5261 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
5262 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
5263 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
5264 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
5265 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
5266 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
5267 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
5268 * libc/stdlib/Makefile.in: Added new multibyte
5269 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
5270 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
5271 _mbstowcs_r(), and _wcstombs_r().
5272 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
5273 for JIS, SJIS, and EUC-JP characters.
5274 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
5275 MB_CAPABLE defined.
5276 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
5277 MB_CAPABLE defined.
5278 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
5279 MB_CAPABLE defined.
5280 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
5281 if MB_CAPABLE defined.
5282 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
5283 if MB_CAPABLE defined.
5284 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
5285 to the format string processing when MB_CAPABLE.
5286 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
5287 call _mbtowc_r().
5288
5289Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
5290
5291 The following modifications are courtesy of Anthony Thompson,
5292 athompson@cambridge.arm.com:
5293 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
5294 boith RDI and RDP monitors.
5295 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
5296 RDI and RDP monitors.
5297
5298Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
5299
5300 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
5301 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
5302 (_swiopen): Fixed open flags to treat write with append as just append.
5303 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
5304 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
5305
5306Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5307
5308 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
5309 When needing to transfer an initial 2-byte-word, store as
5310 two single bytes.
5311
5312Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5313
5314 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
5315 __SH3E__ .
5316 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
5317 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
5318
5319Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
5320
5321 * configure.in (target_cflags): If --enable-target-optspace, use
5322 -Os to compile newlib rather than -O2. Default to using -Os for
5323 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
5324 used.
5325
5326Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
5327
5328 * libc/include/machine/setjmp.h: change sigsetjmp and
5329 siglongjmp definitions to use an array instead of a struct
5330 for __CYGWIN32__
5331
5332Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
5333
5334 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
5335
5336Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
5337
5338 * libc/string/strxfrm.c: fix to get correct return value
5339
5340Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
5341
5342 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
5343 builds. Make mode change labels global so that they will be seen
5344 by the debugger.
5345
5346Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
5347
5348 * configure.in (links): Do not use ARM debiugging protocols for PE
5349 builds.
5350
5351 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
5352 message.
5353
5354Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
5355
5356 * libc/stdio/findfp.c (__sinit): Made stdout default to
5357 line buffered mode as defined by ANSI.
5358
5359Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
5360
5361 * libc/include/sys/itimer.h: New file.
5362
5363 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
5364
5365Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5366
5367 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
5368 failure.
5369
5370Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
5371
5372 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
5373 insns.
5374
5375Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
5376
5377 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
5378
5379Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
5380
5381 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
5382 support.
5383
5384 * libc/include/machine/setjmp.h: Add D30V support.
5385
5386 * configure.in (d30v-*): Add d30v machine directory.
5387
5388Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
5389
5390 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
5391 been replaced with libgloss/mn10300.
5392
5393Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
5394
5395 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
5396 it is no longer needed.
5397
5398Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
5399
5400 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
5401
5402Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
5403
5404 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
5405 the file when O_APPEND is set, wherever the EOF happens to be at
5406 that time.
5407
5408Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
5409
5410 patch from cgf@bbc.com (Christopher Faylor):
5411 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
5412 convention of closing fp prior to attempting to open the file
5413 argument. This allows correct operation when reopening
5414 stdin/stdout/stderr. Replaces last freopen.c patch.
5415
5416Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
5417
5418 patch from cgf@bbc.com (Christopher Faylor):
5419 * libc/stdio/freopen.c: freopen was not preserving the fd
5420 of the stream being operated on. This confuses programs that
5421 expect that the handles for stdout and stderr will be 1 and 2.
5422
5423Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
5424
5425 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
5426
5427Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
5428
5429 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
5430
5431Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
5432
5433 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
5434 altered to not use a branch. Also added hint that last
5435 bclr in longjmp will likely result in branch.
5436
5437
5438Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
5439
5440 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
5441
5442Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
5443
5444 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
5445 v850 builds.
5446
5447 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
5448
5449Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
5450
5451 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
5452 that loads FR14 to specify offset of 8 rather than 4
5453 so it loads from offset 96 (where setjmp stored it).
5454
5455Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
5456
5457 * libc/machine/sh/memcpy.S: (_memcpy): Update to
5458 latest version supplied by customer.
5459 * libc/machine/sh/memset.S (_memset): Ditto.
5460
5461Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
5462
5463 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
5464 PR14730).
5465
5466Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
5467
5468 * libc/include/string.h: remove redefinition of ffs
5469
5470Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
5471
5472 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
5473 defined
5474
5475Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
5476
5477 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
5478 TI Libraries to link to libc.a
5479
5480Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
5481
5482 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
5483 * libc/include/sys/stat.h (_{,f}stat): Ditto.
5484 * libc/include/sys/wait.h (_wait): Ditto.
5485 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
5486 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
5487
5488Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
5489
5490 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
5491 minded stabs so function name shows up when running the simulator
5492 with -t.
5493 * libc/sys/d10v/{crt0,trap}.S: Ditto.
5494
5495Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
5496
5497 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
5498 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
5499 Use R5 where we used to use R3.
5500
5501Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
5502
5503 * libc/stdlib/getopt.c (getopt): replaced __progname
5504 with nargv[0] to improve portability to imbedded systems.
5505
5506Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
5507
5508 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
5509 patch supplied by Tont.Thompson@arm.com to fix the creation of the
5510 stdout file.
5511
5512Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
5513
5514 * libc/stdio/tmpnam.c (worker): Generate a different file name
5515 each time.
5516
5517 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
5518 fails, try an execlp for sh.
5519
5520 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
5521 option for the winsup include directory.
5522
5523Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
5524
5525 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
5526 debugging interface from Tony.Thompson@arm.com.
5527
5528 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
5529 * libc/sys/arm/swi.h: ditto.
5530
5531Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
5532
5533 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
5534 DIR struct used for readdir hashes.
5535
5536Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
5537
5538 * libc/string/strchr.c: Use "unsigned chars" as necessary.
5539
5540Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
5541
5542 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
5543 integer targets.
5544
5545Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
5546
5547 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
5548 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
5549 * libc/include/malloc.h: Add extern "C" if __cplusplus.
5550 (__malloc_copy): Declare.
5551
5552Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
5553
5554 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
5555 <sys/config.h>.
5556 (POINTER_UINT): Define.
5557 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
5558 (MALLOC_ALIGNMENT): Don't define if already defined.
5559 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
5560 long.
5561
5562Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
5563
5564 * libc/string/memset.c (memset): Fiddle with code so that the long
5565 value being stored is not a stack value. Unroll storing longs 4
5566 times.
5567
5568Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
5569
5570 * Reduce code size for libm modules.
5571 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
5572 and simply move code into sqrt.
5573 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
5574 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
5575 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
5576 * libm/math/wr_gamma.c (gamma_r): Likewise.
5577 * libm/math/wf_sinh.c (sinfh): Likewise.
5578 * libm/math/w_sinh.c (sinh): Likewise.
5579 * libm/math/wf_scalb.c (scalbf): Likewise.
5580 * libm/math/w_scalb.c (scalb): Likewise.
5581 * libm/math/wf_remainder.c (remainderf): Likewise.
5582 * libm/math/w_remainder.c (remainder): Likewise.
5583 * libm/math/wf_pow.c (powf): Likewise.
5584 * libm/math/w_pow.c (pow): Likewise.
5585 * libm/math/wf_log10.c (log10f): Likewise.
5586 * libm/math/w_log10.c (log10): Likewise.
5587 * libm/math/wf_log.c (logf): Likewise.
5588 * libm/math/w_log.c (log): Likewise.
5589 * libm/math/w_lgamma.c (lgamma): Likewise.
5590 * libm/math/wf_lgamma.c (lgammaf): Likewise.
5591 * libm/math/wf_jn.c (jnf): Likewise.
5592 * libm/math/w_jn.c (jn): Likewise.
5593 * libm/math/wf_j1.c (j1f): Likewise.
5594 * libm/math/w_j1.c (j1): Likewise.
5595 * libm/math/wf_j0.c (j0f): Likewise.
5596 * libm/math/w_j0.c (j0): Likewise.
5597 * libm/math/wf_hypot.c (hypotf): Likewise.
5598 * libm/math/w_hypot.c (hypot): Likewise.
5599 * libm/math/wf_gamma.c (gammaf): Likewise.
5600 * libm/math/w_gamma.c (gamma): Likewise.
5601 * libm/math/wf_fmod.c (fmodf): Likewise.
5602 * libm/math/w_fmod.c (fmod): Likewise.
5603 * libm/math/wf_exp.c (expf): Likewise.
5604 * libm/math/w_exp.c (exp): Likewise.
5605 * libm/math/wf_cosh.c (coshf): Likewise.
5606 * libm/math/w_cosh.c (cosh): Likewise.
5607 * libm/math/wf_atanh.c (atanhf): Likewise.
5608 * libm/math/w_atanh.c (atanh): Likewise.
5609 * libm/math/wf_atan2.c (atan2f): Likewise.
5610 * libm/math/w_atan2.c (atan2): Likewise.
5611 * libm/math/wf_asin.c (asinf): Likewise.
5612 * libm/math/w_asin.c (asin): Likewise.
5613 * libm/math/wf_acosh.c (acoshf): Likewise.
5614 * libm/math/w_acosh.c (acosh): Likewise.
5615 * libm/math/wf_acos.c (asocf): Likewise.
5616 * libm/math/w_acos.c (acos): Likewise.
5617 * libm/math/wf_sqrt.c (sqrtf): Likewise.
5618 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
5619 for embedded systems.
5620
5621Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
5622
5623 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
5624 Lea in case of a foreign sbrk.
5625
5626Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
5627
5628 Incorporate Doug Lea's malloc:
5629 * libc/stdlib/mallocr.c: Completely replaced.
5630 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
5631 (realloc): Remove.
5632 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
5633 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
5634 mallopt.
5635 (mallinfo, malloc_stats, mallopt): New functions.
5636 (_mstats_r): Just call _malloc_stats_r.
5637 * libc/stdlib/malign.c: New file.
5638 * libc/stdlib/mlock.c: New file.
5639 * libc/stdlib/msize.c: New file.
5640 * libc/stdlib/mtrim.c: New file.
5641 * libc/stdlib/realloc.c: New file.
5642 * libc/stdlib/valloc.c: New file.
5643 * libc/stdlib/malloc.h: Remove.
5644 * libc/stdlib/callocr.c: Remove.
5645 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
5646 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
5647 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
5648 reallocr.o, valloc.o, vallocr.o.
5649 (CHEWOUT_FILES): Add mlock.def, mstats.def.
5650 (MALLOC_CFLAGS): New variable.
5651 (mallocr.o): New target, build from mallocr.c.
5652 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
5653 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
5654 (msizer.o, malloptr.o): Likewise.
5655 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
5656 (valloc.o): New target.
5657 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
5658 * libc/include/malloc.h: Declare struct mallinfo, and new
5659 routines.
5660 * libc/include/stdlib.h (cfree): Correct declaration.
5661
5662Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
5663
5664 * libc/include/machine/setjmp.h: Add support for Thumb target.
5665
5666 * libc/include/machine/ieeefp.h: Add support for Thumb target.
5667
5668 * configure.in (links): Add support for Thumb target.
5669
5670Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
5671
5672 * libc/sys/arm/setjmp.S: Updated with version from branch.
5673
5674Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
5675
5676 * libc/include/stdio.h: add POSIX-required define L_ctermid
5677 for ctermid
5678
5679Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
5680
5681 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
5682 addition to MISSING_SYSCALL_NAMES.
5683
5684Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5685
5686 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
5687
5688Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
5689
5690 * libc/include/string.h: change strsignal proto to return
5691 a char *. This eliminates compile problems in gdb resulting
5692 from gdb's definition of strsignal in defs.h.
5693
5694Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
5695
5696 * libc/sys/cygwin32/sys/utime.h: new (moved here from
5697 winsup/include) so as not to conflict with the one in
5698 libc/include.
5699 * libc/include/string.h: add protos for strsignal, strtosigno
5700
5701Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
5702
5703 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
5704
5705 * configure.in (d30v-*-*): Add configuration.
5706
5707Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
5708
5709 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
5710 to select which kind of debug monitor is in use for an ARM target.
5711
5712 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
5713 Angel and Demon debug monitors. Part of this code was supplied by
5714 Tony Thompson at ARM: athompso@arm.com.
5715
5716Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
5717
5718 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
5719 semantics when the count is greater than the length of the second
5720 source string.
5721
5722Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
5723
5724 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
5725 * libc/include/sys/unistd.h: add protos for usleep, truncate,
5726 truncate and ftruncate take off_t, not size_t
5727
5728Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
5729
5730 * libc/string/strcat.c (strcat): Add missing comment end.
5731 * libc/string/strncat.c (strncat): Likewise.
5732
5733Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
5734
5735 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
5736 targets.
5737 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
5738 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
5739 defined.
5740 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5741 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5742 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5743
5744Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
5745
5746 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
5747 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
5748
5749Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
5750
5751 * libc/machine/i386/setjmp.S: New file.
5752 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
5753 (OFILES): Add setjmp.o.
5754 (setjmp.o): Add rule for.
5755 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
5756
5757Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
5758 Jeffrey A Law (law@cygnus.com)
5759
5760 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
5761 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5762 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5763 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5764
5765Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
5766
5767 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
5768 rules.
5769
5770 * libc/include/sys/config.h: Use __v850 to select v850
5771 endianness.
5772
5773 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5774 buffer size.
5775
5776 * libc/include/machine/ieeefp.h: Use __v850 to select v850
5777 endianness.
5778
5779Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
5780
5781 * libc/stdlib/setenv.c: change unsetenv definition to match
5782 style of setenv (with _DEFUN). The string should be a const.
5783 * libc/include/stdlib.h: unsetenv proto should return void.
5784
5785Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
5786
5787 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5788
5789Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
5790
5791 * libc/stdio/glue.h: remove.
5792 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5793 * libc/stdio/Makefile.in: remove glue.h dependencies
5794
5795Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
5796
5797 * libc/sys/sysnecv850/crt0.S: Created V850e version.
5798
5799Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
5800
5801 * configure.in (target_cpu): Add `arc'.
5802
5803Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
5804
5805 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
5806 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5807 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5808 * newlib/libc/reent/reent.c: Add _wrapup_reent.
5809 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5810
5811Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
5812
5813 * libc/machine/mips/setjmp.S: Handle mips16 builds.
5814
5815Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
5816
5817 * libc/include/stdio.h (siprintf): Declare.
5818
5819Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
5820
5821 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5822 TARGET_CFLAGS and NEWLIB_FLAGS.
5823
5824Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
5825
5826 * configure.in (links): Add support for v850ea target.
5827
5828Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
5829
5830 * configure.in (links): Add support for v850e target.
5831
5832Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
5833
5834 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5835
5836Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
5837
5838 * configure.in (arc-*-*): Add support for.
5839 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5840
5841Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5842
5843 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5844
5845Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
5846
5847 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5848 comparison which accesses invalid memory when the key is
5849 larger than the last member of the array.
5850 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5851 for CYGWIN32
5852 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5853
5854Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
5855
5856 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5857 not _STRICT_ANSI.
5858
5859Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
5860
5861 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5862 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5863
5864Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
5865
5866 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5867 to load/store memory.
5868
5869Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
5870
5871 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5872 underscores if _WIN32.
5873
5874Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
5875
5876 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5877 support ifdef _USE_WRITE missed in last change.
5878 From Anders Blomdell <anders.blomdell@control.lth.se>.
5879
5880Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
5881
5882 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5883 (_tmpnam_r, _tempnam_r): Update.
5884
5885Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
5886
5887 * libc/machine/sparc/setjmp.S: New file.
5888 * libc/machine/sparc/Makefile.in: Add setjmp.
5889 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5890
5891Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
5892
5893 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5894
5895Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
5896
5897 From Joel Sherrill <joel@oarcorp.com>.
5898 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5899
5900 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
5901 * configure.in: Recognize *-*-rtems*.
5902 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5903 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5904 time.h,times.h,types.h}: New files.
5905 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5906
5907Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
5908
5909 patch from sos@prospect.com.ru (Sergey Okhapkin):
5910 * include/sys/wait.h: correct operator precidence bug
5911 in WIFSIGNALED
5912
5913Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
5914
5915 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5916 with newlib's unsetenv function
5917 * libc/sys/cygwin32/sys: new directory for includes
5918 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5919 here from winsup/include/sys
5920
5921Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
5922
5923 * libc/include/sys/unistd.h: _exit should only be
5924 labelled noreturn when not __CYGWIN32__
5925 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5926 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5927 increment NSIG
5928
5929Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
5930
5931 * libc/include/sys/time.h: Only define timeval and timezone if
5932 _GNU_H_WINDOWS32_SOCKETS is not defined.
5933 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5934
5935Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
5936
5937 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5938 * libc/machine/mn10300/setjmp.S: Likewise.
5939
5940 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5941 the mn10300 (more relaxing opportunities).
5942
5943Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
5944
5945 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5946 Build libraries with -mstrict-align.
5947
5948Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
5949
5950 * libc/string/strlwr.c: New file.
5951 * libc/string/strupr.c: New file.
5952 * libc/include/string.h: Declare strlwr and strupr.
5953 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5954 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5955 (strlwr.o, strupr.o): New targets.
5956 * libc/string/strings.tex: Include strlwr and strupr docs.
5957
5958 * libc/include/sys/types.h: Don't define u_char, et. al., if
5959 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
5960 et. al. Make FD_SETSIZE default 64 rather than 60. Define
5961 _types_fd_set rather than fd_set, and define fd_set as a macro.
5962
5963 * libc/include/malloc.h: New file.
5964
5965 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5966 strnicmp if they are not already defined.
5967
5968 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5969 _timezone, _daylight, and _tzname.
5970
5971Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
5972
5973 * configure.in: Sort all configuration tables.
5974
5975 From Joel Sherrill <joel@oarcorp.com>
5976 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5977
5978Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
5979
5980 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
5981 use int when declaring kill.
5982
5983 * libc/include/sys/timeb.h: New file.
5984
5985Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
5986
5987 * libc/include/sys/time.h: add itimer support for Cygwin32
5988
5989Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
5990
5991 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5992 out a message that abort was called to stderr.
5993
5994Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
5995
5996 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5997 so that libio doesn't freak.
5998
5999 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
6000 int.
6001
6002 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
6003 memory sizes, not int.
6004
6005Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
6006
6007 * libm/math/ef_hypot.c: Use long constants where
6008 appropriate.
6009 * libm/math/ef_sqrt.c: Ditto.
6010
6011 * libc/sys/sysmec/times.c(_times): Change to times.
6012
6013 * libc/sys/sysmec/read.c(_read): The third argument is
6014 size_t.
6015 * libc/sys/sysmec/write.c (_write): Ditto.
6016
6017 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
6018 (_lseek): It's off_t for the second argument.
6019
6020Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
6021
6022 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
6023 as well as machine/ieeefp.h.
6024
6025Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
6026
6027 * libc/include/sys/signal.h: add signal protos for winsup
6028 functions (when __CYGWIN32__), include types.h
6029 * libc/include/sys/types.h: Change __go32_types__ internal
6030 define to __MS_types__ since it's used for more than just
6031 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
6032 defined.
6033 * libc/include/sys/unistd.h: add ftruncate proto for
6034 winsup functions (when __CYGWIN32__)
6035
6036Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
6037
6038 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
6039
6040Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
6041
6042 * libc/include/machine/setjmp.h: Add tic80 support.
6043 * libc/machine/tic80/setjmp.S: Likewise.
6044
6045Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
6046
6047 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
6048 link programs from libraries only (such as in the X11
6049 distribution)
6050
6051Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
6052
6053 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
6054 supplied elsewhere in newlib.
6055
6056Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
6057
6058 * Makefile.in (INSTALL): Change install.sh to install-sh.
6059
6060Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
6061
6062 * README: update WWW address for on-line documentation.
6063
6064Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
6065
6066 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
6067 increment NSIG
6068
6069Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
6070
6071 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
6072 mn10300.
6073 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
6074
6075Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
6076
6077 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
6078 * libc/sys/d10v/syscalls.c: Likewise.
6079 * libc/sys/h8300hms/sbrk.c: Likewise.
6080 * libc/sys/h8500hms/syscalls.c: Likewise.
6081 * libc/sys/m88kbug/syscalls.c: Likewise.
6082 * libc/sys/sh/syscalls.c: Likewise.
6083 * libc/sys/sysmec/sbrk.c: Likewise.
6084 * libc/sys/sysnecv850/sbrk.c: Likewise.
6085 * libc/sys/w65/syscalls.c: Likewise.
6086 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
6087
6088Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
6089
6090 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
6091 emulated syscall instead of "trap".
6092
6093Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
6094
6095 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
6096 not trap 0.
6097
6098Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
6099
6100 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
6101
6102Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
6103
6104 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
6105 not "sh".
6106 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
6107 not "d10v".
6108 * libc/sys/tic80/crt0.c: New file for TIc80.
6109 * libc/sys/tic80/Makefile.in: New file for TIc80.
6110 * libc/machine/tic80/Makefile.in: New file for TIc80.
6111
6112Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
6113
6114 * libc/machine/sh/memcpy.S: New file.
6115 * libc/machine/sh/memset.S: New file.
6116 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
6117
6118Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
6119
6120 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
6121 for TIc80.
6122
6123Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
6124
6125 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
6126 the mn10200.
6127
6128Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
6129
6130 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
6131 (patch from andrew@pogo.WV.TEK.COM).
6132
6133Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
6134
6135 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
6136 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
6137
6138Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
6139
6140 * configure.in: Add cases for "tic80" to set machine_dir,
6141 sys_dir, and syscall_dir.
6142
6143Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
6144
6145 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
6146
6147Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
6148
6149 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
6150
6151Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
6152
6153 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
6154 Use proper constant prefix.
6155
6156Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
6157
6158 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
6159 that loses on the mn10200 where ints and pointers are different
6160 sizes.
6161
6162Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
6163
6164 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
6165 target as signal is provided in winsup.
6166
6167Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
6168
6169 * libc/include/sys/process.h: Corrected const definitions
6170 in spawn functions. Added cwait.
6171
6172Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
6173
6174 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
6175 doubles.
6176 * libc/include/sys/config.h: Similarly.
6177
6178Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6179
6180 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
6181 target_cflags.
6182 (i[3456]86-*-sco*): Ditto.
6183
6184 * libc/signal/Makefile.in (OFILES): Add signal.o.
6185 (CFILES): Add signal.c.
6186
6187 * libc/signal/raise.c (_raise_r): Only compile code if
6188 SIGNAL_PROVIDED is defined.
6189
6190 * libc/signal/signal.c: Redo whole file so that it works with
6191 current newlib. Use _kill_r if no signal handler provided.
6192
6193 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
6194 signal stubs.
6195 * libc/sys/sysvnecv70/Makefile.in: Ditto.
6196 * libc/sys/sysnecv850/Makefile.in: Ditto.
6197
6198 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
6199 * libc/sys/sysmec/{raise,signal}.c: Ditto.
6200 * libc/sys/sysvnecv70/signal.s: Ditto.
6201 * libc/sys/sysnecv850/raise.c: Ditto.
6202
6203 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
6204 simulator and debugger can tell the difference between a signal
6205 being raised and an exit system call.
6206
6207 * NEWS: Document software signals being provided.
6208
6209Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6210
6211 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
6212 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
6213 include/sys/config.h.
6214 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
6215 Change from 'inpure_data'.
6216 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
6217 &impure_data, not &inpure_data.
6218
6219 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
6220 and and System V ABI, define so that _impure_ptr lives in the
6221 .sdata section.
6222
6223Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6224
6225 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
6226 nothing if not defined.
6227 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
6228 its attributes.
6229
6230 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
6231
6232Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
6233
6234 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
6235 * libc/sys/sysmec/trap.s: Handle mn10200 too.
6236 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
6237
6238Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
6239
6240 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
6241
6242Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
6243
6244 * libc/include/sys/errno.h: Added net errno's.
6245
6246Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6247
6248 * libc/misc/ffs.c: New file to support ffs function for GCC test
6249 gcc.c-torture/execute/960909-1.c.
6250
6251 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
6252
6253Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
6254
6255 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
6256 * libc/sys/sysmec/trap.S: Likewise.
6257
6258Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
6259
6260 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
6261 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
6262
6263Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
6264
6265 * libc/sys/sysmec/signal.c: Dummy file.
6266 * libc/sys/sysmec/Makefile.in: Build it.
6267
6268Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
6269
6270 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
6271 mips16.
6272
6273Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
6274
6275 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
6276 c-startup and simulator traps.
6277
6278
6279 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
6280 * libc/sys/sysmec/trap0.S: Likewise.
6281
6282Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6283
6284 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
6285 round to double word alignment.
6286 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
6287 byte alignment.
6288
6289 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
6290
6291 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
6292 out of memory.
6293
6294Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
6295
6296 * configure.in: Handle mn10200 and mn10300.
6297 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
6298 * libc/include/sys/config.h: Likewise.
6299 * libc/sys/sysmec: New directory for mec stuff.
6300 * libc/machine/mn10300: New directory for mn10300 stuff.
6301 * libc/machine/mn10200: Similarly for mn10200 stuff.
6302
6303Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
6304
6305 * libc/sys/arm/crt0.S: Use .text, not .section .text.
6306 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
6307
6308 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
6309 (nlink_t): Change type from unsigned int to unsigned short.
6310 (mode_t): Ensure size is 32 bits even if int is 16.
6311 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
6312 (st_spare[123]): Change type from int to long.
6313
6314Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6315
6316 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
6317 byte boundary.
6318
6319 * configure.in (d10v*): Define SMALL_MEMORY.
6320
6321Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6322
6323 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
6324 -mrelocatable-lib and -mno-eabi flags.
6325
6326Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
6327
6328 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
6329 Fix handling of mis-aligned source operand when both the
6330 destination & length are properly aligned.
6331
6332Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
6333
6334 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
6335 times.o, time.o and gettime.o
6336 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
6337 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
6338 SYS_gettimeofday.
6339
6340Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
6341
6342 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
6343 * libc/sys/sysnecv850/access.c: New file.
6344
6345Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
6346
6347 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
6348
6349 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
6350 long.
6351
6352Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
6353
6354 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
6355
6356Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
6357
6358 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
6359 * libc/include/sys/config.h: Add m32r support.
6360
6361Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
6362
6363 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
6364 here.
6365
6366Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
6367
6368 * libc/include/machine/setjmp.h: Add D10v support.
6369
6370Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
6371
6372 * configure.in: Configure the "libc/syscalls" directory for
6373 the v850.
6374
6375 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
6376 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
6377 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
6378 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
6379 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
6380
6381Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
6382
6383 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
6384 stack for args for main and other routines. Zero out args for
6385 main.
6386
6387 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
6388 correctly.
6389
6390Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6391
6392 * libc/stdio/findfp.c (std): Remove extraneous ';' after
6393 function.
6394
6395 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
6396
6397 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
6398 real system calls now.
6399
6400 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
6401 before casting them to int.
6402 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
6403
6404 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
6405 aligning pointer.
6406 * libc/string/memset.c (memset): Ditto.
6407
6408 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
6409 first convert ints to _POINTER_INT to eliminate GCC warning.
6410
6411 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
6412 processing %p.
6413
6414 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
6415 from 65000 if ints are only 16 bits.
6416
6417 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
6418 from 50000 if ints are only 16 bits.
6419
6420 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
6421 int type that is the same size as a pointer.
6422
6423 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
6424 processing %p.
6425 (get_number): Explicitly cast number to long before shifting by 16
6426 or 24, in case ints are short.
6427
6428 * libc/include/sys/config.h (_POINTER_INT): Define as short.
6429
6430Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
6431
6432 * libc/string.h: Added ffs, removed swab.
6433 * libc/sys/errno.h: Added EOPNOTSUPP.
6434 * libc/sys/unistd.h: Added swab.
6435
6436Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
6437
6438 * libc/include/sys/stat.h: Added fchmod.
6439 * libc/include/sys/unistd.h: Added fsync.
6440
6441Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
6442
6443 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
6444 and ECONNRESET (104) for cygwin32.
6445
6446Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
6447
6448 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
6449 do the static destructors.
6450
6451Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
6452
6453 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
6454
6455Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
6456
6457 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
6458 * configure.in: Recognize m32r-*-*.
6459
6460Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
6461
6462 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
6463 __rt_stkovf_split_small): Added default software stack overflow
6464 handlers, which just call SWI_Exit.
6465 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
6466 limit initialisation.
6467
6468Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
6469
6470 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
6471
6472Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
6473
6474 * libc/include/sys/types.h: Added ssize_t definition.
6475
6476Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6477
6478 * libc/machine/d10v/setjmp.S: Use ';' for comments.
6479 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
6480
6481 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
6482 branch around a single ldi instruction.
6483
6484 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
6485 Call exit, instead of just issuing a stop instruction.
6486
6487Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6488
6489 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
6490
6491Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6492
6493 * libc/stdlib/mprec.h: Explicitly declare all large constants as
6494 longs, and then cast them to __uint32_t.
6495
6496 * libc/include/sys/config.h: Protect against multiple inclusions.
6497
6498Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
6499
6500 * configure.in (d10v*): Set syscall_dir.
6501
6502Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
6503
6504 * libc/sys/d10v/crt0.S: Set stack pointer.
6505
6506Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
6507
6508 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
6509 in assembly for efficiency. Change calling convention to allow
6510 long ints to be returned.
6511
6512Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6513
6514 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
6515
6516Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
6517
6518 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
6519 Handle empty entries in $PATH.
6520
6521Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
6522
6523 * libc/machine/d10v/setjmp.S: Make it really work.
6524
6525Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
6526
6527 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
6528 the .stack section.
6529
6530Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
6531
6532 * sys/sysnecv850/sys/file.h: Remove.
6533 * sys/sysnecv850/sys/syscall.h: New file.
6534 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
6535 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
6536 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
6537 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
6538 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
6539 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
6540 * sys/sysnec850/trap.S: New file.
6541 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
6542 syscalls.
6543 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
6544 * sys/sysnec850/sbrk.c: New version.
6545
6546Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
6547
6548 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
6549 as long as r6 is less than r7.
6550
6551Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
6552
6553 * Makefile.in (mostlyclean): Separate from clean target. Don't
6554 remove *.a or targ-include.
6555 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
6556
6557Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6558
6559 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
6560 d10v.
6561 (__SMALL_BITFIELDS): Ditto.
6562
6563 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
6564
6565Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
6566
6567 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
6568 prefix.
6569
6570 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
6571 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
6572 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
6573 * libc/sys/sysnecv850/write.c (write): Likewise.
6574
6575 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
6576 .bss.
6577
6578Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6579
6580 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
6581 appropriately for D10V, depending on -mint16/-mint32.
6582
6583Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
6584
6585 * configure.in: Add cases for D10V.
6586
6587Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6588
6589 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
6590
6591Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
6592
6593 * libc/include/machine/ieeefp.h: Fix typo.
6594
6595Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
6596
6597 * libc/sys/d10v: New directory for D10V stuff.
6598 * libc/include/machine/ieeefp.h: Add D10V defines.
6599
6600Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
6601
6602 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
6603 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
6604 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
6605 * libc/string/strerror.c (strerror): Add them.
6606
6607Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
6608
6609 * libc/sys/sysnecv850: New directory for v850 stuff.
6610
6611 * libc/machine/v850: New directory for v850 stuff.
6612 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
6613
6614 * configure.in: Add support for the v850.
6615
6616 * libc/include/machine/ieeefp.h: Add v850 defines.
6617 * libc/include/machine/setjmp.h: Likewise.
6618 * libc/include/sys/config.h: Add v850 defines.
6619
6620Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
6621
6622 * libc/include/machine/ieeefp.h
6623 * libc/include/machine/setjmp.h
6624 * libc/include/sys/fcntl.h
6625 * libc/include/sys/signal.h
6626 * libc/include/sys/types.h
6627 * libc/stdlib/system.c:
6628 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
6629 API availability, __CYGWIN32__ for cygwin32 environment specific).
6630
6631Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
6632
6633 * libc/include/stdlib.h: add multibyte character functions. Add
6634 __eprintf for assert.
6635
6636Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6637
6638 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
6639 arithmetic or __alignof__ to properly get the alignment, instead
6640 of hardwiring it to 4.
6641
6642Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
6643
6644 * libc/stdio/fseek.c: add fflush call to adjust seek offset
6645 on append stream (fix from NetBSD sources), adjust curoff offset
6646 for ungetc's benefit.
6647 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
6648 * libc/stdio/rewind.c: replace code with up to date NetBSD
6649 code to undo hacks made to work around above problem of not
6650 having fflush call mentioned above
6651
6652Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6653
6654 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
6655 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
6656 Partially revert last changes. The thread specific errno is set
6657 iff if the underlying syscall fails and the global errno is not
6658 zero.
6659
6660Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6661
6662 * libc/reent/filer.c: Removed files, all functions have split out
6663 into their own files.
6664 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
6665 New files containing functions formally in filer.c
6666 * libc/reent/Makefile.in: Updated for above change.
6667
6668 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
6669 syscall fails, not if errno is changed.
6670 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
6671 _write_r): Likewise.
6672 * libc/reent/fstatr.c (_fstat_r): Likewise.
6673 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
6674 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
6675 * libc/reent/signalr.c (_kill_r): Likewise.
6676 * libc/reent/statr.c (_stat_r): Likewise.
6677 * libc/reent/timer.c (_gettimeofday_r): Likewise.
6678
6679 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
6680 signalr.c, statr.c, timer.c} (errno): declare extern rather
6681 than as a common.
6682
6683 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
6684 instead of calling vfprintf so that i*printf will not require
6685 floating point support code.
6686
6687Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
6688
6689 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
6690 path delimiter.
6691 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
6692 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
6693
6694Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
6695
6696 * libc/include/signal.h: _sig_func_ptr function takes an int
6697 * libc/include/sys/signal.h: sa_handler function takes an int
6698
6699Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
6700
6701 * libc/include/machine/ieeefp.h: Simplify H8/S support.
6702 * libc/include/sys/config.h: Add missing H8/S conditional.
6703
6704Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
6705
6706 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
6707
6708Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
6709
6710 * libc/include/machine/setjmp.h: Handle H8/S.
6711 * libc/include/machine/ieeefp.h: Likewise.
6712 * libc/include/sys/config.h: Likewise.
6713 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
6714 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
6715 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
6716 * libc/sys/h8300hms/crt0.S: Likewise.
6717
6718Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6719
6720 * Makefile.in (datadir): Set to $(prefix)/share.
6721 (oldincludedir, docdir): Removed.
6722 * doc/Makefile.in (datadir): Set to $(prefix)/share.
6723 (oldincludedir, docdir): Removed.
6724 * libc/Makefile.in (datadir): Set to $(prefix)/share.
6725 (oldincludedir, docdir): Removed.
6726 * libm/Makefile.in (datadir): Set to $(prefix)/share.
6727 (oldincludedir, docdir): Removed.
6728
6729Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
6730
6731 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
6732 _reent struct.
6733
6734Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
6735
6736 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
6737 fetch current path rules with sysconf and handler posix/win32
6738 appropriately.
6739
6740 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
6741
6742 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
6743 (WAIT_CHILD): Always define.
6744
6745Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
6746
6747 * libc/stdlib/eprintf.c: New file.
6748 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
6749 (eprintf.o): New target.
6750
6751Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
6752
6753 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
6754 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
6755
6756Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
6757
6758 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
6759 NT in PowerPC endianess cases.
6760
6761Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6762
6763 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
6764
6765Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6766
6767 * libc/string/strtok.c: Fix doc typo.
6768
6769Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6770
6771 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
6772 _next, _scanpoint, _signgam fields.
6773
6774 * libc/include/stdlib.h (rand_r): Added new declaration.
6775 (_rand_r, _srand_r): Removed declarations.
6776 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6777 have been made obsolete by rand_r.
6778 * libc/stdlib/rand_r.c: New file, rand_r function as specified
6779 by POSIX.1c.
6780
6781 * libc/string/strtok.c: Update documentation to describe
6782 strtok_r().
6783
6784Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
6785
6786 * libc/include/sys/stat.h (stat structure): Use the expanded stat
6787 structure on Solaris, and PowerPC systems even though __svr4__ is
6788 defined.
6789
6790Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
6791
6792 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6793
6794Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
6795
6796 * host/any: Use ../.. rather than .. to get to the main build
6797 directory. This matches the current layout of the build
6798 directory.
6799
6800Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
6801
6802 * libc/machine/h8300/__main.S: Delete. No longer needed.
6803 * libc/machine/h8300/Makefile.in: Corresponding changes.
6804 * libc/sys/h8300hms/crt1.c: New file.
6805 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6806 * libc/sys/h8300hms/crt0.s: Call __main.
6807
6808 * libc/sys/h8300hms/crt0.S: Use temporary label names
6809 for branch targets.
6810
6811Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
6812
6813 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6814
6815Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6816
6817 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6818 .sdata on the PowerPC so that we can link newlib with code
6819 compiled with -msdata.
6820
6821Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
6822
6823 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6824
6825Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
6826
6827 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6828 exception handler to __cygwin_exception_handler.
6829
6830Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
6831
6832 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6833
6834Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
6835
6836 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6837 SunOS VPATH.
6838 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6839 wcstombs.o): Likewise.
6840
6841Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
6842
6843 * libc/stdlib/environ.c (initial_env): New static local.
6844 (environ): Point to `initial_env'.
6845
6846 * libc/include/machine/setjmp.h: Clean up.
6847 (__H8300H__,__PPC__): Define _JBTYPE.
6848 (__arm__): Provide entry for.
6849 (sigjmp_buf): Delete.
6850 (jmp_buf): Use _JBTYPE if defined, otherwise int.
6851
6852Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
6853
6854 * libc/machine/h8300/strcmp.S: Sign extend the result to
6855 32bits so we don't lose with -mint32.
6856
6857Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
6858
6859 * libc/sys/go32/sys/errno.h: New file.
6860 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6861 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6862 errno's address (make compatible with rest of newlib).
6863 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6864 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6865
6866Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
6867
6868 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6869 * libc/machine/sparc/Makefile.in: Build them.
6870 * libc/machine/sparc/machine/sparclet.h: New file.
6871
6872Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6873
6874 * libc/machine/sh/asm.h: New file.
6875 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
6876 support for SH3e's FP registers. Use asm.h.
6877
6878Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
6879
6880 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6881 as first argument. Call _dtoa_r and pass the reent structure
6882 instead of calling __dtoa.
6883
6884Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
6885
6886 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6887 the h8300, h8500, and others. Add comments for some rather
6888 dubious code.
6889
6890Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
6891
6892 * Makefile.in (check): Check that testsuite exists before cd.
6893
6894Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6895
6896 * libc/include/string.h (strsep): Correct prototype.
6897
6898Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
6899
6900 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6901 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6902 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6903
6904Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
6905
6906 * libc/posix/{creat.c,isatty.c}: New files.
6907 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6908
6909 * libc/sys/sparc64/crt0.S (environ): Delete.
6910 (.LHaveBias): Renamed from HaveBias.
6911
6912Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
6913
6914 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6915 (_morecore_r): Delete SBRK_IS_ALLOC support.
6916
6917Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6918
6919 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6920 module rather than touch, so we don't get warning messages when
6921 all of the libraries are combined into libc.a.
6922
6923Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
6924
6925 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6926 crt0.s replaced by version in libgloss.
6927
6928Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6929
6930 * libc/reent/Makefile.in (OFILES): Add impure.o.
6931 * libc/reent/impure.o: New file, define initial reentrancy struct.
6932 * libc/reent/reent.c: Remove above definition.
6933
6934 * libm/math/sf_asinh.c: Fix typo.
6935
6936 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6937 srf_ldexp.o.
6938
6939 * libm/libm.texinfo: Change documentation to reflect changes
6940 in reentrancy model.
6941 * libm/math/w_gamma.c: Likewise.
6942
6943Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
6944
6945 * configure.in (*-*-cygwin32): New.
6946 (*-*-win32): Deleted.
6947 * libc/sys/win32 renamed libc/sys/cygwin32.
6948
6949Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6950
6951 * libc/include/sys/file.h: New include file.
6952
6953Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
6954
6955 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6956
6957Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
6958
6959 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6960
6961Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6962
6963 * doc/makedoc.c (realloc): Declare at file scope.
6964 (catchar): Not here.
6965
6966Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
6967
6968 * Makefile.in (VERSION): Update to 1.7.0.
6969 * {libc,libm}/Makefile.in (VERSION): Likewise.
6970 * configure.in: Minor clean up of multilib stuff.
6971
6972 From David Johnson <davidj@ICSI.Berkeley.EDU>
6973 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6974
6975 * libc/stdlib/environ.c: New file.
6976 * libc/stdlib/Makefile.in (OFILES): Build it.
6977 * libc/sys/h8500hms/crt0.c (environ): Deleted.
6978 * libc/sys/m88kbug/crt0.c (environ): Deleted.
6979 * libc/sys/z8ksim/crt0.c (environ): Deleted.
6980 * libc/sys/netware/environ.c: Deleted.
6981
6982Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
6983
6984 * configure.in (links): set sys_dir, posix_dir, syscall_dir
6985
6986Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6987
6988 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6989 declaration out to external scope and declare it PTR, not char *.
6990
6991Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
6992
6993 * libc/include/sys/unistd.h (getpagesize): New declaration.
6994 (_SC_PAGESIZE): New definition.
6995 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6996 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6997
6998Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
6999
7000 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
7001 addressing. System call returns size, not (last address + 1).
7002
7003Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7004
7005 * libm/math/*.c: Removed _foo_r() reentrancy API.
7006 * libc/include/math.h: Removed _foo_r prototypes and macros.
7007
7008 * libm/math/*.c: On systems with IEEE single precision "doubles"
7009 move foo() -> foof() wrapper code from the files that implement
7010 the standard IEEE double precision functions to the files that
7011 implement IEEE single precision functions. (ie. On those systems
7012 sin is moved from s_sin.c to sf_sin.c). There should eventually
7013 be use of a C extension (like gcc's alias attribute) so that the
7014 wrappers are not needed at all.
7015
7016 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
7017 strict NEC V810 compiler.
7018 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
7019 for same reason.
7020
7021Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7022
7023 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
7024 from NetBSD C library.
7025 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
7026
7027 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
7028 and adapted from implementation I wrote for NetBSD C library.
7029 The difference is __assert doesn't take a format argument,
7030 so that there won't be multiple copies of the same string
7031 constant in the executable if assertions are enabled in
7032 more than one source module.
7033 * libc/include/assert.h (assert): Changed to call __assert.
7034
7035Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7036
7037 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
7038 word1 on systems with 32 bit doubles.
7039 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
7040 so that we can do arithmetic on them.
7041 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
7042 compilers.
7043
7044Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
7045
7046 * libc/sys/arm/crt0.S: Zero bss.
7047
7048Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
7049
7050 * libc/include/unctrl.h: New file.
7051 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
7052 * configure.in (subdirs): Add libc/misc.
7053 * libc/Makefile.in (SUBDIRS): Add misc.
7054 (SUBLIBS): Add misc/lib.a.
7055
7056 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
7057
7058Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
7059
7060 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
7061 (_vfprintf_r): Call CHECK_INIT.
7062
7063Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
7064
7065 * Makefile.in (MULTITOP): Delete.
7066 (MULTISRCTOP, MULTIBUILDTOP): Add.
7067 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
7068 instead of cfg-ml-pos.in.
7069
7070Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
7071
7072 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
7073 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
7074 presence.
7075
7076Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7077
7078 * libc/string/strtok.c: Include string.h to pick up strtok_r
7079 prototype.
7080
7081Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7082
7083 * libc/string/strtok.c: include <_ansi.h>.
7084 * libc/time/asctime_r.c: `reresult' -> `result'.
7085
7086Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7087
7088 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
7089 in #ifndef _REENT_ONLY ... #endif conditional.
7090
7091 * libc/include/string.h (_strtok_r): Remove declaration.
7092 * libc/include/time.h (_asctime_r): Remove declaration.
7093 * libc/string/strtok.c (_strtok_r): Removed.
7094 * libc/time/asctime.c (_asctime_r): Removed.
7095
7096 * libc/string/Makefile.in (OFILES): Add new object.
7097 * libc/string/strtok_r.c: New file. strtok_r function as
7098 specified by POSIX.1c, adapted from strtok implementation
7099 from NetBSD C library.
7100 * libc/string/strtok.c (strtok): Reimplemented in terms of
7101 strtok_r.
7102
7103 * libc/time/Makefile.in (OFILES): Add new objects.
7104 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
7105 New files, reentrant time functions specified by POSIX.1c.
7106 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
7107 reentrant time functions re-written in terms of reentrant
7108 functions.
7109 * libc/time/lcltime.c: Renamed from localtime.c
7110
7111 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
7112 gmtime_r, and localtime_r.
7113
7114Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
7115
7116 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
7117 * libc/include/sys/unistd.h (getlogin): Revert change of
7118 Oct 19.
7119 * libc/include/sys/signal.h (sigprocmask): Change prototype
7120 so it compiles with c++.
7121
7122Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
7123
7124 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
7125 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
7126 to give some room in case we need to align the jmp_buf.
7127
7128 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
7129 the new ppc-asm.h include file the compiler provides to specify
7130 function prologue/epilogue. Eliminate saves of the xer and ctr
7131 registers, which are volatile. Before starting to save registers,
7132 align to 8 byte boundary.
7133
7134Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
7135
7136 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
7137 referenced by standard libraries.
7138
7139Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
7140
7141 * libc/unix/Makefile.in, libc/string/Makefile.in,
7142 libc/stdio/Makefile.in, libc/reent/Makefile.in,
7143 libc/posix/Makefile.in:
7144 Remove tabs from otherwise empty line. Confuses some
7145 older non-GNU versions of "make".
7146
7147Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
7148
7149 * libc/sys/unistd.h (getlogin): Returns const char *.
7150
7151Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
7152
7153 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
7154 * libc/include/errno.h: Moved into and include...
7155 * libc/include/sys/errno.h: New file.
7156 * libc/include/sys/wait.h: New file.
7157 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
7158 * libc/sys/win32/*: Moved out.
7159 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
7160 * configure.in (i[345]86-*-win32): HAVE_RENAME
7161
7162Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7163
7164 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
7165 avoid macro expansion for these two names.
7166
7167Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
7168
7169 * libc/machine/h8500/psi.S: r6 renamed to fp.
7170
7171Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
7172
7173 * configure.in (powerpc*): No longer need to define
7174 NO_LONGLONG_POINTERS to supress warnings.
7175
7176Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7177
7178 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
7179 through PTR instead of directly.
7180
7181 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
7182 non-standard constructor support.
7183
7184Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7185
7186 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
7187 address of the Bigint instead of the address of its _x field,
7188 as the size the result buffer was calculated accordingly.
7189 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
7190
7191 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
7192 from NetBSD C library. No longer special cases division by
7193 zero (which needs to be done by the application anyway), but
7194 it doesn't need to call abs() (or labs()) four times either.
7195
7196 * libc/stdlib/qsort.c: Replaced with implementation from
7197 NetBSD C library.
7198
7199Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7200
7201 * libc/stdio/vfprintf.c: Replaced with implementation from
7202 NetBSD C library (which is derived from the 4.4BSD C library).
7203 * libc/stdio/cvt.c: Removed.
7204 * libc/stdio/Makefile: Updated.
7205
7206Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
7207
7208 * libc/sys/win32/syscalls.c (rename): New.
7209 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
7210
7211Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7212
7213 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
7214 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
7215
7216 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
7217 (setjmp.o): Delete rule to build setjmp.o.
7218 * libc/sys/sh/setjmp.S: Delete file.
7219
7220Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7221
7222 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
7223 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
7224 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
7225 pow5mult and s2b to identifiers with leading underscores.
7226 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
7227 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
7228
7229Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
7230
7231 * libc/sys/posix/popen.c (sys/types.h): Include.
7232
7233Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
7234
7235 * libc/sys/win32/syscalls.h (fhandler): New struct.
7236 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
7237 (__fhandler_normal): Declare.
7238 (hinfo): New member op_handlers.
7239 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
7240 (__write): Likewise.
7241 (_read, _write, _open, _close, _lseek): Validate fd here.
7242 Move file type specific stuff to foo_normal.
7243 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
7244 New functions.
7245 (__lookup_fhandler): New function.
7246 (__lookup_fhandler_hook, __fhandler_normal): New variables.
7247
7248 From anders.blomdell@control.lth.se (Anders Blomdell)
7249 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
7250 Don't touch standard handles.
7251 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
7252 (_execve): Only create __FD_TABLE__ if necessary.
7253 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
7254
7255Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
7256
7257 * libc/sys/win32/sys/termios.h (FLUSHO): New.
7258 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
7259 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
7260 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
7261 without a handler is received.
7262 * libc/sys/win32/Makefile.in: Remove --nodelete.
7263 * libc/sys/win32/resouce.c (gettimeofday): New.
7264 * libc/sys/win32/syscalls.c (path_to_real_path): New.
7265 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
7266
7267Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
7268
7269 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
7270 Don't append "/*" to search pattern if trailing '/' already there,
7271 append "*".
7272 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
7273 like /'s, convert them to \'s. Handle //<drive>/ path names.
7274 Add space for quoted \'s in arg string. Print translated prog name
7275 and original prog name.
7276 (_execve): Handle parent doing exec a teensy bit better.
7277 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
7278 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
7279 path needs conversion, handle both cases. Delete `const' from result.
7280 (hash_path_name): New function.
7281 (_open): Call it.
7282 (_stat): Likewise. Fill in more fields for directories.
7283 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
7284 (wait_for_any): Fix trace message.
7285 (waitpid): Explicitly test for intpid == 0.
7286
7287 From anders.blomdell@control.lth.se (Anders Blomdell)
7288 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
7289 so `next' is valid.
7290
7291Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
7292
7293 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
7294 complicated.
7295
7296Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7297
7298 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
7299 at all, not just == 1.
7300 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
7301
7302Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7303
7304 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
7305 * libc/sys/win32/include/wintypes.h: include <winnt.h>
7306 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
7307 file.
7308
7309Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
7310
7311 * libc/sys/syscalls.c (getcwd): Fix off by one error.
7312
7313 * libc/sys/signal.c (sleep): Fill it in.
7314 * libc/sys/termios.c (tcflush): Use PurgeComm
7315 (tcsetattr): Set some more of the bits.
7316 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
7317
7318Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
7319
7320 * libc/sys/arm/crt0.S (fp): Initialize to 0.
7321 Conditionally include .idata$3 stuff ifdef __pe__.
7322
7323Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
7324
7325 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
7326 * libc/sys/win32/pipe.c (pipe): Ditto.
7327 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
7328 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
7329 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
7330 (tcgetattr): Contents are new.
7331 * libc/sys/win32/include/winkernel.h (DCB): New.
7332 (GetCommState, SetCommState): New.
7333
7334Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
7335
7336 * libc/sys/arm/crt0.S (_start): Define.
7337
7338Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
7339
7340 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
7341 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
7342
7343 * libc/sys/win32/sysconf.c: New
7344 * libc/sys/win32/sys/winadvapi.h: New
7345 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
7346 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
7347 * libc/sys/win32/pipe.c (pipe): Ditto.
7348 * libc/sys/win32/signal.c (_raise): New.
7349 (_kill): Moved from spawn.c
7350 * libc/sys/win32/spawn.c (kill): Moved to signal.c
7351 * libc/sys/win32/syscalls.c (__read): Use new fields.
7352 (_open): Ditto.
7353 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
7354 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
7355 * libc/include/sys/unistd.h (rmdir): Takes const path.
7356 * libc/include/sys/stat.h (mkdir): Takes const path.
7357 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
7358
7359Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
7360
7361 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
7362
7363 Add support for specifying paths as //<drive>/foo/bar.
7364 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
7365 (__path_to_real_path): Declare.
7366 (PATH_TO_REAL_PATH): New macro.
7367 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
7368 (__path_needs_conversion_p, __path_to_real_path): New functions.
7369 (_open): Fix test for error return from CreateFileA.
7370 Handle new path syntax.
7371 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
7372 * libc/sys/win32/dirsearch.c (opendir): Likewise.
7373
7374Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
7375
7376 * libc/sys/win32/include/*.h: Reorganized
7377 * libc/sys/win32/include/WINREADME: New.
7378 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
7379 * libc/sys/win32/*.c: Fix for new include scheme.
7380 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
7381 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
7382 * libc/sys/win32/passwd.c (*): Fix.
7383 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
7384 (_stat): Get directory owner and permissions right.
7385 * libc/sys/win32/syscalls.h (uinfo): New.
7386 * libc/sys/win32/version.def: Remove leading underscores.
7387
7388Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7389
7390 * libc/sys/win32/key.c: include "include/wincon.h".
7391
7392Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
7393
7394 * libc/sys/win32/{key, stubs}.c: New.
7395 * libc/sys/win32/Makefile: Adjust to cope.
7396 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
7397 (environ_init): Change env names to upper case.
7398 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
7399 * libc/sys/win32/passwd.c (*): Fill in the functions.
7400 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
7401 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
7402 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
7403 (_open): Initialze hmap->execable_p too.
7404 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
7405 (_fstat): Fill in permissions.
7406 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
7407
7408Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
7409
7410 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
7411 if defined.
7412 (cfg-ml-pos.in invocation): Likewise.
7413
7414Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7415
7416 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
7417 s_isnan.o and sf_isnan.o.
7418
7419Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
7420
7421 * All Makefile.in files: added maintainer-clean target as a
7422 synonym for realclean.
7423
7424Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
7425
7426 * libc/include/machine/setjmp.h: Add hppa support.
7427 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
7428 support.
7429 * libc/machine/hppa/Makefile.in: Related changes.
7430
7431Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
7432
7433 * configure.in (machine_dir): Don't set for v810-*-*.
7434
7435Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7436
7437 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
7438 conventions correctly.
7439
7440Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
7441
7442 * libc/stdio/puts.c: Update documentation of return value to match
7443 ANSI standard.
7444
7445Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
7446
7447 Fix file descriptor inheritance.
7448 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
7449 (NOT_OPEN_FD): Fix.
7450 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
7451 close-on-exec flag not set. Initialize child's entire fd table.
7452 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
7453 CHILD_P.
7454 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
7455 if CHILD_P. Initialize entire hmap entry.
7456 (dup): Only create new handle as inheritable if CHILD_P.
7457 (dup2): Likewise. Properly initialize hmap entry.
7458
7459 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
7460 _spawn.
7461 (_exit): Use CHILD_P.
7462 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
7463 (_stat): Likewise.
7464
7465Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7466
7467 * libc/sys/win32/crt0.c (passover): fix up the state table.
7468 * libc/posix/popen.c: Added.
7469 * libc/posix/Makefile.in: compile popen.c.
7470
7471Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
7472
7473 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
7474 h8/500 define _DOUBLE_IS_32BITS.
7475
7476Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
7477
7478 Get vfork/exec/spawn/cwait/wait working again.
7479 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
7480 (procinfo): New member vfork_level.
7481 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
7482 (vfork_init_first): Use GetCurrentProcessId to get pid.
7483 Initialize vfork_level.
7484 (vfork_init): Delete __PID__.
7485 (environ_init): New function. Undo patch of Aug 19, Posix says
7486 environment variables are case sensitive.
7487 (mainCRTStartup): Call it.
7488 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
7489 (my_longjump: Make static.
7490 (_spawn): New argument `h'. Delete setting of __PID__.
7491 Delete local `idx'. Look for chars that need quotes, rather than
7492 ones that don't. Set handle of created process in `h'.
7493 Result is process id if created task.
7494 (allocate_spawn_entry): New function.
7495 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
7496 (_execve): Set __FD_TABLE__ before spawning child.
7497 Scan our fd table when passing fds, not our parent's.
7498 Store handle and pid in procinfo entry.
7499 (vfork0): Ensure strace message always printed.
7500 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
7501 (vfork): Don't clobber result of vfork0.
7502 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
7503 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
7504
7505 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
7506 and `exit_code'.
7507 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
7508 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
7509 adding vfork level to pseudo-pid.
7510 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
7511 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
7512 (_exit): If child, set exit code.
7513 (__vfork_record_death): Only close process handle if valid.
7514 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
7515 didn't exec.
7516 (wait_for_any): Likewise. Start scan after root entry.
7517
7518Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7519
7520 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
7521 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
7522 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
7523 of actual file length.
7524
7525 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
7526 * libc/include/paths.h: _PATH_BSHELL added.
7527 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
7528 and STDERR_FILENO.
7529
7530Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7531
7532 * libc/include/ar.h: Added.
7533 * libc/include/sys/types.h: ino_t goes back to 32-bits.
7534 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
7535 * libc/sys/win32/syscalls.c (_open): compute .namehash based
7536 on filename.
7537 (_fstat): use .namehash for inode number of the fd.
7538
7539Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
7540
7541 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
7542 Change hinfo to __this_procinfo.
7543 * libc/sys/win32/crt0.c: Remove procinfo_list.
7544
7545Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7546
7547 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
7548 win32 environment.
7549
7550Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7551
7552 * libc/sys/win32/include/grp.h: Removed.
7553 * libc/sys/include/grp.h: Added.
7554 * libc/sys/win32/grp.c: Include <grp.h>.
7555
7556Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
7557
7558 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
7559 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
7560 Defined for all but strict ANSI.
7561 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
7562 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
7563 * libc/signal/signal.c (_signal_r): Changed from using
7564 _MAX_SIGNALS to NSIG.
7565 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
7566 __hmap): Deleted.
7567 (__strace, __vfork_next_pid): New.
7568 (__exe_suffix): Default to 1.
7569 (passover, table): Understand quoted arguments.
7570 (vfork_init_first): New.
7571 (vfork_init): Initialize new process structure.
7572 (mainCRTStartup): Pass environ to main.
7573 * exceptions.c (__sig_mask): New
7574 (ehandler3): Ignore signals in mask.
7575 (really_exit): Remove CHILD_P test.
7576 * pipe.c (pipe, dup, dup2): Use new process and file structure.
7577 * resource.c (getrusage): Ditto.
7578 * signal.c (sigprocmask): New.
7579 * spawn.c (*): Rewritten.
7580 * syscalls.c (*): Use new process and file structure.
7581 (find_unused_handle): New.
7582 * syscalls.h (MAX_HANDLES): Deleted.
7583 (hinfo): Removed child_created_p.
7584 (MAX_CHILDREN): Deleted.
7585 (vfork_jmp_info, procinfo): New.
7586 * wait.c (*): Mostly new.
7587 * sys/strace.h (_STRACE_PARANOID): New.
7588 * sys/param.h: New file.
7589
7590Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7591
7592 * libc/include/sys/stat.h: add S_BLKSIZE.
7593 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
7594 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
7595 types under win32.
7596 (mode_t): add a #else to avoid multiple definitons.
7597
7598 * libc/sys/win32/Makefile.in: add grp.c.
7599 * libc/sys/win32/grp.c: include grp.h correctly.
7600 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
7601 of the st structure with real information.
7602 * libc/sys/win32 (dirent): d_ino is of type ino_t.
7603
7604Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
7605
7606 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
7607 and (maybe) sparc64.
7608 (nlink_t): Provide typedef.
7609
7610Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7611
7612 * libc/sys/win32/grp.c: New file.
7613 * libc/sys/win32/include/grp.h: New file.
7614
7615Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7616
7617 * libc/include/machine/ieeefp.h: Added whitespace to make this
7618 file easier to maintain.
7619 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
7620 depending on the value of __LITTLE_ENDIAN__.
7621 On the sh3e, define _DOUBLE_IS_32BITS.
7622
7623Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
7624
7625 * libc/sys/vr4300/syscalls.c: Added missing support
7626 routines. _raise() and getpid().
7627
7628Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
7629
7630 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
7631
7632Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
7633
7634 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
7635 and VR4300 processor.
7636 * libc/sys/vr4300: Add directory.
7637 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
7638 monitor run-time support.
7639
7640Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7641
7642 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
7643 * libc/stdlib/stdlib.tex: Don't include atol.def.
7644
7645Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7646
7647 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
7648
7649Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
7650
7651 * libc/ctype/Makefile.in: Fill in _to* dependencies.
7652
7653Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
7654
7655 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
7656 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
7657 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
7658 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
7659 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
7660
7661Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7662
7663 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
7664
7665Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7666
7667 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
7668 * libc/stdlib/atoff.c: New file.
7669 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
7670 * libc/stdlib/atoi.c (atol): Removed.
7671 * libc/stdlib/atol.c: Removed duplicate documentation.
7672
7673 * libc/include/ctype.h (_tolower, _toupper): Moved inside
7674 #ifndef _STRICT_ANSI conditional.
7675 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
7676 * libc/ctype/_tolower.c: New file.
7677 * libc/ctype/_toupper.c: New file.
7678 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
7679 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
7680 * libc/ctype/toascii.c (_toascii): Removed.
7681
7682Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
7683
7684 * libc/sys/sparc64/sys/types.h: Deleted.
7685
7686Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7687
7688 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
7689 and recognize Windows_95 systems.
7690
7691Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7692
7693 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
7694 and passed fds should be opened in text mode.
7695
7696Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7697
7698 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
7699 in __hmap, set to binary mode by default.
7700
7701Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7702
7703 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
7704 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
7705 vector 34.
7706
7707Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
7708
7709 * Makefile.in (install): Install all libraries found in the
7710 top level. If there's a sys/<type>/include directory,
7711 install those headers into include.
7712
7713 * libc/sys/win32/kernel.def351: Delete
7714 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
7715 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
7716 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
7717 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
7718 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
7719 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
7720 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
7721 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
7722
7723 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
7724 * libc/sys/win32/crt0.c: Force all env names to upper case.
7725 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
7726 * libc/sys/win32/*.c: Headers have moved.
7727 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
7728 __vfork_child_idx is now __vfork_child_ptr.
7729
7730 * posix/execvp (execvp): Don't crash if no PATH envname.
7731
7732Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7733
7734 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
7735 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
7736 through the _freelist instead of through the _reclaim list.
7737 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
7738 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
7739 sources.
7740
7741Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7742
7743 * libc/machine/h8500/setjmp.S: New file.
7744 * libc/include/machine/setjmp.h: Updated for H8/500.
7745
7746Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
7747
7748 * libc/sys/win32/syscalls.c (_open): More stracing.
7749 (_stat): Open the file in O_BINARY.
7750
7751Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7752
7753 * libc/machine/h8300/setjmp.S: New file.
7754 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
7755
7756Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
7757
7758 * libc/sys/win32/crt0.c (__exe_suffix): New global.
7759 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
7760 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
7761 __exe_suffix. Free fd_tab after setting env variable.
7762 (spawnv,_execve): Update.
7763 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
7764 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
7765 (__small_vfprintf): New function.
7766 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
7767 * libc/sys/win32/wait.c (cwait): Validate argument.
7768
7769 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
7770 (process_deletion_queue): Likewise.
7771
7772 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
7773
7774Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
7775
7776 * libc/sys/win32: Copyrights and gratuitous indenting.
7777
7778Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
7779
7780 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7781 (process_deletion_queue): Likewise.
7782 (__close_all_files): New function.
7783 (_close): Only queue file deletion if really a file.
7784 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7785 _P_APPEND_EXE.
7786 (_exit): Call __close_all_files.
7787
7788 * libc/stdlib/system.c: #include <errno.h>.
7789 (_system_r): Fix results in -DNO_EXEC case.
7790
7791 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7792 Reorganize structure.
7793 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7794 if argument is valid. Save directory name in DIR. malloc space
7795 for dirent struct separately.
7796 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7797
7798 * libc/include/errno.h (ENAMETOOLONG): Define.
7799 * libc/string/strerror.c (strerror): Reword ENFILE.
7800 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7801
7802Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
7803
7804 * libc/sys/win32/crt0.c (__progname): New global.
7805 (mainCRTStartup): Support strace=bitmask,filename.
7806 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7807 * libc/sys/win32/syscalls.c (_write): Print parent trace message
7808 if error.
7809 (getcwd): Handle len too small. Convert '\\' to '/'.
7810 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7811 Add prototypes for open, creat, fcntl.
7812 (O_APPEND): Change value to conform to Microsoft's value.
7813 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7814
7815 * libc/stdlib/getopt.c: New file.
7816 * libc/stdlib/Makefile.in: Build it.
7817
7818Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
7819
7820 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7821 Fix scanning of $PATH.
7822 * libc/posix/exec*.c: Call _execve, not execve.
7823 * libc/posix/execve.c: New file.
7824 * libc/posix/Makefile.in (OFILES): Add execve.o.
7825
7826 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7827 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7828 (_STRACE): If level==0, always print. Handle new bit mask scheme.
7829 * libc/sys/win32/crt0.c: Update _STRACE calls.
7830 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7831
7832 * libc/sys/win32/smallprint.c (rn): Fix digit list.
7833
7834 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7835 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7836 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7837 Print __seterrno trace message first.
7838 (_execve): Renamed from execve.
7839 (vfork): Update __strace usage.
7840 (__vfork_child_pid): Deleted.
7841 (__vfork_children, __vfork_child_idx): New globals.
7842 (_spawnvp): New function.
7843 (spawnvp, spawnv, _execve): Call _spawnvp.
7844 (init_child): Record child in __vfork_children.
7845 (__vfork_get_entry, __vfork_record_death): New functions.
7846 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7847 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7848 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
7849 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7850 (children): New typedef.
7851 (__vfork_children,__vfork_child_idx): Declare.
7852 (__vfork_get_entry,__vfork_record_death): Declare.
7853 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7854 (waitpid): Handle pid == -1.
7855 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7856 * configure.in (i386-win32): Add -DNO_FORK.
7857 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7858 * libc/reent/execr.c (_fork_r): Likewise.
7859 * libc/stdlib/system.c (do_system): New function.
7860 If WIN32, try to get shell path from $SH_PATH, use vfork.
7861 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7862 otherwise return 0.
7863
7864Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
7865
7866 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7867 * libc/sys/win32/fcntl.h: Don't include self.
7868 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7869 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7870 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7871 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7872 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7873 Correct prototypes.
7874 * libc/sys/win32/strace.c: New file.
7875 * libc/sys/win32/smallprint.c: New file.
7876 * libc/sys/win32/crt0.c (func): Delete.
7877 (mainCRTStartup): Fix alloca usage. Set handles explictly.
7878 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7879 * libc/sys/win32/exceptions.c: Lint.
7880 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7881 Clean up handle usage.
7882 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7883 (open.c): Default file type is text.
7884 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7885 * libc/sys/win32/advapi32.def: New
7886
7887Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
7888
7889 * configure.in (posix_dir, libc_posix_lib): New variables.
7890 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7891 (i[345]86-*-win32): Define posix_dir.
7892 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
7893 (if unix_dir): Fix typo.
7894 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7895 scandir,seekdir,telldir}: New files.
7896 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7897 from libc/unix.
7898 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7899 (SUBDIRS): Add posix.
7900 (SUBLIBS): Add $(LIBC_POSIX_LIB).
7901
7902 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7903 (NSIG): Increase to 21.
7904 * libc/include/sys/unistd.h (pid_t): Move from here,
7905 * libc/include/sys/types.h (pid_t): to here.
7906
7907 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7908 (__ptrace): Delete.
7909 (hinfo): New members close_exec_p, child_created_p.
7910 (struct exception_list): Define.
7911 (__hmap): Redefine as pointer to table.
7912 (__parent_hmap, __child_hmap): New globals.
7913 (__set_errno, __really_exit): Declare.
7914 (__vfork_child_pid): Declare.
7915 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7916 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7917 (__parent_hmap, __child_hmap): New globals.
7918 (__hmap): Redefine as pointer to active map.
7919 (__get_console): New function.
7920 (mainCRTStartup): Change leading '=' in environ vars to '!'.
7921 (env __FD_TABLE__): Watch for this and initialize our fd/handle
7922 mapping table from it if defined.
7923 (argv, envp): Dump if __strace >= 4.
7924 (main): Call here.
7925 * libc/sys/win32/exceptions.c (myp): Redefine.
7926 (__syscalls_b): Delete.
7927 (__stack_trace): New function.
7928 (ehandler3): Update to use _STRACE. Print stack trace.
7929 Call __really_exit instead of exit.
7930 (init_exceptions): Delete args argc,argv. New arg mine.
7931 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7932 FindFirstFileA, FindNextFileA, GetComputerNameA,
7933 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7934 * libc/sys/win32/signal.c (signal): Validate arg.
7935 (alarm, sleep): Define as stubs for now.
7936 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7937 (__syscalls_b, errno): Delete.
7938 (__vfork_child_pid, __vfork_jmp_buf): New globals.
7939 (__seterrno): Handle more errors.
7940 (__sys_printf): Renamed from _ptrace.
7941 (__really_exit): New function.
7942 (queue_file_deletion, process_deletion_queue): New functions.
7943 (__resume_parent): New function.
7944 (_unlink): Handle trying to delete open file.
7945 (__totime_t): Renamed from totime_t.
7946 (setsid, __read, __write): New functions.
7947 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7948 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7949 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7950 * libc/sys/win32/console.c: Update to new definition of __hmap.
7951 * libc/sys/win32/Makefile.in: Build new files.
7952 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7953 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7954 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7955 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7956
7957Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
7958
7959 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7960
7961Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7962
7963 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7964 have been made to the master dtoa.c sources (from netlib.att.com)
7965 since they were integrated into newlib in early 1992. Fixes
7966 problems with storage leaks and handling of numbers with very
7967 negative exponents.
7968
7969Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7970
7971 * Makefile.in (all): set rootpre and srcrootpre before calling
7972 sub-makes.
7973
7974Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
7975
7976 * libc/sys/win32/crt0.c: Change __hmap usage.
7977 * libc/sys/win32/exceptions.c: Use _ptrace call.
7978 * libc/sys/win32/syscalls.c: Use _ptrace call.
7979 (read, write): Cope with DOS style CRLF when in TEXT mode.
7980 * libc/sys/win32/syscalls.h: Declare hinfo struct.
7981 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7982 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7983 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7984 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7985
7986Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7987
7988 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7989
7990 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7991 wrappers for hypot() and remainder() for BSD libm compatibility.
7992 These are public domain implementations written by me for the
7993 NetBSD libm some time ago. Note cabs() is required by ucbtest.
7994 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7995 (fobj): Added wf_cabs.o and wf_drem.o.
7996
7997Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7998
7999 * libc/sys/h8500hms/misc.c: New file.
8000 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
8001
8002Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8003
8004 * libc/time/localtime.c (localtime): Fix problem with leap year
8005 handling. Stole algorithm from Arthur David Olson's tz code.
8006
8007Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
8008
8009 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
8010
8011 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
8012 (_exit): Use argument.
8013
8014Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
8015
8016 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
8017
8018Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
8019
8020 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
8021
8022Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8023
8024 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
8025 target_cflags.
8026
8027Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
8028
8029 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
8030 ptrace with case insensitivity
8031 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
8032 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8033 New files.
8034
8035Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
8036
8037 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
8038 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
8039 (all, install, *clean): Use new multilib support.
8040 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
8041
8042Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
8043
8044 * libc/include/sys/signal.h (__WIN32__): New.
8045
8046 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
8047
8048 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
8049 (ulp, b2d): Handle 32 bit doubles.
8050 * libc/stdlib/mprec.h: Handle 32 bit doubles.
8051 * libc/stdlib/strtod.c (_strtod_r): Ditto.
8052
8053Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
8054
8055 from medp@primag.co.uk:
8056 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
8057 dynamically allocated buffers.
8058
8059Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
8060
8061 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
8062 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
8063
8064Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
8065
8066 * configure.in (powerpc): Fix previous fix.
8067
8068Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
8069
8070 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
8071 directories for this target.
8072
8073Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8074
8075 * configure.in (hppa): Add machine_dir definition.
8076 * libc/machine/hppa: New directory with PA specific implementations
8077 of the basic memory/string functions.
8078
8079Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
8080
8081 * configure.in: Update current PowerPC multilib directories.
8082 Split big and little endian configurations.
8083
8084Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
8085
8086 * configure.in: Add --enable-single-float option to configure to
8087 control use of MIPS single-float directories. Default to yes.
8088
8089 * Makefile.in (all): Don't recurse into multilib directory if it
8090 does not exist.
8091
8092Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8093
8094 * libc/sys/sh/syscalls.c: Fix typo.
8095
8096Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
8097
8098 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
8099 Pass down DLLTOOL.
8100 * libc/include/process.h: Define WAIT_CHILD.
8101 * libc/include/types.h: Get sizes right for win32.
8102 * configure.in (i386-*-pe): Becomes i386-win32.
8103 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
8104 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
8105 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
8106 is defined.
8107
8108Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
8109
8110 * configure.in (i[345]86-*-pe): New target (NT).
8111 * host/any: DLLTOOL new.
8112 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
8113 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
8114 WIN32 (just enough to cross host the comp-tools).
8115
8116Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
8117
8118 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
8119 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
8120
8121Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
8122
8123 * libc/include/machine/ieeefp.h (arm): Change to always be
8124 __IEEE_BIG_ENDIAN (even on little endian ARM's).
8125
8126Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
8127
8128 * libc/sys/crt0.S: Initialze sp, and call exit after main.
8129 * libc/sys/syscalls.c (abort): New.
8130 * configure.in (arm): Define ABORT_PROVIDED.
8131
8132Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8133
8134 * configure.in (powerpc): Define multidirs.
8135
8136Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
8137
8138 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
8139
8140Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
8141
8142 * configure.in (sparclite): Delete target_cflags. Define multidirs.
8143
8144Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
8145
8146 * configure.in, libc/include/machine/ieeefp.h: Modified
8147 for arm:
8148 libc/machine/arm/*, libc/sys/arm/*: New
8149
8150Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8151
8152 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
8153 __powerpc__ when determining endianness.
8154
8155Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8156
8157 * configure.in (m68*): Add multidir for the m68332.
8158
8159 * host/any (CC): Fix typo in last change.
8160
8161Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
8162
8163 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
8164 when determining endianness.
8165 * libc/include/machine/ieeefp.h: Ditto.
8166 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
8167 operands.
8168
8169Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
8170
8171 * libc/include/errno.h (ENOTEMPTY): Define.
8172
8173Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8174
8175 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
8176 target_cflags.
8177
8178 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
8179 and umultiply.o.
8180
8181 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
8182 instead of only when open succeeds. ANSI requires that multiple
8183 calls to tmpnam() result in different files.
8184
8185 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
8186 objects pulled in from /lib/libc.a that must be renamed before
8187 being pulled into newlib. /lib/libc.a's div.o conflicted with
8188 newlib's file with the same name.
8189
8190 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
8191
8192 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
8193 the build tree will only be used if the executables are present
8194 (instead of just the Makefiles).
8195
8196 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
8197 wcstombs): Define.
8198 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
8199 versions of these functions that I orignally wrote for the
8200 NetBSD C library.
8201 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
8202 versions I wrote for NetBSD.
8203
8204Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
8205
8206 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
8207 * libc/sys/sparclite/crt0.s: ditto.
8208
8209Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
8210
8211 * configure.in: Add soft-float for proelf.
8212
8213Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
8214
8215 * libc/stdlib/mprec.h (Bcopy): Copy the right number
8216 of bytes.
8217
8218Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
8219
8220 * Makefile.in (all): Depend on `force'.
8221 * configure.in (syscall_dir): Renamed from fake_sys_dir.
8222 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
8223 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
8224 * libc/Makefile.in: Likewise.
8225 * libc/include/reent.h: Update syscall references.
8226 (_fcntl_r): Add prototype.
8227 * libc/syscalls/*.c #include <reent.h>.
8228 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
8229
8230Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
8231
8232 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
8233 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
8234 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
8235 (time.h, sys/types.h): Always include (even if MSDOS).
8236 (stat): Fix prototype.
8237
8238Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
8239
8240 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
8241
8242Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
8243
8244 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
8245
8246Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
8247
8248 * libc/include/regdef.h: New file.
8249 * libc/machine/mips/machine/regdef.h: New file.
8250
8251Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
8252
8253 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
8254
8255Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
8256
8257 * libc/sys/sh/crt0.S: Pass main's return to exit.
8258 * libc/sys/sh/trap.S: Put errno in the right place.
8259
8260Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
8261
8262 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
8263 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
8264 * libm/math/ef_rem_pio2.c: Likewise.
8265 * libm/math/e_log10.c: Remove unused static one.
8266 * libm/math/ef_log10.c: Likewise.
8267 * libm/math/s_frexp.c: Likewise.
8268 * libm/math/sf_frexp.c: Likewise.
8269
8270Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
8271
8272 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
8273 longjmp.S: Upgraded.
8274 * libc/sys/go32/sys/setjmp.h: Upgraded.
8275 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
8276
8277Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
8278
8279 * configure.in: Add many entries to multidirs for mips targets.
8280
8281Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8282
8283 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
8284 5.2 which fixes bug where jn(-1,x) is three times larger than
8285 the actual answer.
8286 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
8287
8288Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
8289
8290 * libc/sys/w65/sys/syscalls.h: New file
8291 * libc/include/machine/ieeefp.h: W65 support.
8292 * libc/include/sys/config.h: Ditto.
8293 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
8294 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
8295 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
8296
8297Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
8298
8299 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
8300
8301Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
8302
8303 * Makefile.in, configure.in: Remove any references to the old
8304 "stub" dir.
8305
8306Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
8307
8308 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
8309 uses ... in prototype.
8310
8311
8312Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
8313
8314 * libc/sys/a29khif/sys/libconfig.h: Remove.
8315 * libc/sys/go32/sys/libconfig.h: Remove.
8316 * libc/sys/sun4/sys/libconfig.h: Remove.
8317 * libc/sys/sysvi386/sys/libconfig.h: Remove.
8318 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
8319 * libc/sys/sparc64/sys/libconfig.h: Remove.
8320
8321 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
8322 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
8323 * libc/include/math.h: Change all uses of _FLOAT_RET and
8324 _FLOAT_ARG to float.
8325 * libm/test/math.c: Likewise.
8326 * testsuite/libm.sac/math.c: Likewise.
8327 * testsuite/libm.sac/working/math.c: Likewise.
8328
8329Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
8330
8331 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
8332 gcc calls gas with endian option.
8333 * configure.in (sh): Build little endian version too.
8334
8335Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
8336
8337 * configure.in: Configure big and little endian versions for MIPS
8338 targets.
8339
8340Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
8341
8342 * libc/include/limits.h: Deleted.
8343 * libc/include/machine/limits.h: Deleted.
8344
8345Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
8346
8347 * ChangeLog: Remove stub directory. This has all been rewritten
8348 and moved to devo/libgloss.
8349
8350Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
8351
8352 * Makefile.in (dvi): Add to info target, use $@ in sub make.
8353 (docs): Merge into info target.
8354 * libm/Makefile.in (dvi): Add $(srcdir).
8355 * libm/math/Makefile.in (chobjs): Remove underscores from file
8356 names. Texinfo doesn't like them.
8357 (wacos.def, ...): Add explicit targets for all .def files.
8358 * libm/math/math.tex: Remove underscores from @include file names.
8359 * doc/Makefile.in (dvi): Add dummy target.
8360 * testsuite/Makefile.in (dvi): Add dummy target.
8361
8362Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
8363
8364 * Makefile.in (VERSION): Define. For net newlib releases.
8365
8366Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
8367
8368 * README: New file.
8369
8370Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
8371
8372 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
8373
8374Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8375
8376 * libc/stdlib/setenv.c (_findenv): Declare.
8377
8378 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
8379 fcntl to not use _EXFUN, and change string parameters to open and
8380 creat to be ``const char *''.
8381 * libc/sys/sparc64/sys/fcntl.h: Likewise.
8382 * libc/sys/sparc64/creat.c (creat): Make PATH const.
8383 * libc/syscalls/sysopen.c: Include <fcntl.h>.
8384 (open) Make _FILE const.
8385 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
8386 (_creat): Make PATH const.
8387 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
8388 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
8389 * libc/sys/m88kbug/syscalls.c (open): Likewise.
8390 * libc/sys/sh/syscalls.c (_open): Likewise.
8391 * stub/shared/glue.c (open): Make BUF const.
8392 * stub/ex93x/syscalls.c (open): Make FILENAME const.
8393
8394Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
8395
8396 * libc/include/errno.h: Add ENMFILE
8397 * libc/include/sys/config.h: Support Z8000.
8398 * libc/include/sys/signal.h: New signals for go32.
8399 * libc/machine/h8500/psi.S (__addpsir0r0): New function
8400 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
8401 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
8402 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
8403 size is variable, depending upon CHUNK_POWER.
8404 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
8405
8406Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
8407
8408 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
8409
8410Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8411
8412 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
8413
8414Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8415
8416 * configure.in: Change i[34]86 to i[345]86.
8417
8418 * libc/include/math.h: Don't define HUGE_VAL if it is already
8419 defined.
8420
8421Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8422
8423 * testsuite/libm.sac/test_erfc.c: Correct some result values.
8424 * testsuite/libm.sac/test_gammaf.c: Likewise.
8425 * testsuite/libm.sac/test_sin.c: Likewise.
8426 * testsuite/libm.sac/test_tanh.c: Likewise.
8427
8428Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8429
8430 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
8431 already set. Define typedefs __int32_t and __uint32_t.
8432 * libc/include/math.h: Include <machine/ieeefp.h>.
8433 (union __dmath): Use __uint32_t.
8434 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
8435 instead of int and unsigned int.
8436
8437Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8438
8439 Replace the math library with the SunPRO fdlibm package.
8440 * libm/math: Completely changed all files.
8441 * libm/ieeefp: Remove contents and directory.
8442 * libm/Makefile.in (LIBM_FP_LIB): Remove.
8443 (SUBDIRS): Just set to math/lib.a.
8444 * libm/libm.texinfo: Updated for new library.
8445 * libc/include/math.h: Extensive changes for new math library.
8446 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
8447 from _FLOAT_ARG to float.
8448 (maxpowtwo, maxpowtwof): Don't declare.
8449 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
8450 (libm_fp_lib): Removed.
8451 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
8452 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
8453 argument to ${RUNTEST}.
8454 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
8455 (.c.o): New rule.
8456 (RUNTESTFLAGS): Set CC and CFLAGS.
8457 (TESTS): Remove test_log2 and test_log2f.
8458 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
8459 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
8460 _FLOAT_ARG, for single precision argument type.
8461 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
8462 expected failure. Close the input pipe.
8463 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
8464 Correct misspelling of inaccurate.
8465 (test_mok): Use ``inaccurate'', not ``wrong''.
8466 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
8467 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
8468 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
8469 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
8470 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
8471 test_yn.c): Correct many result values. Many are still wrong.
8472
8473 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
8474 just copy the string.
8475 (_gcvt): Always return the buffer.
8476
8477Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8478
8479 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
8480
8481Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
8482
8483 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
8484 structure.
8485 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
8486 (_reclaim_reent): declare new entry point.
8487 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
8488 functions.
8489
8490 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
8491 ever allocated, so that we can later reclaim them all.
8492 (pow5mult): make reentrant.
8493
8494 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
8495 so that when given NULL as a buffer, return a pointer to static
8496 space in the rent structure. This is not documented behaviour;
8497 it's only to support ecvt and fcvt, which aren't ANSI anyway.
8498 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
8499 therefore become reentrant).
8500
8501 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
8502
8503Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8504
8505 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
8506
8507Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8508
8509 * Makefile.in: Make link to libg.a after libc.a; this is needed
8510 for the testsuites to build executables when everything comes
8511 from the tree.
8512
8513Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
8514
8515 * libc/Makefile.in: Add a VERSION variable so we can keep track.
8516 * libm/Makefile.in: Add a VERSION variable so we can keep track.
8517
8518Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8519
8520 * libc/include/stdio.h: Use __VALIST, not va_list.
8521
8522Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
8523
8524 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
8525 testsuite/libm.sac/execute.exp:
8526 Replace error proc calls with perror calls.
8527
8528Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
8529
8530 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
8531 * libc/include/time.h: #define NULL as 0L.
8532
8533Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
8534
8535 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
8536 care of it.
8537
8538Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8539
8540 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
8541 not __unix__.
8542
8543Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
8544
8545 * configure.in (TARGET_CFLAGS): Set -O2 as default.
8546 (z8k-*-*): Use syscalls fake sys dir.
8547 * libc/sys/z8k/glue.c: Rename syscalls.
8548 * libc/sys/go32/Makefile.in: Use new routines.
8549 * libc/machine/Makefile.in: Fix typo in ln stuff.
8550
8551Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8552
8553 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
8554 * libc/Makefile.in (crt0.o): Likewise.
8555 * libc/machine/Makefile.in (lib.a): Likewise.
8556 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
8557
8558 All Makefile.in files: Added mostlyclean, realclean and distclean
8559 targets.
8560
8561 * Makefile.in: Don't bother to unexport XTRAFLAGS or
8562 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
8563 the top level Makefile.
8564
8565Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
8566
8567 * libc/sys/sparc64/sys/stat.h: New file.
8568 * libc/sys/sparc64/sys/time.h: New file.
8569 * libc/sys/sparc64/sys/types.h: New file.
8570
8571Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
8572
8573 * stub/ex93x/crt0.s (start): Add code to clear bss.
8574
8575Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
8576
8577 * libc/include/sys/types.h (time_t): Properly protect inside
8578 #ifndef __time_t_defined.
8579
8580 * libc/stdio/fileno.c: New file.
8581 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
8582 (fileno.o): Add dependency.
8583 * libc/include/stdio.h (__sgetc): Rename never to _never.
8584 (fileno macro): Disable, needs to do CHECK_INIT first.
8585
8586Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
8587
8588 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
8589 goal.
8590
8591 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
8592 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
8593 runtest.
8594 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
8595 runtest.
8596
8597Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
8598
8599 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
8600 of the various constants.
8601
8602Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
8603
8604 * libc/include/math.h: #ifndef __math_68881 around things which
8605 conflict with the (gcc-provided) inline functions in
8606 gcc/ginclude/math-68881.h.
8607
8608Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
8609
8610 * libc/include/_syslist.h (_gettimeofday): Define.
8611 (_times): Ditto.
8612 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
8613 (struct tms, timeval, timezone): Declare.
8614 (_gettimeofday_r, _times_r): Declare.
8615 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
8616 #ifdef _CLOCK_T_ surrounding definition of clock_t.
8617 (time_t): Add multiple definition protection, __time_t_defined.
8618 * libc/include/sys/time.h: Don't #include <time.h>.
8619 Always define struct timezone (remove #ifndef _TIME_H_).
8620 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
8621 #ifdef _CLOCK_T_ surrounding definition of clock_t.
8622 * libc/reent/Makefile.in (OFILES): Add timer.o.
8623 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
8624 * libc/reent/timer.c: New file.
8625 * libc/time/clock.c: #include <reent.h>.
8626 (clock): Call _times_r instead of times.
8627 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
8628 HAVE_GET_TIME_OF_DAY.
8629 Add comment regarding supporting OS routine(s) required (for docs).
8630 #include <reent.h>.
8631 (time): Call _gettimeofday_r instead of gettimeofday.
8632 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
8633 * libc/time/ctime.c: Ditto.
8634 * libc/time/strftime.c: Ditto.
8635 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
8636 (TEMPLATE_SFILES_R): Define here. Also define times.
8637 Add times_r.o/times.S dependence.
8638 (time2.c, junk.c): Deleted.
8639 * libc/sys/sparc64/time2.c: Deleted.
8640 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
8641
8642 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
8643 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
8644 * libc/sys/sparc64/junk.c: Deleted.
8645
8646Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
8647
8648 * libc/sys/sparc64/Makefile.in: Add times syscall.
8649 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
8650 be used with and without it. Add comment clarifying Medium/Anywhere
8651 model requirements.
8652 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
8653 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
8654 even if obsolete.
8655
8656Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
8657
8658 * configure.in (target_cflags): Move init.
8659 (sparc64-*-*): Define HAVE_BLKSIZE.
8660
8661Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
8662
8663 * libc/include/sys/_types.h: New file.
8664 * libc/include/reent.h: #include it.
8665 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
8666 MISSING_SYSCALL_NAMES.
8667 Sort syscalls.
8668 * libc/include/_syslist.h: Remove _raise.
8669 * libc/reent/signalr.c: New file.
8670 * libc/reent/Makefile.in: Compile it.
8671 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
8672 Add doc for raise and _raise_r.
8673 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
8674 (raise): Call _raise_r.
8675 (_raise_r): Call _getpid_r and _kill_r.
8676 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
8677 (abort): Loop forever calling raise and _exit.
8678
8679Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8680
8681 * configure.in: Remove extraneous echo.
8682
8683Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
8684
8685 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
8686 collision with unistd.h, and fix for svr4.
8687
8688Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
8689
8690 * libc/stdio/local.h (_llicvt): Declare.
8691 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
8692 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
8693 (_llicvt): Define.
8694 (_sicvt): Fix function header (`value' is short).
8695 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
8696 Add printing of long long's support.
8697 Add printing of 8 byte pointer support.
8698
8699Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
8700
8701 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
8702 stat, chmod): New hooks.
8703 (sbrk): Abort if stack and heap collide.
8704 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
8705 shortcut when given small args.
8706 * libc/machine/sh/setjmp.s: Rewritten.
8707 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
8708 of cmp/str instruction.
8709
8710Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8711
8712 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
8713 and machine_dir powerpc.
8714 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
8715 Add cases for __powerpc__.
8716 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
8717 New files.
8718
8719 * libc/include/stdio.h (_iprintf_r): Declare correctly.
8720
8721Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
8722
8723 * libc/stdlib/callocr.c: New file with _calloc_r in it.
8724 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
8725
8726Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
8727
8728 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
8729 (print_e): More comments to describe args, etc.
8730 "type" arg may now be 'g' or 'G' for %g/G format --> remove
8731 trailing blanks.
8732 (_gcvt): Remove locals decpt, sign, end, p, done.
8733 More comments for print_e invocation.
8734 Pass "type" to print_e as is (g/G).
8735
8736Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
8737
8738 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
8739 stock m68000.
8740
8741Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
8742
8743 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
8744 works with any sized pointer, including ones bigger than ints and
8745 longs.
8746
8747Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
8748
8749 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
8750
8751Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8752
8753 * libc/include/stdlib.h (_calloc_r): Add prototype.
8754 * libc/machine/h8500/negsi2.c: New file.
8755 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
8756 large unsigned numbers.
8757 * libc/machine/h8500/cmpsi.c: Add cmppsi.
8758 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
8759 works when sizeof(size_t) != sizeof(char *).
8760 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
8761 get play area
8762 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
8763
8764Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
8765
8766 * libc/include/assert.h (assert): Handle -traditional.
8767
8768Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
8769
8770 * Makefile.in: added ; after every "fi" and "done" that wasn't at
8771 the end of a line (ie. anything before a backslash continuation)
8772 so that bash handles them.
8773
8774Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8775
8776 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8777 stat to lstat
8778
8779Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
8780
8781 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8782 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8783 libc/machine/sh/udivsi3.s: Use new calling convention.
8784
8785Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
8786
8787 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8788 chmod, access, chdir, chown by making _path const. Also fix _amode
8789 param of access.
8790
8791Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
8792
8793 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8794 _khif_tmpnam, because it doesn't comply with ANSI but may be
8795 useful anyway. Real tmpnam was already in libc/stdio, and was
8796 colliding with this one (pr 2176.)
8797 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8798 the wrong idea anyhow.
8799
8800Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
8801
8802 * configure.in: Remove h8300h, we have multilib now.
8803
8804Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
8805
8806 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8807 functions, to get preference over the ones in libiberty (since we
8808 provide correct declarations in <string.h>.
8809 * libc/string/Makefile.in: add support for strncasecmp,
8810 strcasecmp.
8811
8812Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
8813
8814 * Change netware config not to look for cpu explicitly.
8815
8816Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
8817
8818 * libc/sys/sparc64/{creat.c,junk.c}: New files.
8819 * libc/sys/sparc64/Makefile.in: Add dependencies.
8820
8821Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
8822
8823 * configure.in: Clean up v9 a bit, new "os" aoutv8.
8824
8825Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
8826
8827 * libc/include/sys/reent.h: make structure smaller by allocating
8828 some stuff when needed.
8829 * libc/signal/signal.c: allocate as needed
8830 * libc/stdio/findfp.c,stdio/local.h: ditto
8831 * libc/stdlib/mprec.c: ditto
8832
8833 * libc/time/localtime.c: don't return a dangling stack ptr.
8834
8835Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
8836
8837 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8838
8839Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8840
8841 * libc/include/stdio.h (__sputc): comment out static inline which
8842 confuses coff toolchains.
8843
8844Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
8845
8846 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8847 _write.s, getpid.c, kill.c, read.s}:
8848 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8849 through the syscalls directory.
8850
8851Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
8852
8853 * configure.in: fixed double quote gotcha.
8854
8855Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
8856
8857 * stub/ex931: stub library for sparclite board.
8858 * stub/idp: Renamed from mc68ec. Added contructor table
8859 stuff to linker script.
8860 * stub/mvme135: Renamed from m68kmvme. Added contructor table
8861 stuff to linker script.
8862
8863Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8864
8865 * configure.in: Configure testsuites only if they exist.
8866
8867Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8868
8869 * configure.in: Don't set machine_dir for i386 until there is
8870 something in libc/machine/i386 to compile. For i[34]86-*-netware*
8871 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8872 CLOCK_PROVIDED and MALLOC_PROVIDED.
8873
8874 * libc/sys/netware: New directory. Contains simplistic and
8875 probably incorrect stubs for NetWare. Should be enough to load
8876 the library.
8877 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8878 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8879 stub files.
8880
8881 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8882 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8883 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8884 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8885
8886Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
8887
8888 * testsuite/Makefile.in: add "docs" dummy target for consistency
8889 with rest of newlib; turn "info" and "install-info" into dummy
8890 targets, since they wouldn't have worked. (Depended on
8891 nonexistent "doc" subdir.)
8892
8893Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8894
8895 * configure.in: handle mips* instead of mips
8896
8897Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
8898
8899 * libc/include/sys/dirent.h: New file. If it is not overridden by
8900 a version of libc/sys/*/sys/dirent.h, it includes the next
8901 <dirent.h> file in case there is one lurking somewhere.
8902
8903Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8904
8905 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8906 compliance, namely: Accept a minus sign. Consider a single 0 with
8907 a radix of 0 as being a conversion. Determine overflow correctly.
8908 If an overflow occurs, set *ptr to the end of the number, not the
8909 middle.
8910 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8911
8912Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
8913
8914 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8915
8916Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
8917
8918 * Makefile.in (INSTALL): Use $srcrootpre.
8919 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8920 can't handle it.
8921 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8922 it.
8923 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8924 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8925 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8926 * libm/math/Makefile.in (matherr.o): Ditto.
8927
8928Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8929
8930 * configure.in: Build multidirs for z8k.
8931 * libc/include/stdlib.h (_strtoul_r): add prototype.
8932 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8933 * libc/include/machine/setjmp.h: Add for z8k.
8934 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8935 * libc/sys/z8ksim/glue.c: tidy up.
8936
8937Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
8938
8939 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8940 New files. Requires execve system call.
8941 * libc/unix/Makefile.in: Use them.
8942 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8943 Deleted, moved to libc/unix.
8944 * libc/sys/sparc64/Makefile.in: Remove them.
8945
8946Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
8947
8948 * libc/sys/sparc64/{template.S template_r.S}: New files.
8949 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8950 from templates.
8951 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8952 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8953 umask.S unlink.S wait4.S write.S}: Removed, now built from
8954 templates.
8955
8956Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
8957
8958 * libc/time/time.c: #include <_ansi.h>.
8959
8960Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
8961
8962 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8963
8964Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8965
8966 * configure.in: match m8* rather than m88k so that m88110 is
8967 recognized as well.
8968
8969Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
8970
8971 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8972 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8973 misc.c: New file.
8974
8975 * configure.in: Add multilib support to h8300.
8976
8977Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
8978
8979 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8980 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8981 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8982
8983Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8984
8985 * configure.in: Corrected multidirs for sparc target.
8986
8987Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8988
8989 Support for building newlib multiple times with different
8990 compilation flags.
8991 * configure.in: Only configure doc at top level. Set multidirs
8992 when appropriate for target, unless not at top level. If
8993 multidirs is set, independently configure each subdirectory.
8994 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8995 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8996 automagically set by configure.in.
8997 (all): If MULTIDIRS is set, build multiple copies of libraries.
8998 (install): If MULTIDIRS is set, install multiple copies of
8999 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
9000 MULTISUBDIR is set, don't bother to install header files.
9001 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
9002 ${srcrootpre}.
9003 * stub/configure.in: Set MULTISUBDIR appropriately.
9004 * stub/Makefile.in (install): Install in
9005 $(tooldir)/lib/$(MULTISUBDIR).
9006 * All Makefile.in files: Define SRCTOP as well as TOP.
9007
9008Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
9009
9010 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
9011 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
9012
9013Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
9014
9015 * libc/sys/h8300hms/exit.c (_exit): New function.
9016
9017Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9018
9019 * configure.in: recognize m88110.
9020
9021Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9022
9023 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
9024 prototype main and call with args.
9025
9026Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
9027
9028 First real try at system traps for m88k-bug.
9029 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
9030 to real trap calls.
9031 * libc/sys/m88kbug/sys/systraps.h: new file.
9032
9033Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9034
9035 Patches to fix info building when target does not use sys
9036 directory.
9037 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
9038 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
9039 libc/sys.tex.
9040 * libc/sys/Makefile.in (doc): do nothing.
9041
9042Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9043
9044 * libc/Makefile.in (CRT0): new macro.
9045 (all): depend on $(CRT0) rather than crt0.o.
9046
9047 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
9048 do not default crt0, instead, set crt0 and crt0_dir based on
9049 sys_dir and stub_dir.
9050
9051 * Makefile.in (CRT0_DIR): new macro.
9052 (all): depend on $(CRT0) rather than crt0.o which may not exist.
9053 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
9054 $(CRT0).
9055 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
9056
9057Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9058
9059 * testsuite/lib/libm.exp:
9060 added code to support compiling and linking of tests for
9061 libm.sac (paranoia to be added next) and processing the
9062 pass or failure of the tests.
9063
9064 * testsuite/config/unix-libm.exp:
9065 platform specific proc's for dealing with compiler, linker
9066 and the way we execute and process the test results.
9067
9068 * testsuite/libm.sac/execute.exp:
9069 generic framework for the sac tests. the config and lib
9070 expect code for specific platforms tie it all together.
9071
9072 * testsuite/libm.sac/test_is.c:
9073 changed the output of the test to be consistant with the
9074 other tests. parsing of pass nad fail messages is now fixed.
9075
9076Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
9077
9078 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
9079 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
9080 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
9081 #ifdef __cplusplus, surround by extern ""C { ... }.
9082 * libc/include/assert.h: Do *not* protect assert.h against
9083 multiple inclusion! Also, #undef it before #define, to allow
9084 redefinition.
9085 * libc/include/stdio.h (getlogin, cuserid): Removed. These
9086 should be only in unistd.h.
9087
9088 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
9089 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
9090 ... }.
9091
9092Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
9093
9094 * libc/machine/sparc/Makefile.in: Must create a library, even
9095 if empty.
9096
9097Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9098
9099 * configure.in: set machine_dir for m88k. edit crt0 definition
9100 into makefiles.
9101
9102 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
9103
9104 * libc/Makefile.in (all): also build crt0.o.
9105
9106 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
9107 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
9108 to remove CRT0.
9109
9110 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
9111 (all): reworked to build in place.
9112 (clean): remove lib.a
9113 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
9114
9115 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
9116 (_start): key off edata rather than _start_bss.
9117
9118Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
9119
9120 * libc/include/sys/unistd.h, libc/include/reent.h,
9121 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
9122
9123Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9124
9125 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
9126
9127 * Makefile.in (libc.a): break into two rules, one for libc.a and
9128 one for libc/libc.a. Force subdirs current before rebuilding
9129 library.
9130 (libm.a): break into two rules, one for libm.a and one for
9131 libm/libm.a. Force subdirs current before rebuilding library.
9132
9133 * libc/Makefile.in (SUBLIBS): fix typo.
9134
9135 * libc/sys/Makefile.in (all): force descent into subdirs, then
9136 rebuild library iff out of of date.
9137
9138Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
9139
9140 Rework so that library is built and then finished rather than
9141 being built on each invocation of make.
9142
9143 * host/any (machine_dir, sys_dir, signal_dir): these are not
9144 shared and have been moved to their associated Makefile.in's.
9145 (AR_FLAGS): switch to qc which is faster.
9146 * configure.in: no longer assign machine_dir for m88k. set
9147 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
9148 stub_dir set, then add to configdirs. add comment about silly
9149 configuration.
9150 (configdirs): drop stub. It will be added only
9151 when needed.
9152 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
9153 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
9154 stub_lib, crt0): new variables for tailoring lower level
9155 makefiles. Assign accordingly and edit into makefiles.
9156 * libm/Makefile.in: updated copyright.
9157 (TARGETLIB): removed.
9158 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
9159 (SUBDIRS): removed TARGETDEP_DIRS.
9160 (LIBM_FP_LIB, SUBLIBS): new macros.
9161 (all): reworked.
9162 (force): new target to force rebuilds.
9163 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9164 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
9165 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
9166 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
9167 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
9168 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
9169 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
9170 stub/m68kmvme/Makefile.in: updated copyright.
9171 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
9172 (all): reworked. made this the default rule.
9173 (clean): also remove lib.a.
9174 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9175 * stub/Makefile.in: updated copyright.
9176 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
9177 (stub_lib): new macro.
9178 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
9179 RANLIB.
9180 (all): reworked.
9181 (clean, install): assume stub_dir exists.
9182 (Makefile): depend on configure.in. call $(SHELL) rather than
9183 sh. drop redundant ./
9184 * stub/configure.in (stublib): new macro, assign it, edit it into
9185 makefiles.
9186 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
9187 updated copyright.
9188 (all): reworked.
9189 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9190 * libc/Makefile.in (TARGETCRT0): removed.
9191 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
9192 TARGETCRT0.
9193 (SUBDIRS): drop TARGETDEP_DIRS.
9194 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
9195 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
9196 (force): new target to force rebuilds.
9197 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
9198 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
9199 removed.
9200 (clean): assume sys_dir always exists.
9201 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
9202 drop redundant ./
9203 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
9204 libc/locale/Makefile.in, libc/machine/Makefile.in,
9205 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
9206 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
9207 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
9208 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
9209 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
9210 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
9211 libc/signal/Makefile.in, libc/stdio/Makefile.in,
9212 libc/stdlib/Makefile.in, libc/string/Makefile.in,
9213 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
9214 libc/time/Makefile.in, libc/unix/Makefile.in,
9215 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
9216 (TARGETLIB): removed.
9217 (all): reworked.
9218 (clean): also remove lib.a.
9219 (Makefile): call $(SHELL) rather than sh. drop redundant ./
9220 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
9221 new macros.
9222 (SUBDIRS): moved to follow frag inclusion, change stub to
9223 stub_dir.
9224 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
9225 are now set in the libc Makefile.
9226 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
9227 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
9228 TARGETCRT0.
9229 (force): new target to force rebuilds.
9230 * stub/configure.in: determine and set stub_lib for for Makefile.
9231
9232Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
9233
9234 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
9235 crt0.s renamed to crt0.S.
9236 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
9237
9238 * libc/machine/h8300/Makefile.in: Make `all' the default target.
9239 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
9240 h8300h.
9241 * libc/machine/h8300/defines.h: Add macros to handle pointers for
9242 h8300 (16 bits) and h8300h (32 bits).
9243 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
9244 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
9245
9246Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
9247
9248 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
9249 implementation of setjmp and longjmp for the m88k.
9250 * libc/include/machine/setjmp.h: Added __m88000__ case.
9251
9252Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
9253
9254 * configure.in: Recognize h8300h as variant of h8300.
9255
9256Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
9257
9258 * libc/include/sys/unistd.h (read, write): get prototypes right.
9259 (sbrk): New prototype.
9260 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
9261 * libc/stdio/local.h: Include unistd.h.
9262 * libc/machine/h8300/syscalls.c: Names have changed.
9263
9264Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
9265
9266 * configure.in: add sys_dir assignment for m88k-bug.
9267
9268Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
9269
9270 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
9271 a.out or elf.
9272 * libc/sys/sparc64: all *.S files: Use new macros.
9273 * libc/sys/sparc64/isatty.c: New file.
9274 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
9275 functions beyond what newlib provides.
9276
9277Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
9278
9279 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
9280 svr4.
9281
9282Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
9283
9284 * libc/include/machine/ieeefp.h: Add support for h8/300h.
9285
9286Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
9287
9288 * configure.in: add m88k.
9289 * libc/include/machine/ieeefp.h: add case for m88k. Also add
9290 sanity check so no one else need ever chase what I did to find
9291 this.
9292
9293 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
9294
9295Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
9296
9297 * doc/makedoc.c: Include <ctype.h>.
9298
9299Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
9300
9301 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9302 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9303 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9304
9305 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
9306
9307Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
9308
9309 * libc/include/errno.h (ENOSYS): Added.
9310
9311 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
9312
9313Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
9314
9315 * libc/stdio/fflush.c (fflush): Check for reent struct
9316 initialization.
9317 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
9318
9319Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
9320
9321 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
9322 out of dtoa.c so it doesn't pollute the namespace.
9323 * libc/include/_syslist.h: new file -- mappings from _function to
9324 function, for systems where we can't win (by default, all of them,
9325 until we start updating system calls.)
9326 * libc/syscalls: new directory -- stubs for exporting _function
9327 names as unmodified function names.
9328 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
9329 _syslist.h on all platforms by default, but put hooks in for
9330 fake_sys_dir so we can include it when we've renamed the system
9331 calls.
9332 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
9333 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
9334 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
9335 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
9336 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
9337 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
9338 non ANSI functions to call _function.
9339
9340Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
9341
9342 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
9343 when base 16 is specified. Don't accept non-digits if radix > 10.
9344
9345Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
9346
9347 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
9348
9349Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
9350
9351 * libc/include/sys/stat.h: Surround text after #endif with
9352 comments.
9353
9354Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
9355
9356 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
9357 _malloc_r, _realloc_r, and free_r call the corresponding
9358 non-reentrant functions.
9359
9360 * libm/math/modf.c (modf): We now take the address of ipart, so
9361 don't make it a register variable.
9362
9363Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
9364
9365 * libm/math/*: Rename all xxx_r fns to _xxx_r.
9366
9367Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
9368
9369 * libc/libc.texinfo and embedded docn throughout: formatting
9370 improvements, minor rephrasing for clarity, and improved
9371 reentrancy docn.
9372
9373Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9374
9375 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
9376
9377 * libc/stdio/cvt.c (_licvt): Print the right value on machines
9378 where sizeof(int) != sizeof(long).
9379
9380Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
9381
9382 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
9383 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
9384 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
9385 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
9386 libm/math/matherr.c: changes for better docn formatting (info).
9387
9388 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
9389 libc/reent/reent.tex, libc/signal/signal.tex,
9390 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
9391 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
9392 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
9393 makeinfo node defaulting to get better Info file node structure.
9394 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
9395 Also include a few formerly missing sections (subroutines).
9396
9397 * doc/doc.str: delete fossil expansion for "func"
9398
9399 * default.menu, no-signal.menu: delete.
9400
9401 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
9402 method used to adjust doc for missing "signals" chapter when
9403 signal_dir is empty.
9404
9405Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9406
9407 * configure.in: added testsuite/libm.sac
9408
9409Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
9410
9411 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
9412 code model).
9413
9414Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
9415
9416 * libm/Makefile.in: Use $(MAKE) rather than make, and define
9417 MAKEOVERRIDES to be empty.
9418
9419Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
9420
9421 * configure.in: Don't build mips-*-* with -msoft-float, since that
9422 makes it incompatible with hard floating point.
9423
9424Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9425
9426 * Makefile.in: added recursive 'make check'
9427
9428Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
9429
9430 * configure.in: added ./testsuite ./testsuite/libm.paranoia
9431 * ./testsuite/Makefile.in: created
9432 * ./testsuite/libm.paranoia: paranoia tests added
9433
9434Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
9435
9436 * configure.in: For mips-*-* set machine_dir to mips.
9437
9438 * libc/machine/mips: New directory.
9439 * libc/machine/mips/Makefile.in: New file.
9440 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
9441 setjmp and longjmp.
9442 * libc/include/machine/setjmp.h: Added __mips__ case.
9443
9444 * libc/machine/lmips: Removed unused and useless directory.
9445
9446Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
9447
9448 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
9449
9450Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
9451
9452 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
9453 start up).
9454
9455Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
9456
9457 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
9458 SETJMP_H.
9459
9460Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
9461
9462 * libm/test/convert.c: structure member errno -> errno_val.
9463 Must include <errno.h> to use errno, it's a macro now.
9464 * libm/test/math.c: Ditto.
9465 * libm/test/math2.c: Include errno.h.
9466 * libm/test/string.c: Ditto.
9467 * libm/test/test.h: structure member errno -> errno_val.
9468 Remove extern int errno decl.
9469
9470Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
9471
9472 * libc/stdio/Makefile.in: Added dependencies on local header
9473 files.
9474 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
9475 files.
9476
9477Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
9478
9479 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
9480
9481Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
9482
9483 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
9484 Initialize _data.
9485
9486 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
9487 * libc/stdio/local.h: Add prototype for _licvt.
9488
9489 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
9490 instead of malloc,reealloc.
9491
9492 * libc/stdlib/local.h: New file.
9493 * libc/stdlib/efgcvt.c: #include local.h.
9494 (gcvt): Fix call to _gcvt.
9495 * libc/stdlib/ecvtbuf.c: #include local.h.
9496
9497 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
9498 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
9499 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
9500
9501 * libc/stdlib/atexit.c: moved global data to struct _reent.
9502 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
9503
9504 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
9505
9506Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
9507
9508 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
9509 here from ../reent.h.
9510
9511Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
9512
9513 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
9514 should be provided in both libc.a and libm.a.
9515 (libc.a): Depend on targ-include and libm.a. Copy
9516 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
9517 (libm.a): Depend on targ-include.
9518 * configure.in (subdirs): Removed libc/math.
9519
9520Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9521
9522 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
9523
9524Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
9525
9526 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
9527 sys/reent.h instead of reent.h.
9528 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
9529 headers moved to sys/reent.h.
9530 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
9531 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
9532 __need__MAX_SIGNALS defined.
9533 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
9534 std{in,out,err} refer to new _std{in,out,err} members.
9535
9536Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
9537
9538 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
9539 case.
9540
9541Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
9542
9543 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
9544 rather than whatever macro seterrno() has.
9545
9546Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
9547
9548 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
9549 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9550
9551 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
9552 __STDC__.
9553
9554 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
9555 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
9556 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9557
9558 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
9559 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9560
9561 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
9562 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
9563 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
9564 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
9565 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
9566 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
9567 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
9568 renamed to _xxx_r. struct reent_struct renamed to struct _reent
9569 for ANSI. structure members given leading "_" for ANSI. Use
9570 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9571
9572 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
9573 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
9574 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
9575 reent_struct renamed to struct _reent for ANSI.
9576 Structure members given leading "_" for ANSI.
9577 _CONST --> const in prototypes.
9578 Use _HAVE_STDC instead of __STDC__.
9579
9580 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
9581 _xxx_r.
9582 struct reent_struct renamed to struct _reent for ANSI.
9583 Structure members given leading "_" for ANSI.
9584
9585 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
9586 _xxx_r.
9587 struct reent_struct renamed to struct _reent for ANSI.
9588
9589 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
9590 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
9591 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
9592 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
9593 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
9594
9595 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
9596 signal.h, stdio.h, stdlib.h, string.h, time.h}:
9597 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9598 #ifndef _STRICT_ANSI non-ANSI routines.
9599 Reentrant routines renamed from _r_xxx to _xxx_r.
9600 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
9601 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
9602 Clean up namespace (structure members have leading "_").
9603 struct reent_struct renamed to struct _reent for ANSI compliance.
9604 _CONST --> const in function prototypes.
9605
9606 * libc/include/string.h: Add NULL and size_t.
9607
9608 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
9609 unlink, wait, wait4. Reentrant syscall routines close, fork,
9610 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
9611 write.
9612 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
9613 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
9614 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
9615 write.S}: Define reentrant versions.
9616 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
9617 reentrant syscalls.
9618
9619 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
9620
9621 * libc/include/stdlib.h (RAND_MAX): Fix value.
9622
9623Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
9624
9625 * libc/sys/a29khif/_main.c: Removed unnecessary file.
9626 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
9627 VPATH support targets after all: target.
9628
9629 * stub/mvme135/mvme.S: Renamed exceptionhandler to
9630 exceptionHandler, which is what mvme135-stub.c expects.
9631
9632Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
9633
9634 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
9635
9636 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
9637 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
9638 compliant).
9639
9640Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
9641
9642 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
9643 first.
9644 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
9645 _r_write): Ditto.
9646 libc/reent/fstatr.c (_r_fstat): Ditto.
9647 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
9648 libc/reent/sbrkr.c (_r_sbrk): Ditto.
9649 libc/reent/statr.c (_r_stat): Ditto.
9650
9651 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
9652 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
9653 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
9654 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
9655 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
9656 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
9657 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
9658 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
9659 (__swrite): Ditto for _r_lseek, _r_write.
9660 (__sseek): Ditto for _r_lseek.
9661 (__close): Ditto for _r_close.
9662 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
9663
9664 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
9665 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
9666
9667 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
9668 to make reent_struct the first argument (and thus consistent with
9669 the rest of newlib).
9670
9671 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
9672 reference to __STDC__.
9673
9674Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
9675
9676 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
9677 global __cleanup.
9678
9679Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
9680
9681 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
9682 first.
9683 libc/stdio/fclose.c (fclose): Ditto.
9684
9685Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
9686
9687 * Run through indent and rename reentrant routines for ANSI.
9688 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
9689 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
9690 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
9691 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
9692 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
9693 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
9694 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
9695 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
9696 vsprintf.c wbuf.c wsetup.c local.h}
9697
9698 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
9699
9700 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
9701 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
9702 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
9703 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
9704 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
9705 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
9706
9707 * Run through indent.
9708 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
9709 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
9710 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
9711 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
9712 strxfrm.c}
9713
9714 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
9715 localtime.c mktime.c strftime.c time.c}:
9716 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
9717
9718 * Reformatting + renaming (for ANSI, GNU style, consistency).
9719 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
9720 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
9721 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
9722
9723Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
9724
9725 * libc/include/stdio.h (stdin_r): Fix.
9726
9727Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
9728
9729 * Makefile.in: Unexport some variables to keep GNU make from
9730 putting them in the environment and using up needed ARG_MAX space
9731 (a hack is used to let this work with older makes as well).
9732
9733Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
9734
9735 * Makefile.in: Use $(MAKE) rather than make.
9736 (MAKEOVERRIDES): Define to be empty.
9737 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9738 (libc.a, libm.a): Depend on targ-include.
9739 * host/any (LD): Don't define.
9740 (INCLUDES): Use targ-include.
9741 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
9742 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9743 * libc/Makefile.in: Use $(MAKE) rather than make.
9744 (MAKEOVERRIDES): Define to be empty.
9745 (FLAGS_TO_PASS): Don't pass LD (it's not used).
9746 (all): Rewrote to be slightly smaller.
9747 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
9748 Define to be empty.
9749 (FLAGS_TO_PASS): Don't pass LD (it's not used).
9750 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
9751
9752Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
9753
9754 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
9755 with errno/errno.c.
9756
9757Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
9758
9759 * Changes for reentrancy.
9760 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
9761 Use ptr->_errno, not errno.
9762 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
9763 libc/stdio/remove.c (remove_r): New function.
9764 libc/stdio/rename.c (rename_r): New function.
9765 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9766 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
9767 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
9768 reentrant versions of system calls.
9769 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
9770 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
9771 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
9772 libc/stdio/findfp.c: Include <string.h>.
9773 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9774 "local.h".
9775 libc/stdio/wbuf.c: Include "fvwrite.h"
9776
9777 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9778 <string.h>.
9779 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9780 (NULL): Don't define if already defined.
9781 libc/stdlib/system.c: Call reentrant versions of system calls.
9782 (system_r): New function.
9783
9784 * Changes for reentrancy.
9785 libc/include/_ansi.h (_PARAMS): New macro.
9786 libc/include/errno.h: Define errno as a macro that calls __errno.
9787 (__errno_r): New macro for reentrant code.
9788 libc/include/math.h: Include reent.h. Declare many reentrant
9789 functions.
9790 (signgam): Now a macro, not a variable.
9791 (struct exception): Added err field.
9792 libc/include/reent.h: Don't declare __sglue. Added function
9793 declarations.
9794 (struct reent_struct): Moved errno to beginning. Added _signgam.
9795 libc/include/stdio.h, libc/include/stdlib.h: Added function
9796 declarations.
9797
9798 * More reentrancy hacking.
9799 libc/errno/errno.c (__errno): New function.
9800 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9801 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9802 files.
9803
9804 * Added many new reentrant functions to libm/math/*.
9805 libm/math/error.c (__matherror): Added reent_struct pointer
9806 argument. Changed all callers.
9807 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9808 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9809 libm/math/tan.h: Removed obsolete unused header files.
9810
9811 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9812
9813 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9814
9815Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9816
9817 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9818 delay slots.
9819
9820Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9821
9822 * libc/libc.texinfo: comment out reentrancy chapter (duh)
9823
9824Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9825
9826 * libc/reent/reent.tex: New file. (text from
9827 newlib/libc/libc.texinfo)
9828 * libc/stdio/tmpnam.c: fixed doc typo
9829 * libc/stdlib/rand.c: fixed doc typo
9830
9831Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9832
9833 * libc/reent/reent.tex: New file. (text from
9834 newlib/libc/libc.texinfo)
9835
9836Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9837
9838 support for reentrancy
9839 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9840 new files
9841 * libc/errno/errno.c, libc/include/ieeefp.h,
9842 libc/include/locale.h, libc/include/reent.h,
9843 libc/include/signal.h, libc/include/stdio.h,
9844 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9845 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9846 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9847 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9848 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9849 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9850 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9851 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9852 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9853 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9854 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9855 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9856 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9857 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9858 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9859 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9860 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9861 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9862 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9863 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9864 libc/time/strftime.c: modify to provide reentracy.
9865
9866 new routines:
9867 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9868 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9869 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9870 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9871 mstats_r, realloc_r, localeconv_r, setlocale_r
9872
9873Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
9874
9875 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9876 libc/include/sys/config.h, libc/include/sys/signal.h,
9877 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9878 provided macros (such as m68000), use the ansi version
9879 (__m68000__) so that the library can be used with code compiled
9880 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9881 and sparc.
9882
9883Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
9884
9885 * configure.in (sparc*): Don't set -fsoft-float for sparc
9886 configurations. Do set -fsoft-float for sparclite configurations.
9887
9888Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
9889
9890 * default.menu, no-signal.menu: alternate forms of libc main menu
9891 (in newlib rather than newlib/libc due to configuration restrictions)
9892
9893 * configure.in: select one of the two menus above, link to
9894 libc.menu
9895
9896 * libc/libc.texinfo: include menu from separate file
9897
9898Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
9899
9900 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9901 (info): Split long shell command in half.
9902 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9903 sub-makes, just CHEW and TARGETDOC.
9904 (targetdep.tex): Removed now special handling of sys and machine
9905 subdirectories, made obsolete some time ago.
9906 * libc/machine/Makefile.in (doc): Don't pass everything to
9907 sub-make, just CHEW and TARGETDOC.
9908 (Makefile): New target.
9909 * libc/sys/Makefile.in (Makefile): New target.
9910
9911Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
9912
9913 * Makefile.in (here and most subdirectories): Only pass down CHEW
9914 and TARGETDOC when making info, not for other targets.
9915
9916 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9917 $(AR_FLAGS) rather than $(ARUPDATE).
9918
9919Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
9920
9921 * Try to reduce command line length:
9922 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9923 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9924 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9925 (info): Pass CHEW to other subdirs.
9926
9927Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
9928
9929 * configure.in: add signal_dir, like unix_dir, but by default it
9930 is set to "signal" so that a29khif can turn it off (since a29khif
9931 has raise() as part of machine-specific signal.s.)
9932
9933Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9934
9935 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9936 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9937 correctly.
9938 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9939 libc/stdio/vfprintf: type lint.
9940 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9941 initialzation code.
9942 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9943
9944Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
9945
9946 * stub/mvme135/mvme135-asm.S: new file.
9947 stub/mvme135mvme135-stub.c: moved all assembler routines into
9948 mvme135-asm.S.
9949 stub/mvme135/Makefile.in: build mvme135-stub.o.
9950
9951Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
9952
9953 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9954 sub-Makefiles instead, to try to avoid line length limitations.
9955
9956Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
9957
9958 * libc/include/unistd.h (read, write): Use void* instead of
9959 char*.
9960
9961Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
9962
9963 * stub/go32/resetpc: sample script to send a reset packet to the
9964 stub
9965
9966 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9967 DOS environment, which compiles with Turbo C.
9968
9969 * stub/go32/DSER32.LNK: new file, linker commands for serial
9970 remote stub.
9971
9972 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9973 start up message to identify version; call set_debug_traps.
9974
9975 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9976 keyboard interaction); call handle_exception() in go_til_stop,
9977 rather than return, so that the remote stub gets control.
9978
9979 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9980 rename, rather than mv), set flags that work with current Turbo C,
9981 including using the /3 flag; also, add commands to build dser32.
9982
9983 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9984 default Turbo C installation (\tc rather than \usr)
9985
9986 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9987 "&..."
9988
9989Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9990
9991 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9992
9993Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9994
9995 * libc/stdio/cvt.c (licvt): new function to convert ints when
9996 sizeof(int) != sizeof(long).
9997
9998 * libc/include/stdio.h: added prototype for iprintf.
9999 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
10000
10001Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
10002
10003 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
10004 __REGISTER_PREFIX__.
10005
10006Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
10007
10008 * libc/sys/m68kbare: moved into stub directory.
10009
10010Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
10011
10012 * configure.in, Makefile.in: created new directory stub, to hold
10013 sample code for specific targets.
10014
10015Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
10016
10017 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
10018 in the unified libc/include/sys/fcntl.h.
10019
10020Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
10021
10022 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
10023 printed .01, not 0.01.
10024
10025Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
10026
10027 * configure.in: compile with -m68000 for m68* targets.
10028
10029Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
10030
10031 * libm/math/remainder.c (remainder): document the svr4 and sunos
10032 references used to construct the function.
10033
10034Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
10035
10036 * libm/math/remainder.c (rint, remainder): fix old typos.
10037 * libm/math/Makefile.in: actually build remainder.c (functions
10038 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
10039 page.)
10040
10041Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
10042
10043 * libc/string/bcopy.c: BSD version works on overlapping strings,
10044 so ours should too.
10045
10046 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
10047 ("SHELL").
10048
10049Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
10050
10051 * Makefile.in (docs): new target.
10052
10053Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
10054
10055 * libc/include/sys/times.h: define clock_t as required by POSIX.
10056 libc/include/time.h: protect clock_t from multiple definitions.
10057
10058Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10059
10060 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
10061 does not need more than the original three iterations to get
10062 within 1 ulp. (Paranoia tests for rounding to better than that,
10063 but further iterations *don't* help, only more subtle changes
10064 can.)
10065
10066Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
10067
10068 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
10069 were doing nothing useful.
10070
10071Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
10072
10073 * configure.in: define MALLOC_PROVIDED for vxworks targets;
10074 removed sys_dir settings of vxworks68 and vxworks960.
10075 host/any: don't pass -nostdinc to gcc, since newlib no longer
10076 provides all required header files.
10077
10078 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
10079 is not defined; this provides a hook for VxWorks.
10080
10081Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10082
10083 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
10084 buffer if buf is NULL, don't do it here -- it is already being
10085 done by makebuf elsewhere in stdio.
10086
10087Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
10088
10089 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
10090 that C programs can call functions without using initial
10091 underscores.
10092
10093Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
10094
10095 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
10096
10097Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
10098
10099 * configure.in: set TARGET_CFLAGS for certain CPU types to
10100 -msoft-float.
10101
10102Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10103
10104 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
10105
10106Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
10107
10108 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
10109 m68k*-unknown-coff.
10110
10111Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
10112
10113 * libc/include/stdio.h: define __need___va_list before including
10114 <stdarg.h>, to avoid defining va_arg, et. al.
10115
10116Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
10117
10118 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
10119 (don't cd to the user's home directory).
10120
10121 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
10122 In general this is the wrong thing to do, but I can't get around
10123 GNU make's insistence on passing command line arguments any other
10124 way.
10125
10126Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
10127
10128 * configure.in: always configure the libc/sys directory, since it
10129 now provides a required documentation file.
10130
10131 * Makefile.in: replaced all instances of $(MAKE) with make. In
10132 general this is the wrong thing to do, but I can't get around GNU
10133 make's insistence on passing command line arguments any other way.
10134
10135Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
10136
10137 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
10138 terminated.
10139
10140 * libc/stdio/local.h: include <stdarg.h> to define va_list.
10141 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
10142
10143 * libc/include/float.h, libc/include/stdarg.h,
10144 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
10145 versions instead.
10146 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
10147 <stdarg.h>, not from <machine/types.h>. Protect definition of
10148 NULL.
10149 libc/include/time.h: get size_t from stddef.h. Protect definition
10150 of NULL.
10151 libc/include/machine/limits.h: override gcc <limits.h> by defining
10152 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
10153 get correct INT_MIN and LONG_LONG values.
10154 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
10155 size_t or va_list at all; they're now gotten from stddef.h
10156 instead.
10157 libc/include/machine/varargs.h: removed; use gcc version instead.
10158 libc/include/sys/types.h: explicitly include <machine/types.h>.
10159
10160 * libm/math/sqrt.h: using the fp-bit routines appears to require
10161 more iterations.
10162
10163 * Makefile.in, host/any: let system include files override machine
10164 include files.
10165
10166Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10167
10168 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
10169 override _*_T_ definitions defaulted here.
10170
10171Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
10172
10173 * Makefile.in (install): install the include files in
10174 $(tooldir)/include, not $(exec_prefix)/include.
10175
10176Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
10177
10178 * Makefile.in (install): fixed typo, and changed install to not
10179 force rebuild of libc.a and libm.a.
10180
10181Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
10182
10183 * libc/sys/a29khif/*: Changed all .include's to include
10184 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
10185 that they will be installed for the user.
10186
10187 * Makefile.in (all): create targ-include, a directory holding the
10188 machine and system specific header files during the build.
10189 (install): fixed installation of machine and system specific
10190 header files.
10191
10192 * Makefile.in: fixed comment.
10193 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
10194 we can pass $(INCLUDES) to it.
10195
10196Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
10197
10198 * libc/include/sys/param.h: new generic file, which may be
10199 overridden for specific systems.
10200
10201 * libc/include/sys/signal.h: define all ANSI signal names, and
10202 NSIG (which is not ANSI) for a29k.
10203
10204Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
10205
10206 * Makefile.in: don't pass down arguments the lower level makes
10207 will not need.
10208 * libc/Makefile.in: recurse directly, rather than using subdir_do,
10209 in hopes of avoiding argument length limits.
10210 * libm/Makefile.in: recurse directly, rather using subdir_do, in
10211 hopes of avoiding argument length limits.
10212
10213Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
10214
10215 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
10216 mode_t is defined.
10217
10218Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
10219
10220 * Fixed make info and make install-info for newlib, changing most
10221 Makefile.in and several *.tex files. Moved doc directory from
10222 libc to top level.
10223
10224 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
10225 Should be rewritten.
10226
10227 * libc/string/strings.tex: renamed node index to node index
10228 function, so that it does not conflict with the top level index
10229 node.
10230
10231 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
10232
10233Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
10234
10235 * Overhauled general configuration for newlib. Eliminated all
10236 target dependent Makefile fragments. Create libraries in newlib
10237 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
10238 than CROSS_CC, et. al. Broke make docs; will fix later.
10239
10240 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
10241 Should be rewritten.
10242
10243Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
10244
10245 * libc/configure.in: cleaned up somewhat; switch on ${target}
10246 rather than ${target_alias}.
10247 * libm/configure.in: cleaned up somewhat; switch on ${target}
10248 rather than ${target_alias}.
10249
10250 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
10251 * libc/include/ctype.h: marked _ctype_ as _CONST.
10252
10253 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
10254 _CONST.
10255
10256 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
10257 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
10258 libc/stdio/gets.c (gets): removed non-ANSI warning message.
10259 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
10260
10261 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
10262 bigtens, tinytens): marked arrays _CONST.
10263 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
10264 rather than a static variable.
10265
10266 * libc/time/asctime.c (asctime), libc/time/localtime.c
10267 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
10268 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
10269 mname_len, mname): Marked static arrays _CONST.
10270
10271 * libm/math/gamma.h: made local variables non-static.
10272
10273 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
10274 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
10275 _CONST.
10276
10277 * libm/math/constants.c: removed file, because the constants it
10278 defined were never referenced.
10279 libm/math/Makefile.in: removed references to constants.c.
10280 libm/math/mathimpl.h: removed declarations of constants.
10281
10282Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
10283
10284 * libc/include/machine/varargs.h: only call __builtin_saveregs if
10285 it is sensibly defined in libgcc2. Checks preprocessor defines,
10286 which is not a good solution.
10287
10288 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
10289
10290 * libm/frexp.c: handle denormalized numbers as arguments.
10291
10292 * libm/math/Makefile.in: added some dependencies for .c files
10293 which include local .h files.
10294
10295Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
10296
10297 * libc/configure.in: set target_alias for OSE*. Replace
10298 target_makefile_frag if it is blank.
10299
10300 * libc/Makefile.in: make sure everything is passed to subsidiary
10301 makes; create all directories when installing.
10302
10303 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
10304 CROSS_ARUPDATE instead of AR.
10305
10306 * libm/configure.in: set target_alias for OSE*. Replace
10307 target_makefile_frag if it is blank.
10308
10309 * libm/Makefile.in: make sure everything is passed to subsidiary
10310 makes; create all directories when installing.
10311
10312Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
10313
10314 * add following change from libc copy.
10315
10316Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10317
10318 * libc/libc.texinfo: make copyright disclaimers appear on back of
10319 title page; make format of same slightly less ugly; avoid using
10320 underbars in section headings (avoids nasty texinfo bug in table
10321 of contents).
10322
10323 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
10324 comments only) avoid using underbars in section headings
10325
10326 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
10327 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
10328 changes in comments only): shorten headings ieeefp/infinity.c,
10329 ieeefp/isnan.c: (doc, comments only) more informative headings
10330
10331 * libc/math/bessel.c: (doc, comments only) shorten heading
10332
10333 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
10334 (doc, comments only) shorten headings
10335
10336 * libc/time/localtime.c (doc, comments only): shorten headings
10337
10338 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
10339 isnan
10340 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
10341 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
10342 headings
10343 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
10344 only) more informative headings
10345 * libm/math/bessel.c: (doc, comments only) shorten heading
10346
10347Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
10348
10349 * .../Makefile.in: use CROSS_ARUPDATE consistently.
10350 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
10351 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
10352 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
10353 defined, the one from the .mt file will be correct.
10354 * libc/include/machine, libc/include/sys: created, and populated
10355 with common files from machine/*/machine. ifdefs were used for
10356 most, typically by handling exceptions first and then filling in
10357 defaults. Files with D.J. Delorie copyright #included rather than
10358 copied. Most files in include/sys really were the same in the
10359 original.
10360 * libc/include/...: cleaned up use of _EXFUN.
10361 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
10362 it with double quotes, not angles.
10363
10364Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
10365
10366 * libc/Makefile.in: always create installation directories.
10367
10368Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10369
10370 * libc/configure.in: handle host properly (using canonical
10371 triples), better error message for the case of target not found
10372
10373Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
10374
10375 * libc/Makefile.in (insincdir): Ensure this directory exists
10376 before attempting installation.
10377
10378Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10379
10380 * libc/stdlib/assert.c: now calls abort like it should
10381 * libc/sys/a29khif: many many patches for 29khif work
10382 * libc/machine/i386: gnulib2 expanded there.
10383
10384Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10385
10386 Added accurate fp conversion routines to stdlib, moved dcvt from
10387 stdio to stdlib and called it ecvtbuf:
10388 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
10389 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
10390 routines
10391 * libc/libc.texinfo: Modifed to include the copyright info from
10392 the mprec files
10393 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
10394 * libc/test/ : many vector which tested for the implementation
10395 defined returns of strange conversion requests have been updated
10396 to relflect the new implementation
10397
10398Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10399
10400 * libc/libc.texinfo: new chapter on variable arg lists
10401 (stdarg.h/varargs.h)
10402 * libc/libc.texinfo: new title
10403 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
10404 (doc only) shorter headings for better formatting.
10405
10406Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10407
10408 * libc/libc.texinfo: three more info menu entries
10409 * libc/locale/locale.tex: new chapter
10410 * libc/locale/locale.c: new doc for setlocale, localeconv
10411 * libc/locale/Makefile.in: use new locale doc
10412 * libc/signal/signal.tex: new chapter
10413 * libc/signal/raise.c, libc/signal/signal.c: new doc
10414 * libc/signal/Makefile.in: use new doc
10415 * libc/time/time.tex: new chapter
10416 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
10417 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
10418 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
10419 * libc/time/Makefile.in: use new doc
10420
10421Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10422
10423 * libm/math/log1p.c: split to use the new function way of float
10424 function definition. math/log1p.h deleted
10425 * libm/math/scalb.c: obsolete and deleted
10426 * libm/math/scalbn.c: created from part log1p.c
10427 * libm/math/Makefile.in: know about log1p and scalbn
10428
10429Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10430
10431 * libc/ctype/isupper.c: revise doc;
10432 libc/ctype/ctype.tex: use doc from isupper.c
10433
10434 * libc/string/bzero.c: new doc
10435
10436Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
10437
10438 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
10439 new doc
10440 * libc/stdlib/Makefile.in: extract new doc
10441 * libc/stdlib/stdlib.tex: use new doc
10442
10443 * libc/string/strerror.c: expanded doc.
10444
10445 * libc/stdio/Makefile.in: extract doc from more files
10446 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
10447 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
10448 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
10449 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
10450 libc/stdio/vsprintf.c: new doc
10451 * libc/stdio/stdio.tex: use new doc
10452
10453Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10454
10455 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
10456 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
10457 finitef functions.
10458 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
10459 time ago.
10460
10461 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
10462 * libc/stdio/setbuf.c: added ansi style definition.
10463 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
10464 buffer if none provided.
10465 * libc/stdio/tmpfile.c: lint
10466 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
10467 rather than using static, also make sure file isn't already
10468 present. Uses P_tmpdir. (tempnam): rewritten to use new
10469 subroutine, and uses P_tmpdir.
10470 * libc/stdio/siprintf.c: created
10471
10472Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
10473
10474 Release 1.03 for NEC, major mods. Main differences from release
10475 1.02::
10476
10477 More tests in test/:
10478 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
10479 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
10480 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
10481 get/set mask, get/set sticky and get/set roundtoi. Tests
10482 that setting the bits changes the way arithmetic is done.
10483 * string.c: added test to make sure memcmp does it with unsigned
10484 chars.
10485 * test.c: cleaned up and removed lint.
10486 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
10487 dvec.c: tests for string to value conversions, sprintf, scanf,
10488 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
10489 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
10490 rounding in sprintf too.
10491 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
10492 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
10493 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
10494 and function form.
10495 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
10496 powf
10497
10498 In the library:
10499 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
10500 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
10501 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
10502 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
10503 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
10504 than sprintf.
10505 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
10506 * Method of producting float versions of double functions has
10507 changed, functions will be modified gradually. So far:
10508 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
10509 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
10510 altered
10511 * libc/string/memcmp.c: now uses unsigned chars
10512 * libc/string/bcmp.c, libc/string/strcpy.c,
10513 libc/stsring/strxfrm.c: fixed doc
10514 * libc/sys/sysvnecv70.tex: fix example of sbrk code
10515\f
10516Local Variables:
10517version-control: never
10518End:
This page took 1.158473 seconds and 5 git commands to generate.