]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* mips.h: Correct comment typo.
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
40c3b2d0
JR
1Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
2
3 * libc/machine/sh/memset.S: Fix problem with alloco region
4 exceeding destination region for length >= 88 bytes, start
5 & 0x16 == 0, end & 0x1f == 18.
6
8ae6a3dd
CV
72001-04-03 Corinna Vinschen <corinna@vinschen.de>
8
9 * libc/string/wcscoll.c: Fix comment.
10
d122b1cc
CV
112001-04-02 Corinna Vinschen <corinna@vinschen.de>
12
13 * libc/include/wchar.h: Add definition for wcscoll.
14 * libc/string/Makefile.am: Add wcscoll.c.
15 * libc/string/Makefile.in: Regenerated.
16 * libc/string/wcscoll.c: New file.
17 * libc/string/wcstrings.tex: Add wcscoll.
18
31ee99a4
CV
192003-04-01 Corinna Vinschen <corinna@vinschen.de>
20
21 * libc/stdio/sscanf.c: Update flags description.
22 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
23 type.
24 (__svfscanf_r): Add 'hh' and 'll' handling.
25
d78045ee
CV
262003-04-01 Corinna Vinschen <corinna@vinschen.de>
27
28 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
29 __d_position member to _off_t.
30
e6bdc6c5
JJ
312003-03-20 Jeff Johnston <jjohnstn@redhat.com>
32
33 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
34 count all characters used to create number against maximum width.
35 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
36
e65d559e
JJ
372003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
38
39 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
40 support.
41 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
42 flag to support simulator only extensions.
43
6b3bb52b
JJ
442003-03-17 Bob Cassels <bcassels@abinitio.com>
45
46 * libc/string/wcschr.c: (wcschr): Look for character first,
47 then for end of string, so you can do wcschr(x, '\0').
48
2a940c1a
CV
492003-03-10 Corinna Vinschen <corinna@vinschen.de>
50
51 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
52 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
53 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
54 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
55 * libc/stdio/fseeko.c (fseeko): Ditto.
56 * libc/stdio/ftello.c (ftello): Ditto.
57 * libc/stdio/stdio.c (__swrite): Ditto.
58 (__sseek): Ditto.
59 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
60 * libc/stdio/fseek.c (fseek): Ditto.
61 * libc/stdio/fsetpos.c (fsetpos): Ditto.
62 * libc/stdio/ftell.c (ftell): Ditto.
63 * libc/stdio/local.h: Declare __sseek using _off_t.
64
150c2818
CV
652003-03-09 Corinna Vinschen <corinna@vinschen.de>
66
67 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
68
2c440f9c
CV
692003-03-09 Corinna Vinschen <corinna@vinschen.de>
70
71 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
72 Cygwin.
73
f882fd15
CV
742003-03-09 Corinna Vinschen <corinna@vinschen.de>
75
76 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
77 Cygwin.
78 * libc/include/sys/stat.h: Ditto.
79 * libc/include/sys/unistd.h: Ditto.
80 * libc/sys/cygwin/sys/dirent.h: Ditto.
81
01d61543
CF
822003-03-07 Christopher Faylor <cgf@redhat.com>
83
84 * libc/include/sys/unistd.h: Guard getopt.h call to force only
85 declaration of getopt and avoid getopt_long declaration.
86 * libc/sys/cygwin/include/unistd.h: Remove.
87
5582abd2
CV
882003-03-07 Corinna Vinschen <corinna@vinschen.de>
89
90 * configure.host: Define stdio64_dir for Cygwin.
91 * libc/include/stdio.h: Change definition of fpos_t to fulfill
92 Cygwin 64bit file access requirements.
93 Drop definition of f*64() functions when compiled for Cygwin.
94 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
95 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
96 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
97
641da1eb
JJ
982003-03-07 Jeff Johnston <jjohnstn@redhat.com>
99
100 * libc/include/sys/reent.h: Remove extraneous _sig_func
101 declaration.
102
1032003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
104
105 * libc/sys/h8300hms/Makefile.am: Add support for new files.
106 * libc/sys/h8300hms/Makefile.in: Regenerated.
107 * libc/sys/h8300hms/close.S: New file.
108 * libc/sys/h8300hms/fstat.S: Ditto.
109 * libc/sys/h8300hms/lseek.S: Ditto.
110 * libc/sys/h8300hms/open.S: Ditto.
111 * libc/sys/h8300hms/stat.S: Ditto.
112 * libc/sys/h8300hms/read.S: New file to replace read.c.
113 * libc/sys/h8300hms/read.c: Removed.
114 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
115 _lseek, _close, _stat, _fstat.
116 * libc/sys/h8300hms/write.S: New file to replace write.c.
117 * libc/sys/h8300hms/write.c: Removed.
118
bac50d6b
NC
1192003-02-20 Nick Clifton <nickc@redhat.com>
120
121 * Add support for Cirrus Maverick ARM co-processor:
122
123 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
124
125 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
126 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
127
128 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
129
130 * configure.host: set sys_dir, syscall_dir, and
131 newlib_cflags for ep9312 host.
132
133 * configure.host: Restore alpha sorting of entries in case
134 statements.
135
12ee7037
JJ
1362003-02-19 Jeff Johnston <jjohnstn@redhat.com>
137
138 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
139
1e810ba0
JJ
1402003-02-18 Christian Groessler <chris@groessler.org>
141
142 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
143 support z8001 segmented mode.
144
b1ca765e
JJ
1452003-02-18 Earnie Boyd <earnie@users.sf.net>
146
147 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
148 with a NULL value.
149
51a46b54
CF
1502003-02-10 Christopher Faylor <cgf@redhat.com>
151
152 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
153 Don't define some types under cygwin.
154
313f1349
JJ
1552003-02-07 Jeff Johnston <jjohnstn@redhat.com>
156
157 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
158 option to allow disabling of syscalls being supplied in newlib.
159 * aclocal.m4: Regenerated.
160 * configure: Ditto.
161 * configure.host: Add support of new configuration option and add
162 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
163 * doc/aclocal.m4: Regenerated.
164 * doc/configure: Ditto.
165 * libc/*aclocal.m4: Ditto.
166 * libc/*configure: Ditto.
167 * libm/*aclocal.m4: Ditto.
168 * libm/*configure: Ditto.
169 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
170 is disabled.
171 * libc/sys/arm/Makefile.in: Regenerated.
172
5017a3da
JJ
1732003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
174
175 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
176 -1 to be sure it cannot later match a valid file fd causing
177 isatty() to return 1.
178 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
179 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
180 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
181
ad36f7d1
JJ
1822003-02-03 Jeff Johnston <jjohnstn@redhat.com>
183
184 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
185 buffer based on the precision, after we have processed the input value
186 in a local buffer and know its relative magnitude.
187
a74181ee
JJ
1882003-01-31 Michael Snyder <msnyder@redhat.com>
189
190 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
191 into registers r1 and r2, so that the simulator can distinguish
192 this trap from a breakpoint trap. Copied from libgloss.
193
b85498d4
JJ
1942003-01-31 Michael Snyder <msnyder@redhat.com>
195
196 * libc/sys/h8300hms/crt0.S (_start): Change local label
197 from .loop to .Loop, so that ld and gdb will ignore it.
198
4700b829
JJ
1992003-01-29 Jason Tishler <jason@tishler.net>
200
201 * libc/include/time.h: Declare nanosleep() under Cygwin.
202
0127ae40
NC
2032003-01-24 Nick Clifton <nickc@redhat.com>
204
205 * Add sh2e support:
206
207 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
208
209 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
210 * libc/machine/sh/setjmp.S: Likewise.
211 * libc/include/machine/ieeefp.h: Likewise.
212
8bbcd9a1
CV
2132003-01-24 Corinna Vinschen <corinna@vinschen.de>
214
215 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
216 for Cygwin.
217
b8838e6f
JJ
2182003-01-21 Anita Kulkarni <anitak@kpit.com>
219
220 * libc/time/difftime.c : Typecast the result to double.
221
f9e41155
CF
2222003-01-20 Christopher Faylor <cgf@redhat.com>
223
224 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
225
6b5a7988
NC
2262003-01-18 Nick Clifton <nickc@redhat.com>
227
228 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
229 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
230
c3e92877
JJ
2312003-01-16 Joel Sherrill <joel@OARcorp.com>
232
233 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
234 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
235 constants are defined in each file in the shared versions in
236 libc/include.
237 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
238 autoconf can link programs.
239 * libc/include/machine/types.h: Explicitly specify signed on
240 intXX_t types to ensure they are signed.
241
84510217
CF
2422003-01-14 Christopher Faylor <cgf@redhat.com>
243
244 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
245 extensions.
246
b3934ab3
RS
2472003-01-08 Richard Sandiford <rsandifo@redhat.com>
248
249 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
250
be9c60e5
JJ
2512003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
252
253 * libc/stdio/sprintf.c: fix typo
254 * libc/stdio/vfprintf.c: fix typo
255
d4c3a750
JJ
2562003-01-07 Jeff Johnston <jjohnstn@redhat.com>
257
258 * configure.host: Support long double I/O for x86-linux.
259 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
260 large enough to hold formatted result.
261 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
262
b2294aaa
JJ
2632003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
264
265 * Makefile.am: Add vasprintf.
266 * Makefile.in: Regenerated.
267
ea5e5daf
JJ
2682003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
269
270 * asprintf.c (_asprintf_r): insure both declarations
271 are the same.
272
5c581eca
CF
2732002-12-28 Christopher Faylor <cgf@redhat.com>
274
275 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
276 than defining getopt directly.
277
60b0838f
JJ
2782002-12-20 Jeff Johnston <jjohnstn@redhat.com>
279
280 * NEWS: Update with 1.11.0 info.
281 * README: Ditto.
282 * acinclude.m4: Change version number to 1.11.0.
283 * aclocal.m4: Regenerated.
284 * configure: Ditto.
285 * doc/aclocal.m4: Ditto.
286 * doc/configure: Ditto.
287 * libc/*/aclocal.m4: Ditto.
288 * libc/*/configure: Ditto.
289 * libc/libc.texinfo: Ditto.
290 * libm/*/aclocal.m4: Ditto.
291 * libm/*/configure: Ditto.
292 * libm/libm.texinfo: Ditto.
293 * libc/sys/linux/shared.ld: Add VERS_1.11.
294
10501d57
JJ
2952002-12-20 Jeff Johnston <jjohnstn@redhat.com>
296
297 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
298 Solutions to Red Hat Inc.
299 * libc/machine/i386/f_atan2f.S: Ditto.
300 * libc/machine/i386/f_exp.c: Ditto.
301 * libc/machine/i386/f_expf.c: Ditto.
302 * libc/machine/i386/f_frexp.S: Ditto.
303 * libc/machine/i386/f_frexpf.S: Ditto.
304 * libc/machine/i386/f_ldexp.S: Ditto.
305 * libc/machine/i386/f_ldexpf.S: Ditto.
306 * libc/machine/i386/f_log.S: Ditto.
307 * libc/machine/i386/f_log10.S: Ditto.
308 * libc/machine/i386/f_log10f.S: Ditto.
309 * libc/machine/i386/f_logf.S: Ditto.
310 * libc/machine/i386/f_pow.c: Ditto.
311 * libc/machine/i386/f_powf.c: Ditto.
312 * libc/machine/i386/f_tan.S: Ditto.
313 * libc/machine/i386/f_tanf.S: Ditto.
314 * libc/machine/i386/memchr.S: Ditto.
315 * libc/machine/i386/memcmp.S: Ditto.
316 * libc/machine/i386/memcpy.S: Ditto.
317 * libc/machine/i386/memmove.S: Ditto.
318 * libc/machine/i386/memset.S: Ditto.
319 * libc/machine/i386/strchr.S: Ditto.
320 * libc/machine/i386/strlen.S: Ditto.
321 * libm/machine/i386/f_atan2.S: Ditto.
322 * libm/machine/i386/f_atan2f.S: Ditto.
323 * libm/machine/i386/f_exp.c: Ditto.
324 * libm/machine/i386/f_expf.c: Ditto.
325 * libm/machine/i386/f_frexp.S: Ditto.
326 * libm/machine/i386/f_frexpf.S: Ditto.
327 * libm/machine/i386/f_ldexp.S: Ditto.
328 * libm/machine/i386/f_ldexpf.S: Ditto.
329 * libm/machine/i386/f_log.S: Ditto.
330 * libm/machine/i386/f_log10.S: Ditto.
331 * libm/machine/i386/f_log10f.S: Ditto.
332 * libm/machine/i386/f_logf.S: Ditto.
333 * libm/machine/i386/f_pow.c: Ditto.
334 * libm/machine/i386/f_powf.c: Ditto.
335 * libm/machine/i386/f_tan.S: Ditto.
336 * libm/machine/i386/f_tanf.S: Ditto.
337
9b3f0d16
JJ
3382002-12-20 Jeff Johnston <jjohnstn@redhat.com>
339
340 * libc/stdlib/environ.c: Update license to Red Hat.
341 * libc/machine/hppa/setjmp.S: Ditto.
342 * libm/test/Makefile.in: Ditto.
343
d693ad84
JJ
3442002-12-19 Jeff Johnston <jjohnstn@redhat.com>
345
346 * configure.host: Remove references to go32.
347 * libc/sys/go32/*: Removed.
348
7da92d15
JJ
3492002-12-16 Kazu Hirata <kazu@cs.umass.edu>
350
351 * libc/include/sys/config.h: Change setting of INT_MAX
352 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
353 __H8300S__. Also consolidate flag settings for these
354 platforms.
355
ea01c7f5
JJ
3562002-12-10 Joel Sherrill <joel@OARcorp.com>
357
358 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
359 for i386-rtems targets.
360
c049dd5a
JJ
3612002-12-06 Jeff Johnston <jjohnstn@redhat.com>
362
363 * libc/include/stdlib.h (strtof): New prototype (from C99).
364 (strtodf): Changed from prototype to macro which redefines
365 to strtof.
366 * libc/stdlib/atof.c: Change documentation to refer to strtof
367 instead of strtodf.
368 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
369 strtodf.
370 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
371 (strtof): New function.
372 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
373 calls strtof.
374
46a402e0
CF
3752002-11-27 Christopher Faylor <cgf@redhat.com>
376
377 * libc/string/memset.c (memset): Fix comment.
378
b3cc01b0
CF
3792002-11-26 Christopher Faylor <cgf@redhat.com>
380
381 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
382 function.
383
d90f3dc1
CF
3842002-11-25 Christopher Faylor <cgf@redhat.com>
385
386 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
387 variable, introduced below, everywhere.
388
f24585c6
KH
3892002-11-25 Kazu Hirata <kazu@cs.umass.edu>
390
391 * libc/string/memset.c (memset): Make it safe even if
392 sizeof (int) = 2.
393
2955fd76
JJ
3942002-11-22 Joe Buehler <jbuehler@hekimian.com>
395
396 * configure.in: Change check for libc/include in ${CC} to
397 use an intermediate value so as to work with different shells.
398 * configure: Regenerated.
399 * Makefile.in: Ditto.
400
40ce7368
JJ
4012002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
402
403 * libc/sys/h8300hms/read.c: Add support for normal mode
404 architecture.
405
505746ad
JJ
4062002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
407
408 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
409 code for __H8300H__ and __H8300S__. Also return 32-bit return code
410 when -mint32 is used.
411
28ecb2f5
NC
4122002-11-18 Nick Clifton <nickc@redhat.com>
413
414 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
415
665b994e
JJ
4162002-11-14 Jeff Johnston <jjohnstn@redhat.com>
417
418 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
419 only issue one pass/fail message for a compile/link/execute.
420 * testsuite/newlib.elix/elix.exp: New file.
421 * testsuite/newlib.elix/tmmap.c: Ditto.
422
e91ec2e3
CF
4232002-11-06 Christopher Faylor <cgf@redhat.com>
424
425 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
426 * libc/stdlib/mlock.c: Ditto.
427 * libc/stdlib/msize.c: Ditto.
428 * libc/stdlib/msize.c: Ditto.
429 * libc/stdlib/mtrim.c: Ditto.
430 * libc/stdlib/valloc.c: Ditto.
431
944772c7
JJ
4322002-11-12 Jeff Johnston <jjohnstn@redhat.com>
433
434 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
435 for inf/nan, make sure that the check ignores the sign bit.
436
dd7ee147
JJ
4372002-11-07 Joel Sherrill <joel@OARcorp.com>
438
439 * libc/sys/rtems/machine: New directory.
440 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
441 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
442 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
443 targets more BSD like when installed without requiring files to
444 be overwritten at install point when RTEMS itself is installed.
445 * Makefile.am: Pick up system dependent machine .h files such as
446 might be found on a BSD-ish system.
447 * Makefile.in: Regenerate.
448 * libc/include/machine/types.h: When on an RTEMS target, define a
449 few BSD flavor types.
450
4512002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
452
453 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
454
18cd62b7
JJ
4552002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
456
457 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
458 * libc/include/wctype.h: Ditto.
459
d2888812
JJ
4602002-11-04 Jeff Johnston <jjohnstn@redhat.com>
461
462 * libc/include/wchar.h: Add extern "C" specifier if C++.
463 * libc/include/wctype.h: Ditto.
464
978ea3cf
JJ
4652002-10-18 Jeff Johnston <jjohnstn@redhat.com>
466
467 * testsuite/newlib.wctype/tiswctype.c: New test case.
468 * testsuite/newlib.wctype/twctrans.c: Ditto.
469
a42cf80a
JJ
4702002-10-18 Jeff Johnston <jjohnstn@redhat.com>
471
472 * libc/sys/linux/machine/i386/include/endian.h: New file.
473 * libc/sys/linux/machine/i386/include/param.h: Ditto.
474
c9ccb1f2
JJ
4752002-10-18 Jeff Johnston <jjohnstn@redhat.com>
476
477 * libm/machine/i386/aclocal.m4: Regenerated.
478 * libm/machine/i386/configure: Ditto.
479
94c5b430
JJ
4802002-10-18 Jeff Johnston <jjohnstn@redhat.com>
481
482 * testsuite/include/check.h: New header file to use with
483 test cases.
484 * testsuite/lib/newlib.exp: Add testsuite/include directory
485 to list of header files to use.
486 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
487 * testsuite/newlib.wctype/wctype.exp: New file.
488
ccdae543
RS
4892002-10-11 Graham Stott <graham.stott@btinternet.com>
490 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
491
492 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
493 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
494 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
495
73972116
JS
4962002-10-07 Joel Sherrill <joel@OARcorp.com>
497
498 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
499 dummy programs.
500
89e3fcba
JS
5012002-10-07 Joel Sherrill <joel@OARcorp.com>
502
503 * libc/include/pthread.h: Define PTHREAD_CANCELED.
504
54ec52e4
JS
5052002-10-07 Joel Sherrill <joel@OARcorp.com>
506
507 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
508 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
509 compile with current GNU tools.
510
d389acba
JJ
5112002-10-07 Jeff Johnston <jjohnstn@redhat.com>
512
513 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
514 the build library.
515 * configure.in: Ditto.
516 * Makefile.in: Regenerated.
517 * configure: Ditto.
518 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
519 for specifying configured libraries/directories.
520 * libc/sys/linux/configure.in: Ditto.
521 * libc/sys/linux/Makefile.in: Regenerated.
522 * libc/sys/linux/configure: Ditto.
523
af5a221f
JJ
5242002-10-03 Jeff Johnston <jjohnstn@redhat.com>
525
526 * libc/include/reent.h: Update documentation at start of file.
527
59a758bd
JW
5282002-09-27 Jim Wilson <wilson@redhat.com>
529
530 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
531 the ctbp register.
532
1ed3c86d
JJ
5332002-09-27 Jeff Johnston <jjohnstn@redhat.com>
534
535 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
536 Also convert to EUCJP before using arrays. For values not in
537 the conversion arrays, return WEOF.
538 * libc/ctype/jp2uc.h: Change from one array to a number of
539 arrays to account for the fact that the originating table
540 is not contiguous for the input values since some are invalid.
541
6e1dfd2d
JJ
5422002-09-24 Jeff Johnston <jjohnstn@redhat.com>
543
544 * libc/time/ctime.c: Fix prototype documentation.
545
06f1353a
CV
5462002-09-24 Corinna Vinschen <corinna@vinschen.de>
547
548 * libc/include/sys/errno.h: Add EOVERFLOW.
549
1e0e64c9
JJ
5502002-09-20 Jeff Johnston <jjohnstn@redhat.com>
551
552 * libc/include/wctype.h: New file.
553
1525d127
JJ
5542002-09-20 Jeff Johnston <jjohnstn@redhat.com>
555
556 * libc/ctype/Makefile.am: Add new files.
557 * libc/ctype/Makefile.in: Regenerated.
558 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
559 and wctrans functions to documentation index.
560 * libc/ctype/iswalnum.c: New file.
561 * libc/ctype/iswalpha.c: Ditto.
562 * libc/ctype/iswblank.c: Ditto.
563 * libc/ctype/iswcntrl.c: Ditto.
564 * libc/ctype/iswctype.c: Ditto.
565 * libc/ctype/iswdigit.c: Ditto.
566 * libc/ctype/iswgraph.c: Ditto.
567 * libc/ctype/iswlower.c: Ditto.
568 * libc/ctype/iswprint.c: Ditto.
569 * libc/ctype/iswpunct.c: Ditto.
570 * libc/ctype/iswspace.c: Ditto.
571 * libc/ctype/iswupper.c: Ditto.
572 * libc/ctype/iswxdigit.c: Ditto.
573 * libc/ctype/jp2uc.c: Ditto.
574 * libc/ctype/jp2uc.h: Ditto.
575 * libc/ctype/local.h: Ditto.
576 * libc/ctype/towctrans.c: Ditto.
577 * libc/ctype/towlower.c: Ditto.
578 * libc/ctype/towupper.c: Ditto.
579 * libc/ctype/utf8alpha.h: Ditto.
580 * libc/ctype/utf8print.h: Ditto.
581 * libc/ctype/utf8punct.h: Ditto.
582 * libc/ctype/wctrans.c: Ditto.
583 * libc/ctype/wctype.c: Ditto.
584 * libc/locale/locale.c (__lc_ctype): New external array to
585 replace static lc_ctype array.
586 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
587 rather than reentrancy structure's _current_locale field.
588 * libc/stdlib/wctomb_r.c: Ditto.
589
da25e61f
JJ
5902002-09-20 Jeff Johnston <jjohnstn@redhat.com>
591
592 * configure.host: Minor comment and formatting changes.
593 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
594 * libc/Makefile.in: Regenerated.
595 * libc/include/sys/config.h: Minor format change.
596
5b9ee539
JJ
5972002-09-19 Jeff Johnston <jjohnstn@redhat.com>
598
599 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
600 statement comment.
601
50558bf3
JJ
6022002-09-19 Jeff Johnston <jjohnstn@redhat.com>
603
604 * libc/posix/opendir.c (opendir): Change code to check
605 for HAVE_FCNTL before calling fcntl.
606 * libc/search/hash.c (hash_open): Ditto.
607 * libc/search/hash_page.c (open_tmp): Ditto.
608 * libc/reent/Makefile.am: Add fcntlr.c.
609 * libc/reent/Makefile.in: Regenerated.
610 * libc/reent/fcntlr.c: New file.
611 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
612 instead of _fcntl when HAVE_FCNTL flag is set.
613 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
614 to see if _fcntl or _fcntl_r should be called. If flag is not
615 set, default to ENOSYS stub.
616
9211a1ad
JJ
6172002-09-16 Jeff Johnston <jjohnstn@redhat.com>
618
619 * libc/include/wchar.h (mbstate_t): Change protective flag to
620 be _MBSTATE_T.
621 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
622 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
623 for Cygwin.
624 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
625
a8615092
JJ
6262002-09-11 Jeff Johnston <jjohnstn@redhat.com>
627
628 * acinclude.m4 (enable-newlib-mb): Change check to
629 default newlib_mb variable to empty string rather than "no".
630 * configure.host: Remove hard-coding of -DMB_CAPABLE for
631 x86-linux and Cygwin. Add code to check for newlib_mb
632 being unset in which case set to "yes" for x86-linux and
633 Cygwin. Change check for newlib_mb being "yes" to allow
634 for an empty string.
635 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
636 * newlib.hin (_MB_LEN_MAX): New define to configure.
637 * aclocal.m4: Regenerated.
638 * configure: Ditto.
639 * libc/include/limits.h: New file.
640 * libc/sys/linux/include/limits.h: Ditto.
641 * doc/aclocal.m4 doc/configure libc/aclocal.m4
642 libc/configure libc/include/%redact libc/machine/aclocal.m4
643 libc/machine/configure libc/machine/a29k/aclocal.m4
644 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
645 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
646 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
647 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
648 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
649 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
650 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
651 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
652 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
653 libc/machine/i386/configure libc/machine/i960/aclocal.m4
654 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
655 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
656 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
657 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
658 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
659 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
660 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
661 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
662 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
663 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
664 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
665 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
666 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
667 libc/machine/v850/configure libc/machine/w65/aclocal.m4
668 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
669 libc/machine/xscale/configure
670 libc/machine/xstormy16/aclocal.m4
671 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
672 libc/machine/z8k/configure libc/sys/aclocal.m4
673 libc/sys/configure libc/sys/a29khif/aclocal.m4
674 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
675 libc/sys/arc/configure libc/sys/arm/aclocal.m4
676 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
677 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
678 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
679 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
680 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
681 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
682 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
683 libc/sys/idt/configure libc/sys/linux/aclocal.m4
684 libc/sys/linux/configure libc/sys/linux/include/%redact
685 libc/sys/linux/machine/aclocal.m4
686 libc/sys/linux/machine/configure
687 libc/sys/linux/machine/i386/aclocal.m4
688 libc/sys/linux/machine/i386/configure
689 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
690 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
691 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
692 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
693 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
694 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
695 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
696 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
697 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
698 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
699 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
700 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
701 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
702 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
703 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
704 libm/aclocal.m4 libm/configure: Regenerated.
705
be83844e
JJ
7062002-09-09 Jeff Johnston <jjohnstn@redhat.com>
707
708 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
709 code that clears the .bss section.
710
9c64d2a7
JJ
7112002-09-09 Jeff Johnston <jjohnstn@redhat.com>
712
713 * libc/include/sys/_types.h (_mbstate_t): Changed to use
714 unsigned char internally.
715 * libc/sys/linux/sys/_types.h: Ditto.
716 * libc/include/sys/reent.h
717 * libc/stdlib/mblen.c (mblen): Use function-specific state
718 value from default reentrancy structure.
719 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
720 _mbtowc_r is less than 0, reset state __count value and
721 return -1.
722 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
723 is NULL, use the function-specific pointer provided in the
724 default reentrancy structure.
725 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
726 If input state pointer is NULL, use function-specific area
727 provided in reentrancy structure.
728 * libc/stdlib/mbsrtowcs.c: Ditto.
729 * libc/stdlib/wcrtomb.c: Ditto.
730 * libc/stdlib/wcsrtombs.c: Ditto.
731 * libc/stdlib/mbstowcs.c: Reformat.
732 * libc/stdlib/wcstombs.c: Ditto.
733 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
734 reset the state's __count value and return -1.
735 * libc/stdlib/mbtowc.c: Ditto.
736 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
737 If number of bytes is used up before completing a valid multibyte
738 character, return -2 and save the state.
739 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
740 and change some __count references to __state for clarity.
741
218b7a56
JJ
7422002-09-06 Jeff Johnston <jjohnstn@redhat.com>
743
744 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
745 is defined by <limits.h>.
746
c210a6ea
JJ
7472002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
748
749 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
750 defined.
751
efa077ce
JJ
7522002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
753
754 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
755 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
756 __WCHAR_MAX__ or 0x7fffffffu.
757 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
758 * libc/string/wcsncmp.c: Ditto.
759
e4b0ebc1
JJ
7602002-09-03 Jeff Johnston <jjohnstn@redhat.com>
761
762 * libc/string/wcschr.c: Add include of <stddef.h>.
763 * libc/string/wcspbrk.c: Ditto.
764 * libc/string/wcsrchr.c: Ditto.
765 * libc/string/wcsstr.c: Ditto.
766
3db40db7
JJ
7672002-09-03 Jeff Johnston <jjohnstn@redhat.com>
768
769 * libc/include/sys/_types.h (_flock_t): Added.
770 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
771 (__lock_try_acquire_recursive): Ditto.
772 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
773 _lock field.
774 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
775 field.
776 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
777 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
778 * libc/sys/linux/include/time.h (struct timespec): Moved from
779 <sys/types.h> and added check for __need_timespec flag so type
780 can be defined by itself.
781 * libc/sys/linux/sys/_types.h (_flock_t): New type.
782 * libc/sys/linux/sys/types.h (struct timespec): Moved to
783 <time.h>.
784
cd45f029
TF
7852002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
786
787 * libc/sys/linux/argp: New directory.
788 * libc/sys/linux/getopt.c: New file.
789 * libc/sys/linux/getopt1.c: New file.
790 * libc/sys/linux/getoptlong.c: Remove file.
791 * libc/sys/linux/include/argp.h: New file.
792 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
793 based on ELIX level.
794 (SUBDIRS): Add argp_dir.
795 (SUBLIBS): Add ARGP_LIB.
796 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
797 getopt_long.$(oext).
798 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
799
3c689185
JJ
8002002-08-29 Jeff Johnston <jjohnstn@redhat.com>
801
802 * libc/libc.texinfo: Add node reference to wide-character strings.
803 * libc/string/wcstrings.tex: New file.
804 * libc/string/strtok_r.c: Remove outdated advertising clause.
805 * libc/string/Makefile.am (doc): Add wide-character string
806 chapter to documentation.
807 * libc/string/Makefile.in: Regenerated.
808
890e7a1d
JJ
8092002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
810
811 * libc/include/wchar.h: Define NULL. Define WEOF more general
812 way. Declare functions in newlib manner.
813 * libc/stdlib/Makefile.am: Delete wmem*.c
814 * libc/stdlib/Makefile.in: Regenerated.
815 * libc/stdlib/wmemchr.c: Delete.
816 * libc/stdlib/wmemcmp.c: Ditto.
817 * libc/stdlib/wmemcpy.c: Ditto.
818 * libc/stdlib/wmemmove.c: Ditto.
819 * libc/stdlib/wmemset.c: Ditto.
820 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
821 * libc/string/Makefile.in: Regenerated.
822 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
823 * libc/string/wcschr.c: Ditto.
824 * libc/string/wcscmp.c: Ditto.
825 * libc/string/wcscpy.c: Ditto.
826 * libc/string/wcscspn.c: Ditto.
827 * libc/string/wcslcat.c: Ditto.
828 * libc/string/wcslcpy.c: Ditto.
829 * libc/string/wcslen.c: Ditto.
830 * libc/string/wcsncat.c: Ditto.
831 * libc/string/wcsncmp.c: Ditto.
832 * libc/string/wcsncpy.c: Ditto.
833 * libc/string/wcspbrk.c: Ditto.
834 * libc/string/wcsrchr.c: Ditto.
835 * libc/string/wcsspn.c: Ditto.
836 * libc/string/wcsstr.c: Ditto.
837 * libc/string/wmemchr.c: Ditto.
838 * libc/string/wmemcmp.c: Ditto.
839 * libc/string/wmemcpy.c: Ditto.
840 * libc/string/wmemmove.c: Ditto.
841 * libc/string/wmemset.c: Ditto.
842
86620e21
JJ
8432002-08-29 Jeff Johnston <jjohnstn@redhat.com>
844
845 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
846 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
847 and is treated as if "C" was specified.
848
f3741c27
JJ
8492002-08-28 Jeff Johnston <jjohnstn@redhat.com>
850
851 * Makefile.am (install-data-local): Move install of build
852 newlib.h after installing headers in libc/include so as to
853 overwrite default newlib.h.
854 * Makefile.in: Regenerated.
855
48da61f5
JJ
8562002-08-28 Jeff Johnston <jjohnstn@redhat.com>
857
858 * libc/include/newlib.h: New file for tools that use newlib
859 headers but don't build newlib first (e.g. gcc).
860
d82a94ac
JJ
8612002-08-28 Jeff Johnston <jjohnstn@redhat.com>
862
863 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
864 * libc/stdlib/wmemcmp.c: Ditto.
865 * libc/stdlib/wmemcpy.c: Ditto.
866 * libc/stdlib/wmemmove.c: Ditto.
867 * libc/stdlib/wmemset.c: Ditto.
868
7d08241b
JJ
8692002-08-27 Egor Duda <deo@logos-m.ru>
870
871 * libc/stdlib/wmemchr.c: New file.
872 * libc/stdlib/wmemcmp.c: Ditto.
873 * libc/stdlib/wmemcpy.c: Ditto.
874 * libc/stdlib/wmemmove.c: Ditto.
875 * libc/stdlib/wmemset.c: Ditto.
876 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
877 * configure.host: Default -DMB_CAPABLE for cygwin.
878 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
879 wmemmove() and wmemset(). Add include of <_ansi.h>.
880 * libc/stdlib/Makefile.in: Regenerate.
881
8da1639b
JJ
8822002-08-27 Jeff Johnston <jjohnstn@redhat.com>
883
ff2bf852 884 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
885 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
886 (install-data-local): Install newlib.h.
887 * Makefile.in: Regenerated.
888 * aclocal.m4: Ditto.
889 * configure: Ditto.
890 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
891 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
892 and _NEWLIB_VERSION to fill in newlib.h header file entries.
893 In AC_OUTPUT statement, unset ac_file so multilib support does
894 not use last ac_file temporary used in newlib.h configuration.
895 * libc/include/_ansi.h: Include <newlib.h>.
896 * newlib.hin: New template file for newlib.h.
897 * stamp-h.in: New file.
898
a4421c11
JJ
8992002-08-26 Wu Yongwei <adah@netstd.com>
900
901 * time.h (timezonevar): Change "#if" to "#ifdef".
902
90b65e2d
JJ
9032002-08-26 Jeff Johnston <jjohnstn@redhat.com>
904
905 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
906 * Makefile.in: Regenerated.
907 * acinclude.m4: Add support for --enable-newlib-elix-level option.
908 * aclocal.m4: Regenerated.
909 * configure: Ditto.
910 * configure.host: Add code to define _ELIX_LEVEL if
911 --enable-newlib-elix-level option is used.
912 * configure.in:
913 * libc/aclocal.m4: Regenerated.
914 * libc/configure: Ditto.
915 * libc/argz/Makefile.am: Add EL/IX level checking.
916 * libc/argz/Makefile.in: Regenerated.
917 * libc/argz/dummy.c: New file.
918 * libc/ctype/Makefile.am: Add EL/IX level checking.
919 * libc/ctype/Makefile.in: Regenerated.
920 * libc/locale/Makefile.am: Add EL/IX level checking.
921 * libc/locale/Makefile.in: Regenerated.
922 * libc/posix/Makefile.am: Add EL/IX level checking.
923 * libc/posix/Makefile.in: Regenerated.
924 * libc/posix/telldir.c: Add EL/IX level checking.
925 * libc/reent/Makefile.am: Ditto.
926 * libc/reent/fstat64r.c: Ditto.
927 * libc/reent/lseek64r.c: Ditto.
928 * libc/reent/open64r.c: Ditto.
929 * libc/reent/Makefile.in: Regenerated.
930 * libc/search/Makefile.am: Add EL/IX level checking.
931 * libc/search/Makefile.in: Regenerated.
932 * libc/stdio/Makefile.am: Add EL/IX level checking.
933 * libc/stdio/Makefile.in: Regenerated.
934 * libc/stdio64/Makefile.am: Add EL/IX level checking.
935 * libc/stdio64/Makefile.in: Regenerated.
936 * libc/stdio64/dummy.c: New file.
9b487837 937 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
938 after first include.
939 * libc/stdio64/fopen64.c: Ditto.
940 * libc/stdio64/freopen64.c: Ditto.
941 * libc/stdio64/fseeko64.c: Ditto.
942 * libc/stdio64/fsetpos64.c: Ditto.
943 * libc/stdio64/ftello64.c: Ditto.
944 * libc/stdio64/tmpfile64.c: Ditto.
945 * libc/stdlib/Makefile.am: Add EL/IX level checking.
946 * libc/stdlib/Makefile.in: Regenerated.
947 * libc/stdlib/mstats.c: Add EL/IX level checking.
948 * libc/string/Makefile.am: Ditto.
949 * libc/string/Makefile.in: Regenerated.
950 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
951 * libc/sys/linux/Makefile.in: Regenerated.
952 * libc/sys/linux/aclocal.m4: Ditto.
953 * libc/sys/linux/configure: Ditto.
954 * libc/sys/linux/aio.c: Add EL/IX level checking.
955 * libc/sys/linux/ftok.c: Ditto.
956 * libc/sys/linux/getdate.c: Ditto.
957 * libc/sys/linux/ids.c: Ditto.
958 * libc/sys/linux/inode.c: Ditto.
959 * libc/sys/linux/io.c: Ditto.
960 * libc/sys/linux/process.c: Ditto.
961 * libc/sys/linux/resource.c: Ditto.
962 * libc/sys/linux/sched.c: Ditto.
963 * libc/sys/linux/sig.c: Ditto.
964 * libc/sys/linux/termios.c: Ditto.
965 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
966 __libc___waitpid weak aliases.
967 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
968 that generate the code for a syscall, but do not create a
969 weak alias.
970 * libc/syscalls/Makefile.am: Add EL/IX level checking.
971 * libc/syscalls/Makefile.in: Regenerated.
972 * libc/time/tzset_r.c: Change to replace strdup with equivalent
973 functionality.
974 * libc/unix/Makefile.am: Add EL/IX level checking.
975 * libc/unix/Makefile.in: Regenerated.
976
2e2b268c
CF
9772002-08-26 Christopher Faylor <cgf@redhat.com>
978
979 * libc/include/malloc.h: On cygwin, define malloc _r functions as
980 wrapper macros to standard malloc functions.
981 * libc/include/stdlib.h: Ditto.
982 * configure.host: Always define MALLOC_PROVIDED on cygwin.
983
8d9112f2
TF
9842002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
985
986 * libc/include/langinfo.h: New file.
987 * libc/include/wchar.h: Likewise.
988 * libc/include/sys/syslimits.h: Likewise.
989 * libc/locale/fix_grouping.c: Likewise.
990 * libc/locale/ldpart.c: Likewise.
991 * libc/locale/ldpart.h: Likewise.
992 * libc/locale/lmessages.c: Likewise.
993 * libc/locale/lmessages.h: Likewise.
994 * libc/locale/lmonetary.c: Likewise.
995 * libc/locale/lmonetary.h: Likewise.
996 * libc/locale/lnumeric.c: Likewise.
997 * libc/locale/lnumeric.h: Likewise.
998 * libc/locale/nl_langinfo.3: Likewise.
999 * libc/locale/nl_langinfo.c: Likewise.
1000 * libc/locale/timelocal.c: Likewise.
1001 * libc/locale/timelocal.h: Likewise.
1002 * libc/stdlib/btowc.c: Likewise.
1003 * libc/stdlib/mbrlen.c: Likewise.
1004 * libc/stdlib/mbrtowc.c: Likewise.
1005 * libc/stdlib/mbsinit.c: Likewise.
1006 * libc/stdlib/mbsrtowcs.c: Likewise.
1007 * libc/stdlib/wcrtomb.c: Likewise.
1008 * libc/stdlib/wcsrtombs.c: Likewise.
1009 * libc/stdlib/wctob.c: Likewise.
1010 * libc/sys/linux/prof-freq.c: Likewise.
1011 * libc/sys/linux/profile.c: Likewise.
1012 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
1013 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
1014 * libc/include/stdlib.h: Change re-entrant functions to take
1015 mbstate_t pointers.
1016 * libc/include/sys/_types.h: Define _mbstate_t.
1017 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
1018 * libc/include/sys/errno.h (EILSEQ): New error code.
1019 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
1020 structure to use mbstate_t.
1021 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
1022 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
1023 * libc/machine/powerpc/vfscanf.c: Likewise.
1024 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
1025 * libc/stdio/vfprintf.c: Likewise.
1026 * libc/stdio/vfscanf.c: Likewise.
1027 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
1028 * libc/stdlib/mblen.c: Use mbstate_t.
1029 * libc/stdlib/mblen_r.c: Likewise.
1030 * libc/stdlib/mbstowcs.c: Likewise.
1031 * libc/stdlib/mbstowcs_r.c: Likewise.
1032 * libc/stdlib/mbtowc.c: Likewise.
1033 * libc/stdlib/mbtowc_r.c: Likewise.
1034 * libc/stdlib/wcstombs.c: Likewise.
1035 * libc/stdlib/wcstombs_r.c: Likewise.
1036 * libc/stdlib/wctomb_r.c: Likewise.
1037 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
1038 profile.c.
1039 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
1040 dl-procinfo.c.
1041 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
1042 * libc/sys/linux/sys/types.h (off_t): Define type.
1043 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
1044 to C-UTF-8.
1045 * testsuite/newlib.locale/UTF-8.exp: Likewise.
1046
fe47ea33
JJ
10472002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
1048
1049 * libc/stdlib/mallocr.c: #include windows.h on Win32.
1050 (AlignPage): Continue macro on next line.
1051
ada73509
JJ
10522002-08-19 Jeff Johnston <jjohnstn@redhat.com>
1053
1054 * libc/sys/linux/include/pthread.h: New file.
1055
64b5e8f2
JJ
10562002-08-19 Jeff Johnston <jjohnstn@redhat.com>
1057
1058 * libc/include/sys/types.h: Support __need_inttypes macro
1059 that only sets the __intxx and __uintxx types.
1060 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
1061 to get mprec.h.
1062 * libc/machine/powerpc/Makefile.in: Regenerated.
1063 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
1064 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
1065 redundant fixed-point conversion prototypes.
1066 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
1067 after setting __need_inttypes.
1068
a94b60ce
CF
10692002-08-18 Christopher Faylor <cgf@redhat.com>
1070
1071 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
1072
29e17a86
JJ
10732002-08-17 Jeff Johnston <jjohnstn@redhat.com>
1074
1075 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
1076 _LONG_DOUBLE to double.
1077
936b520f
JJ
10782002-08-17 Jeff Johnston <jjohnstn@redhat.com>
1079
1080 * configure.host: Add powerpc*-*-eabispe* configuration.
1081 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
1082 * libc/machine/powerpc/atosfix32.c: Ditto.
1083 * libc/machine/powerpc/atosfix64.c: Ditto.
1084 * libc/machine/powerpc/atoufix16.c: Ditto.
1085 * libc/machine/powerpc/atoufix32.c: Ditto.
1086 * libc/machine/powerpc/atoufix64.c: Ditto.
1087 * libc/machine/powerpc/fix64.h: Ditto.
1088 * libc/machine/powerpc/simdldtoa.c: Ditto.
1089 * libc/machine/powerpc/strtosfix16.c: Ditto.
1090 * libc/machine/powerpc/strtosfix32.c: Ditto.
1091 * libc/machine/powerpc/strtosfix64.c: Ditto.
1092 * libc/machine/powerpc/strtoufix16.c: Ditto.
1093 * libc/machine/powerpc/strtoufix32.c: Ditto.
1094 * libc/machine/powerpc/strtoufix64.c: Ditto.
1095 * libc/machine/powerpc/ufix64toa.c: Ditto.
1096 * libc/machine/powerpc/configure.in: Add check for
1097 powerpc*-eabispe and add fixed-point conversion functions.
1098 * libc/machine/powerpc/configure: Regenerated.
1099 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
1100 %r and %R format specifiers which handle fixed-point data.
1101 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
1102 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
1103 function prototypes.
1104
ad552766
JJ
11052002-08-17 Jeff Johnston <jjohnstn@redhat.com>
1106
1107 * Makefile.am: Move cmath stuff into libc/sys/linux.
1108 * Makefile.in: Regenerated.
1109 * configure.host: Default -DMB_CAPABLE for x86-linux.
1110 * libc/include/reent.h: Define _sbrk to take signed int argument.
1111 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
1112 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
1113 make locale name checking more efficient. Also allow "C-ISO-8859-1"
1114 locale for LC_CTYPE and LC_MESSAGES.
1115 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
1116 * libc/sys/linux/brk.c: Change sbrk prototype.
1117 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
1118 include <sys/features.h>.
1119 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
1120 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
1121 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
1122 with a few local additions.
1123 * libc/sys/linux/sys/features.h: New file.
1124 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
1125 to take signed argument.
1126 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
1127 prototypes to take signed size argument.
1128
d3bd3632
TF
11292002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
1130
1131 * libc/sys/linux/cmath: New directory.
1132 * libc/sys/linux/include/cmathcalls.h: New file.
1133 * libc/sys/linux/include/complex.h: New file.
1134 * libc/sys/linux/machine/i386/huge_val.h: New file
1135 * libm/math/w_sincos.c: New file
1136 * libm/math/wf_sincos.c: New file
1137 * libm/mathfp/s_sincos.c: New file
1138 * libm/mathfp/sf_sincos.c: New file
1139 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
1140 * libc/include/math.h: Add sincos and sincosf declarations.
1141 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
1142 (SUBLIBS): Likewise.
1143 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
1144 * libm/math/Makefile.am (src): Add w_sincos.c.
1145 (fsrc): Add wf_sincos.c.
1146 * libm/mathfp/Makefile.am (src): Add s_sincos.c
1147 (fsrc): Add sf_sincos.c.
1148
b3a9676b
JJ
11492002-08-12 Jeff Johnston <jjohnstn@redhat.com>
1150
1151 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
1152 Declare as extern chars and use the address operator to
1153 properly use values set in linker script.
1154
659e7062
JJ
11552002-08-09 Jason Tishler <jason@tishler.net>
1156
1157 * libc/stdlib/mallocr.c: Include <limits.h>.
1158 (request2size): Change macro to do
1159 unsigned long comparisons and avoid signed overflow.
1160 (mALLOc): Add overflow check for the number of bytes to allocate.
1161 (rEALLOc): Ditto.
1162
037240a2
JJ
11632002-08-09 Jeff Johnston <jjohnstn@redhat.com>
1164
1165 * configure.host: Add check for --enable-newlib-io-pos-args
1166 and define WANT_IO_POS_ARGS flag if enabled. Define
1167 the flag by default for x86-linux configurations.
1168 * configure.in: Add support for --enable-newlib-io-pos-args.
1169 * libc/configure.in: Ditto.
1170 * configure: Regenerated.
1171 * libc/configure: Ditto.
1172 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
1173 vfprintf.c and vfiprintf.c.
1174 * libc/stdio/Makefile.in: Regenerated.
1175 * libc/stdio/vfprintf.c: Add positional argument support that
1176 is enabled by compiling with -DWANT_IO_POS_ARGS.
1177
172fda76
RS
11782002-08-07 Richard Sandiford <rsandifo@redhat.com>
1179
1180 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
1181 based on __mips_soft_float rather than __mips64.
1182 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
1183 of both 32-bit and 64-bit code.
1184
4866247e
CF
11852002-08-04 Christopher Faylor <cgf@redhat.com>
1186
1187 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
1188 arguments for popen to match similar functionality in fopen.
1189
b96332ce
CV
11902002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
1191
1192 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
1193
60d99bce
JJ
11942002-07-29 Jeff Johnston <jjohnstn@redhat.com>
1195
1196 * libc/sys/linux/Makefile.am: Add aio64.c.
1197 * libc/sys/linux/Makefile.in: Regenerated.
1198 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
1199 * libc/sys/linux/aio64.c: New file.
1200
80a21be0
JJ
12012002-07-26 Jeff Johnston <jjohnstn@redhat.com>
1202
1203 * libc/include/sys/param.h (MAX, MIN): Added macros.
1204 * libc/sys/linux/Makefile.am: Add new files.
1205 * libc/sys/linux/Makefile.in: Regenerated.
1206 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
1207 * libc/sys/linux/inode.c (fchdir): Added syscall.
1208 * libc/sys/linux/ftw.c: New file.
1209 * libc/sys/linux/ftw64.c: Ditto.
1210 * libc/sys/linux/getwd.c: Ditto.
1211 * libc/sys/linux/scandir64.c: Ditto.
1212 * libc/sys/linux/strverscmp.c: Ditto.
1213 * libc/sys/linux/versionsort.c: Ditto.
1214 * libc/sys/linux/versionsort64.c: Ditto.
1215
6b6425cb
JJ
12162002-07-26 Jeff Johnston <jjohnstn@redhat.com>
1217
1218 * libc/string/strings.tex: Fix typo for memccpy.
1219
dc8ac8e6
JJ
12202002-07-25 Jeff Johnston <jjohnstn@redhat.com>
1221
1222 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
1223 * libc/sys/linux/sys/types.h (off64_t): Definition added.
1224
aa0ca6fd
JJ
12252002-07-25 Jeff Johnston <jjohnstn@redhat.com>
1226
1227 * libc/sys/linux/Makefile.am: Add fclean.c.
1228 * libc/sys/linux/Makefile.in: Regenerated.
1229 * libc/sys/linux/fclean.c: New file.
1230
61921945
JJ
12312002-07-25 Jeff Johnston <jjohnstn@redhat.com>
1232
1233 * libc/sys/linux/Makefile.am: Add confstr.c.
1234 * libc/sys/linux/Makefile.in: Regenerated.
1235 * libc/sys/linux/confstr.c: New file.
1236 * libc/sys/linux/confstr.h: Ditto.
1237 * libc/sys/linux/sys/unistd.h: Include <features.h> and
1238 <bits/environments.h>.
1239
3d966a92
JJ
12402002-07-25 Jeff Johnston <jjohnstn@redhat.com>
1241
1242 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
1243 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
1244 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
1245 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
1246 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
1247 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
1248
53b5bff7
JJ
12492002-07-24 Jeff Johnston <jjohnstn@redhat.com>
1250
1251 * libc/sys/linux/Makefile.am: Add new files.
1252 * libc/sys/linux/Makefile.in: Regenerated.
1253 * libc/sys/linux/fstab.c: New file.
1254 * libc/sys/linux/fstatvfs.c: Ditto.
1255 * libc/sys/linux/fstatvfs64.c: Ditto.
1256 * libc/sys/linux/internal_statvfs.c: Ditto.
1257 * libc/sys/linux/mntent.c: Ditto.
1258 * libc/sys/linux/mntent_r.c: Ditto.
1259 * libc/sys/linux/statvfs.c: Ditto.
1260 * libc/sys/linux/statvfs64.c: Ditto.
1261 * libc/sys/linux/include/paths.h: Ditto.
1262 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
1263 with double-underscore weak-aliases.
1264 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
1265
9cef8ef5
JJ
12662002-07-24 Jeff Johnston <jjohnstn@redhat.com>
1267
1268 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
1269 to use _sig_func_ptr type casted constants.
1270 (_sig_func_ptr): Typedef moved to sys/signal.h.
1271 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
1272 For __rtems, use POSIX definition, otherwise default to ANSI.
1273 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
1274
a703e0f2
JJ
12752002-07-24 Stephane Carrez <stcarrez@nerim.fr>
1276
1277 * configure.host: Recognize m6811-elf and m6812-elf targets.
1278 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
1279 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
1280 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
1281 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
1282 according to __INT_MAX__.
1283 (_POINTER_INT): Define to short.
1284 * libc/machine/m68hc11/Makefile.am: New file.
1285 * libc/machine/m68hc11/Makefile.in: New file.
1286 * libc/machine/m68hc11/configure.in: New file.
1287 * libc/machine/m68hc11/configure: New file.
1288 * libc/machine/m68hc11/aclocal.m4: New file.
1289 * libc/machine/m68hc11/setjmp.S: New file.
1290
d254189b
JJ
12912002-07-23 Jeff Johnston <jjohnstn@redhat.com>
1292
1293 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
1294 prototypes.
1295 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
1296 * libc/stdlib/Makefile.in: Regenerated.
1297 * libc/stdlib/strdup.c: Removed.
1298 * libc/stdlib/strdup_r.c: Removed.
1299 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
1300 mempcpy.c, strndup.c, and strndup_r.c.
1301 * libc/string/Makefile.in: Regenerated.
1302 * libc/string/memccpy.c: New file.
1303 * libc/string/mempcpy.c: Ditto.
1304 * libc/string/strndup.c: Ditto.
1305 * libc/string/strndup_r.c: Ditto.
1306 * libc/string/strdup.c: New file moved from stdlib.
1307 * libc/string/strdup_r.c: Ditto.
1308 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
1309
bc100655
JJ
13102002-07-23 Jeff Johnston <jjohnstn@redhat.com>
1311
1312 * libc/include/stdio.h: Move fcloseall prototype within
1313 #ifndef _REENT_ONLY section.
1314 * libc/sys/linux/Makefile.am: Add new files.
1315 * libc/sys/linux/Makefile.in: Regenerated.
1316 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
1317 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
1318 * libc/sys/linux/sys/types.h: Add ino64_t type.
1319 * libc/sys/linux/ctermid.c: New file.
1320 * libc/sys/linux/ttyname_r.c: Ditto.
1321 * libc/sys/linux/readdir64.c: Ditto.
1322
f5f27f07
JJ
13232002-07-22 Jeff Johnston <jjohnstn@redhat.com>
1324
1325 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
1326 * libc/stdio/Makefile.am: Added fcloseall.c support.
1327 * libc/stdio/Makefile.in: Regenerated.
1328 * libc/stdio/fcloseall.c: New file.
1329 * libc/stdio64/Makefile.am: Remove missing .def references.
1330 * libc/stdio64/Makefile.in: Regenerated.
1331
d541ba3e
JJ
13322002-07-22 Jeff Johnston <jjohnstn@redhat.com>
1333
1334 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
1335 * libc/machine/powerpc/times.c: New file.
1336 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
1337 * libc/machine/powerpc/Makefile.in: Regenerated.
1338
13392002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
1340
1341 * libc/machine/powerpc/time.c: New file.
1342 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
1343 time.c.
1344 * libc/machine/powerpc/Makefile.in: Regenerated.
1345
5e7d0a55
TF
13462002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1347
1348 * libc/libc.texinfo: Change copyright notices to Red Hat from
1349 Cygnus.
1350 * libm/libm.texinfo: Likewise.
1351 * README: Change docs URL to
1352 http://sources.redhat.com/newlib/docs.html.
1353
504628e7
JJ
13542002-07-19 Jeff Johnston <jjohnstn@redhat.com>
1355
1356 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
1357 * libc/sys/linux/Makefile.in: Regenerated.
1358 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
1359 * libc/sys/linux/io.c: Add ftruncate syscall.
1360 * libc/sys/linux/fpathconf.c: New file.
1361 * libc/sys/linux/pathconf.c: Ditto.
1362 * libc/sys/linux/linux_fsinfo.h: Ditto.
1363 * libc/sys/linux/sys/unistd.h: Ditto.
1364
b155ad9f
JJ
13652002-07-19 Jeff Johnston <jjohnstn@redhat.com>
1366
1367 * libc/stdio64/Makefile.am: Remove missing files.
1368 * libc/stdio64/Makefile.in: Regenerated.
1369
c119e0ab
JJ
13702002-07-19 Jeff Johnston <jjohnstn@redhat.com>
1371
1372 * libc/include/sys/config.h[__i386__][__linux__]: Define
1373 _LARGE64FILE_SOURCE to 1.
1374 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
1375 * libc/sys/linux/Makefile.in: Regenerated.
1376 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
1377 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
1378 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
1379 of <linux/resource.h>.
1380 * libc/sys/linux/getrlimit64.c: New file.
1381 * libc/sys/linux/setrlimit64.c: Ditto.
1382
9b022d6d
TF
13832002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1384
1385 * libc/argz/argz_replace.c: Include buf_findstr.h.
1386 * libc/argz/buf_findstr.c: Likewise.
1387 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
1388 value to (char *).
1389 * libc/argz/envz_get.c: Likewise.
1390 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
1391 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
1392 * libc/stdlib/getsubopt.3: New file.
1393 * libc/stdlib/getsubopt.c: New file.
1394 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
1395 Change esp to ebp.
1396
dee51391
JJ
13972002-07-17 Jeff Johnston <jjohnstn@redhat.com>
1398
1399 * configure.host(stdio64_dir): New setting that is used to
1400 enable building of new stdio64 directory.
1401 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
1402 large files.
1403 (stmp-stdio64,stdio64.texi): New targets to optionally add in
1404 stdio64 info to info files.
1405 * libc/Makefile.in: Regenerated.
1406 * libc/configure: Ditto.
1407 * libc/configure.in: Add configuration variables that are set
1408 when stdio64 is selected as subdir in configure.host.
1409 * libc/libc.texinfo: Add optional menu item for Stdio64, based
1410 on whether STDIO64 flag is set or not.
1411 * libc/sys.tex: Add optional stdio64 syscalls based on whether
1412 STDIO64 flag is set or not.
1413 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
1414 _r sycall routines.
1415 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
1416 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
1417 (__SL64): New file flag indicating file is opened via fopen64.
1418 * libc/include/sys/_types.h(_off64_t): Added.
1419 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
1420 * libc/include/sys/reent.h(struct __sFILE64): New file structure
1421 for 64-bit offset large file support.
1422 (__FILE): New intermediate type either set to struct __sFILE64 or
1423 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
1424 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
1425 * libc/reent/Makefile.in: Regenerated.
1426 * libc/reent/fstat64r.c: New file.
1427 * libc/reent/lseek64r.c: Ditto.
1428 * libc/reent/open64r.c: Ditto.
1429 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
1430 based on whether STDIO64 flag is set.
1431 * libc/stdio/stdio.tex: Add blank line.
1432 * libc/stdio64/Makefile.am: New file.
1433 * libc/stdio64/Makefile.in: Ditto.
1434 * libc/stdio64/fgetpos64.c: Ditto.
1435 * libc/stdio64/fopen64.: Ditto.
1436 * libc/stdio64/freopen64.c: Ditto.
1437 * libc/stdio64/fseeko64.c: Ditto.
1438 * libc/stdio64/fsetpos64.c: Ditto.
1439 * libc/stdio64/ftello64.c: Ditto.
1440 * libc/stdio64/local64.h: Ditto.
1441 * libc/stdio64/stdio64.c: Ditto.
1442 * libc/stdio64/stdio64.tex: Ditto.
1443 * libc/stdio64/tmpfile64.c: Ditto.
1444 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
1445 open64.
1446
778876f6
JJ
14472002-07-16 Jeff Johnston <jjohnstn@redhat.com>
1448
1449 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
1450 if LIBC_EXTRA_LIB is present.
1451 * libc/Makefile.in: Regenerated.
1452 * libc/libc.texinfo: Add blank line.
1453 * libc/argz/Makefile.am: Add doc support.
1454 * libc/search/Makefile.am: Ditto.
1455 * libc/argz/Makefile.in: Regenerated.
1456 * libc/search/Makefile.in: Ditto.
1457 * libc/misc/misc.tex: Add ffs function.
1458 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
1459
37981145
JJ
14602002-07-15 Jeff Johnston <jjohnstn@redhat.com>
1461
1462 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
1463 definition that was removed in error.
1464
38b5dc59
JJ
14652002-07-15 Jeff Johnston <jjohnstn@redhat.com>
1466
1467 * libc/include/machine/ieeefp.h: Change to only define
1468 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
1469 __IEEE_LITTLE_ENDIAN must be defined for each platform).
1470 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
1471 remove redundant floating point definitions.
1472
8cb61a96
JJ
14732002-07-15 Jeff Johnston <jjohnstn@redhat.com>
1474
1475 * libc/sys/linux/callocr.c: Fix so code references
1476 calloc.
1477
edba3282
JJ
14782002-07-15 Jeff Johnston <jjohnstn@redhat.com>
1479
1480 * libc/sys/linux/Makefile.am: Add new files.
1481 * libc/sys/linux/Makefile.in: Regenerated.
1482 * libc/sys/linux/bp-sym.h: Moved to include directory.
1483 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
1484 * libc/sys/linux/inode.c: Set _LIBC to 1.
1485 * libc/sys/linux/mq_close.c: Ditto.
1486 * libc/sys/linux/mq_getattr.c: Ditto.
1487 * libc/sys/linux/mq_open.c: Ditto.
1488 * libc/sys/linux/mq_receive.c: Ditto.
1489 * libc/sys/linux/mq_send.c: Ditto.
1490 * libc/sys/linux/mq_setattr.c: Ditto.
1491 * libc/sys/linux/mq_unlink.c: Ditto.
1492 * libc/sys/linux/calloc.c: New file.
1493 * libc/sys/linux/callocr.c: Ditto.
1494 * libc/sys/linux/cfreer.c: Ditto.
1495 * libc/sys/linux/config.h: Ditto.
1496 * libc/sys/linux/free.c: Ditto.
1497 * libc/sys/linux/freer.c: Ditto.
1498 * libc/sys/linux/msize.c: Ditto.
1499 * libc/sys/linux/msizer.c: Ditto.
1500 * libc/sys/linux/mstats.c: Ditto.
1501 * libc/sys/linux/mtrim.c: Ditto.
1502 * libc/sys/linux/mtrimr.c: Ditto.
1503 * libc/sys/linux/pvallocr.c: Ditto.
1504 * libc/sys/linux/realloc.c: Ditto.
1505 * libc/sys/linux/reallocr.c: Ditto.
1506 * libc/sys/linux/thread-m.h: Ditto.
1507 * libc/sys/linux/vallocr.c: Ditto.
1508 * libc/sys/linux/bp-checks.h: Ditto.
1509 * libc/sys/linux/libc-symbols.h: Ditto.
1510 * libc/sys/linux/libc-tsd.h: Ditto.
1511 * libc/sys/linux/libintl.h: Ditto.
1512 * libc/sys/linux/malign.c: Ditto.
1513 * libc/sys/linux/malignr.c: Ditto.
1514 * libc/sys/linux/mallinfor.c: Ditto.
1515 * libc/sys/linux/malloc.c: Ditto.
1516 * libc/sys/linux/mallocr.c: Ditto.
1517 * libc/sys/linux/malloptr.c: Ditto.
1518 * libc/sys/linux/mallstatsr.c: Ditto.
1519 * libc/sys/linux/mcheck.c: Ditto.
1520 * libc/sys/linux/mhooks.h: Ditto.
1521 * libc/sys/linux/include/bp-sym.h: Ditto.
1522 * libc/sys/linux/include/malloc.h: Ditto.
1523 * libc/sys/linux/include/mcheck.h: Ditto.
1524 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
1525 getpagesize.c.
1526 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
1527 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
1528 * libc/sys/linux/machine/i386/getpagesize.c: New file.
1529 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
1530 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
1531 * libc/sys/linux/machine/i386/sysdep.h: New file.
1532 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
1533 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
1534 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
1535
ea20b60a
JJ
15362002-07-12 Jeff Johnston <jjohnstn@redhat.com>
1537
1538 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
1539 instead of <asm/siginfo.h>.
1540 * libc/sys/linux/sys/signal.h: Change to include various linux
1541 <bits/xxx.h> header files, rather than <linux/signal.h> so as
1542 to work with multiple releases of glibc header files.
1543
2fc82912
JJ
15442002-07-11 Chris Demetriou <cgd@broadcom.com>
1545
1546 * testsuite/newlib.search/hsearchtest.c: New file to test
1547 newlib/libc/search.
1548 * testsuite/newlib.search/hsearchtest.exp: Likewise.
1549
4a404e97 15502002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
1551
1552 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
1553 a terminal.
1554 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
1555
6aec558e
JJ
15562002-07-08 Jeff Johnston <jjohnstn@redhat.com>
1557
1558 * libc/include/math.h (MAXFLOAT): Added.
1559
e47e6f0e 1560Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
1561
1562 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
1563 Make strcmp.S unconditional.
1564 * libc/machine/sh/Makefile.in: Regenerate.
1565 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
1566 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
1567 for SHcompact.
1568
89ffbd66
JJ
15692002-07-04 Jeff Johnston <jjohnstn@redhat.com>
1570
1571 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
1572 define before including <sys/lock.h>.
1573
ae6c4c84
JJ
15742002-07-04 Jeff Johnston <jjohnstn@redhat.com>
1575
1576 * libc/include/utime.h: Add include of <_ansi.h>.
1577 * libc/sys/linux/Makefile.am: Add utimes.c.
1578 * libc/sys/linux/Makefile.in: Regenerated.
1579 * libc/sys/linux/inode.c(__umask): New static routine.
1580 (umask): Written to use __umask and attempt to thread lock.
1581 (getumask): New function written to use __umask and thread lock.
1582 * libc/sys/linux/utimes.c: New file.
1583 * libc/sys/linux/sys/time.h: Fix utimes prototype.
1584 * libc/sys/linux/sys/utime.h: New file.
1585
a6cac46c
TF
15862002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
1587
1588 * libtool.m4: New file.
1589 * libc/sys/linux/process.c: Implement vfork in terms of fork,
1590 rather than as a syscall.
1591
30b2092f
JJ
15922002-07-04 Jeff Johnston <jjohnstn@redhat.com>
1593
1594 * libc/include/stdio.h: Add new prototypes.
1595 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
1596 * libc/stdio/Makefile.in: Regenerated.
1597 * libc/stdio/fseek.c: Add fseeko documentation.
1598 * libc/stdio/ftell.c: Add ftello documentation.
1599 * libc/stdio/fseeko.c: New file.
1600 * libc/stdio/ftello.c: New file.
1601
7501704d
JJ
16022002-07-04 Jeff Johnston <jjohnstn@redhat.com>
1603
1604 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
1605 * libc/stdio/Makefile.in: Regenerated.
1606 * libc/stdio/asprintf.c: New file.
1607 * libc/stdio/vasprintf.c: Ditto.
1608 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
1609 the buffer for asprintf support.
1610 * libc/stdio/sprintf.c: Add asprintf documentation.
1611 * libc/stdio/vfprintf.c: Add vasprintf documentation.
1612 * libc/include/stdio.h: Add new prototypes.
1613
66eee32b
TF
16142002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1615
1616 * libc/search/hcreate.c: Remove advertising clause from license.
1617 * libc/search/hcreate_r.c: Likewise.
1618
cec4a9f8
JJ
16192002-07-02 Chris Demetriou <cgd@broadcom.com>
1620
1621 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
1622 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
1623 Check that one of them is defined and error out if not.
1624 Add any platforms defined in <machine/ieeefp.h> that are missing.
1625 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
1626 (DB_LITTLE_ENDIAN): New defines.
1627 * libc/search/hash.c: Replace all incorrect checks for
1628 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
1629 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
1630 * libc/search/hash_page.c: Likewise.
1631
2d5eb17e
TF
16322002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
1633
1634 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
1635
c1a3171f
JJ
16362002-06-27 Benjamin Kosnik <bkoz@redhat.com>
1637
1638 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
1639 * libc/include/time.h: Same.
1640 * libc/include/string.h: Same.
1641 * libc/include/stdlib.h: Same.
1642 * libc/include/signal.h: Same.
1643 * libc/include/setjmp.h: Same.
1644 * libc/include/math.h: Same.
1645 * libc/include/locale.h: Same.
1646 * libc/include/ctype.h: Same.
1647 * libc/include/machine/setjmp.h: Same.
1648 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
1649 (_END_STD_C): Add.
1650
533b4e66
JJ
16512002-06-27 Jeff Johnston <jjohnstn@redhat.com>
1652
1653 * libc/include/sys/_types.h: Define _ssize_t as int if int is
1654 32-bits, otherwise define it as long.
1655 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
1656 and define ssize_t as _ssize_t.
1657 * libc/reent/readr.c: Change return type to _ssize_t.
1658 * libc/reent/writer.c: Ditto.
1659 * libc/sys/linux/Makefile.am: Add aio.c.
1660 * libc/sys/linux/Makefile.in: Regenerated.
1661 * libc/sys/linux/aio.c: New file.
1662 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
1663 * libm/common/fdlibm.h: Undef __P before defining it.
1664
c36e6dd7
TF
16652002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1666
54be629f
TF
1667 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
1668 exponent_is_even_int variable. Handle case where x is
1669 negative, and y is an odd integer.
1670 * libm/mathfp/sf_pow.c (powf): Likewise.
1671
c36e6dd7
TF
1672 * libm/mathfp/er_lgamma.c: Remove __kernel references.
1673 * libm/mathfp/erf_lgamma.c: Likewise.
1674 * libm/mathfp/s_tgamma.c: Likewise.
1675 * libm/mathfp/sf_tgamma.c: Likewise.
1676
baf051ca
JJ
16772002-06-27 Jeff Johnston <jjohnstn@redhat.com>
1678
1679 * libc/sys/linux/Makefile.am: Add new clock routines.
1680 * libc/sys/linux/Makefile.in: Regenerated.
1681 * libc/sys/linux/clock_getres.c: New file.
1682 * libc/sys/linux/clock_gettime.c: Ditto.
1683 * libc/sys/linux/clock_settime.c: Ditto.
1684 * libc/sys/linux/hp-timing.h: Ditto.
1685 * libc/sys/linux/libc-internal.h: Ditto.
1686 * libc/sys/linux/sysconf.c: Fix typo.
1687 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
1688 * libc/sys/linux/machine/hp-timing.h: New file.
1689 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
1690 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
1691 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
1692 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
1693 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
1694 * libc/sys/linux/sys/linux_time.h: New file.
1695 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
1696 replace with <sys/linux_time.h>.
1697
0431ed4e
JR
1698Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
1699
1700 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
1701
fc067ba5
JJ
17022002-06-25 Jeff Johnston <jjohnstn@redhat.com>
1703
1704 * libc/sys/linux/Makefile.am: Consolidate additional items under
1705 ADD_OBJS.
1706 * libc/sys/linux/Makefile.in: Regenerated.
1707
ffddf61e
JJ
17082002-06-25 Jeff Johnston <jjohnstn@redhat.com>
1709
1710 * libc/sys/linux/sethostname.c: New file.
1711 * libc/sys/linux/Makefile.am: Add sethostname.c support.
1712 * libc/sys/linux/Makefile.in: Regenerated.
1713
d5487d3f
TF
17142002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1715
1716 * libc/search/db_local.h: New file.
1717 * libc/include/db.h: Remove.
1718 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
1719 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
1720 "db_local.h".
1721 * libc/search/hash_bigkey.c: Likewise.
1722 * libc/search/hash_buf.c: Likewise.
1723 * libc/search/hash_func.c: Likewise.
1724 * libc/search/hash_log2.c: Likewise.
1725 * libc/search/hash_page.c: Likewise.
1726
17272002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 1728
1e7ca711 1729 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
1730 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
1731 * libc/machine/sh/Makefile.am: Regenerate.
1732
59c6d6c4
JJ
17332002-06-24 Jeff Johnston <jjohnstn@redhat.com>
1734
1735 * libc/sys/linux/gethostname.c: Change name to __gethostname and
1736 add gethostname alias.
1737
a70486d7
JJ
17382002-06-24 Jeff Johnston <jjohnstn@redhat.com>
1739
1740 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 1741 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 1742 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 1743 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
1744 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
1745 * libm/common/fdlibm.h: Ditto.
1746
3118725a
TF
17472002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1748
1749 * libc/include/ndbm.h: Remove.
1750 * libc/search/ndbm.c: Remove.
1751
30a06168
TF
17522002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
1753
1754 * libc/stdio/fseek.c (fseek): Fix braces.
1755
01f5155e
CV
17562002-06-21 Corinna Vinschen <corinna@vinschen.de>
1757
1758 * libc/time/strftime.c (strftime): Add %e format specifier.
1759
930bc96b
TF
17602002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1761
1762 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
1763 previously defined.
1764
55105f86
JJ
17652002-06-21 Richard Earnshaw (rearnsha@arm.com)
1766
1767 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
1768 (BYTE_ORDER): Define as appropriate for the target.
1769
2e78444a
JJ
17702002-06-21 Jeff Johnston <jjohnstn@redhat.com>
1771
1772 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
1773 to _ssize_t.
1774 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
1775
d427d092
JJ
17762002-06-21 Jeff Johnston <jjohnstn@redhat.com>
1777
1778 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
1779 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
1780 [HAVE_GETDATE](getdate_err): New error code.
1781 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
1782 * libc/stdio/Makefile.in: Regenerated.
1783 * libc/stdio/getdelim.c: New file.
1784 * libc/stdio/getline.c: Ditto.
1785 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
1786 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
1787 * libc/sys/linux/Makefile.in: Regenerated.
1788 * libc/sys/linux/getdate.c: New file.
1789 * libc/sys/linux/getdate_err.c: Ditto.
1790 * libc/sys/linux/ntp_gettime.c: Ditto.
1791 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
1792 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
1793
35728d4f
JJ
17942002-06-21 Jeff Johnston <jjohnstn@redhat.com>
1795
1796 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
1797 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
1798 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
1799 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
1800 * libc/include/sys/param.h: Remove i386 case which is handled
1801 by default case.
1802 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
1803 definitions in case they are already defined.
1804 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
1805 _IEEE_LITTLE_ENDIAN flags.
1806 * libc/include/sys/reent.h: Change __uint32_t references to
1807 use _ULong instead.
1808 (_REENT_GETDATE_REENT_P): New macro.
1809 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
1810 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
1811 * libc/search/hash.h: Add default setting of BYTE_ORDER,
1812 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
1813 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
1814 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
1815 pid_t, off_t, loff_t, caddr_t, and daddr_t type
1816 definitions which are done by subsequent glibc headers.
1817 Add macro definitions to prevent subsequent header files from
1818 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
1819 intptr_t to after glibc definitions of types they are based on.
1820
4a2bfab7
JJ
18212002-06-21 Jeff Johnston <jjohnstn@redhat.com>
1822
1823 * libc/include/errno.h: Protect from multiple inclusion.
1824
f42d18ea
NC
18252002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
1826
1827 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
1828
a7b23a8f
TF
18292002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
1830
1831 * Makefile.am (LIB_OBJECTLISTS): Add
1832 libc/search/objectlist.awk.in.
1833 * libc/Makefile.am (SUBDIRS): Add search.
1834 (SUBLIBS): Add search/libsearch.la.
1835 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
1836 * libc/search: New directory.
1837 * libc/search/Makefile.am: New file.
1838 * libc/search/extern.h: New file.
1839 * libc/search/hash.c: New file.
1840 * libc/search/hash.h: New file.
1841 * libc/search/hash_bigkey.c: New file.
1842 * libc/search/hash_buf.c: New file.
1843 * libc/search/hash_func.c: New file.
1844 * libc/search/hash_log2.c: New file.
1845 * libc/search/hash_page.c: New file.
1846 * libc/search/hcreate.3: New file.
1847 * libc/search/hcreate.c: New file.
a7b23a8f
TF
1848 * libc/search/hcreate_r.c: New file.
1849 * libc/search/ndbm.c: New file.
1850 * libc/search/page.h: New file.
1851 * libc/search/tdelete.c: New file.
1852 * libc/search/tdestroy.c: New file.
1853 * libc/search/tfind.c: New file.
1854 * libc/search/tsearch.3: New file.
1855 * libc/search/tsearch.c: New file.
1856 * libc/search/twalk.c: New file.
1857 * libc/include/db.h: New file.
1858 * libc/include/ndbm.h: New file.
1859 * libc/include/search.h: New file.
1860 * libc/include/sys/queue.h: New file.
1861 * libc/include/sys/cdefs.h: New file.
1862 * libc/include/sys/param.h
1863 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
1864 LITTLE_ENDIAN or BIG_ENDIAN.
1865 * libc/include/sys/errno.h (EFTYPE): New macro.
1866 * libc/search/bsearch.c: Move from libc/stdlib.
1867 * libc/search/qsort.c: Likewise.
1868 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
1869 qsort.c.
1870 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
1871 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
1872
ef467338
JJ
18732002-06-19 Jeff Johnston <jjohnstn@redhat.com>
1874
1875 * libc/sys/linux/Makefile.am: Add support for message queue routines,
1876 ipc routines, and ftok.
1877 * libc/sys/linux/Makefile.in: Regenerated.
1878 * libc/sys/linux/ftok.c: New file.
1879 * libc/sys/linux/ipc.c: Ditto.
1880 * libc/sys/linux/mq_close.c: Ditto.
1881 * libc/sys/linux/mq_getattr.c: Ditto.
1882 * libc/sys/linux/mq_notify.c: Ditto.
1883 * libc/sys/linux/mq_open.c: Ditto.
1884 * libc/sys/linux/mq_receive.c: Ditto.
1885 * libc/sys/linux/mq_send.c: Ditto.
1886 * libc/sys/linux/mq_setattr.c: Ditto.
1887 * libc/sys/linux/mq_unlink.c: Ditto.
1888 * libc/sys/linux/mqlocal.h: Ditto.
1889 * libc/sys/linux/include/mqueue.h: Ditto.
1890 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
1891 __uid_t_defined.
1892
7f55c08c
TF
18932002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
1894
1895 * libm/common/sf_lround.c (round): Change name to: (lround).
1896 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
1897 remquof.
1898
c9ca68d7
TF
18992002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1900
1901 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
1902 procedure.
1903 (newlib_pass_fail): Change to compile and run only one file.
1904 * testsuite/newlib.locale/locale.exp: Use new
1905 newlib_pass_fail_all procedure.
1906 * testsuite/newlib.string/string.exp: Likewise.
1907
4ecedd09
DB
19082002-06-18 Dave Brolley <brolley@redhat.com>
1909
1910 From Catherine Moore, Michael Meissner, Richard Sandiford:
1911 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
1912 (_JBTYPE): Ditto.
1913 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
1914 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
1915 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
1916 * configure.host: Support frv-*-*.
1917 * libc/machine/frv/Makefile.am: New file.
1918 * libc/machine/frv/configure.in: New file.
1919 * libc/machine/frv/setjmp.S: New file.
1920
af1c257a
TF
19212002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1922
1923 * libc/include/ctype.h: Remove isblank macro.
1924
1925 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
1926 * libc/ctype/isblank.c: New file.
1927 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
1928 declaration. Add isblank macro.
1929
4e04fa90
JJ
19302002-06-18 Jeff Johnston <jjohnstn@redhat.com>
1931
1932 * testsuite/newlib.stdlib/atexit.c: New file.
1933 * testsuite/newlib.stdlib/atexit.exp: Ditto.
1934 * testsuite/newlib.string/tstring.c: Change default start size
1935 to something more reasonable for embedded platforms.
1936
b56d7e79
TF
19372002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1938
ece3c72f
TF
1939 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
1940
b56d7e79
TF
1941 * libc/argz: New directory.
1942 * libc/argz/*: New files.
1943 * libc/argz/argz_add.c: New file.
1944 * libc/argz/argz_add_sep.c: New file.
1945 * libc/argz/argz_append.c: New file.
1946 * libc/argz/argz_count.c: New file.
1947 * libc/argz/argz_create.c: New file.
1948 * libc/argz/argz_create_sep.c: New file.
1949 * libc/argz/argz_delete.c: New file.
1950 * libc/argz/argz_extract.c: New file.
1951 * libc/argz/argz_insert.c: New file.
1952 * libc/argz/argz_next.c: New file.
1953 * libc/argz/argz_replace.c: New file.
1954 * libc/argz/argz_stringify.c: New file.
1955 * libc/argz/buf_findstr.c: New file.
1956 * libc/argz/envz_add.c: New file.
1957 * libc/argz/envz_entry.c: New file.
1958 * libc/argz/envz_get.c: New file.
1959 * libc/argz/envz_merge.c: New file.
1960 * libc/argz/envz_remove.c: New file.
1961 * libc/argz/envz_strip.c: New file.
1962 * libc/include/argz.h: New file.
1963 * libc/include/envz.h: New file.
1964 * Makefile.am (LIBC_OBJECTLISTS): Add
1965 libc/argz/objectlist.awk.in.
1966 * libc/Makefile.am (SUBDIRS): Add argz.
1967 (SUBLIBS): Add argz/libargz.la.
1968 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
1969 * libc/include/errno.h: Add error_t typedef.
1970
d062d3dd
JJ
19712002-06-13 Jeff Johnston <jjohnstn@redhat.com>
1972
1973 * libc/include/stdlib.h: Add _Exit prototype.
1974 * libc/stdlib/Makefile.am: Add _Exit.c support.
1975 * libc/stdlib/Makefile.in: Ditto.
1976 * libc/stdlib/_Exit.c: New file.
1977
a47e66ae
JJ
19782002-06-13 Stephen L. Moshier <steve@moshier.net>
1979
1980 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
1981 x is close to -1.0 and y is very large to use ax (absolute value)
1982 instead of x.
1983 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
1984
13f7d71f
JR
1985Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
1986
1987 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
1988 Fix clobbering bytes before destination if src and dst have same
1989 non-zero misalignment.
1f1fb421
JR
1990
1991 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
1992 Fixed bug in writing end of set region.
1993
b2e8018f
CF
19942002-06-10 Christopher Faylor <cgf@redhat.com>
1995
1996 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
1997 spawnve declaration.
1998
0953fe64
TF
19992002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
2000
2001 * libm/common/s_fdim.c: New file.
2002 * libm/common/s_fma.c: Likewise.
2003 * libm/common/s_fmax.c: Likewise.
2004 * libm/common/s_fmin.c: Likewise.
2005 * libm/common/s_fpclassify.c: Likewise.
2006 * libm/common/s_lrint.c: Likewise.
2007 * libm/common/s_lround.c: Likewise.
2008 * libm/common/s_nearbyint.c: Likewise.
2009 * libm/common/s_remquo.c: Likewise.
2010 * libm/common/s_round.c: Likewise.
2011 * libm/common/s_scalbln.c: Likewise.
2012 * libm/common/s_signbit.c: Likewise.
2013 * libm/common/s_trunc.c: Likewise.
2014 * libm/common/sf_fdim.c: Likewise.
2015 * libm/common/sf_fma.c: Likewise.
2016 * libm/common/sf_fmax.c: Likewise.
2017 * libm/common/sf_fmin.c: Likewise.
2018 * libm/common/sf_lrint.c: Likewise.
2019 * libm/common/sf_lround.c: Likewise.
2020 * libm/common/sf_nearbyint.c: Likewise.
2021 * libm/common/sf_remquo.c: Likewise.
2022 * libm/common/sf_round.c: Likewise.
2023 * libm/common/sf_scalbln.c: Likewise.
2024 * libm/common/sf_trunc.c: Likewise.
2025 * libm/math/w_exp2.c: Likewise.
2026 * libm/math/w_tgamma.c: Likewise.
2027 * libm/math/wf_exp2.c: Likewise.
2028 * libm/math/wf_tgamma.c: Likewise.
2029 * libm/mathfp/s_exp2.c: Likewise.
2030 * libm/mathfp/s_tgamma.c: Likewise.
2031 * libm/mathfp/sf_exp2.c: Likewise.
2032 * libm/mathfp/sf_tgamma.c: Likewise.
2033 * libm/math/er_gamma.c: Fix return value.
2034 * libm/math/erf_gamma.c: Likewise.
2035 * libm/mathfp/er_gamma.c: Likewise.
2036 * libm/mathfp/erf_gamma.c: Likewise.
2037 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
2038 declarations and macros.
2039 Regenerated all Makefile.in, aclocal.m4 and configure files to
2040 use new libtool macros in top-level libtool.m4
2041
39e65e01
JJ
20422002-06-05 Jeff Johnston <jjohnstn@redhat.com>
2043
2044 * libc/include/string.h[__linux__]: Add strsignal prototype.
2045 * libc/include/sys/lock.h: New file with default locking support.
2046 * libc/include/sys/reent.h: Add signal buffer support for strsignal
2047 and psignal.
2048 * libc/posix/Makefile.am: Add support for readdir_r.c.
2049 * libc/posix/Makefile.in: Regenerated.
2050 * libc/posix/closedir.c: Add locking support and hash table cleanup.
2051 * libc/posix/opendir.c: Add lock support.
2052 * libc/posix/readdir.c: Ditto.
2053 * libc/posix/rewinddir.c: Ditto.
2054 * libc/posix/scandir.c: Ditto.
2055 * libc/posix/seekdir.c: Ditto.
2056 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
2057 clean up leftover hash table entries.
2058 * libc/posix/readdir_r.c: New file.
2059 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
2060 * libc/sys/linux/Makefile.in: Regenerated.
2061 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
2062 * libc/sys/linux/sys/signal.h: Add psignal prototype.
2063 * libc/sys/linux/psignal.c: New file.
2064 * libc/sys/linux/strsignal.c: Ditto.
2065
cc890e89
CV
20662002-06-03 Corinna Vinschen <corinna@vinschen.de>
2067
2068 * libc/include/sys/types.h: Don't define dev_t when compiling for
2069 Cygwin.
2070
ea55e3f7
JJ
20712002-05-31 Jeff Johnston <jjohnstn@redhat.com>
2072
2073 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
2074 make siglist.inc dependent on sig.c instead of signal.c.
2075 * libc/sys/linux/Makefile.in: Regenerated.
2076 * libc/sys/linux/sig.c: Rename from signal.c and change code to
2077 use NSIG instead of _NSIG.
2078 * libc/sys/linux/sigaction.c: New file.
2079 * libc/sys/linux/signal.c: Changed to be linux signal() function
2080 so as to override regular newlib default signal.c.
ea55e3f7
JJ
2081 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
2082 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2083 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
2084 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
2085 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
2086 default linux sigset_t typedef by defining it equal to __sigset_t.
2087 * libc/unix/sigset.c: Add check so code isn't compiled on systems
2088 with a sigset_t that isn't implemented with a single int.
2089
9d362914
JJ
20902002-05-30 Jeff Johnston <jjohnstn@redhat.com>
2091
2092 * libc/sys/linux/Makefile.am: Add support for new files.
2093 * libc/sys/linux/Makefile.in: Regenerated.
2094 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
2095 * libc/sys/linux/signal.c: Change to use real-time syscalls for
2096 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
2097 it is in a separate file now.
2098 * libc/sys/linux/machine/i386/Makefile.am
2099 * libc/sys/linux/machine/i386/Makefile.in
2100 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
2101 * libc/sys/linux/sigaction.c: New file.
2102 * libc/sys/linux/sigqueue.c: Ditto.
2103 * libc/sys/linux/sigwait.c: Ditto.
2104 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
2105 * libc/sys/linux/kernel_sigaction.h: Ditto.
2106
b1f07180
JJ
21072002-05-28 Jeff Johnston <jjohnstn@redhat.com>
2108
2109 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
2110 tcsendbrk.c.
2111 * libc/sys/linux/Makefile.in: Regenerated.
2112 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
2113 tcgetpgrp(), and tcsetpgrp() functions.
2114 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
2115 to get __MAX_BAUD rate.
2116 * libc/sys/linux/machine/i386/include/termios.h: New file.
2117 * libc/include/machine/termios.h: Ditto.
2118 * libc/sys/linux/cfspeed.c: Ditto.
2119 * libc/sys/linux/tcsendbrk.c: Ditto.
2120
d29587b4
JJ
21212002-05-24 Jeff Johnston <jjohnstn@redhat.com>
2122
2123 * libc/include/string.h: Add strnlen and strerror_r prototypes.
2124 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
2125 * libc/string/Makefile.in: Regenerated.
2126 * libc/string/strerror_r.c: New file.
2127 * libc/string/strnlen.c: New file.
2128 * libc/sys/linux/Makefile.am: Add rename.c.
2129 * libc/sys/linux/Makefile.in: Regenerated.
2130 * libc/sys/linux/rename.c: New file to override default rename.
2131
9a292385
TF
21322002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2133
2134 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
2135 * libc/sys/linux/sys/time.h: Add conversion macros.
2136 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
2137 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
2138 * libc/sys/linux/gethostname.c: New file.
2139 * libc/sys/linux/seteuid.c: New file.
2140 * libc/sys/linux/sysctl.c: New file.
2141
7a364eb3
JJ
21422002-05-23 Jeff Johnston <jjohnstn@redhat.com>
2143
2144 * libc/string/Makefile.am: Add support for strsep.c.
2145 * libc/string/Makefile.in: Regenerated.
2146 * libc/string/strsep.c: New file.
2147 * libc/string/strtok.c: Change to call __strtok_r service routine.
2148 * libc/string/strtok_r.c: Add __strtok_r routine which takes
2149 additional flag parameter regarding whether to skip leading delimeters.
2150 Change strtok_r to call __strtok_r.
2151
164ee5b0
JJ
21522002-05-23 Gareth Pearce <tilps@hotmail.com>
2153
2154 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
2155 * libc/stdio/Makefile.in: Regenerated.
2156 * libc/stdio/setbuffer.c: New file.
2157 * libc/stdio/setlinebuf.c: New file.
2158
f6b2b567
JJ
21592002-05-23 Jeff Johnston <jjohnstn@redhat.com>
2160
2161 * libc/sys/linux/Makefile.am: Add resource.c.
2162 * libc/sys/linux/Makefile.in: Regenerated.
2163 * libc/sys/linux/resource.c: New file.
2164 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
2165 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
2166 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2167 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
2168 are now found in libc/sys/linux/resource.c.
2169
afe56517
JJ
21702002-05-23 Jeff Johnston <jjohnstn@redhat.com>
2171
2172 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
2173 to use void * pointers and comply with Single Unix spec.
2174 * libc/string/bcmp.c: Change to use void * instead of char *.
2175 * libc/string/bcopy.c: Ditto.
2176 * libc/string/bzero.c: Ditto.
2177
7736feb2
JJ
21782002-05-22 Jeff Johnston <jjohnstn@redhat.com>
2179
2180 * libc/sys/linux/shm_open.c: New file.
2181 * libc/sys/linux/shm_unlink.c: Ditto.
2182 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
2183 shm_unlink.c.
2184 * libc/sys/linux/Makefile.in: Regenerated.
2185 * libc/sys/linux/sys/types.h: Add some additional checks to see
2186 if clock_t or time_t is already defined.
2187
19f111bd
JJ
21882002-05-22 Jeff Johnston <jjohnstn@redhat.com>
2189
2190 * Makefile.am: Don't pass $toollibdir down directly in
2191 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
2192 Pass it under the name: top_toollibdir.
2193 * Makefile.in: Regenerated.
2194
c811b1ee
CV
21952002-05-22 Corinna Vinschen <vinschen@redhat.com>
2196
2197 * libc/include/sys/types.h: Revert previous patch.
2198
2b43ad33
CV
21992002-05-22 Corinna Vinschen <vinschen@redhat.com>
2200
2201 * libc/include/sys/types.h: Include cygwin/types.h always under
2202 Cygwin, not only if _POSIX_THREADS is defined.
2203
dd671cde
TF
22042002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
2205
2206 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
2207
5e2cbfb6
JJ
22082002-05-17 Jeff Johnston <jjohnstn@redhat.com>
2209
2210 * Makefile.am: Copy and install headers from sys/machine/include
2211 directory. Also pass $toollibdir to lower-level directories.
2212 * Makefile.in: Regenerated.
2213 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
2214 stderr to use _REENT macro instead of _impure_ptr directly.
2215 * libc/include/sys/config.h[__i386__][__linux__]: Define
2216 __DYNAMIC_REENT__.
2217 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
2218 call to __getreent() function if !__SINGLE_THREAD__ and
2219 __DYNAMIC_REENT__ is set.
2220 * libc/reent/Makefile.am: Add support for getreent.c.
2221 * libc/reent/Makefile.in: Regenerated.
2222 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
2223 * libc/sys/linux/Makefile.am: Add support for new files.
2224 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
2225 * libc/sys/linux/Makefile.in: Regenerated.
2226 * libc/sys/linux/configure: Ditto.
2227 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
2228 __close, __read, __write, __poll, __open, __lseek, __fcntl from
2229 their __libc_ counterparts.
2230 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
2231 and weak-alias to regular names.
2232 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
2233 to pread64 and __pread64.
2234 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
2235 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
2236 weak-alias to pwrite64.
2237 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
2238 __libc_sched_getscheduler, __libc_sched_get_priority_max,
2239 __libc_sched_get_priority_min, and __libc_sched_setschedule to
2240 name with __ instead of __libc_.
2241 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
2242 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
2243 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
2244 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
2245 to raise.
2246 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
2247 __libc_send to __send.
2248 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
2249 __gettimeofday.
2250 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
2251 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
2252 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
2253 type and typedef __jmp_buf to jmp_buf.
2254 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
2255 setjmp.S.
2256 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
2257 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
2258 section.
2259 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
2260 prefix for function macros and then use weak_alias() to regular names.
2261 * libc/sys/linux/machine/i386/syscall.h: Ditto.
2262 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
2263 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
2264 to be flockfile() and funlockfile() respectively.
2265 * libc/sys/linux/sys/types.h
2266 * libc/reent/getreent.c: New file.
2267 * libc/sys/linux/flockfile.c: Ditto.
2268 * libc/sys/linux/funlockfile.c: Ditto.
2269 * libc/sys/linux/getreent.c: Ditto.
2270 * libc/sys/linux/pread.c: Ditto.
2271 * libc/sys/linux/pwrite.c: Ditto.
2272 * libc/sys/linux/raise.c: Ditto.
2273 * libc/sys/linux/system.c: Ditto.
2274 * libc/sys/linux/tcdrain.c: Ditto.
2275 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
2276 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
2277 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
2278 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
2279 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
2280
7fc85bd1
TF
22812002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
2282
2283 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
2284 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
2285 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
2286 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
2287
6935231f 2288Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
2289
2290 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
2291 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
2292 exit point.
d7a2f413 2293
3a6cb01b
TF
22942002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2295
a68fa571
TF
2296 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
2297 options when testing natively on i[3456]86-*-linux.
2298
3a6cb01b
TF
2299 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
2300 only one pass or fail per test file. Trim \r's from output
2301 values received from test programs. Remove support for named
2302 tests.
2303 * testsuite/newlib.locale/UTF-8.exp: Update to support new
2304 newlib_check_output behaviour.
2305 * testsuite/newlib.locale/UTF-8.c: Likewise.
2306
dc824ef7
JJ
23072002-05-15 Jeff Johnston <jjohnstn@redhat.com>
2308
2309 * libc/include/stdlib.h: Add on_exit prototype.
2310 * libc/include/sys/reent.h (struct _atexit): Add argument array
2311 and bits to track type of exit routine to support both on_exit
2312 and atexit.
2313 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
2314 by default and change the setting of the atexit structure.
2315 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
2316 * libc/stdlib/on_exit.c: New file.
2317 * libc/stdlib/Makefile.am: Add support for on_exit.
2318 * libc/stdlib/Makefile.in: Regenerated.
2319 * libc/stdlib/atexit.c: Change to initialize types field.
2320 * libc/stdlib/exit.c: Change to look at types field for each
2321 exit routine and either call an atexit-style or an on_exit-style
2322 routine accordingly.
2323
48d91b4a
JJ
23242002-05-13 Jeff Johnston <jjohnstn@redhat.com>
2325
2326 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
2327 allow v specifier with n or L specifiers. For vector c format,
2328 move tmp declaration to the top.
2329
024739eb
JJ
23302002-05-13 Jeff Johnston <jjohnstn@redhat.com>
2331
2332 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
2333 the original format specifier when looping for vectors to compensate
2334 for any changes made in vector %g format processing.
2335 Also add syntax checking for various invalid scenarios
2336 involving vector format extensions.
2337 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
2338 return code setting for vector formats. Also treat vector
2339 separator mismatch as a match error instead of an input error.
2340 Perform some syntax checking for vector formats.
2341
7d2ce898
TF
23422002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
2343
2344 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
2345 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
2346 * libc/string/strlcat.c: New file.
2347 * libc/string/strlcpy.c: New file.
2348
809b6ce7
JJ
23492002-05-10 Jeff Johnston <jjohnstn@redhat.com>
2350
2351 * libc/string/strchr.c: Fix comment typo.
2352
76490806
TF
23532002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
2354
0c048a9a
TF
2355 * acinclude.m4: Add support for --enable-newlib-multithread.
2356 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
2357 --enable-newlib-multithread=no.
2358
76490806
TF
2359 * libc/stdio/getc_u.c: New file.
2360 * libc/stdio/getchar_u.c: New file.
2361 * libc/stdio/putc_u.c: New file.
2362 * libc/stdio/putchar_u.c: New file.
2363 * libc/include/stdio.h: Add declarations for getc_unlocked,
2364 getchar_unlocked, putc_unlocked and putchar_unlocked.
2365 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
2366 (CHEWOUT_FILES): Add new files' .def's.
2367 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
2368
96bff22c
JR
2369Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
2370
2371 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
2372 Also handle as single quad word when destination ends at last
2373 byte of first quad word. Fix byte selection in single quad code.
2374
e71372fa
TF
23752002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2376
2377 * libc/include/sys/stdio.h: New file.
2378 * libc/sys/linux/sys/stdio.h: New file.
2379 * libc/include/stdio.h: Add declarations for flockfile,
2380 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
2381 * libc/stdio/clearerr.c: Add file locking.
2382 * libc/stdio/fclose.c: Likewise.
2383 * libc/stdio/feof.c: Likewise.
2384 * libc/stdio/ferror.c: Likewise.
2385 * libc/stdio/fflush.c: Likewise.
2386 * libc/stdio/fgetc.c: Likewise.
2387 * libc/stdio/fgetpos.c: Likewise.
2388 * libc/stdio/fgets.c: Likewise.
2389 * libc/stdio/fileno.c: Likewise.
2390 * libc/stdio/fputc.c: Likewise.
2391 * libc/stdio/fputs.c: Likewise.
2392 * libc/stdio/fread.c: Likewise.
2393 * libc/stdio/freopen.c: Likewise.
2394 * libc/stdio/fseek.c: Likewise.
2395 * libc/stdio/ftell.c: Likewise.
2396 * libc/stdio/fwrite.c: Likewise.
2397 * libc/stdio/getc.c: Likewise.
2398 * libc/stdio/putc.c: Likewise.
2399 * libc/stdio/setvbuf.c: Likewise.
2400 * libc/stdio/ungetc.c: Likewise.
2401 * libc/stdio/vfprintf.c: Likewise.
2402
a03790e4
JJ
24032002-05-06 Jeff Johnston <jjohnstn@redhat.com>
2404
60b2107c
TF
2405 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
2406 support for 'p' format. Fix code to print bytes for vector
2407 integer formats that do not specify 'h' or 'l'.
2408 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
2409 for 'p' specifier. Fix code to scan 16 bytes for vector integer
2410 formats that do not specify 'h' or 'l'.
2411
2412 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
2413
9c7d6a9d
TF
24142002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
2415
2416 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
2417 (_sbrk): Add cast of return value.
2418
c33c3635
JJ
24192002-05-06 Jeff Johnston <jjohnstn@redhat.com>
2420
2421 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
2422 (_REENT_L64A_BUF): New macro for accessing area.
2423 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
2424 * libc/stdlib/Makefile.in: Regenerated.
2425 * libc/stdlib/a64l.c: New file.
2426 * libc/stdlib/l64a.c: New file.
2427
f78e59a8
JJ
24282002-05-06 Jeff Johnston <jjohnstn@redhat.com>
2429
2430 * libc/unix/pread.c: Fix typo for _pread_r.
2431 * libc/unix/pwrite.c: Fix type for _pwrite_r.
2432 * libc/sys/linux/pread64.c: Fix typo for read syscall.
2433 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
2434
4b3f6588
CF
24352002-05-03 Christopher Faylor <cgf@redhat.com>
2436
2437 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
2438
e911832c
TF
24392002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
2440
2441 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
2442
0d0fdc8d
CF
24432002-05-01 Christopher Faylor <cgf@redhat.com>
2444
2445 * utmp.h: Define more UNIX constants.
2446
1e997c56
TF
24472002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
2448
0717f01c
TF
2449 * Makefile.am: Add support for checking multilibs.
2450
09841445
TF
2451 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
2452 (SUBDEFS): Add LIBC_EXTRA_DEF.
2453 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
2454 (LIBC_EXTRA_DEF): Likewise.
2455 (extra_dir): Likewise.
2456 * libc/machine/xscale/machine: New directory.
2457 * libc/machine/xscale/machine/profile.h: New file.
2458
1e997c56
TF
2459 * Makefile.am (site.exp): Remove newlib_cflags. Add
2460 multibuildtop.
2461 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
2462 * testsuite/lib/flags.exp: New file.
2463 * testsuite/lib/newlib.exp: Load flags.exp.
2464 (newlib_target_compile): Remove libgloss directory references.
2465 (newlib_init): Remove newlib_cflags references.
2466
4cf4f010
TF
24672002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2468
f6bdb6f9
TF
2469 * testsuite/lib/newlib.exp (newlib_target_compile): Change
2470 method of finding libgloss_target_dir.
2471
4cf4f010
TF
2472 * Makefile.am (site.exp): Change host_alias, host_triplet,
2473 target_alias, target_triplet to refer to gcc's host and target
2474 variables (newlib's build and host variables).
2475 * testsuite/lib/newlib.exp (newlib_init): Change build
2476 references to host references, host references to target
2477 references to reflect Makefile.am changes.
2478 (newlib_target_compile): Likewise.
2479 (newlib_finish): Likewise.
2480
83096ae8
JJ
24812002-04-29 Jeff Johnston <jjohnstn@redhat.com>
2482
2483 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
2484
822afa53
JL
24852002-04-29 Jonathan Larmour <jlarmour@redhat.com>
2486
2487 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
2488 (_system): New function. Ditto.
2489 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
2490 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
2491 targets.
2492
29798f0d
JJ
24932002-04-29 Jeff Johnston <jjohnstn@redhat.com>
2494
2495 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
2496 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
2497 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
2498 * libc/sys/linux/Makefile.in: Regenerated.
2499 * libc/unix/Makefile.in: Ditto.
2500 * libc/sys/linux/pread64.c: New file.
2501 * libc/sys/linux/pwrite64.c: Ditto.
2502 * libc/unix/pread.c: Ditto.
2503 * libc/unix/pwrite.c: Ditto.
2504
557856bd
JJ
25052002-04-26 Jeff Johnston <jjohnstn@redhat.com>
2506
2507 * libc/sys/linux/Makefile.am: Add io64.c.
2508 * libc/sys/linux/Makefile.in: Regenerated.
2509 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
2510 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
2511 * libc/sys/linux/io64.c: New file.
2512
7b2b12d5
JJ
25132002-04-26 Jeff Johnston <jjohnstn@redhat.com>
2514
2515 * configure.in (CC_FOR_NEWLIB): New variable that
2516 bases on $(CC) and adds targ-include and libc/include as
2517 -isystem directives if they are not already part of $(CC).
2518 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
2519 $(CC_FOR_NEWLIB).
2520 * configure: Regenerated.
2521 * Makefile.in: Ditto.
2522
c62adacc
JJ
25232002-04-25 Jeff Johnston <jjohnstn@redhat.com>
2524
2525 * libc/sys/linux/Makefile.am: Add support for sched.c.
2526 * libc/sys/linux/Makefile.in: Regenerated.
2527 * libc/sys/linux/sched.c: New file.
2528 * libc/sys/linux/sys/types.h: Add struct timespec.
2529
217ad4a0
TF
25302002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
2531
2532 * configure.in (CC_FOR_BUILD): Set to gcc whether
2533 cross-compiling or not.
2534 (CC): Add -isystem's for targ-include and libc/include when they
2535 do not already appear in CC.
2536
eaa75b70
TF
25372002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2538
2539 * Makefile.am (check-DEJAGNU): New target.
2540 (site.exp): Likewise.
2541 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
2542 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
2543 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
2544 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
2545 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
2546 * testsuite: New directory.
2547 * testsuite/config: Likewise.
2548 * testsuite/lib: Likewise.
2549 * testsuite/newlib.locale: Likewise.
2550 * testsuite/newlib.string: Likewise.
2551 * testsuite/config/default.exp: New file.
2552 * testsuite/lib/checkoutput.exp: New file.
2553 * testsuite/lib/newlib.exp: New file.
2554 * testsuite/lib/passfail.exp: New file.
2555 * testsuite/newlib.locale/UTF-8.c: New file.
2556 * testsuite/newlib.locale/UTF-8.exp: New file.
2557 * testsuite/newlib.locale/locale.exp: New file.
2558 * testsuite/newlib.string/string.exp: New file.
2559 * testsuite/newlib.string/tstring.c: New file.
2560
b9f9f699
JJ
25612002-04-23 Jeff Johnston <jjohnstn@redhat.com>
2562
2563 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
2564 * libc/sys/linux/Makefile.am: Add support for mmap.c.
2565 * libc/sys/linux/Makefile.in: Regenerated.
2566 * libc/sys/linux/mmap.c: New file.
2567 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
2568 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
2569
7394edbb
TF
25702002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
2571
2572 * acinclude.m4 (newlib_cflags): Remove include directories that
2573 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
2574
b9f9f699 25752002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
2576
2577 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
2578 * libc/machine/xscale/memcmp.c: Ditto.
2579 * libc/machine/xscale/memcpy.c: Ditto.
2580 * libc/machine/xscale/memmove.c: Ditto.
2581 * libc/machine/xscale/memset.c: Ditto.
2582 * libc/machine/xscale/strchr.c: Ditto.
2583 * libc/machine/xscale/strcmp.c: Ditto.
2584 * libc/machine/xscale/strcpy.c: Ditto.
2585 * libc/machine/xscale/strlen.c: Ditto.
2586
2dd4c4dc
JJ
25872002-04-19 Alexandre Oliva <aoliva@redhat.com>
2588
2589 * libc/include/sys/config.h: Remove include of <limits.h>.
2590 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
2591 define INT_MAX and LONG_MAX. Use them in tests.
2592
0d844014
JJ
25932002-04-19 Jeff Johnston <jjohnstn@redhat.com>
2594
2595 * configure.host: Add support for powerpc-eabialtivec*.
2596 * libc/include/malloc.h: Add include of <machine/malloc.h>.
2597 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
2598 * libc/include/machine/malloc.h: New file.
2599 * libc/include/machine/stdlib.h: Ditto.
2600 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
2601 * libc/machine/powerpc/Makefile.am: Add conditional objects and
2602 sources based on configuration.
2603 * libc/machine/powerpc/Makefile.in: Regenerated.
2604 * libc/machine/powerpc/configure: Ditto.
2605 * libc/machine/powerpc/configure.in: Add check for
2606 powerpc-eabialtivec* in which case add in additional source files.
2607 * libc/machine/powerpc/setjmp.S: Add altivec support.
2608 * libc/machine/powerpc/vec_calloc.c: New file.
2609 * libc/machine/powerpc/vec_free.c: Ditto.
2610 * libc/machine/powerpc/vec_malloc.c: Ditto.
2611 * libc/machine/powerpc/vec_mallocr.c: Ditto.
2612 * libc/machine/powerpc/vec_realloc.c: Ditto.
2613 * libc/machine/powerpc/machine/malloc.h: Ditto.
2614 * libc/machine/powerpc/machine/stdlib.h: Ditto.
2615 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
2616 with added altivec format specifiers.
2617 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
2618 added altivec format specifiers.
2619
d413aadc
JS
26202002-04-19 Joel Sherrill <joel@OARcorp.com>
2621
2622 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
2623 while autoconf is trying to link main(){}.
2624
27193895
JJ
26252002-04-17 Jeff Johnston <jjohnstn@redhat.com>
2626
2627 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
2628 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
2629
10d00216
JJ
26302002-04-17 Jeff Johnston <jjohnstn@redhat.com>
2631
6b0f808e
JJ
2632 * libc/time/time.tex: Add tzset info.
2633
26342002-04-17 Jeff Johnston <jjohnstn@redhat.com>
2635
2636 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
2637 (strptime): Moved prototype to be within !__STRICT_ANSI__.
2638 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
2639 (tzname): Defined for all platforms.
2640 (daylight, timezone): Defined only for CYGWIN.
2641 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
2642 environment set up.
2643 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
2644 environment variable is set.
2645 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
2646 tzset_r.c.
2647 * libc/time/Makefile.in: Regenerated.
2648 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
2649 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
2650 * libc/time/lcltime_r.c (lcltime_r): Ditto.
2651 * libc/time/local.h: New local header file.
2652 * libc/time/mktime.c (mktime): Add timezone support.
2653 * libc/time/mktm_r.c: New file which is the common engine
2654 for gmtime_r and lcltime_r. This code has timezone support.
2655 * libc/time/strftime.c (strftime): Add %Z timezone support.
2656 * libc/time/tzlock.c: New file containing timezone lock stubs.
2657 * libc/time/tzset.c: New file containing tzset() routine.
2658 * libc/time/tzset_r.c: New file containing _tzset_r and
2659 internal routine for calculating timezone changes for specified year.
2660
26612002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
2662
2663 * configure.in (CRT0_DIR): Set to libc/.
2664 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
2665 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
2666 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
2667 $(CRT1_DIR)/$(CRT1).
2668 * libc/machine/xstormy16/Makefile.in: Regenerated.
2669 * libc/machine/xstormy16/aclocal.m4: Regenerated.
2670 * libc/machine/xstormy16/configure: Regenerated.
2671
26722002-04-13 Alexandre Oliva <aoliva@redhat.com>
2673
2674 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
2675 fails, don't bail out, and try to correct next time.
2676
2677 * libc/include/sys/config.h: Include limits.h.
2678
26792002-04-12 Eric Norum <eric.norum@usask.com>
2680
2681 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
2682 routine to allow autoconf to determine that building executables
2683 for rtems works.
2684 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
2685 (rtems_gxx_mutex_once): Ditto.
2686
26872002-04-09 Tom Rix <trix@redhat.com>
2688
2689 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
2690
26912002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
2692
2693 * libc/include/time.h: Fix strptime declaration.
2694 * libc/time/Makefile.am: Add strptime.c.
2695 * libc/time/Makefile.in: Regenerated.
2696 * libc/time/strptime.c: New file.
2697
26982002-04-08 Jeff Johnston <jjohnstn@redhat.com>
2699
2700 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
2701 siglongjmp prototype, and sigsetjmp macro definition.
2702 * libc/sys/linux/siglongjmp.c: New file.
2703 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
2704 * libc/sys/linux/Makefile.in: Regenerated.
2705
27062002-04-04 Jeff Johnston <jjohnstn@redhat.com>
2707
2708 * Makefile.am: Add support for installing crt1.o if one exists.
2709 * configure.host: Specify crt1.o for linux.
2710 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
2711 * Makefile.in: Regenerated.
2712 * configure: Ditto.
2713 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
2714 Added for non-Cygwin, non-RTEMS configurations.
2715 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
2716 * libc/sys/linux/Makefile.in: Regenerated.
2717 * libc/sys/linux/crt1.c: New empty file to override one defaulted
2718 by gcc. This fixes problem with reconfiguring linux newlib build.
2719 * libc/sys/linux/sysconf.c: New file.
2720
27212002-04-03 Jeff Johnston <jjohnstn@redhat.com>
2722
2723 * configure.host: Add support for machine subdirectory of
2724 sys subdirectory.
2725 * configure.in: Add check for sys machine subdirectory.
2726 * Makefile.am: Ditto.
2727 * configure: Regenerated.
2728 * Makefile.in: Ditto.
2729 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
2730 * libc/sys/linux/sys/syscall.h: Ditto.
2731 * libc/sys/linux/sleep.c: New file.
2732 * libc/sys/linux/socket.c: Ditto.
2733 * libc/sys/linux/sockops.h: Ditto.
2734 * libc/sys/linux/stack.c: Ditto.
2735 * libc/sys/linux/usleep.c: Ditto.
2736 * libc/sys/linux/machine/Makefile.am: Ditto.
2737 * libc/sys/linux/machine/Makefile.in: Ditto.
2738 * libc/sys/linux/machine/aclocal.m4: Ditto.
2739 * libc/sys/linux/machine/configure: Ditto.
2740 * libc/sys/linux/machine/configure.in: Ditto.
2741 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2742 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
2743 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
2744 * libc/sys/linux/machine/i386/configure: Ditto.
2745 * libc/sys/linux/machine/i386/configure.in: Ditto.
2746 * libc/sys/linux/machine/i386/crt0.c: Ditto.
2747 * libc/sys/linux/machine/i386/sigset.c: Ditto.
2748 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
2749 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
2750 * libc/sys/linux/machine/i386/syscall.h: Ditto.
2751 * libc/sys/linux/sys/select.h: Ditto.
2752 * libc/sys/linux/configure.in: Add support for machine directory.
2753 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
2754 * libc/sys/linux/Makefile.in: Regenerated.
2755 * libc/sys/linux/configure: Ditto.
2756 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
2757 * libc/sys/linux/inode.c: Ditto.
2758 * libc/sys/linux/linux.c: Ditto.
2759 * libc/sys/linux/process.c: Ditto.
2760 * libc/sys/linux/systat.c: Ditto.
2761 * libc/sys/linux/time.c: Ditto.
2762 * libc/sys/linux/wait.c: Ditto.
2763 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
2764 * libc/sys/linux/io.c: Change header plus add readv/writev.
2765 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
2766 use __sigsuspend syscall.
2767 * libc/sys/linux/select.c: Change header plus change select to
2768 use _newselect syscall.
2769 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
2770 used by glibc header files.
2771 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
2772 types.
2773
27742002-04-01 Jeff Johnston <jjohnstn@redhat.com>
2775
2776 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
2777 initializing a struct _reent that has been dynamically allocated.
2778 (_REENT_CHECK_MISC): New macro that checks _misc struct for
2779 _REENT_SMALL and does nothing otherwise.
2780 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
2781 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
2782 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
2783 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
2784 [_REENT_SMALL](struct _misc_reent): New structure containing
2785 miscellaneous reentrant areas needed by newlib.
2786 [_REENT_SMALL](struct _reent): Add _misc pointer.
2787 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
2788 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
2789 and _REENT_STRTOK_LAST macros.
2790 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
2791 and _REENT_MBLEN_STATE macros.
2792 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
2793 and _REENT_MBTOWC_STATE macros.
2794 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
2795 and _REENT_WCTOMB_STATE macros.
2796
27972002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
2798
2799 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
2800
2801Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
2802
2803 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
2804
2805Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
2806
2807 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
2808 Store high part of leading bytes too.
2809
28102002-03-22 Richard Sandiford <rsandifo@redhat.com>
2811
2812 * libm/math/ef_hypot.c: Increase scale factor to 68.
2813
28142002-03-13 Alexandre Oliva <aoliva@redhat.com>
2815
2816 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
2817 error.
2818
28192002-03-12 Jeff Johnston <jjohnstn@redhat.com>
2820
2821 * libc/sys/go32/access.c: Change license to relaxed license
2822 used in identical file throughout newlib/libgloss.
2823
28242002-03-12 Richard Earnshaw <rearnsha@arm.com>
2825
2826 * libc/sys/arm/access.c: New file.
2827 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
2828 * libc/sys/arm/Makefile.in: Regenerate.
2829 * libc/sys/arm/syscalls.c (_stat): New function.
2830
28312002-03-11 Michael Meissner <meissner@redhat.com>
2832
2833 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
2834 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
2835 * libc/machine/mips/Makefile.in: Regenerate.
2836 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
2837 * libc/machine/mips/memset.c: Dito.
2838 * libc/machine/mips/strcmp.c: Dito.
2839 * libc/machine/mips/strlen.c: Dito.
2840 * libc/machine/mips/strncmp.c: Dito.
2841
28422002-03-06 Jeff Johnston <jjohnstn@redhat.com>
2843
2844 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
2845 object so it works for shared library or statici library.
28462002-04-17 Jeff Johnston <jjohnstn@redhat.com>
2847
10d00216
JJ
2848 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
2849 (strptime): Moved prototype to be within !__STRICT_ANSI__.
2850 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
2851 (tzname): Defined for all platforms.
2852 (daylight, timezone): Defined only for CYGWIN.
2853 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
2854 environment set up.
2855 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
2856 environment variable is set.
2857 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
2858 tzset_r.c.
2859 * libc/time/Makefile.in: Regenerated.
2860 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
2861 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
2862 * libc/time/lcltime_r.c (lcltime_r): Ditto.
2863 * libc/time/local.h: New local header file.
2864 * libc/time/mktime.c (mktime): Add timezone support.
2865 * libc/time/mktm_r.c: New file which is the common engine
2866 for gmtime_r and lcltime_r. This code has timezone support.
2867 * libc/time/strftime.c (strftime): Add %Z timezone support.
2868 * libc/time/tzlock.c: New file containing timezone lock stubs.
2869 * libc/time/tzset.c: New file containing tzset() routine.
2870 * libc/time/tzset_r.c: New file containing _tzset_r and
2871 internal routine for calculating timezone changes for specified year.
2872
5f1c13c6
TF
28732002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
2874
2875 * configure.in (CRT0_DIR): Set to libc/.
2876 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
2877 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
2878 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
2879 $(CRT1_DIR)/$(CRT1).
2880 * libc/machine/xstormy16/Makefile.in: Regenerated.
2881 * libc/machine/xstormy16/aclocal.m4: Regenerated.
2882 * libc/machine/xstormy16/configure: Regenerated.
2883
0cc261b1
AO
28842002-04-13 Alexandre Oliva <aoliva@redhat.com>
2885
2f3009bd
AO
2886 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
2887 fails, don't bail out, and try to correct next time.
2888
0cc261b1
AO
2889 * libc/include/sys/config.h: Include limits.h.
2890
26116455
JJ
28912002-04-12 Eric Norum <eric.norum@usask.com>
2892
2893 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
2894 routine to allow autoconf to determine that building executables
2895 for rtems works.
2896 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
2897 (rtems_gxx_mutex_once): Ditto.
2898
4608280d
TR
28992002-04-09 Tom Rix <trix@redhat.com>
2900
2901 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
2902
dea7e25c
JJ
29032002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
2904
2905 * libc/include/time.h: Fix strptime declaration.
2906 * libc/time/Makefile.am: Add strptime.c.
2907 * libc/time/Makefile.in: Regenerated.
2908 * libc/time/strptime.c: New file.
2909
c5ef1e95
JJ
29102002-04-08 Jeff Johnston <jjohnstn@redhat.com>
2911
2912 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
2913 siglongjmp prototype, and sigsetjmp macro definition.
2914 * libc/sys/linux/siglongjmp.c: New file.
2915 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
2916 * libc/sys/linux/Makefile.in: Regenerated.
2917
6e6cd5bd
JJ
29182002-04-04 Jeff Johnston <jjohnstn@redhat.com>
2919
2920 * Makefile.am: Add support for installing crt1.o if one exists.
2921 * configure.host: Specify crt1.o for linux.
2922 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
2923 * Makefile.in: Regenerated.
2924 * configure: Ditto.
2925 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
2926 Added for non-Cygwin, non-RTEMS configurations.
2927 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
2928 * libc/sys/linux/Makefile.in: Regenerated.
2929 * libc/sys/linux/crt1.c: New empty file to override one defaulted
2930 by gcc. This fixes problem with reconfiguring linux newlib build.
2931 * libc/sys/linux/sysconf.c: New file.
2932
fa4a16a1
JJ
29332002-04-03 Jeff Johnston <jjohnstn@redhat.com>
2934
2935 * configure.host: Add support for machine subdirectory of
2936 sys subdirectory.
2937 * configure.in: Add check for sys machine subdirectory.
2938 * Makefile.am: Ditto.
2939 * configure: Regenerated.
2940 * Makefile.in: Ditto.
2941 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
2942 * libc/sys/linux/sys/syscall.h: Ditto.
2943 * libc/sys/linux/sleep.c: New file.
2944 * libc/sys/linux/socket.c: Ditto.
2945 * libc/sys/linux/sockops.h: Ditto.
2946 * libc/sys/linux/stack.c: Ditto.
2947 * libc/sys/linux/usleep.c: Ditto.
2948 * libc/sys/linux/machine/Makefile.am: Ditto.
2949 * libc/sys/linux/machine/Makefile.in: Ditto.
2950 * libc/sys/linux/machine/aclocal.m4: Ditto.
2951 * libc/sys/linux/machine/configure: Ditto.
2952 * libc/sys/linux/machine/configure.in: Ditto.
2953 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2954 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
2955 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
2956 * libc/sys/linux/machine/i386/configure: Ditto.
2957 * libc/sys/linux/machine/i386/configure.in: Ditto.
2958 * libc/sys/linux/machine/i386/crt0.c: Ditto.
2959 * libc/sys/linux/machine/i386/sigset.c: Ditto.
2960 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
2961 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
2962 * libc/sys/linux/machine/i386/syscall.h: Ditto.
2963 * libc/sys/linux/sys/select.h: Ditto.
2964 * libc/sys/linux/configure.in: Add support for machine directory.
2965 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
2966 * libc/sys/linux/Makefile.in: Regenerated.
2967 * libc/sys/linux/configure: Ditto.
2968 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
2969 * libc/sys/linux/inode.c: Ditto.
2970 * libc/sys/linux/linux.c: Ditto.
2971 * libc/sys/linux/process.c: Ditto.
2972 * libc/sys/linux/systat.c: Ditto.
2973 * libc/sys/linux/time.c: Ditto.
2974 * libc/sys/linux/wait.c: Ditto.
2975 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
2976 * libc/sys/linux/io.c: Change header plus add readv/writev.
2977 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
2978 use __sigsuspend syscall.
2979 * libc/sys/linux/select.c: Change header plus change select to
2980 use _newselect syscall.
2981 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
2982 used by glibc header files.
2983 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
2984 types.
2985
d4dca0e4
JJ
29862002-04-01 Jeff Johnston <jjohnstn@redhat.com>
2987
2988 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
2989 initializing a struct _reent that has been dynamically allocated.
2990 (_REENT_CHECK_MISC): New macro that checks _misc struct for
2991 _REENT_SMALL and does nothing otherwise.
2992 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
2993 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
2994 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
2995 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
2996 [_REENT_SMALL](struct _misc_reent): New structure containing
2997 miscellaneous reentrant areas needed by newlib.
2998 [_REENT_SMALL](struct _reent): Add _misc pointer.
2999 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
3000 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
3001 and _REENT_STRTOK_LAST macros.
3002 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
3003 and _REENT_MBLEN_STATE macros.
3004 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
3005 and _REENT_MBTOWC_STATE macros.
3006 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
3007 and _REENT_WCTOMB_STATE macros.
3008
54a7c6d2
JJ
30092002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
3010
3011 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
3012
c82479b1
CF
3013Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
3014
3015 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
3016
43ecf6e8
JR
3017Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
3018
3019 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
3020 Store high part of leading bytes too.
3021
a485d93f
RS
30222002-03-22 Richard Sandiford <rsandifo@redhat.com>
3023
3024 * libm/math/ef_hypot.c: Increase scale factor to 68.
3025
62a963ee
AO
30262002-03-13 Alexandre Oliva <aoliva@redhat.com>
3027
3028 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
3029 error.
3030
c53d8453
JJ
30312002-03-12 Jeff Johnston <jjohnstn@redhat.com>
3032
3033 * libc/sys/go32/access.c: Change license to relaxed license
3034 used in identical file throughout newlib/libgloss.
3035
d2a246ad
JJ
30362002-03-12 Richard Earnshaw <rearnsha@arm.com>
3037
3038 * libc/sys/arm/access.c: New file.
3039 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
3040 * libc/sys/arm/Makefile.in: Regenerate.
3041 * libc/sys/arm/syscalls.c (_stat): New function.
3042
eabb48d5
MM
30432002-03-11 Michael Meissner <meissner@redhat.com>
3044
3045 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
3046 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
3047 * libc/machine/mips/Makefile.in: Regenerate.
3048 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
3049 * libc/machine/mips/memset.c: Dito.
3050 * libc/machine/mips/strcmp.c: Dito.
3051 * libc/machine/mips/strlen.c: Dito.
3052 * libc/machine/mips/strncmp.c: Dito.
3053
2a606041
JJ
30542002-03-06 Jeff Johnston <jjohnstn@redhat.com>
3055
eabb48d5
MM
3056 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
3057 object so it works for shared library or statici library.
3058 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 3059
55f26f11
JR
3060Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
3061
96bff22c
JR
3062 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
3063 Add memcpy.S, memset.S and strcpy.S.
3064 * libc/machine/sh/Makefile.in: Regenerate.
3065 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 3066 (SHHI, SHLO): Define.
96bff22c
JR
3067 * libc/machine/sh/memset.S: Add code for SH5.
3068 * libc/machine/sh/memset.S: Likewise.
3069 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 3070
afecf2fa
JJ
30712002-02-27 Jeff Johnston <jjohnstn@redhat.com>
3072
3073 * configure.host: Add check for --disable-newlib-io-float
3074 configuration option and add -DNO_FLOATING_POINT to newlib cflags
3075 if appropriate.
3076 * acinclude.m4: Added --disable-newlib-io-float option.
3077 * aclocal.m4: Regenerated.
3078 * configure: Ditto.
3079 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
3080 * libc/*/aclocal.m4 libc/*/configure
3081 * libm/*/aclocal.m4 libm/*/configure: Ditto.
3082 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
3083 if NO_FLOATING_POINT flag is not defined.
3084
c1010a63
JJ
30852002-02-25 Jeff Johnston <jjohnstn@redhat.com>
3086
3087 * libc/include/sys/config.h: Add __extension__ in front of
3088 long long references.
3089
630c657e
CV
30902002-02-23 Corinna Vinschen <corinna@vinschen.de>
3091
3092 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
3093 (_stat): Ditto.
3094
59ee2e20
CV
30952002-02-23 Corinna Vinschen <corinna@vinschen.de>
3096
3097 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
3098 of off_t.
3099
2dd68dc2
NC
31002002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
3101
3102 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
3103 clobbered registers.
3104
55500bf1
TF
31052002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3106
3107 * configure.host (newlib_cflags): When host is in m68* add
3108 -DCOMPACT_CTYPE.
3109
ba0173f0
JJ
31102002-02-15 Jeff Johnston <jjohnstn@redhat.com>
3111
3112 * libc/include/sys/config.h: Add definitions for
3113 __int16_t, __uint16_t, __int64_t, and __uint64_t.
3114
7b61d0c5
JJ
31152002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
3116
3117 * libc/sys/mmixware/link.c: New.
3118 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
3119 volatile.
3120 * libc/sys/mmixware/times.c (_times): Renamed from times.
3121 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
3122 properly by reading previous contents, not through BinaryReadWrite.
3123 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
3124 * libc/sys/mmixware/Makefile.in: Regenerate.
3125
a505db65
CV
31262002-02-10 Corinna Vinschen <corinna@vinschen.de>
3127
3128 * libc/include/grp.h: Don't declare group functions when compiling
3129 Cygwin.
3130
f3b39c45
CV
31312002-02-09 Corinna Vinschen <corinna@vinschen.de>
3132
3133 * libc/include/grp.h: Include Cygwin specific header.
3134 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
3135 when compiling for Cygwin.
3136 * libc/include/sys/types.h: Don't define off_t, uid_t
3137 and gid_t when compiling for Cygwin.
3138
82b3ac56
MG
31392002-02-08 matthew green <mrg@redhat.com>
3140
3141 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
3142 _REENT_EMERGENCY_SIZE, not sizeof(char *).
3143
9f25eed9
AO
31442002-02-08 Alexandre Oliva <aoliva@redhat.com>
3145
3146 Contribute sh64-elf.
3147 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
3148 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
3149 support in printf.
3150 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
3151 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
3152 any labels.
3153 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
3154 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
3155 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
3156 * libc/machine/sh/configure.in: Rework conditionals.
3157 * libc/machine/sh/Makefile.am: Likewise.
3158 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
3159 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
3160 * configure.host: Match `sh*'.
3161 * libc/include/machine/setjmp.h: Define for SH5.
3162 * libc/machine/sh/configure.in: Detect SH5.
3163 * libc/machine/sh/configure: Rebuilt.
3164 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
3165 * libc/machine/sh/Makefile.in: Rebuilt.
3166 * libc/machine/sh/asm.h: Adjust for SH5.
3167 * libc/machine/sh/setjmp.S: Implement in SHmedia.
3168 * libc/sys/sh/crt0.S: Likewise.
3169 * libc/sys/sh/trap.S: Likewise.
3170
a2a405ae
JJ
31712002-02-07 Jeff Johnston <jjohnstn@redhat.com>
3172
3173 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
3174 (mach_add_obj): Conditionally set to setjmp.o or nothing.
3175 (LIB_SOURCES): Remove $(mach_add_src).
3176 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
3177 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
3178 * libc/machine/i386/Makefile.in: Regenerate.
3179
27478365
JJ
31802002-02-05 Manik Raina <manik@cisco.com>
3181
994fa212 3182 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
3183 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
3184 s, p, k, and outstr.
3185 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
3186
815a37f7
JJ
31872002-02-04 Jeff Johnston <jjohnstn@redhat.com>
3188
3189 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
3190 _REENT_CHECK_EMERGENCY macro.
3191
a4139c12
MG
31922002-02-03 matthew green <mrg@redhat.com>
3193
3194 * libc/reent/signgam.c (__signgam): Fix error in previous.
3195
8195aff7
MG
31962002-02-02 matthew green <mrg@redhat.com>
3197
3198 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
3199
3200 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
3201 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
3202 * libc/include/sys/reent.h (struct _reent): Completely new version
3203 for _REENT_SMALL.
3204 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
3205 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
3206 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
3207 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
3208 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
3209 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
3210 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
3211 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
3212 (_REENT_EMERGENCY): Likewise.
3213
3214 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
3215 the start of the real __sFILE, used for stdin, stdout and stderr until
3216 they are setup properly.
3217 (struct __sFILE): Move location of _data in _REENT_SMALL case.
3218 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
3219 allocated stdin, stdout and stderr.
3220 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
3221 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
3222 * libc/stdio/perror.c (_perror_r): Likewise.
3223 * libc/stdio/printf.c (printf, _printf_r): Likewise.
3224 * libc/stdio/putchar.c (_putchar_r): Likewise.
3225 * libc/stdio/puts.c (_puts_r): Likewise.
3226 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
3227 * libc/stdio/vprintf.c (vprintf): Likewise.
3228 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
3229
3230 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
3231
3232 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
3233 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
3234 for _REENT_SMALL.
3235 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
3236 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
3237
3238 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
3239 _REENT_SMALL.
3240 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
3241 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
3242 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
3243 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
3244 * libc/stdlib/rand48.c (__dorand48): Likewise.
3245 * libc/stdlib/seed48.c (_seed48_r): Likewise.
3246 * libc/stdlib/srand48.c (_srand48_r): Likewise.
3247 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
3248 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
3249 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
3250 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
3251 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
3252 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
3253 * libc/stdlib/rand.c (rand): Likewise.
3254
3255 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
3256 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
3257
3258 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
3259 _REENT_MP_FREELIST() and _REENT_MP_P5S.
3260 * libc/include/sys/reent.h (struct _mprec): New structure.
3261
3262 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
3263 _unused_strtok_last.
3264 * libc/string/strtok.c (strtok): Use a local static variable.
3265
3266 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
3267 (_REENT_EMERGENCY_SIZE): Likewise.
3268 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
3269 _REENT_ASCTIME_BUF().
3270 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
3271 _REENT_TM().
3272
3273 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
3274 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
3275 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
3276 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
3277 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
3278 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
3279
9c2e7642
GK
32802002-02-01 Geoffrey Keating <geoffk@redhat.com>
3281
3282 * configure.host (xstormy16): Don't use the generic malloc.
3283 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
3284 * libc/machine/xstormy16/Makefile.in: Regenerate.
3285 * libc/machine/xstormy16/mallocr.c: New file.
3286 * libc/machine/xstormy16/tiny-malloc.c: New file.
3287
4bb6112f
TF
32882002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
3289
3290 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
3291 when _CYGWIN_TYPES_H is not defined.
3292
8d345552
TF
32932002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3294
3295 * libc/include/sys/signal.h: Revert 2002-01-23 change.
3296
bcc49082
TF
32972002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3298
3299 * libc/include/sys/signal.h: Remove pthread_kill declaration
3300 when __CYGWIN__ is defined.
3301
13baedeb
CF
33022002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
3303
3304 * libc/include/time.h: Add prototype for strptime for Cygwin.
3305
b2db0ebc
NC
33062002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
3307
ebf139fb
NC
3308 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
3309 dst was not word aligned.
3310
b2db0ebc
NC
3311 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
3312 if too much memory is requested.
3313
798c015d
JJ
33142002-01-11 Jeff Johnston <jjohnstn@redhat.com>
3315
3316 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
3317 reads blanks from the input file to break if EOF reached
3318 rather than end processing.
3319
46ad2ef4
JJ
33202002-01-07 Jeff Johnston <jjohnstn@redhat.com>
3321
3322 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
3323
86b06396
JJ
33242002-01-07 Alan Matsuoka <alanm@redhat.com>
3325
3326 * libc/include/machine/ieeefp.h: Configure d10v doubles to
3327 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
3328 libc/include/sys/config.h: Ditto.
3329
423d5064
CV
33302001-12-28 Corinna Vinschen <corinna@vinschen.de>
3331
3332 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
3333
f6eff1c0
GK
33342001-12-22 Geoffrey Keating <geoffk@redhat.com>
3335 Catherine Moore <clm@redhat.com>
3336 Richard Henderson <rth@redhat.com>
3337 Corinna Vinschen <vinschen@redhat.com>
3338
3339 * configure.host: Add support for xstormy16.
3340 * libc/include/machine/ieeefp.h: Add support for xstormy16.
3341 * libc/include/machine/setjmp.h: Add support for xstormy16.
3342 * libc/include/sys/config.h: Add support for xstormy16.
3343 * libc/machine/xstormy16/Makefile.am: New file.
3344 * libc/machine/xstormy16/Makefile.in: New file.
3345 * libc/machine/xstormy16/aclocal.m4: New file.
3346 * libc/machine/xstormy16/configure: New file.
3347 * libc/machine/xstormy16/configure.in: New file.
3348 * libc/machine/xstormy16/setjmp.S: New file.
3349
1f93c55f
TF
33502001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3351
3352 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
3353 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
3354
13b918be
CV
33552001-12-19 Corinna Vinschen <corinna@vinschen.de>
3356
3357 * libm/machine/Makefile.am: Change rules to create correct lib.a.
3358 * libm/machine/Makefile.in: Regenerated through automake.
3359
08e857b4
TF
33602001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3361
3362 * Makefile.am (DOCDIR): Force to empty string when doc
3363 directory is not present.
3364
60565ed6
TF
33652001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3366
3367 * libc/machine/i386/f_*: Move to libm/machine/i386.
3368
33692001-12-18 Joel Sherrill <joel@OARcorp.com>
3370
3371 * libm/machine/Makefile.am: Add dummy doc stub so
3372 "make info" works.
3373
33742001-12-17 Joel Sherrill <joel@OARcorp.com>
3375
3376 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
3377
fc504135
TF
33782001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
3379
3380 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
3381 $(COMPILE) rather than $(CC).
3382 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
3383 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
3384 $(LIB_COMPILE) change.
3385 (vfiprintf.$(oext)): Likewise.
3386
efeae9a3
CV
33872001-12-17 Corinna Vinschen <vinschen@redhat.de>
3388
3389 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
3390 conditionalized including of getopt stuff.
3391
cdf7120d
TF
33922001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
3393
3394 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
3395 compile line.
f85be99c 3396 (vfiprintf.$(oext)): Likewise.
cdf7120d 3397
2e1a7175
TF
33982001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
3399
3400 * Makefile.shared: New file.
3401 * libc/sys/linux/shared.ld: New file.
3402 * libm/machine/*: New files.
3403 * libm/machine/i386/*: New files.
3404 * Makefile.am: Add libtool support. Change math and mathfp
3405 references to variables.
3406 * configure.host: Add variables for libtool support. Add
3407 libm_machine_dir variable.
3408 * configure.in: Add objectlist variables, for libtool
3409 support. Add CC_FOR_BUILD tests.
3410 * libc/Makefile.am: Add libtool support. Change crt0.o
3411 reference to be a variable reference.
3412 * libc/configure.in: Add libtool support. Change sublib
3413 names to be lib${subdir}.la when using libtool.
3414 * libc/ctype/Makefile.am: Add libtool support.
3415 * libc/errno/Makefile.am: Likewise.
3416 * libc/locale/Makefile.am: Likewise.
3417 * libc/machine/Makefile.am: Likewise.
3418 * libc/machine/configure.in: Likewise.
3419 * libc/machine/i386/Makefile.am: Likewise.
3420 * libc/machine/i386/configure.in: Likewise.
3421 * libc/misc/Makefile.am: Likewise.
3422 * libc/posix/Makefile.am: Likewise.
3423 * libc/reent/Makefile.am: Likewise.
3424 * libc/signal/Makefile.am: Likewise.
3425 * libc/stdio/Makefile.am: Likewise.
3426 * libc/stdlib/Makefile.am: Likewise.
3427 * libc/string/Makefile.am: Likewise.
3428 * libc/sys/Makefile.am: Likewise.
3429 * libc/sys/configure.in: Likewise.
3430 * libc/sys/linux/Makefile.am: Add libtool support. Change
3431 awk reference to a variable reference. Change signal.h
3432 reference to a variable reference.
3433 * libc/sys/linux/configure.in: Add libtool support.
3434 * libc/syscalls/Makefile.am: Likewise.
3435 * libc/time/Makefile.am: Likewise.
3436 * libc/unix/Makefile.am: Likewise.
3437 * libm/Makefile.am: Add libtool support. Change math and
3438 mathfp references to variables.
3439 * libm/configure.in: Add libtool support. Add
3440 LIBM_MACHINE_LIB variable.
3441 * libm/common/Makefile.am: Add libtool support.
3442 * libm/math/Makefile.am: Likewise.
3443 * libm/mathfp/Makefile.am: Likewise.
3444 Regenerate all Makefile.in, aclocal.m4, and configure.
3445
b92591a1
JJ
34462001-12-13 Anita Kulkarni <anitak@kpit.com>
3447
3448 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
3449
355b664e
CF
34502001-12-06 John Peacock <jpeacock@rowman.com>
3451
3452 * libc/include/sys/unistd.h: Correct ualarm declaration.
3453
e9853806
NC
34542001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
3455
3456 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
3457 vector before calling the initialisation functions.
3458
a8e091b0
CF
34592001-11-29 Christopher Faylor <cgf@redhat.com>
3460
3461 * libc/include/dirent.h: Protect against multiple inclusion.
3462
ab634123
CF
34632001-11-27 Christopher Faylor <cgf@redhat.com>
3464
3465 * libc/include/sys/types.h: Define useconds_t.
3466 * libc/include/sys/ulimit.h: Declare ualarm.
3467
d37e401e
CF
34682001-11-21 Christopher Faylor <cgf@redhat.com>
3469
3470 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
3471
8ac90051
HPN
34722001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
3473
3474 * libc/sys/mmixware/*: Tweak license header in all source files.
3475
d7ca37e4
CV
34762001-11-12 Corinna Vinschen <vinschen@redhat.com>
3477
3478 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
3479 to here. Rearrange for general inclusion by stdlib.h.
3480 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
3481 isn't defined.
3482 * libc/sys/linux/include/alloca.h: Move to libc/include.
3483
28f8744e
AG
34842001-11-12 Anthony Green <green@redhat.com>
3485
3486 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
3487
4cede8c4
HPN
34882001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
3489
3490 * libc/sys/mmixware/*: Correct spacing in all source files.
3491 * libc/sys/mmixware/syscall.h: Move misplaced file...
3492 * libc/sys/mmixware/sys/syscall.h: ...here.
3493
8be9b48b
JJ
34942001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
3495
3496 * libc/include/machine/ieeefp.h: Add support for mmix target.
3497 * libc/include/machine/setjmp.h: Ditto.
3498 * configure.host: Ditto.
3499 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
3500 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
3501 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
3502 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
3503 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
3504 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
3505 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
3506 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
3507 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
3508 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
3509 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
3510 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
3511 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
3512 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
3513 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
3514 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
3515 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
3516 libc/sys/mmixware/aclocal.m4: Generate.
3517
c7dd4f95
CV
35182001-11-05 Corinna Vinschen <corinna@vinschen.de>
3519
3520 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
3521 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
3522 when __CYGWIN__ is defined.
3523 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
3524 logwtmp().
3525
a6a6f9fe
JJ
35262001-11-01 Arati Dikey <aratidikey@hotmail.com>
3527
3528 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
3529 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
3530 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
3531 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
3532
d0504c35
JJ
35332001-10-24 Christopher Faylor <cgf@redhat.com>
3534
3535 * libc/stdio/fseek.c: Reset pointer to buffer base
3536 when forced to seek outside of current buffer contents.
3537 This prevents the code from erroneously thinking there is
3538 anything in the current buffer.
3539
0280c8c0
GK
35402001-10-22 Geoffrey Keating <geoffk@redhat.com>
3541
3542 * libc/include/math.h: The C++ standard adds the single-precision
3543 versions of the elementary functions.
3544
333d6098
CF
35452001-10-22 Christopher Faylor <cgf@redhat.com>
3546
3547 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
3548 throughout.
3549 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
3550 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
3551 * system.c (_system_r): Ditto.
3552
c7118319
CV
35532001-10-17 Corinna Vinschen <corinna@vinschen.de>
3554
3555 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 3556 __CYGWIN__ or __rtems__ is defined.
c7118319 3557
5665b0e1
JJ
35582001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
3559
3560 * libc/include/stdlib.h: add declarations for
3561 _strtoull_r, _strtoll_r, strtoull, and strtoll.
3562 * libc/stdio/local.h: remove declarations of
3563 __strtoull_r and __strtoll_r.
3564 * libc/stdio/vfscanf.c(__svfscanf_r): call
3565 _strtoull_r instead of __strtoull_r. Ditto
3566 _strtoll_r vs. __strtoll_r.
3567 * libc/stdlib/Makefile.am: add new files to
3568 .c list and .def list
3569 * libc/stdlib/Makefile.in: regenerate
3570 * libc/stdlib/strtoll_r.c: rename __strtoll_r
3571 as _strtoll_r
3572 * libc/stdlib/strtoull_r.c: rename __strtoull_r
3573 as _strtoull_r
3574 * libc/stdlib/strtoull.c: new file
3575 * libc/stdlib/strtoll.c: new file
3576
d2d5eb41
CF
3577Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
3578
3579 * libc/include/process.h: Add getpid() declaration.
3580
448e3c14
NC
35812001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
3582
3583 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
3584 for new style arm/elf ctor/dtor handling.
3585 Minor formatting tidy up.
3586
7a2afbbb
JJ
35872001-09-13 Jeff Johnston <jjohnstn@redhat.com>
3588
3589 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
3590 and strtoull_r.c.
3591 * libc/stdlib/Makefile.in: Regenerated.
3592 * libc/stdlib/strtoll_r.c: New file.
3593 * libc/stdlib/strtoull_r.c: New file.
3594 * libc/stdio/local.h: Add prototypes for long long string
3595 conversion routines.
3596 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
3597 tied to %L integer conversion specifier.
3598
6342caa4
JJ
3599Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
3600
3601 * strftime.c (strftime): Fix "%W" implementation to properly handle
3602 Mondays too.
3603
b2d319cb
JJ
36042001-09-07 Jeff Law <law@redhat.com>
3605
3606 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
3607 __fini with "mov.l" instead of "mov.w".
3608
233823ba
CV
36092001-09-05 Corinna Vinschen <corinna@vinschen.de>
3610
3611 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
3612 and getopt.h.
3613
63c17b54
JJ
36142001-09-04 Jason Merrill <jason_merrill@redhat.com>
3615
3616 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
3617
a3e67ddf
CV
36182001-09-03 Corinna Vinschen <corinna@vinschen.de>
3619
3620 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
3621 field.
3622 (__DIRENT_VERSION): New define.
3623
6d47f33a
CV
36242001-09-03 Corinna Vinschen <corinna@vinschen.de>
3625
3626 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
3627 Shrink __d_reserved accordingly to keep structure size.
3628 (dirfd): Declare external.
6d47f33a 3629
348c5e06
JJ
36302001-08-29 Joel Sherrill <joel@OARcorp.com>
3631
3632 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
3633
36342001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3635
3636 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
3637 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
3638 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
3639 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
3640 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
3641 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
3642 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
3643 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
3644 Add conditional compilation to avoid HW FPU instructions
3645 when compiled for soft-float.
3646
f29865c5
JJ
36472001-08-29 Jeff Johnston <jjohnstn@redhat.com>
3648
3649 * Makefile.am: Add check for ln failing when creating libg.a
3650 so that cp gets used as a backup.
3651 * Makefile.in: Regenerated.
3652
9e2a4ef8
JJ
36532001-08-29 Jeff Johnston <jjohnstn@redhat.com>
3654
3655 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
3656 No longer include time.h. Add struct __tm to use for
3657 _localtime_buf in the reentrant structure. Add a
3658 _NULL definition to use in initializing the reentrant struct.
3659 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
3660 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
3661 <sys/_types.h>.
3662 * libc/include/sys/unistd.h: Include <sys/_types.h>.
3663 * libc/time/lcltime.c (localtime): Cast the reentrant struct
3664 _localtime_buf to be struct tm *.
3665
1ae900d6
JR
3666Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
3667
3668 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
3669 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
3670 __ctors_end.
3671 * libc/sys/h8300hms/syscalls.c: Include errno.h.
3672 (_unlink): New stub function.
3673
8e26d5b5
CF
3674Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
3675
3676 * libc/include/sys/errno.h: Add a cautionary comment.
3677
e8267664
JJ
36782001-08-21 Jeff Johnston <jjohnstn@redhat.com>
3679
3680 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
3681 for SIZE_SZ so that alignment ends up a minimum of 8.
3682
4acf3edf
CF
3683Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
3684
3685 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
3686 arguments.
3687
3688 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
3689 Cygwin.
3690
52c80be8
JJ
36912001-08-13 Jeff Johnston <jjohnstn@redhat.com>
3692
3693 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
3694 macro constants for mallopt options.
3695 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
3696
a7061f7f
JJ
36972001-08-02 Jeff Johnston <jjohnstn@redhat.com>
3698
3699 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
3700 otherwise default.
3701
0b4bfdd5
AH
37022001-07-12 Aldy Hernandez <aldyh@redhat.com>
3703
3704 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
3705
2b6b730c
NC
37062001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
3707
3708 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
3709 Define for little endian ARMs.
3710
3711 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
3712 __IEEE_BYTES_LITTLE_ENDIAN is defined.
3713
25842b68
JJ
37142001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
3715
3716 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
3717
371b76ef
JJ
37182001-06-11 Egor Duda <deo@logos-m.ru>
3719
3720 * libc/ctype/ctype_.c: When compiled with gcc on platforms
3721 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
3722 initialized memory region. Platform can define COMPACT_CTYPE
3723 to avoid allocation of the additional 128 bytes of data.
3724 Add pointer to _ctype_ array. Always initialize all _ctype_
3725 array elements.
3726
43b44bc5
JL
37272001-06-08 Jonathan Larmour <jlarmour@redhat.com>
3728
3729 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
3730 NULL pointer.
3731
188bc140
NC
37322001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
3733
3734 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
3735
2ce88418
NC
37362001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
3737
3738 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
3739 matching, non-word alignment, and the length is <= 4 but more than
3740 enough to move them over a word boundary.
3741 Add comments explaining what each instruction does.
3742
ca60ed47
CF
3743Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
3744
3745 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 3746 * libc/include/sys/unistd.h: Ditto.
ca60ed47 3747
8b3bcfba
JJ
37482001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
3749
3750 * libc/string/strrchr.c: Use strchr for the speed improvements.
3751
b09e3cf8
JJ
37522001-05-01 Jeff Johnston <jjohnstn@redhat.com>
3753
3754 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
3755 real file systems, let __smakebuf() determine if line buffering
3756 should be used for stdout.
3757
0ca66974
JJ
37582001-04-27 Jeff Johnston <jjohnstn@redhat.com>
3759
3760 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
3761
7cb7017a
JJ
37622001-04-27 Jeff Johnston <jjohnstn@redhat.com>
3763
3764 * libc/include/stdlib.h: Add prototype for _strtod_r.
3765
a874cd21
JJ
37662001-04-24 Charles Wilson <cwilson@ece.gatech.edu
3767
3768 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
3769 * libc/stdio/vprintf.c (_vprintf_r): new function
3770 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
3771 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
3772 _DEFUN, and call _vfprintf_r, not vfprintf.
3773 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
3774 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
3775 _DEFUN, and call _vfprintf_r, not vfprintf.
3776
cb4cc283
CF
37772001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
3778
3779 * libc/include/sys/unistd.h [X_OK]: Use better protection against
3780 Cygwin X_OK definitions in sys/file.h.
3781
8c9df1d5
CF
3782Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
3783
3784 * libc/include/sys/time.h: Define timercmp and other macros for
3785 __CYGWIN__, too.
3786
3ac6f3a7
JJ
37872001-04-20 Jeff Johnston <jjohnstn@redhat.com>
3788
3789 * acinclude.m4: Added --enable-malloc-debugging configure flag.
3790 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
3791 --enable-malloc-debugging selected.
3792 * aclocal.m4 configure: Regenerated.
3793 libm/aclocal.m4 libm/configure: Ditto.
3794 * libc/aclocal.m4 libc/configure: Ditto.
3795 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
3796 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
3797 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
3798 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
3799 * doc/aclocal.m4 doc/configure: Ditto.
3800
52cb9e69
JJ
38012001-04-20 Jeff Johnston <jjohnstn@redhat.com>
3802
3803 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
3804 into one list.
3805 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
3806 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
3807 function prototypes.
3808 (_fscanf_r, _sscanf_r): Ditto.
3809 * libc/include/stdlib.h: Added _strtod_r prototype.
3810 * libc/stdio/Makefile.am: Add new v*scanf functions.
3811 * libc/stdio/Makefile.in: Regenerate.
3812 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
3813 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
3814 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
3815 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
3816 (sscanf): Changed to call __svfscanf_r with _REENT argument.
3817 (_sscanf_r): New routine.
3818 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
3819 with __svfscanf_r prototype.
3820 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
3821 routines.
3822 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
3823 structure as argument as calls reentrant versions of helper functions
3824 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
3825 to _strtol_r and _strtod_r respectively.
3826 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
3827 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
3828 _REENT argument.
3829 * libc/stdio/vscanf.c: New file.
3830 * libc/stdio/vsscanf.c: Ditto.
3831
ee9f39fb
JJ
38322001-04-19 Robert Collins <rbtcollins@hotmail.com>
3833
3834 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
3835 Define daylight to _daylight if it is not defined
3836 Prepare a variable export of timezone based on timezonevariable.
3837 (Cannot be used with the timezone() function.)
3838
273861e3
JJ
38392001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
3840
3841 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
3842 Correct the numerical values.
3843
a25b8414
CF
38442001-04-13 Robert Collins <rbtcollins@hotmail.com>
3845
3846 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
3847
b8a8c59d
CV
3848Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
3849
3850 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
3851 on case insensitve file systems.
3852
74f8cc63
CF
38532001-04-12 Robert Collins <rbtcollins@hotmail.com>
3854
3855 * libc/include/sys/features.h: Add appropriate defines for Cygwin
3856 pthread support.
3857 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
3858 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
3859 types. Include <cygwin/types.h> for the cygwin specific typedefs.
3860
16740220
RS
38612001-04-04 Richard Sandiford <rsandifo@redhat.com>
3862
3863 * libc/include/machine/ieeefp.h: Comment about new configuration
3864 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
3865 * libm/common/fdlib.h: Define new macros for testing floats.
3866 * libm/common/sf_*: Use them.
3867 * libm/math/ef_*: Likewise.
3868 * libm/math/sf_*: Likewise.
3869
0694d8d3
JJ
38702001-03-29 Jeff Johnston <jjohnstn@redhat.com>
3871
3872 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
3873 prolog to by-pass possible assembler error.
3874
4833b38c
JJ
38752001-03-21 Egor Duda <deo@logos-m.ru>
3876
3877 Allow building internal stubs for non-reentrant syscalls
3878 if target provides its own malloc
3879 * libc/reent/reent.c (errno): Move definition here.
3880 * libc/reent/sbrkr.c: From here.
3881
d17d6d42
CF
38822001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
3883
3884 * libc/include/sys/types.h (BSD int typedefs): Guard with
3885 _BSDTYPES_DEFINED rather than _WINSOCK_H.
3886 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
3887 _SYS_TYPES_FD_SET.
3888 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
3889 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
3890
c7ee75cd
CV
3891Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
3892
3893 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
3894 _PC_POSIX_SECURITY constants for Cygwin.
3895
63dc5d80
CV
3896Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
3897
3898 * libc/sys/cygwin/crt0.c: Add copyright hint.
3899 * libc/sys/cygwin/sys/dirent.h: Ditto.
3900 * libc/sys/cygwin/sys/param.h: Ditto.
3901 * libc/sys/cygwin/sys/utime.h: Ditto.
3902 * libc/sys/cygwin/sys/utmp.h: Ditto.
3903
6f637037
AO
39042001-03-13 Alexandre Oliva <aoliva@redhat.com>
3905
3906 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
3907 equivalent to LONGINT.
3908
e69b6f73
JJ
39092001-03-08 Richard Sandiford <rsandifo@redhat.com>
3910
3911 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
3912 jmpbuf on MIPS64 targets.
3913 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
3914
6198dece
CF
3915Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
3916
e69b6f73
JJ
3917 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
3918 declarations.
6198dece 3919
cfc05d96
JJ
3920Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
3921
3922 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
3923 For RTEMS, define to be ssize_t. Default to int if not defined.
3924 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
3925 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
3926 * libc/stdio/local.h (__sread, __swrite): Likewise.
3927 * libc/include/sys/reent.h (_read, _write): Likewise.
3928 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
3929 * libc/syscalls/sysread.c (read): Likewise.
3930 * libc/syscalls/syswrite.c (write): Likewise.
3931
6249353a
JJ
39322001-03-05 Jeff Johnston <jjohnstn@redhat.com>
3933
3934 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
3935
658b5db9
CF
3936Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
3937
3938 * libc/include/sys/stat.h: Use special defines for executable stat bits
3939 when compiling for Cygwin.
3940 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
3941 for Cygwin.
3942
19ca46d5
JJ
39432001-03-02 Jeff Johnston <jjohnstn@redhat.com>
3944
3945 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
3946 of strtok_r is always defined.
3947
b73ed85e
JJ
39482001-03-02 Jeff Johnston <jjohnstn@redhat.com>
3949
3950 * libc/include/machine/ansi.h: New dummy header file.
3951
ee37ede1
JJ
39522001-02-22 Jeff Johnston <jjohnstn@redhat.com>
3953
3954 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
3955 changed the copyright information to allow free modification of the
3956 file with no reference to "copying.dj".
3957 * libc/include/sys/stat-dj.h: Ditto.
3958 * libc/machine/i386/setjmp.S: Ditto.
3959 * libc/sys/h8300hms/sys/file.h: Ditto.
3960 * libc/sys/sysmec/access.c: Ditto.
3961 * libc/sys/sysnecv850/access.c: Ditto.
3962 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
3963 * libc/stdlib/getenv_r.c: Ditto.
3964 * libc/stdlib/putenv_r.c: Ditto.
3965 * libc/stdlib/setenv_r.c: Ditto.
3966 * libc/stdlib/getenv.c: Removed DJ reference since any possible
3967 modifications will now be in the _r version of this file.
3968 * libc/stdlib/putenv.c: Ditto.
3969 * libc/stdlib/setenv.c: Ditto.
3970 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
3971 valid. Added a reference to DJ's web page that contains his address.
3972 * libc/sys/go32/*.s: Removed references to DJ's old address.
3973 * libc/sys/go32/*.c: Ditto.
3974 * libc/sys/go32/*.h: Ditto.
3975 * libc/sys/go32/*.S: Ditto.
3976 * libc/sys/go32/sys/*.h: Ditto.
3977
3a8fc0e4
JJ
39782001-02-21 Jeff Johnston <jjohnstn@redhat.com>
3979
3980 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
3981 HAVE_FCNTL flag check.
3982 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
3983 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
3984
b24ee749
CF
3985Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
3986
3987 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
3988
ab4745dc
JJ
39892001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3990
3991 * libc/include/stdlib.h: Add declarations of rand48 functions and
3992 their reentrant versions.
3993 * libc/include/sys/reent.h: Move macros from rand48.h. Add
3994 struct _rand48 for shared parameters of rand48 functions.
3995 (struct _reent): Add a variable _r48 of struct _rand48.
3996 (_REENT_INIT): Add _r48 initialization.
3997 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
3998 (CHEWOUT_FILES): Add rand48.def.
3999 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
4000 * libc/stdlib/Makefile.in: Regenerated.
4001 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
4002 NetBSD C library.
4003 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
4004 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
4005 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
4006 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
4007 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
4008 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
4009 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
4010 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
4011 * libc/stdlib/rand48.c (__dorand48): Ditto.
4012 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
4013 parameters into macros referring them in the reentrant structure.
4014
a34c461f
JJ
40152001-02-12 Jeff Johnston <jjohnstn@redhat.com>
4016
4017 * libc/include/sys/stat.h: Add mknod for Cygwin now that
4018 Cygwin definition has correct prototype.
4019
34f31ff2
JJ
40202001-02-08 Jeff Johnston <jjohnstn@redhat.com>
4021
4022 * libc/include/sys/stat.h: Must revert change for mknod
4023 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
4024 prototype.
4025
5336d6de
JJ
40262001-02-08 Jeff Johnston <jjohnstn@redhat.com>
4027
4028 * libc/include/stdio.h: Revert putw prototype.
4029
8915d10a
JJ
40302001-02-08 Edward M. Lee <tailbert@yahoo.com>
4031
4032 * libc/include/grp.h: add prototype for initgroups.
4033 * libc/include/stdio.h: fix prototype for putw.
4034 * libc/include/sys/signal.h: add prototype for killpg.
4035 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
4036 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
4037 vhangup and remove duplicate sysconf prototype.
4038
93ac4487
JJ
40392001-02-07 Jeff Johnston <jjohnstn@redhat.com>
4040
4041 * libc/sys/rtems/sys/types.h: Removed.
4042
31f5feea
JJ
40432001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
4044
4045 * libc/include/locale.h: add LC_MESSAGES definition
4046
b5139f59
AO
40472001-02-01 Alexandre Oliva <aoliva@redhat.com>
4048
4049 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
4050 SYS_get_argN):
4051 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
4052 __setup_argv_and_call_main): New.
4053
e29d8355
JJ
40542001-01-31 Jeff Johnston <jjohnstn@redhat.com>
4055
4056 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
4057 if defined.
4058 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
4059 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
4060 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
4061 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
4062
82ea92f3
CF
4063Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
4064
4065 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
4066 compiling under Cygwin.
4067
3aaa66f8
JJ
40682001-01-29 Jeff Johnston <jjohnstn@redhat.com>
4069
4070 * libc/include/math.h (signgam): Change to errno-like solution
4071 using a function to return the address of the real signgam.
4072 * libc/reent/signgam.c: New file containing __signgam().
4073 * libc/reent/Makefile.am: Added signgam.c to list of files.
4074 * libc/reent/Makefile.in: Regenerated.
4075
610b895a
AO
40762001-01-25 Alexandre Oliva <aoliva@redhat.com>
4077
b0913397
AO
4078 * libc/sys/sh/syscalls.c (_times): New.
4079
610b895a
AO
4080 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
4081 * libc/sys/sh/syscalls.c (_gettimeofday): New.
4082
3643210e
JJ
40832001-01-23 Jeff Johnston <jjohnstn@redhat.com>
4084
4085 * libc/include/math.h (signgam): Regress previous fix as
4086 it does not handle programs with extern int signgam in them.
4087
841081c9
JJ
40882001-01-23 Jeff Johnston <jjohnstn@redhat.com>
4089
4090 * libc/include/math.h (signgam): Changed to a macro refering to
4091 its location in the reentrant structure.
4092
e9cd87b8
JJ
40932001-01-23 Jeff Johnston <jjohnstn@redhat.com>
4094
4095 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
4096 that suppressed . for %.0f, 0.1. Check now looks if there
4097 are padding zeroes (expt) in addition to any digits (ndig) to
4098 print.
4099
a302b48c
JJ
41002001-01-18 Jeff Johnston <jjohnstn@redhat.com>
4101
4102 * libc/sys/arc/Makefile.am: New file.
4103 * libc/sys/arc/Makefile.in: Ditto.
4104 * libc/sys/arc/aclocal.m4: Ditto.
4105 * libc/sys/arc/configure: Ditto.
4106 * libc/sys/arc/configure.in: Ditto.
4107 * libc/sys/arc/crt0.S: Ditto.
4108 * libc/sys/arc/isatty.c: Ditto.
4109 * libc/sys/arc/mem-layout.c: Ditto.
4110 * libc/sys/arc/sbrk.c: Ditto.
4111 * libc/sys/arc/syscalls.c: Ditto.
4112 * libc/sys/arc/sys/syscall.h: Ditto.
4113
d0319c3b
CF
4114Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
4115
4116 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
4117
e45ab890
CF
4118Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
4119
4120 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
4121
1376245a
DD
4122Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
4123
4124 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
4125
92b57543
NC
41262001-01-09 Nick Clifton <nickc@redhat.com>
4127
4128 * configure.host (v859): Remove unsupported compiler options.
4129
7d6d33d4
JJ
4130Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
4131
4132 * src/newlib/configure.host (*-*-rtems*): add printf long long
4133 support for RTEMS.
4134
602f8b5a 41352000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
4136
4137 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
4138
9c2b8183
JJ
4139Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
4140
4141 * configure.host: Turn on long double I/O for Cygwin.
4142
804368d3
JJ
4143Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
4144
4145 * MAINTAINERS: Removed Ranjith.
4146 * NEWS: Updated for 1.9.0.
4147 * README: Updated.
4148 * acinclude.m4: Updated to release 1.9.0.
4149 * aclocal.m4 configure
4150 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
4151 libc/machine/aclocal.m4 libc/machine/configure
4152 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
4153 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
4154 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
4155 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
4156 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
4157 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
4158 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
4159 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
4160 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
4161 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
4162 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
4163 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
4164 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
4165 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
4166 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
4167 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
4168 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
4169 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
4170 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
4171 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
4172 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
4173 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
4174 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
4175 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
4176 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
4177 libc/sys/aclocal.m4 libc/sys/configure
4178 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
4179 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
4180 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
4181 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
4182 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
4183 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
4184 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
4185 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
4186 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
4187 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4188 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4189 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4190 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4191 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4192 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4193 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4194 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4195 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4196 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4197 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4198 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4199 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4200 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4201 libm/aclocal.m4 libm/configure: Regenerated.
4202
0985d43f
CV
4203Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
4204
4205 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
4206 when __CYGWIN__ is defined.
4207
b6182a09
JJ
42082000-12-13 Jeff Johnston <jjohnstn@redhat.com>
4209
4210 * libc/stdlib/ldtoa.c (_ldcheck): New routine
4211 that categorizes a long double as NaN, Infinity, or other.
4212 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
4213 isinfl and isnanl static routines which were i386-specific. Changed
4214 calls to the two removed routines to a single _ldcheck call.
4215 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
4216
adbbb034
JJ
42172000-12-13 Jeff Johnston <jjohnstn@redhat.com>
4218
4219 * Makefile.am: Fixed install-data-local target to use
4220 $(mkinstalldirs) for the installed header files to ensure
4221 the directories exist before copying.
4222 * Makefile.in: Regenerated.
4223
cbd19336
JJ
42242000-12-12 Jeff Johnston <jjohnstn@redhat.com>
4225
4226 * libc/include/sys/unistd.h: Restored Cygwin _SC
4227 constants and moved new constants appropriately
4228 so Cygwin will build.
4229
8fb37963
JJ
42302000-12-11 Joel Sherrill <joel@OARcorp.com>
4231
4232 * Merge RTEMS specific .h files into main libc/include.
4233 * libc/sys/rtems/include/signal.h: Removed.
4234 * libc/sys/rtems/include/time.h: Removed.
4235 * libc/sys/rtems/sys/features.h: Removed.
4236 * libc/sys/rtems/sys/sched.h: Removed.
4237 * libc/sys/rtems/sys/siginfo.h: Removed.
4238 * libc/sys/rtems/sys/signal.h: Removed.
4239 * libc/sys/rtems/sys/time.h: Removed.
4240 * libc/sys/rtems/sys/times.h: Removed.
4241 definitions for time_t and clock_t since these are
4242 no longer in time.h.
4243 * libc/include/pthread.h: New file.
4244 * libc/include/sys/sched.h: New file.
4245 * libc/include/sys/features.h: New file.
4246 * libc/include/time.h: Removed duplicate definition of clock_t
4247 and time_t, get them from <sys/types.h> instead. Add prototypes
4248 for POSIX clock and timer functionality.
4249 * libc/sys/linux/sys/types.h: Changed to include
4250 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
4251 * libc/include/sys/signal.h: Add more complete set of POSIX
4252 signal functionality including real-time and threaded signals.
4253 * libc/include/sys/types.h: Add clock_t, time_t, struct
4254 timespec, and struct itimerspec. Centralizing these makes
4255 things cleaner. RTEMS uses 64-bit dev_t.
4256 Added numerous primitive definitions
4257 for pthreads including macros, pthread_attr_t,
4258 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
4259 pthread_once_t, and pthread_t.
4260 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
4261 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
4262 Feature flags removed and moved to new file <sys/features.h>.
4263 Full set of POSIX sysconf() constants
4264
2efbc2a7
JJ
42652000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
4266
4267 * configure.host: Added x86 linux target.
4268 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
4269 definitions provided if not already defined.
4270 * libc/sys/linux/crt0.c: New file.
4271 * libc/sys/linux/Makefile.am: Ditto.
4272 * libc/sys/linux/Makefile.in: Ditto.
4273 * libc/sys/linux/aclocal.m4: Ditto.
4274 * libc/sys/linux/brk.c: Ditto.
4275 * libc/sys/linux/configure: Ditto.
4276 * libc/sys/linux/configure.in: Ditto.
4277 * libc/sys/linux/getoptlong.c: Ditto.
4278 * libc/sys/linux/ids.c: Ditto.
4279 * libc/sys/linux/inode.c: Ditto.
4280 * libc/sys/linux/io.c: Ditto.
4281 * libc/sys/linux/linux.c: Ditto.
4282 * libc/sys/linux/process.c: Ditto.
4283 * libc/sys/linux/realpath.c: Ditto.
4284 * libc/sys/linux/select.c: Ditto.
4285 * libc/sys/linux/signal.c: Ditto.
4286 * libc/sys/linux/systat.c: Ditto.
4287 * libc/sys/linux/termios.c: Ditto.
4288 * libc/sys/linux/time.c: Ditto.
4289 * libc/sys/linux/wait.c: Ditto.
4290 * libc/sys/linux/include/alloca.h: Ditto.
4291 * libc/sys/linux/include/getopt.h: Ditto.
4292 * libc/sys/linux/include/stdint.h: Ditto.
4293 * libc/sys/linux/include/unistd.h: Ditto.
4294 * libc/sys/linux/sys/cdefs.h: Ditto.
4295 * libc/sys/linux/sys/dirent.h: Ditto.
4296 * libc/sys/linux/sys/errno.h: Ditto.
4297 * libc/sys/linux/sys/fcntl.h: Ditto.
4298 * libc/sys/linux/sys/file.h: Ditto.
4299 * libc/sys/linux/sys/ioctl.h: Ditto.
4300 * libc/sys/linux/sys/resource.h: Ditto.
4301 * libc/sys/linux/sys/signal.h: Ditto.
4302 * libc/sys/linux/sys/stat.h: Ditto.
4303 * libc/sys/linux/sys/syscall.h: Ditto.
4304 * libc/sys/linux/sys/termios.h: Ditto.
4305 * libc/sys/linux/sys/time.h: Ditto.
4306 * libc/sys/linux/sys/types.h: Ditto.
4307 * libc/sys/linux/sys/utmp.h: Ditto.
4308 * libc/sys/linux/sys/utsname.h: Ditto.
4309 * libc/sys/linux/sys/wait.h: Ditto.
4310
a08c98bb
JJ
43112000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4312
4313 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
4314 can be a relative path to $(top_srcdir)/install.sh so ensure the
4315 autoconf detected settings are properly passed recursively.
4316 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
4317 properly to subdirectories.
4318 * Makefile.in: Regenerated.
4319
b294082c
JJ
43202000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
4321
4322 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
4323 a floating point register unless really printing a floating
4324 point number.
4325
2005ab6b
JJ
43262000-12-07 Jeff Johnston <jjohnstn@redhat.com>
4327
4328 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
4329 Also removed \r's.
4330 (asctoeg): Replaced alloca call with stack array and malloc
4331 when storage exceeds reasonable limit.
4332 (e53toe): Fixed einfin calls missing ldp parameter.
4333 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
4334
9f6e8f1b
JJ
43352000-12-06 Jeff Johnston <jjohnstn@redhat.com>
4336
2005ab6b 4337
9f6e8f1b
JJ
4338 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
4339
6bdac416
JJ
43402000-12-06 Jeff Johnston <jjohnstn@redhat.com>
4341
4342 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
4343 * libc/stdlib/Makefile.in: Regenerated.
4344 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
4345 * libc/stdio/vfieeefp.h: Added long double bit structures.
4346 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
4347 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
4348 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
4349 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
4350 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
4351 _strtold routines used for conversions between character
4352 and long double.
4353
ec270d31
CV
4354Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
4355
4356 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
4357
db2d9549
JJ
43582000-12-04 Joel Sherrill <joel@OARcorp.com>
4359
4360 * libc/include/machine/time.h: RTEMS systems can configure clock
4361 tick rate so use sysconf() to ask.
4362
6ba54a15
JJ
43632000-12-04 Joel Sherrill <joel@OARcorp.com>
4364
4365 * libc/include/sys/times.h: Add reference to POSIX standard.
4366
8677b819
JJ
43672000-12-04 Joel Sherrill <joel@OARcorp.com>
4368
4369 * libc/include/sys/time.h: Added BSD timer manipulation macros
4370 used by RTEMS code.
4371
1b61a706
JJ
43722000-12-04 Joel Sherrill <joel@OARcorp.com>
4373
4374 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
4375 referenced by code generated by gcc 2.8.1.
4376 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
4377 satisfy gcc.
4378
f5e7c124
JJ
43792000-12-04 Joel Sherrill <joel@OARcorp.com>
4380
4381 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
4382
768abc9c
JJ
43832000-12-04 Joel Sherrill <joel@OARcorp.com>
4384
4385 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
4386
9e5dd5ea
JJ
43872000-12-04 Joel Sherrill <joel@OARcorp.com>
4388
4389 * configure.host (or16, or32): New entries for OpenCores
4390 OpenRisc CPUs.
4391 (*-*-rtems*): Add -DNO_EXEC.
4392
768abc9c 43932000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
4394
4395 * libc/include/sys/errno.h: Added comments on many error numbers.
4396 * libc/string/strerror.c: Added some more strings.
4397
b273323f
JJ
43982000-11-30 Jeff Johnston <jjohnstn@redhat.com>
4399
4400 * libc/sys/sh/syscalls.c (_link): New stub.
4401
0ffc3b94
NC
44022000-11-29 Nick Clifton <nickc@redhat.com>
4403
4404 * configure.host: Add xscale target.
4405 * libc/machine/xscale: New directory.
4406 * libc/machine/xscale/Makefile.am: New file.
4407 * libc/machine/xscale/Makefile.in: New file.
4408 * libc/machine/xscale/aclocal.m4: New file.
4409 * libc/machine/xscale/configure: New file.
4410 * libc/machine/xscale/configure.in: New file.
4411 * libc/machine/xscale/memchr.S: New file.
4412 * libc/machine/xscale/memcmp.S: New file.
4413 * libc/machine/xscale/memcpy.S: New file.
4414 * libc/machine/xscale/memmove.S: New file.
4415 * libc/machine/xscale/memset.S: New file.
4416 * libc/machine/xscale/strchr.S: New file.
4417 * libc/machine/xscale/strcmp.S: New file.
4418 * libc/machine/xscale/strcpy.S: New file.
4419 * libc/machine/xscale/strlen.S: New file.
4420
cbbf0f96
CV
4421Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
4422
4423 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
4424 avoid compiler warnings.
4425
73dea790
MM
44262000-11-22 Michael Meissner <meissner@redhat.com>
4427
4428 * libc/posix/execl.c (execl): Don't reference environ directly,
4429 reference it only via a static pointer to avoid problems with some
4430 shared library systems and with different uses of small data where
4431 the user specifies his own version of environ.
4432 * libc/posix/execv.c (execv): Ditto.
4433 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
4434 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
4435 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
4436
4437 * libc/stdlib/getenv.c (environ): Delete unused reference to
4438 environ.
4439
4440 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
4441 colorization.
4442 * libc/stdlib/system.c: Ditto.
4443
08eac2ae
CF
4444Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
4445
4446 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
4447 including windows headers.
4448
5478bf37
JJ
44492000-11-20 Jeff Johnston <jjohnstn@redhat.com>
4450
4451 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
4452 * libc/include/dirent.h: Added definition of MAXNAMLEN if
4453 not defined by sys/dirent.h.
4454 * libc/posix/execvp.c: Added include of dirent.h to get
4455 MAXNAMLEN value which used to be in unistd.h.
4456
3a760728
CV
4457Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
4458
4459 * libc/include/sys/types.h: Change type of i to `size_t' in
4460 FD_ZERO macro to avoid compiler warnings.
4461
86fff69f
CF
4462Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
4463
4464 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
4465 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
4466
ba9e88d2
CV
4467Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
4468
4469 * libc/include/sys/unistd.h: Add defines for sysconf values
4470 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
4471 _SC_AVPHYS_PAGES.
4472
a8018ef3
CF
4473Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
4474
4475 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
4476 declarations for __CYGWIN__.
4477
b944c6f6
GK
44782000-09-19 Geoffrey Keating <geoffk@cygnus.com>
4479
4480 * libc/signal/signal.c (__sigtramp_r): ISO C requires
4481 case labels to be integral constant expressions, so
4482 use an if/else tree instead.
4483 (_raise_r): Likewise.
4484
7f18fcb4
JJ
44852000-09-13 Jeff Johnston <jjohnstn@redhat.com>
4486
4487 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
4488 clipping patch from e-mail reader.
4489
242361df
JJ
44902000-09-13 Will Cohen <wcohen@redhat.com>
4491
4492 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
4493 Added return value 0.
4494 (_longjmp): Allow longjmp to return value of second argument
4495 passed to it.
4496
8a8c59b9
JJ
44972000-09-06 Jeff Johnston <jjohnstn@redhat.com>
4498
4499 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
4500 inline code to prevent having to include another header file.
4501
a385ae75
CF
4502Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
4503
4504 * Makefile.am: Fix space vs. tab problem in install-data-local.
4505 * Makefile.in: Regenerate.
4506
4507Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
4508
4509 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
4510 (_EXPARM): New macro for defining a function parameter.
4511 * libc/include/stdlib.h: Use _EXPARM.
4512 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
4513
a36cd013
JJ
45142000-09-05 Manfred Hollstein <manfredh@redhat.com>
4515
4516 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
4517 required, as documented in the gnu coding standards.
4518 * Makefile.in: Regenerate.
4519
f825dfda
JJ
45202000-09-05 Jeff Johnston <jjohnstn@redhat.com>
4521
4522 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
4523 make O_NDELAY and O_NONBLOCK have the same value.
4524
4ba9aab7
JJ
45252000-08-30 Kazu Hirata <kazu@hxi.com>
4526
4527 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
4528
db7acc38
JJ
45292000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
4530
4531 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
4532 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
4533 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
4534 everywhere else.
4535
44e36af4
GK
45362000-08-30 Geoffrey Keating <geoffk@cygnus.com>
4537
4538 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
4539 * libc/include/string.h: Don't include <sys/types.h>,
4540 as it causes really bad namespace pollution. Don't declare
4541 swab(), it is properly declared in unistd.h.
4542
00a2f168
JJ
45432000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
4544
4545 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
4546 (broken) support for non-existent /etc/passwd field "comment".
4547
6beeb240
JJ
45482000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
4549
4550 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
4551 only if _DIRENT_HAVE_D_NAMLEN is defined.
4552 (alphasort): aligned prototype with
4553 libc/sys/cygwin/sys/dirent.h and simplified function body.
4554 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
4555 long telldir (DIR *) as mentioned in annex B of POSIX.1
4556
ef44da42
JJ
45572000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
4558
4559 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
4560 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
4561 Added __CLI and __STI macros (controlled via
4562 _I386MACH_ALLOW_HW_INTERRUPTS macro).
4563 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
4564 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
4565 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
4566 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
4567 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
4568 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
4569 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
4570 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
4571 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
4572 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
4573 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
4574 for all global entry points.
4575 * libc/machine/i386/setjmp.S: removed code replicated in
4576 libc/machine/i386/i386mach.h and included i386mach.h instead;
4577 Use __CLI and __STI instead of cli and sti.
4578
14d3488d
DD
45792000-08-25 DJ Delorie <dj@redhat.com>
4580
4581 * libc/include/sys/unistd.h (environ): this one isn't from the
4582 DLL, no __IMPORT
4583
c9ca4412
CF
4584Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
4585
4586 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
4587 environ when compiling under cygwin since it is already declared in
4588 unistd.h.
4589
2d5862de
JJ
45902000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
4591
4592 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
4593 like x << y-z to the equivalent x << (y-z).
4594 (d2b): changed if statements with assignment to perform the
4595 assignment prior to the if check.
4596 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
4597 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
4598 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
4599 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
4600 precedence.
4601 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
4602 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
4603 execve.c).
4604 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
4605 precedence.
4606 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
4607 clarify && and || precendence (and to remove pascalism).
4608 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
4609 * libm/math/s_infconst.c: added another pair of braces to all
4610 initializers for __infinity (need three: for __infinity[1] array,
4611 for union __dmath, and for i[2]).
4612
0888fedd
JJ
46132000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
4614
199359f0
JJ
4615 * libc/stdlib/abort.c: changed description: uses "raise" instead of
4616 "getpid" and "kill"; added: uses "write" and "_exit".
4617 Also included unistd.h for "_exit" prototype.
4618 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
4619 reent.h for "_fork_r" and "_wait_r" prototypes.
4620 (do_system): changed extern char *environ[] to POSIX-friendly
4621 extern char **environ.
4622 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
4623 prototypes.
4624 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
4625 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
4626 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
4627 * libc/reent/openr.c: included fcntl.h for "open" prototype.
4628 * libc/reent/signalr.c: included signal.h for "kill" prototype,
4629 unistd.h for "getpid" prototype.
4630 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
4631 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
4632 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
4633 prototype. Also included stdlib.h for "abort", string.h for
4634 "strdup" and "strncmp" prototypes.
4635 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
4636 "strncpy", unistd.h for "read" and "close" prototypes.
4637 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
4638 "strcat" prototypes.
4639
46402000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
4641
0888fedd
JJ
4642 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
4643 used later (ifdef __SCLE)
4644 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
4645 used later (ifdef MB_CAPABLE)
4646 * libc/string/memset.c (memset): removed unused variables "count"
4647 and "unaligned_addr"
4648 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
4649 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
4650 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
4651 and "gid"
4652
a334e5ef
JJ
46532000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
4654
4655 * libc/stdlib/envlock.c: changed documented "__env_lock" and
4656 "__env_unlock" prototype from "void *" or "char *" to
4657 "struct _reent *" to match real function. Also added include
4658 of envlock.h.
4659 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
4660 "__malloc_unlock" prototype from "void *" or "char *" to
4661 "struct _reent *" to match real function.
4662 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
4663 prototypes (for getenv_r.c and setenv_r.c).
4664
644b7f26
DD
46652000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
4666
4667 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
4668 and prototype in cygwin's utmp.h
4669
5bacbf10
JJ
46702000-08-16 Eric Fifer <efifer@sanwaint.com>
4671
4672 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
4673
38a6bf98
NC
46742000-08-09 Nick Clifton <nickc@cygnus.com>
4675
4676 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
4677 epilogue and to allow the functions to be used in a Thumb based
4678 toolchain.
4679
befe0fb3
JJ
46802000-08-08 Jeff Johnston <jjohnstn@redhat.com>
4681
4682 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
4683 so size of 0 results in nothing being written to string.
4684 Also fixed code so that when size is non-zero, there is only
4685 a maximum of size - 1 characters written to the array and
4686 a nul terminator is appended at the end.
4687 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4688
749d9bcd
DD
46892000-08-01 DJ Delorie <dj@redhat.com>
4690
4691 * libc/include/sys/config.h: define __IMPORT appropriately
4692 * libc/include/ctype.h (_ctype_): use __IMPORT
4693 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
4694 * libc/include/math.h (__mb_cur_max): ditto
4695 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
4696 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
4697 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
4698 * libc/include/unistd.h (environ): ditto
4699
7c110b17
MM
47002000-07-28 Michael Meissner <meissner@redhat.com>
4701
4702 * libc/include/math.h (__infinity): Declare as an array without
4703 bounds to get around small data support. Rewrite Cygwin support
4704 to be more general.
4705 * libm/math/s_infconst.c (__infinity): Ditto.
4706 * libm/mathfp/s_infconst.c (__infinity): Ditto.
4707
bf7be721
CF
4708Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
4709
4710 * libc/include/math.h: Use appropriate dll import linkage for
4711 __infinity under Cygwin.
4712
91a8d90b
DD
47132000-07-13 DJ Delorie <dj@cygnus.com>
4714
4715 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
4716
ba2048d3
JJ
4717Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
4718
4719 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
4720 to argument list for AngelSWI_Reason_GetCmdLine.
4721
4634da64
JJ
4722Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
4723
4724 * configure.host: Add support for AVR target.
4725 * libc/include/machine/ieeefp.h: Likewise.
4726 * libc/include/sys/config.h: Likewise.
4727
b19f72a2
RK
4728Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
4729
4730 * README: Newlib 1.8.2 must be built in a separate directory
4731 than the sources.
4732
a704d94a
JJ
4733Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4734
4735 * libc/include/sys/reent.h (_rand_next): Added __extension__
4736 qualifier as long long type is not strict ANSI.
4737 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
4738 to long long constant.
4739
b585720b
CV
4740Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
4741
4742 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
4743 `setegid' provided by Cygwin.
4744
01c327ba
CV
4745Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
4746
4747 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
4748 account for Cygwin.
4749
46a43a99
JJ
4750Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4751
4752 * libc/include/sys/reent.h (_rand_next): Changed to
4753 unsigned long long and moved to end of _reent struct in _new union.
4754 (_REENT_INIT): Changed to move _rand_next initialization.
4755 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
4756 linear congruential algorithm that is used by DJGPP.
4757
a68078cb
RK
4758Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
4759
4760 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
4761 * libc/include/sys/config.h: Define __RAND_MAX.
4762
518882f3
JJ
4763Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4764
4765 * libc/stdlib/rand_r.c: New algorithm that meets minimal
4766 standard.
4767
d51d968a
CF
4768Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
4769
4770 * libc/include/string.h: Work around problem with strsignal and gdb.
4771
d2dd5765
CF
4772Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
4773
4774 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
4775 * libc/include/malloc.h: Ditto.
4776 * libc/include/process.h: Ditto.
4777 * libc/include/stdio.h: Ditto.
4778 * libc/include/stdlib.h: Ditto.
4779 * libc/include/time.h: Ditto.
4780 * libc/include/machine/setjmp.h: Ditto.
4781 * libc/include/sys/errno.h: Ditto.
4782 * libc/include/sys/signal.h: Ditto.
4783 * libc/include/sys/stat.h: Ditto.
4784 * libc/include/sys/time.h: Ditto.
4785 * libc/include/sys/unistd.h: Ditto.
4786 * libc/include/string.h: Ditto. strsignal should return a const char *.
4787
88870218
JJ
47882000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
4789
4790 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
4791 * libm/common/s_log1p.c (log1p): Likewise.
4792 * libm/common/s_scalbn.c (scalbn): Likewise.
4793 * libm/math/e_log.c: Likewise.
4794 * libm/math/e_asin.c: Likewise.
4795 * libm/math/ef_asin.c: Likewise.
4796 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
4797 * libm/math/e_j1.c (pone, qone): Likewise.
4798 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
4799 * libm/math/ef_j1.c (ponef, qonef): Likewise.
4800 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
4801 * libm/mathfp/e_j1.c (pone, qone): Likewise.
4802 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
4803 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
4804
c4e1aa01
DD
48052000-05-19 DJ Delorie <dj@cygnus.com>
4806
4807 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
4808 (__sread): always read in binary mode
4809 (__swrite): always write in binary mode
4810 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
4811 compatibility issues with different dll versions
4812 * libc/stdio/fopen.c: use __stextmode
4813 * libc/stdio/fdopen.c: ditto
4814 * libc/stdio/freopen.c: ditto
4815 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
4816 * libc/stdio/local.h: declare __stextmode
4817
f4393261
DD
48182000-05-18 DJ Delorie <dj@cygnus.com>
4819
4820 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
4821
2b533fac
JJ
4822Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4823
4824 * libc/include/ctype.h: Changed tolower and toupper macros
4825 to use __extension__ to prevent pedantic warnings.
4826
75362a76
RK
4827Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
4828
4829 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
4830 structures.
4831
ec463fc7
JW
4832Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
4833
4834 * libc/include/machine/ieeefp.h: Add ia64 support.
4835 * configure.host: Likewise.
4836
f35ceefa
JJ
4837Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
4838
4839 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
4840 month is now padded with space, not zero. This now conforms to
4841 ANSI standard.
4842
b96fca8c
CV
4843Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
4844
4845 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
4846 host or network path") used by cygwin. Add some comments.
4847
49d64538
JJ
4848Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
4849
4850 * libc/include/stdio.h (FILE): define __SCLE for "convert line
4851 endings" for Cygwin.
4852 (__sgetc): convert line endings if needed
4853 (__sputc): ditto
4854 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
4855 * libc/stdio/fopen.c (_fopen_r): ditto
4856 * libc/stdio/freopen.c (freopen): ditto
4857 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
4858 * libc/stdio/fvwrite.c (__sfvwrite): ditto
4859
91fb1e7f
AO
4860Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
4861
4862 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
4863 post-increment when it is worth it, spacewise.
4864
c87be3e4
JJ
4865Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
4866
4867 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
4868 * libc/stdio/findfp.c (std): Added declaration of flags and file.
4869 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
4870 return type.
4871 * libc/stdio/putchar.c (putchar): Added return statement.
4872 * libc/stdio/refill.c (lflush): Added correct parentheses.
4873 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4874 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
4875 prints long value to use l qualifier.
4876 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
4877 messages and initialized local values: ilim, ilim1, and spec_case.
4878 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
4879 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
4880 * libc/stdlib/mprec.c: Ditto.
4881 * libc/stdlib/setenv_r.c: Ditto.
4882 * libc/stdlib/strtod.c: Ditto.
4883 * libc/stdlib/strtol.c: Ditto.
4884 * libc/stdlib/strtoul.c: Ditto.
4885 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
4886 * libm/common/sf_log1p.c: Ditto.
4887 * libm/common/sf_scalbn.c: Ditto.
4888 * libm/math/ef_log.c: Ditto.
4889
11f5b065
CV
4890Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
4891
4892 * libc/posix/execvp.c (execvp): Check path for
4893 trailing slash.
4894
796e3b20
CV
4895Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
4896
4897 * libc/include/sys/unistd.h: Add prototypes for
4898 fchmod, fchown, lchown.
4899
b489803a
JJ
4900Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4901
4902 * acinclude.m4: Changed release to 1.8.2.
4903 * aclocal.m4 configure doc/aclocal.m4 doc/configure
4904 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
4905 libc/machine/configure libc/machine/a29k/aclocal.m4
4906 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4907 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4908 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4909 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4910 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
4911 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4912 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4913 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4914 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4915 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4916 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
4917 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4918 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4919 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4920 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4921 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4922 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4923 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
4924 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4925 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
4926 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
4927 libc/machine/v850/configure libc/machine/w65/aclocal.m4
4928 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
4929 libc/machine/z8k/configure libc/sys/aclocal.m4
4930 libc/sys/aclocal.m4 libc/sys/configure
4931 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
4932 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
4933 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
4934 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
4935 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
4936 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
4937 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
4938 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
4939 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4940 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4941 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4942 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4943 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4944 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4945 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4946 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4947 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4948 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4949 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4950 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4951 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4952 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4953 libm/aclocal.m4 libm/configure: Regenerated.
4954
79908d67
NC
49552000-03-24 Nick Clifton <nickc@cygnus.com>
4956
4957 * libc/sys/arm/syscalls.c: Fix compile time warnings.
4958 (do_AngelSWI): Add "cc" to list o registers clobbered.
4959
7684ddaf
FN
4960Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
4961
4962 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
4963 information to be clobbered by an Angel C library support syscall.
4964
b8ec20c8
JJ
4965Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4966
4967 * libc/stdlib/envlock.c: Fixed comment typo.
4968
fae4c299
JJ
4969Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
4970
4971 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
4972 code to update nread as each character is processed instead
4973 of using buffer contents which throw away leading zeroes.
4974
dc98804b
RK
4975Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
4976
4977 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
4978
5ed2f523
JJ
4979Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
4980
4981 * libc/include/string.h: Include <sys/types.h>.
4982
1cf0ee34
AO
4983Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4984
4985 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
4986 with XSH5, not SVID.
4987
e9c94978
JJ
4988Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
4989
4990 * libc/include/string.h: Changed last argument back to ssize_t
4991 to make it compatible with XPG4 definition which is
4992 defined in <unistd.h>. There is a conflict in the SVID 3
4993 and XPG4 definitions and newlib will settle with XPG4.
4994 * libc/string/swab.c: Ditto.
4995
3072163c
JJ
4996Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
4997
4998 * libc/include/string.h: Changed last argument to size_t.
4999 * libc/string/swab.c: Changed last argument to size_t.
5000
f205ea7a
AO
5001Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5002
5003 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
5004 (CHEWOUT_FILES): Added unlinkr.def.
5005 * libc/reent/Makefile.in: Rebuilt.
5006 * libc/sys.tex: Include unlinkr.def.
5007 * libc/reent/linkr.c (_unlink_r): Moved to...
5008 * libc/reent/unlinkr.c: ... new file.
5009
85dd2e5b
AO
5010Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5011
5012 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
5013 (CHEWOUT_FILES): Added swab.def.
5014 * libc/string/Makefile.in: Rebuilt.
5015 * libc/string/string.tex: Include swab.def.
5016 * libc/include/string.h (swab): Declare.
5017 * libc/string/swab.c: New file.
5018
c5053058
AO
5019Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5020
5021 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
5022 (CHEWOUT_FILES): Added getw.def and putw.def.
5023 * libc/stdio/Makefile.in: Rebuilt.
5024 * libc/stdio/stdio.tex: Include getw.def and putw.def.
5025 * libc/stdio/getw.c: New file.
5026 * libc/stdio/putw.c: New file.
5027
dbaf37cf
JJ
5028Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
5029
5030 * libc/stdio/flags.c (__sflags): Added check that mode[1]
5031 is non-null before looking at mode[2].
5032
bc019ef2
RK
5033Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
5034
5035 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
5036 * libm/mathfp/sf_atan.c: Ditto.
5037
5038Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
5039
5040 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
5041
cd641b2d
RK
5042Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
5043
5044 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
5045 _DOUBLE_IS_32BITS.
5046
b0ba0ac2
JJ
5047Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
5048
5049 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
5050 call prior to calling _VFPRINTF_R so reentrant data area is set.
5051 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
5052
8a0efa53
CF
5053Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5054
5055 * libc/stdio/vfscanf.c (limits.h): #include.
5056 (MAX_LONG_LEN): #define.
5057 (__svfscanf): Handle floating point numbers with arbitrary amounts
5058 of leading zeroes.
5059
50602000-02-15 Nick Clifton <nickc@cygnus.com>
5061
5062 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
5063 zero. Set the blocksize to 1024/
5064
5065Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
5066
5067 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
5068 with line buffering.
5069
5070Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
5071
5072 * acinclude.m4: Changed include directory for winsup headers.
5073 * aclocal.m4 configure libc/aclocal.m4
5074 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
5075 libc/locale/Makefile.in libc/machine/aclocal.m4
5076 libc/machine/configure libc/machine/a29k/aclocal.m4
5077 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
5078 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
5079 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
5080 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
5081 libc/machine/fr30/configure
5082 libc/machine/h8300/aclocal.m4
5083 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
5084 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
5085 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
5086 libc/machine/i386/configure libc/machine/i960/aclocal.m4
5087 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
5088 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
5089 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
5090 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
5091 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
5092 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
5093 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
5094 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
5095 libc/machine/powerpc/configure
5096 libc/machine/sh/aclocal.m4
5097 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
5098 libc/machine/sparc/configure
5099 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
5100 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
5101 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
5102 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
5103 libc/misc/Makefile.in libc/posix/Makefile.in
5104 libc/reent/Makefile.in
5105 libc/signal/Makefile.in
5106 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
5107 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
5108 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
5109 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
5110 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
5111 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
5112 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
5113 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
5114 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
5115 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
5116 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5117 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5118 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5119 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
5120 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
5121 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
5122 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
5123 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
5124 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
5125 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
5126 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
5127 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
5128 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
5129 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
5130 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
5131 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
5132 libm/configure: Regenerated.
5133
5134Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
5135
5136 * libc/stdlib/putenv_r.c (_putenv_r): New file.
5137 * libc/stdlib/strdup_r.c (_strdup_r): New file.
5138 * libc/include/string.h: Added _strdup_r.
5139 * libc/stdlib/putenv.c: Added call to reentrant version.
5140 * libc/stdlib/strdup.c: Ditto.
5141 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
5142 * libc/include/stdlib.h: Ditto.
5143 * libc/stdlib/Makefile.in: Regenerated.
5144 * libc/string/Makefile.in: Regenerated.
5145 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
5146 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
5147 management calls to reentrant versions.
5148 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
5149 * libc/stdlib/wctomb.c: Ditto.
5150 * libc/stdlib/mblen.c: Ditto.
5151 * libc/stdlib/mbstowcs.c: Ditto.
5152 * libc/stdlib/mbtowc.c: Ditto.
5153 * libc/stdlib/getenv.c: Ditto.
5154 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
5155 and _strdup_r.
5156
5157Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
5158
5159 patch from Corinna Vinschen <corinna@vinschen.de>
5160 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
5161
bc019ef2 5162Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
5163
5164 * libm/mathfp/s_atangent.c: Fix exponent calculation.
5165 * libm/mathfp/s_ldexp.c: Ditto.
5166 * libm/mathfp/sf_atangent.c: Ditto.
5167 * libm/mathfp/sf_ldexp.c: Ditto.
5168
5169Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5170
5171 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
5172 * libc/include/locale.h: define NULL to be 0.
5173
5174Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
5175
5176 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
5177 function.
5178
5179Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
5180
5181 * libc/machine/mn10300/setjmp.S: Handle am33.
5182
51831999-11-26 Nick Clifton <nickc@cygnus.com>
5184
5185 * libc/sys/arm/syscalls.c: Add function prototypes.
5186 (stack_ptr): Move declaration before function definitions.
5187
5188Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5189
5190 * NEWS: Updated version information.
5191 * README: Ditto.
5192
5193Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
5194
5195 * libc/machine/i386/strchr.S: Fixed alignment test.
5196
5197Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
5198
5199 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
5200
5201Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
5202
5203 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
5204 ensuring that there is space between the two.
5205
5206Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
5207
5208 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
5209 only.
5210
52111999-10-08 Vadim Egorov <egorovv@1c.ru>
5212
5213 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
5214 section
5215
5216Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5217
5218 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
5219 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
5220
5221Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
5222 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
5223 per POSIX 1003.1b.
5224 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
5225 per POSIX 1003.1b.
5226
52271999-09-13 DJ Delorie <dj@cygnus.com>
5228
5229 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
5230 also.
5231
5232Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
5233
5234 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
5235 also note BUFSIZ as its size.
5236
5237Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
5238
5239 * configure.host: Corrected feature defines for RTEMS.
5240 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
5241 * libc/include/sys/stat.h: mkfifo() should take const path arg.
5242 * libc/include/sys/unistd.h: pathconf() should take const path arg.
5243 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
5244 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
5245 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
5246 _PC_PRIO_IO, and _PC_SYNC_IO.
5247 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
5248 * libc/machine/m68k/Makefile.in: Regenerated.
5249 * libc/machine/m68k/strcpy.c: New file.
5250 * libc/machine/m68k/strlen.c: New file.
5251 * libc/stdio/tmpnam.c: Always make the returned name usable.
5252 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
5253 * libc/sys/rtems/sys/dirent.h: New file.
5254 * libc/sys/rtems/sys/types.h: Added dev_t.
5255
5256Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
5257
5258 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
5259
5260Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
5261
5262 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
5263 my patch.
5264
5265Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
5266
5267 patch from Jeff Johnston <jjohnstn@cygnus.com>
5268 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
5269 buffer is not in a useful state.
5270
52711999-09-01 Nick Clifton <nickc@cygnus.com>
5272
5273 * libc/sys/arm/syscalls.c (_link): Add stub.
5274
5275Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5276
5277 * ftell.c (ftell): Use actual position within buffer for text mode.
5278 * findfp.c (std): Initialize ptr->_bf._size.
5279
5280Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
5281
5282 * libc/include/sys/unistd.h: Add nice() declaration.
5283
52841999-08-09 Nick Clifton <nickc@cygnus.com>
5285
5286 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
5287 declare as a thumb function so that the disassembler will see the
5288 mode change.
5289
5290Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5291
5292 * libc/reent/reent.tex: Updated list of reentrant functions.
5293
52941999-07-09 Michael Meissner <meissner@cygnus.com>
5295
5296 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
5297
5298Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
5299
5300 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
5301 separate file.
5302 * libc/stdio/snprintf.c: New file.
5303 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
5304 separate file.
5305 * libc/stdio/vsnprintf.c: New file.
5306 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
5307 * libc/stdio/Makefile.in: Regenerated.
5308
5309Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
5310
5311 Patch submitted by Egor Duda <deo@logos-m.ru>:
5312 * libc/include/stdio.h: Add declarations for *nprintf.
5313 * libc/stdio/sprintf.c (snprintf): New function.
5314 (_snprintf_r): New function.
5315 * libc/stdio/vsprintf.c (vsnprintf): New function.
5316 (_vnsprintf_r): New function.
5317
5318Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
5319
5320 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
5321 * libm/Makefile.am (stmp-targetdep): Ditto.
5322 * libc/Makefile.in: Regenerated.
5323 * libm/Makefile.in: Ditto.
5324
5325Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
5326
5327 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
5328 * libm/Makefile.am (stmp-targetdep): Ditto.
5329 * libc/Makefile.in: Regenerated.
5330 * libm/Makefile.in: Ditto.
5331
5332Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
5333
5334 * Makefile.am: Removed dependencies on all-recursive and added "."
5335 to the SUBDIRS list to prevent infinite recursion from occurring.
5336 Also removed any references to EXTRA_DATA.
5337 * libc/Makefile.am: Ditto.
5338 * libc/machine/Makefile.am: Ditto.
5339 * libc/machine/i386/Makefile.am: Ditto.
5340 * libm/Makefile.am: Ditto.
5341 * libc/sys/Makefile.am: Ditto.
5342 * Makefile.in: Regenerated.
5343 * aclocal.m4: Ditto.
5344 * configure: Ditto.
5345 * doc/Makefile.in: Ditto.
5346 * doc/aclocal.m4: Ditto.
5347 * doc/configure: Ditto.
5348 * libc/Makefile.in: Ditto.
5349 * libc/aclocal.m4: Ditto.
5350 * libc/configure: Ditto.
5351 * libc/machine/Makefile.in: Ditto.
5352 * libc/machine/aclocal.m4: Ditto.
5353 * libc/machine/configure: Ditto.
5354 * libc/machine/mn10300/Makefile.in: Ditto.
5355 * libc/machine/mn10300/aclocal.m4: Ditto.
5356 * libc/machine/mn10300/configure: Ditto.
5357 * libc/sys/Makefile.in: Ditto.
5358 * libc/sys/aclocal.m4: Ditto.
5359 * libc/sys/configure: Ditto.
5360 * libm/Makefile.in: Ditto.
5361 * libm/aclocal.m4: Ditto.
5362 * libm/configure: Ditto.
5363
5364Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5365
5366 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
5367
5368Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5369
5370 * libc/include/stdlib.h: Add reentrant routines.
5371 * libc/stdlib/Makefile.am: Add reentrant routines.
5372 * libc/stdlib/Makefile.in: Ditto.
5373 * libc/stdlib/envlock.c: New file.
5374 * libc/stdlib/envlock.h: New file.
5375 * libc/stdlib/getenv.c: Modify to call reentrant routine.
5376 * libc/stdlib/getenv_r.c: New file.
5377 * libc/stdlib/mblen.c: Modify to call reentrant routine.
5378 * libc/stdlib/mblen_r.c: New file.
5379 * libc/stdlib/setenv.c: Modify to call reentrant routine.
5380 * libc/stdlib/setenv_r.c: New file.
5381 * libc/stdlib/stdlib.tex: Add reentrant routines.
5382
5383Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
5384
5385 * libc/include/sys/types.h: Define __MS_types__ whenever
5386 cygwin or win32.
5387
5388Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
5389
5390 * libc/include/machine/ieeefp.h: Always default to little
5391 endian if Windows, regardless of architecture.
5392 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
5393 regardless of architecture.
5394
5395Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
5396
5397 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
5398 _WIN32 isn't defined.
5399
5400Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
5401
5402 * libm/common/s_rint.c (rint): Add volatile qualifier for
5403 intermediate value w.
5404 * libm/common/sf_rint.c (rintf): Ditto.
5405
5406Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
5407
5408 * libc/sys/arm/syscalls.c (remap_handle): Added check to
5409 ensure that std streams are initialized before being referenced.
5410
54111999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
5412
5413 * README: Update reference to newlib@cygnus.com new
5414 newlib@sourceware.cygnus.com address.
5415
5416Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
5417
5418 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
5419 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
5420 defined, even if _WIN32 isn't defined.
5421
5422Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
5423
5424 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
5425
5426Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5427
5428 * libc/include/sys/reent.h: Change Long and ULong to __Long and
5429 __ULong.
5430 * libc/stdlib/dtoa.c: Ditto.
5431 * libc/stdlib/mprec.c: Ditto.
5432 * libc/stdlib/mprec.h: Ditto.
5433 * libc/stdlib/strtod.c: Ditto.
5434
54351999-04-21 Nick Clifton <nickc@cygnus.com>
5436
5437 * configure.host (mcore): Remove mcore machine directory.
5438
54391999-04-18 Nick Clifton <nickc@cygnus.com>
5440
5441 * libc/include/machine/ieeefp.h: Add support for mcore target.
5442 * libc/include/machine/setjmp.h: Add support for mcore target.
5443 * configure.host: Add support for mcore target.
5444
54451999-04-13 Mark Salter <msalter@cygnus.com>
5446
5447 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
5448 * libc/sys/arm/syscalls.c: Added isatty.
5449
5450Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
5451
5452 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
5453 insert zeroes after significant digits.
5454
5455Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
5456
5457 * libc/stdio/vfprintf.c (cvt): Changed floating point
5458 cvt routine to use union used by dtoa to properly determine
5459 if the sign bit is on or not.
5460 * libc/stdio/vfieeefp.h: New file
5461
5462Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
5463
5464 * aclocal.m4: Regenerated.
5465 * configure: Regenerated.
5466
5467Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
5468
5469 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
5470 f_tanf reference.
5471 * libc/machine/i386/Makefile.in: Regenerated.
5472
5473Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
5474
5475 * acinclude.m4: Changed to work with new automake.
5476 * configure: Regenerated.
5477 * libc/machine/i386/aclocal.m4: Regenerated.
5478 * libc/machine/i386/configure: Regenerated.
5479
5480Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
5481
5482 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
5483 for telldir() and seekdir(). Rename unused structure element
5484 for use with these two routines.
5485
5486Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
5487
5488 * libc/time/mktime.c (validate_structure): Multiple fixes to
5489 code to handle cases where input fields are outside valid ranges.
5490 * libc/stdlib/div.c (div): Modified invalid rounding check.
5491 * libc/stdlib/ldiv.c (ldiv): Ditto.
5492
5493Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
5494
5495 * libc/machine/i386/memcpy.S: Performance rewrite.
5496 * libc/machine/i386/memmove.S: Ditto.
5497 * libc/machine/i386/i386mach.h: Added more register definitions.
5498 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
5499 option used.
5500 * libc/include/machine/fastmath.h: Add definitions for x86
5501 fast-math routines.
5502
5503Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5504
5505 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
5506
5507Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
5508
5509 Adjust newlib headers for new Cygwin Win32 API header files:
5510 * libc/include/sys/time.h: Check _WINSOCK_H rather than
5511 _GNU_H_WINDOWS32_SOCKETS.
5512 * libc/include/sys/types.h: Ditto.
5513
5514Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
5515
5516 *include/sys/reent.h: Add checks for size of Bigint element Long.
5517 *libc/dtoa.c: Change routines to use generic Long type.
5518 *libc/mprec.c: Change routines to use generic Long type.
5519 *libc/mprec.h: Change routines to use generic Long type.
5520
5521Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
5522
5523 * libc/Makefile.am: Add .def files.
5524 * libc/Makefile.in: Regenerate.
5525 * libc/e_acosh.c: Documentation update.
5526 * libc/e_atanh.c: Documentation update.
5527 * libc/e_hypot.c: Documentation update.
5528 * libc/e_remainder.c: Documentation update.
5529 * libc/er_lgamma.c: Documentation update.
5530 * libc/mathfp.tex: Documentation update.
5531 * libc/s_acos.c: Documentation update.
5532 * libc/s_atan.c: Documentation update.
5533 * libc/s_atan2.c: Documentation update.
5534 * libc/s_cosh.c: Documentation update.
5535 * libc/s_fmod.c: Documentation update.
5536 * libc/s_isnan.c: Documentation update.
5537 * libc/s_log10.c: Documentation update.
5538 * libc/s_pow.c: Documentation update.
5539 * libc/w_jn.c: Documentation update.
5540
5541Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
5542
5543 * aclocal.m4: Regenerate.
5544 * configure: Regenerate.
5545
5546Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
5547
5548 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
5549 to return 1 if user specified return code is 0.
5550 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
5551
5552Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
5553
5554 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
5555 to save the return address. Fixed longjmp to return to the original
5556 calling address of setjmp and to return the user specified return code
5557 rather than default to 1.
5558 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
5559
5560Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
5561
5562 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
5563
55641999-02-10 Nick Clifton <nickc@cygnus.com>
5565
5566 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
5567 volatile so that its assignments will not be discarded.
5568
5569Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
5570
5571 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
5572 be __STRICT_ANSI__ which is generated by compiler.
5573 * libc/include/ctype.h: Ditto.
5574 * libc/include/math.h: Ditto.
5575 * libc/include/stdio.h: Ditto.
5576 * libc/include/stdlib.h: Ditto.
5577 * libc/include/string.h: Ditto.
5578 * libc/include/sys/signal.h: Ditto.
5579
55801999-02-08 Nick Clifton <nickc@cygnus.com>
5581
5582 * configure.host: Add support for StrongARM target.
5583
5584Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
5585
5586 * libc/string/strncpy.c (strncpy): Removed redundant code
5587 that was copying bytes if data unaligned.
5588
55891999-02-02 Brendan Kehoe <brendan@cygnus.com>
5590
5591 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
5592 mbstowcs.def, and wcstombs.def.
5593
5594Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
5595
5596 * libc/include/sys/errno.h: Add Cygwin errno.
5597 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
5598 is specified.
5599
56001999-01-29 Nick Clifton <nickc@cygnus.com>
5601
5602 * libc/sys/arm/syscalls.c: Move C library functions into seperate
5603 file.
5604
5605 * libc/sys/arm/libcfunc.c: New file containing C library functions
5606 from syscalls.c
5607
5608 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
5609 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
5610
5611
56121999-01-27 Michael Meissner <meissner@cygnus.com>
5613
5614 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
5615 type, and cut size in half so that the jmp_buf array is guaranteed
5616 to be aligned on a 64-bit boundary.
5617
5618Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
5619
5620 * libc/string/strings.tex: Added information about
5621 strcasecmp and strncasecmp.
5622 * libc/stdlib/stdlib.tex: Added missing information
5623 about mblen, mbstowcs, and wcstombs.
5624 * libc/string/strchr.c: Changed how mask is built to use
5625 shift operators so register will be used instead of storage.
5626
56271999-01-22 DJ Delorie <dj@cygnus.com>
5628
5629 * libc/include/stdlib.h: don't use dllimport if we're building
5630 newlib, since it's inside cygwin.dll
5631
5632Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
5633
5634 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
5635 _ctype_ under cygwin.
5636
5637Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
5638
5639 * include/stdlib.h: Fix typo from previous checkin.
5640
5641Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
5642
5643 * include/ctype.h: Use __declspec(dllimport) method for exporting
5644 variable from cygwin DLL.
5645 * include/time.h: Ditto.
5646 * sys/errno.h: Ditto.
5647 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
5648 * libc/locale/locale.c: Use __declspec(dllexport) method for
5649 exporting variable from cygwin DLL.
5650
5651Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
5652
5653 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
5654 access of bogus pointer will result in SIGSEGV.
5655
56561999-01-07 Nick Clifton <nickc@cygnus.com>
5657
5658 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
5659 of an underscore prefix to function names.
5660
5661Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
5662
5663 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
5664 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
5665
56661998-12-31 Michael Meissner <meissner@cygnus.com>
5667
5668 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
5669 to `%' if not already defined.
5670
56711998-12-30 Michael Meissner <meissner@cygnus.com>
5672
5673 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
5674 arguments const char *, not char *.
5675 * libc/include/stdio.h (_tempnam_r): Ditto.
5676
5677 * libc/include/sys/reent.h (struct _reent): The _sig_func type
5678 points to a function taking an integer, not void.
5679
5680Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
5681
5682 * configure.host: Add a define for Cygwin builds.
5683 * libc/include/ctype.h: Don't use dll imported variables in newlib.
5684
5685Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
5686
5687 * libc/include/ctype.h: Define _ctype_ as dll imported variable
5688 for use with Cygwin.
5689 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
5690 dll imported variables for use with Cygwin.
5691 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
5692 as a dll imported variable for Cygwin.
5693
5694Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
5695
5696 * libc/include/sys/unistd.h: Add proto for getpass.
5697
5698Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
5699
5700 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
5701 alphasort.
5702
5703Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
5704
5705 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
5706 not posix_path_list_p.
5707
57081998-12-15 Nick Clifton <nickc@cygnus.com>
5709
5710 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
5711 a signed int.
5712
57131998-12-13 Nick Clifton <nickc@cygnus.com>
5714
5715 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
5716
57171998-12-12 Nick Clifton <nickc@cygnus.com>
5718
5719 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
5720 <msalter@cygnus.com>
5721 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
5722 * libc/machine/fr30/Makefile.in: Regenerated.
5723
57241998-12-11 Nick Clifton <nickc@cygnus.com>
5725
5726 * configure.host: Remove use of libc/sys for FR30 port.
5727 * libc/sys/fr30: Remove directory (replaced by libgloss).
5728
57291998-12-10 Ken Raeburn <raeburn@cygnus.com>
5730
5731 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
5732 * libc/string/strncat.c (ALIGNED): Ditto.
5733
5734Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
5735
5736 * libc/include/sys/time.h: include sys/types.h
5737
5738Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
5739
5740 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
5741 comparison found when checking word at a time.
5742
57431998-12-04 Nick Clifton <nickc@cygnus.com>
5744
5745 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
5746
57471998-12-03 Nick Clifton <nickc@cygnus.com>
5748
5749 * libc/sys/fr30/syscalls.c (_times): New function stub.
5750
5751Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
5752
5753 * configure.host (mach_add_setjmp): Replaced mach_add_objs
5754 with mach_add_setjmp flag which indicates if setjmp should
5755 be added to the machine directory objects.
5756 * acinclude.m4: Removed reference to mach_add_objs.
5757 * aclocal.m4: Regenerated.
5758 * Makefile.in: Regenerated.
5759 * configure: Regenerated.
5760 * libc/aclocal.m4: Regenerated.
5761 * libc/Makefile.in: Regenerated.
5762 * libc/configure: Regenerated.
5763 * libc/machine/aclocal.m4: Regenerated.
5764 * libc/machine/Makefile.in: Regenerated.
5765 * libc/machine/configure: Regenerated.
5766 * libc/machine/i386/aclocal.m4: Regenerated.
5767 * libc/machine/i386/Makefile.am: Altered to selectively add
5768 setjmp.S to the src files list.
5769 * libc/machine/i386/Makefile.in: Regenerated.
5770 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
5771 * libc/machine/i386/configure: Regenerated.
5772
57731998-12-02 Nick Clifton <nickc@cygnus.com>
5774
5775 * libc/sys/fr30/crt0.s (_start): Fix function names.
5776
5777 * libc/machine/fr30: New directory
5778 * libc/machine/fr30/Makefile.am: New file.
5779 * libc/machine/fr30/Makefile.in: New generated file.
5780 * libc/machine/fr30/configure.in: New file.
5781 * libc/machine/fr30/configure: New generated file.
5782 * libc/machine/fr30/aclocal.m4: New generated file.
5783 * libc/sys/fr30/Makefile.am: New file.
5784 * libc/sys/fr30/Makefile.in: New generated file.
5785 * libc/sys/fr30/configure.in: New file.
5786 * libc/sys/fr30/configure: New generated file.
5787 * libc/sys/fr30/syscalls.c: New file.
5788
5789Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
5790
5791 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
5792
57931998-12-01 Ken Raeburn <raeburn@cygnus.com>
5794
5795 * libc/time/strftime.c (strftime): Also handle %y for years before
5796 1900.
5797
5798Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
5799
5800 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
5801 UNIX convention. Perform tolower on characters before comparing
5802 them rather than use toupper.
5803 * libc/string/strncasecmp.c (strncasecmp): Ditto.
5804
5805Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
5806
5807 * configure.host: Added using i386 machine directory
5808 for all x86 cross-compiler and configuring
5809 which added object files to use via new "mach_add_objs" variable.
5810 * configure: Regenerated.
5811 * libc/configure: Regenerated.
5812 * libc/Makefile.in: Regenerated.
5813 * libc/aclocal.m4: Regenerated.
5814 * libc/ctype/Makefile.in: Regenerated.
5815 * libc/errno/Makefile.in: Regenerated.
5816 * libc/locale/Makefile.in: Regenerated.
5817 * libc/machine/Makefile.in: Regenerated.
5818 * libc/machine/aclocal.m4: Regenerated.
5819 * libc/machine/configure: Regenerated.
5820 * libc/posix/Makefile.in: Regenerated.
5821 * libc/reent/Makefile.in: Regenerated.
5822 * libc/signal/Makefile.in: Regenerated.
5823 * libc/stdio/Makefile.in: Regenerated.
5824 * libc/stdlib/Makefile.in: Regenerated.
5825 * libc/string/Makefile.in: Regenerated.
5826 * libc/string/memmove.c: Optimized code to use memcpy
5827 logic when performing a non-destructive copy.
5828 * libc/string/strncmp.c: Altered code to allow building
5829 optimized for size or speed.
5830 * libc/syscalls/Makefile.in: Regenerated.
5831 * libc/time/Makefile.in: Regenerated.
5832 * libc/unix/Makefile.in: Regenerated.
5833 * libc/machine/i386/Makefile.am: Added new files and reference
5834 to "mach_add_objs" to indicate optional object files.
5835 * libc/machine/i386/Makefile.in: Regenerated.
5836 * libc/machine/i386/aclocal.m4: Regenerated.
5837 * libc/machine/i386/configure: Regenerated.
5838 * libc/machine/i386/memchr.S: New file that implements
5839 function in Intel assembler.
5840 * libc/machine/i386/memcmp.S: ditto.
5841 * libc/machine/i386/memcpy.S: ditto.
5842 * libc/machine/i386/memmove.S: ditto.
5843 * libc/machine/i386/memset.S: ditto.
5844 * libc/machine/i386/strchr.S: ditto.
5845 * libc/machine/i386/strlen.S: ditto.
5846 * libc/machine/i386/f_atan2.S: New file that implements
5847 fast version of math function to be used by compiler when
5848 --ffast_math compile option is used.
5849 * libc/machine/i386/f_atan2f.S: ditto.
5850 * libc/machine/i386/f_exp.c: ditto.
5851 * libc/machine/i386/f_expf.c: ditto.
5852 * libc/machine/i386/f_frexp.S: ditto.
5853 * libc/machine/i386/f_frexpf.S: ditto.
5854 * libc/machine/i386/f_ldexp.S: ditto.
5855 * libc/machine/i386/f_ldexpf.S: ditto.
5856 * libc/machine/i386/f_log.S: ditto.
5857 * libc/machine/i386/f_logf.S: ditto.
5858 * libc/machine/i386/f_log10.S: ditto.
5859 * libc/machine/i386/f_log10f.S: ditto.
5860 * libc/machine/i386/f_math.h: New file.
5861 * libc/machine/i386/f_pow.c: ditto.
5862 * libc/machine/i386/f_powf.S: ditto.
5863 * libc/machine/i386/f_tan.S: ditto.
5864 * libc/machine/i386/f_tan.S: ditto.
5865 * libc/machine/i386/i386mach.h: New file.
5866
5867Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
5868
5869 patch from Mumit Khan <khan@xraylith.wisc.edu>
5870 * libc/include/stdio.h (tempnam): Add prototype.
5871 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
5872 (tempnam): Adhere to prototype.
5873
5874Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
5875
5876 * Makefile.am: Add default for AR_FLAGS.
5877 * Makefile.in: Regenerate.
5878
5879Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
5880
5881 * libc/include/time.h: move __cplusplus wrapper after includes
5882 * libc/include/sys/time.h: ditto. If Cygwin, include
5883 sys/select.h.
5884 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
5885
58861998-11-23 Ken Raeburn <raeburn@cygnus.com>
5887
5888 * libc/time/strftime.c (strftime): Handle %y after year 2000.
5889
5890Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
5891
5892 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
5893 abnormnal end-of-crt0 marker.
5894
5895Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
5896
5897 * libc/sys/fr30/crt0.s: New file/directory.
5898 * libc/include/machine/setjmp.h: Add FR30 target.
5899 * libc/include/machine/ieeefp.h: Add FR30 target.
5900 * configure.host: Add FR30 target.
5901
5902Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
5903
5904 * libm/math: Files that are duplicated in common directory removed.
5905 * libm/math/fdlibm.h: Removed.
5906 * libm/math/s_cbrt.c: Removed.
5907 * libm/math/s_copysign.c: Removed.
5908 * libm/math/s_expm1.c: Removed.
5909 * libm/math/s_finite.c: Removed.
5910 * libm/math/s_ilogb.c: Removed.
5911 * libm/math/s_infinity.c: Removed.
5912 * libm/math/s_lib_ver.c: Removed.
5913 * libm/math/s_log1p.c: Removed.
5914 * libm/math/s_logb.c: Removed.
5915 * libm/math/s_matherr.c: Removed.
5916 * libm/math/s_modf.c: Removed.
5917 * libm/math/s_nan.c: Removed.
5918 * libm/math/s_nextafter.c: Removed.
5919 * libm/math/s_rint.c: Removed.
5920 * libm/math/s_scalbn.c: Removed.
5921 * libm/math/sf_cbrt.c: Removed.
5922 * libm/math/sf_copysign.c: Removed.
5923 * libm/math/sf_expm1.c: Removed.
5924 * libm/math/sf_finite.c: Removed.
5925 * libm/math/sf_ilogb.c: Removed.
5926 * libm/math/sf_infinity.c: Removed.
5927 * libm/math/sf_log1p.c: Removed.
5928 * libm/math/sf_logb.c: Removed.
5929 * libm/math/sf_modf.c: Removed.
5930 * libm/math/sf_nan.c: Removed.
5931 * libm/math/sf_nextafter.c: Removed.
5932 * libm/math/sf_rint.c: Removed.
5933 * libm/math/sf_scalbn.c: Removed.
5934 * libm/math/Makefile.am: Removed references to deleted files (above).
5935 * libm/math/Makefile.in: Regenerated.
5936 * libm/Makefile.am: Added common directory to math.
5937 * libm/Makefile.in: Regenerated.
5938
5939Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
5940
5941 * libm/mathfp: Add non-ANSI functions.
5942 * libm/mathfp/e_acosh.c acosh(): New file.
5943 * libm/mathfp/e_atanh.c atanh(): New file.
5944 * libm/mathfp/e_hypot.c hypot(): New file.
5945 * libm/mathfp/e_j0.c j0(): New file.
5946 * libm/mathfp/e_j1.c j1(): New file.
5947 * libm/mathfp/e_remainder.c remainder(): New file.
5948 * libm/mathfp/e_scalb.c scalb(): New file.
5949 * libm/mathfp/ef_acosh.c acoshf(): New file.
5950 * libm/mathfp/ef_atanh.c atanhf(): New file.
5951 * libm/mathfp/ef_hypot.c hypotf(): New file.
5952 * libm/mathfp/ef_j0.c j0f(): New file.
5953 * libm/mathfp/ef_j1.c j1f(): New file.
5954 * libm/mathfp/ef_remainder.c remainderf(): New file.
5955 * libm/mathfp/ef_scalb.c scalbf(): New file.
5956 * libm/mathfp/er_gamma.c gamma_r: New file.
5957 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
5958 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
5959 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
5960 * libm/mathfp/w_cabs.c cabs(): New file.
5961 * libm/mathfp/w_drem.c drem(): New file.
5962 * libm/mathfp/w_jn.c jn(): New file.
5963 * libm/mathfp/wf_cabs.c cabsf(): New file.
5964 * libm/mathfp/wf_drem.c dremf(): New file.
5965 * libm/mathfp/wf_jn.c jnf(): New file.
5966
5967Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
5968
5969 * libc/sys/cygwin32: remove directory and contents
5970 * libc/sys/cygwin: and add back, losing the "32".
5971 * configure.host: check for cygwin* instead of cygwin32.
5972 * acinclude.m4: ditto.
5973 * aclocal.m4: regenerate with aclocal
5974 * configure: regenerate with autoconf
5975
5976Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
5977
5978 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
5979 for length
5980
5981Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
5982
5983 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
5984 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
5985 to make rand/srand, strtok, asctime, localtime, w_gamma,
5986 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
5987 time.h to bring in struct tm definition.
5988 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
5989 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
5990 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
5991 instead of static variable.
5992 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
5993 struct reent instead of static variable.
5994 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
5995 struct reent instead of static variable.
5996 * libm/math/Makefile.am: Removed s_signgam.o.
5997 * libm/math/Makefile.in: Regenerated.
5998 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
5999 struct reent instead of global variable 'signgam'.
6000 * libm/math/w_lgamma.c (lgamma): Likewise.
6001 * libm/math/wf_gamma.c (gammaf): Likewise.
6002 * libm/math/wf_lgamma.c (lgammaf): Likewise.
6003 * libm/math/s_signgam.c: Removed.
6004 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
6005 to be const.
6006 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
6007 to be const.
6008 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
6009 libc/include/reent.h.
6010 * libc/reent/Makefile.in: Regenerated.
6011 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
6012 to be const.
6013 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
6014 'JIS_action_table' to be const.
6015 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
6016
6017Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
6018
6019 * acinclude.m4: $with_target_subdir should default to '.'
6020 or confusion results when configuring in same directory as sources.
6021 * Regenerate all aclocal.m4 and configure files.
6022
6023Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
6024
6025 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
6026 can be set by defining MALLOC_ALIGNMENT=16. Also added support
6027 for platforms where sizeof(size_t) < sizeof(long) via
6028 SIZE_T_SMALLER_THAN_LONG macro.
6029
6030Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
6031
6032 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
6033 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
6034 which sets _CLOCKS_PER_SEC_ for selected machines.
6035 * libc/include/machine/time.h: New file.
6036
6037Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
6038
6039 * libc/syscalls/sysexecve.c: New file.
6040 * libc/syscalls/sysgettod.c: New file.
6041 * libc/syscalls/systimes.c: New file.
6042 * libc/syscalls/Makefile.am: Added new objects.
6043 * libc/syscalls/Makefile.in: Regenerated.
6044 * libc/include/_syslist.h (_execve): Moved define in file.
6045 * libc/include/reent.h: Added _execve_r declaration.
6046 * libc/Makefile.in: Regenerated.
6047 * libc/ctype/Makefile.in: Regenerated.
6048 * libc/errno/Makefile.in: Regenerated.
6049 * libc/locale/Makefile.in: Regenerated.
6050 * libc/machine/Makefile.in: Regenerated.
6051 * libc/misc/Makefile.in: Regenerated.
6052 * libc/posix/Makefile.in: Regenerated.
6053 * libc/reent/Makefile.in: Regenerated.
6054 * libc/reent/execr.c (_execve_r): Added _execve_r function.
6055 * libc/signal/Makefile.in: Regenerated.
6056 * libc/stdio/Makefile.in: Regenerated.
6057 * libc/time/Makefile.in: Regenerated.
6058 * libc/unix/Makefile.in: Regenerated.
6059 * libm/mathfp/Makefile.in: Regenerated.
6060
6061Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
6062
6063 * libc/string/Makefile.in: Regenerated.
6064 * libc/string/memchr.c (memchr): Moved code to reduce object size.
6065 * libc/string/memcpy.c (memcpy): Ditto.
6066 * libc/string/memcmp.c (memcmp): Ditto.
6067 * libc/string/memset.c (memset): Ditto.
6068 * libc/string/strchr.c (strchr): Ditto.
6069 * libc/string/strcmp.c (strcmp): Ditto.
6070 * libc/string/strcpy.c (strcpy): Ditto.
6071 * libc/string/strlen.c (strlen): Ditto.
6072
6073Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
6074
6075 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
6076 to generate aclocal.m4.
6077 * libm/Makefile.in: Regenerated.
6078 * libm/aclocal.m4: Regenerated.
6079 * libm/configure: Regenerated.
6080 * libm/math/Makefile.in: Regenerated.
6081 * libm/mathfp/Makefile.in: Regenerated.
6082
60831998-09-25 Mark Salter <msalter@cygnus.com>
6084
6085 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
6086 by adding leading and trailing underscores to symbol names.
6087
6088Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
6089
6090 * Makefile.in: Add default for AR_FLAGS.
6091
6092Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
6093
6094 patch from ian@airs.com (Ian Taylor):
6095 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
6096 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
6097 is needed for detecting the build machine. Required for
6098 cygwin native builds.
6099
6100 * Regenerate all aclocal.m4 and configure files.
6101
6102Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
6103
6104 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
6105 used to start with LC.
6106
6107Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6108
6109 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
6110 (longjmp): Likewise.
6111
6112Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6113
6114 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
6115 the test for small number of bytes.
6116
6117Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
6118
6119 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
6120 math library that uses floating point algorithms instead of the old
6121 libm.
6122 * Makefile.in: Regenerate with automake version 1.3b.
6123 * configure: Rebuild.
6124 * libm/Makefile.in: Regenerate with automake version 1.3b.
6125 * libm/aclocal.m4: Regenerate.
6126 * libm/configure: Rebuild.
6127 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
6128 * libm/acinclude.m4: Define macros for configure.in.
6129 * libm/config.h.in: Generate.
6130 * libm/mathfp/Makefile.am: New file.
6131 * libm/mathfp/Makefile.in: Generate.
6132 * libm/mathfp/s_acos.c (acos): New file.
6133 * libm/mathfp/s_asin.c (asin): New file.
6134 * libm/mathfp/s_asine.c (asine): New file.
6135 * libm/mathfp/s_atan.c (atan): New file.
6136 * libm/mathfp/s_atan2.c (atan2): New file.
6137 * libm/mathfp/s_atangent.c (atangent): New file.
6138 * libm/mathfp/s_ceil.c (ceil): New file.
6139 * libm/mathfp/s_copysign.c (copysign): New file.
6140 * libm/mathfp/s_cos.c (cos): New file.
6141 * libm/mathfp/s_cosh.c (cosh): New file.
6142 * libm/mathfp/s_exp.c (exp): New file.
6143 * libm/mathfp/s_fabs.c (fabs): New file.
6144 * libm/mathfp/s_finite.c (finite): New file.
6145 * libm/mathfp/s_floor.c (floor): New file.
6146 * libm/mathfp/s_fmod.c (fmod): New file.
6147 * libm/mathfp/s_frexp.c (frexp): New file.
6148 * libm/mathfp/s_infconst.c: New file.
6149 * libm/mathfp/s_isinf (isinf).c: New file.
6150 * libm/mathfp/s_isnan.c (isnan): New file.
6151 * libm/mathfp/s_ispos.c (ispos): New file.
6152 * libm/mathfp/s_ldexp.c (ldexp): New file.
6153 * libm/mathfp/s_log.c (log): New file.
6154 * libm/mathfp/s_log10.c (log10): New file.
6155 * libm/mathfp/s_logarithm.c (logarithm): New file.
6156 * libm/mathfp/s_mathcnst.c: New file.
6157 * libm/mathfp/s_modf (modf).c: New file.
6158 * libm/mathfp/s_numtest.c (numtest): New file.
6159 * libm/mathfp/s_pow.c (pow): New file.
6160 * libm/mathfp/s_scalbn.c (scalbn): New file.
6161 * libm/mathfp/s_sin (sin).c: New file.
6162 * libm/mathfp/s_sine.c (sine): New file.
6163 * libm/mathfp/s_sineh.c (sineh): New file.
6164 * libm/mathfp/s_sinf.c (sinf): New file.
6165 * libm/mathfp/s_sinh.c (sinh): New file.
6166 * libm/mathfp/s_sqrt.c (sqrt): New file.
6167 * libm/mathfp/s_tan.c (tan): New file.
6168 * libm/mathfp/s_tanh.c (tanh): New file.
6169 * libm/mathfp/sf_acos.c (acosf): New file.
6170 * libm/mathfp/sf_asin.c (asinf): New file.
6171 * libm/mathfp/sf_asine.c (asinef): New file.
6172 * libm/mathfp/sf_atan.c (atanf): New file.
6173 * libm/mathfp/sf_atan2.c (atan2f): New file.
6174 * libm/mathfp/sf_atangent.c (atangent): New file.
6175 * libm/mathfp/sf_ceil.c (ceilf): New file.
6176 * libm/mathfp/sf_copysign.c (copysignf): New file.
6177 * libm/mathfp/sf_cos.c (cosf): New file.
6178 * libm/mathfp/sf_cosh.c (coshf): New file.
6179 * libm/mathfp/sf_exp.c (expf): New file.
6180 * libm/mathfp/sf_fabs.c (fabsf): New file.
6181 * libm/mathfp/sf_finite.c (finitef): New file.
6182 * libm/mathfp/sf_floor.c (floorf): New file.
6183 * libm/mathfp/sf_fmod.c (fmodf): New file.
6184 * libm/mathfp/sf_frexp.c (frexpf): New file.
6185 * libm/mathfp/sf_isinf.c (isinff): New file.
6186 * libm/mathfp/sf_isnan.c (isnanf): New file.
6187 * libm/mathfp/sf_ispos.c (isposf): New file.
6188 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
6189 * libm/mathfp/sf_log.c (logf): New file.
6190 * libm/mathfp/sf_log10.c (log10f): New file.
6191 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
6192 * libm/mathfp/sf_modf.c (modff): New file.
6193 * libm/mathfp/sf_numtest.c (numtestf): New file.
6194 * libm/mathfp/sf_pow.c (powf): New file.
6195 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
6196 * libm/mathfp/sf_sin.c (sinf): New file.
6197 * libm/mathfp/sf_sine.c (sinef): New file.
6198 * libm/mathfp/sf_sineh.c (sinehf): New file.
6199 * libm/mathfp/sf_sinh.c (sinhf): New file.
6200 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
6201 * libm/mathfp/sf_tan.c (tanf): New file.
6202 * libm/mathfp/sf_tanh.c (tanhf): New file.
6203 * libm/mathfp/zmath.h: New file.
6204
6205Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6206
6207 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
6208 exit if it has been overwritten by pre-fetching in delay slot.
6209
62101998-09-01 Michael Meissner <meissner@cygnus.com>
6211
6212 * Makefile.am (tooldir): Add in host_alias, so that multilib
6213 libraries are installed in the directory the compiler looks in.
6214 * Makefile.in: Regenerate.
6215
6216 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
6217
6218Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
6219
6220 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
6221 ahead of test for number of bytes being moved.
6222
6223Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
6224
6225 * libc/include/sys/unistd.h: Nothing special needed for
6226 _exit under cygwin.
6227
6228Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
6229
6230 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
6231 conform to user label naming conventions.
6232
6233Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
6234
6235 * libc/sys/cygwin32/sys/utime.h: variable names in
6236 protos should start with two leading underscores
6237 * libc/include/string.h: ditto
6238 * libc/include/sys/signal.h: ditto
6239 * libc/include/sys/stat.h: ditto
6240 * libc/include/sys/time.h: ditto
6241 * libc/include/sys/unistd.h: ditto
6242 * libc/include/ctype.h: ditto
6243 * libc/include/stdlib.h: ditto
6244 * libc/include/sys/reent.h: struct _atexit function ptr takes a
6245 void, same with _sig_func.
6246
6247Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
6248
6249 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
6250 for MB_CAPABLE to reduce code size when newlib is not configured
6251 with --enable-newlib-mb.
6252 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
6253 mbtowc_r.o to minimize size.
6254 * libc/stdlib/Makefile.in: Rebuild.
6255
6256Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
6257
6258 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
6259 to -DREENT.
6260 * libc/sys/sparc64/Makefile.in: Rebuild.
6261
6262Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
6263
6264 * Makefile.am (MAKEOVERRIDES): Define.
6265 * Makefile.in: Rebuild.
6266
6267Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
6268
6269 * libc/sys/sparc64/sys/stat.h (stat): Add const.
6270
6271Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
6272
6273 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
6274 newlib_cflags when looking for targ-include.
6275 * */aclocal.m4, */configure: Rebuild.
6276
6277Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
6278
6279 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
6280 to "_end".
6281
6282Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
6283
6284 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
6285 on SPARCs with little-endian data.
6286 * libc/include/machine/ieeefp.h: Ditto.
6287
6288Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
6289
6290 * acinclude.m4: Handle a relative srcdir correctly when setting
6291 newlib_cflags.
6292 * */aclocal.m4, */configure: Rebuild.
6293
6294Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
6295
6296 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
6297 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
6298 * libm/math/wrf_gamma.c (gammaf_r): ditto
6299 * libm/math/wr_lgamma.c (lgamma_r): ditto
6300 * libm/math/wr_gamma.c (gamma_r): ditto
6301 * libm/math/wf_sqrt.c (sqrtf): ditto
6302 * libm/math/wf_sinh.c (sinhf): ditto
6303 * libm/math/wf_scalb.c (scalbf): ditto
6304 * libm/math/wf_remainder.c (remainderf): ditto
6305 * libm/math/wf_pow.c (powf): ditto
6306 * libm/math/wf_log10.c (log10f): ditto
6307 * libm/math/wf_log.c (logf): ditto
6308 * libm/math/wf_lgamma.c (lgammaf): ditto
6309 * libm/math/wf_jn.c (jnf, ynf): ditto
6310 * libm/math/wf_j1.c (j1f, y1f): ditto
6311 * libm/math/wf_j0.c (j0f, y0f): ditto
6312 * libm/math/wf_hypot.c (hypotf): ditto
6313 * libm/math/wf_gamma.c (gammaf): ditto
6314 * libm/math/wf_fmod.c (fmodf): ditto
6315 * libm/math/wf_exp.c (expf): ditto
6316 * libm/math/wf_cosh.c (coshf): ditto
6317 * libm/math/wf_atanh.c (atanhf): ditto
6318 * libm/math/wf_atan2f.c (atan2f): ditto
6319 * libm/math/wf_asin.c (asinf): ditto
6320 * libm/math/wf_acosh.c (acoshf): ditto
6321 * libm/math/wf_acos.c (acosf): ditto
6322 * libm/math/w_sqrt.c (sqrt): ditto
6323 * libm/math/w_sinh.c (sinh): ditto
6324 * libm/math/w_scalb.c (scalb): ditto
6325 * libm/math/w_remainder.c (remainder): ditto
6326 * libm/math/w_pow.c (pow): ditto
6327 * libm/math/w_log10.c (log10): ditto
6328 * libm/math/w_log.c (log): ditto
6329 * libm/math/w_lgamma.c (lgamma): ditto
6330 * libm/math/w_jn.c (jn, yn): ditto
6331 * libm/math/w_j1.c (j1, y1): ditto
6332 * libm/math/w_j0.c (j0, y0): ditto
6333 * libm/math/w_hypot.c (hypot): ditto
6334 * libm/math/w_gamma.c (gamma): ditto
6335 * libm/math/w_fmod.c (fmod): ditto
6336 * libm/math/w_exp.c (exp): ditto
6337 * libm/math/w_cosh.c (cosh): ditto
6338 * libm/math/w_atanh.c (atanh): ditto
6339 * libm/math/w_atan2f.c (atan2): ditto
6340 * libm/math/w_asin.c (asin): ditto
6341 * libm/math/w_acosh.c (acosh): ditto
6342 * libm/math/w_acos.c (acos): ditto
6343
6344Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
6345
6346 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
6347 (fsrc): Add wf_cabs.c and wf_drem.c.
6348 * libm/math/Makefile.in: Rebuild.
6349
6350 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
6351 unused directory variables. Remove duplicate CFLAGS.
6352 * Makefile.in: Rebuild.
6353
6354 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
6355 with $(CC_FOR_BUILD).
6356 (makedoc.o): Likewise.
6357 * doc/Makefile.in: Rebuild.
6358
6359 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
6360 force a definition of COMPILE.
6361 (libfoo_a_SOURCES): Define.
6362 * libc/sys/cygwin32/Makefile.in: Rebuild.
6363 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
6364 force a definition of COMPILE.
6365 (libfoo_a_SOURCES): Define.
6366 * libc/sys/tic80/Makefile.in: Rebuild.
6367
6368Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
6369
6370 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
6371 flag.
6372
6373Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
6374
6375 * Build using autoconf and automake. Added many Makefile.am and
6376 configure.in files, plus generated files. Old configure.in files
6377 and all old Makefile.in files completely replaced. Removed
6378 host/any. Added acinclude.m4 and configure.host.
6379
6380Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
6381
6382 * libc/stdio/vfprintf.c: enable long long support, sometimes.
6383 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
6384
6385Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6386
6387 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
6388 * libc/machine/sh/Makefile.in: Add rules for new files.
6389
6390Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6391
6392 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
6393 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
6394 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
6395
6396Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
6397
6398 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
6399 code is ignored.
6400
6401Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
6402
6403 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
6404 internal static buffer when s is NULL, as prescribed by ANSI.
6405
64061998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
6407
6408 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
6409 removed.
6410 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
6411 libc/stdlib will be used for h8300hms.
6412
6413Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
6414
6415 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
6416 version that can be built either for speed or size.
6417 * libc/machine/mn10300/memset.S (_memset): ditto
6418 * libc/machine/mn10300/memchr.S (_memchr): ditto
6419 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
6420 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
6421 * libc/machine/mn10300/strchr.S (_strchr): ditto
6422 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
6423 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
6424 * libc/machine/mn10300/Makefile.in: Added entries for
6425 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
6426 strcmp.o, strcpy.o, and strlen.o.
6427
6428Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
6429
6430 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
6431 been replaced with libgloss/mn10200.
6432
6433Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
6434
6435 * libc/string/strchr.c (strchr): Make s a constant pointer to
6436 avoid warning.
6437
6438Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
6439
6440 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
6441 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
6442 board SWIs instead of Demon board SWIs).
6443
6444Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
6445
6446 * libc/string/strncat.c (strncat): Make -Os act the same as
6447 PREFER_SIZE_OVER_SPEED being defined.
6448
6449Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
6450
6451 * libc/string/memchr.c (memchr): Make -Os act the same as
6452 PREFER_SIZE_OVER_SPEED being defined.
6453 * libc/string/memcmp.c (memcmp): Ditto.
6454 * libc/string/memcpy.c (memcpy): Ditto.
6455 * libc/string/memset.c (memset): Ditto.
6456 * libc/string/strcat.c (strcat): Ditto.
6457 * libc/string/strchr.c (strchr): Ditto.
6458 * libc/string/strcmp.c (strcmp): Ditto.
6459 * libc/string/strcpy.c (strcpy): Ditto.
6460 * libc/string/strlen.c (strlen): Ditto.
6461 * libc/string/strncat.c (strncat): Ditto.
6462 * libc/string/strncmp.c (strncmp): Ditto.
6463 * libc/string/strncpy.c (strncpy): Ditto.
6464
6465Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
6466
6467 * libc/include/sys/itimer.h: remove
6468 * libc/include/sys/time.h: itimer stuff should be here
6469
6470Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
6471
6472 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
6473 bit instead of comparing to 0 so -0.0 can be printed correctly.
6474
6475Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6476
6477 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
6478
6479Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
6480
6481 * libc/include/sys/unistd.h: fix sync() proto
6482 * libc/include/sys/fcntl.h: remove _close which is already
6483 defined in unistd.h.
6484 * libc/include/sys/time.h: add getitimer proto
6485
6486Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
6487
6488 * libc/string/strchr.c: convert arg to unsigned char
6489 * libc/include/stdlib.h: add protos for random, srandom
6490 * libc/include/sys/stat.h: add lstat proto
6491 * libc/include/sys/time.h: add setitimer proto
6492 * libc/include/sys/unistd.h: add readlink, symlink protos
6493 * libc/include/process.h: instead of including windows.h and using
6494 HANDLEs in sexec protos, just use void *s. Need to include
6495 sys/types.h.
6496
6497Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
6498
6499 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
6500
6501Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
6502
6503 * libc/include/process.h: add secure exec protos
6504
6505Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
6506
6507 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
6508 which are accessed as both doubles and integers.
6509 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
6510 * libc/stdlib/strtod.c (_strtod_r): Likewise.
6511 * libc/stdlib/mprec.h: Add "union double_union" and change
6512 word0/word1 macros to use it.
6513
6514Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
6515
6516 * libc/include/sys/signal.h: add __cplusplus wrapper
6517
6518Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
6519
6520 * libc/include/sys/utime.h: new generic file that gets replaced by
6521 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
6522 function.
6523 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
6524 * libc/include/time.h: remove duplicate utime proto
6525 * libc/include/utime.h: add comment
6526
6527Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
6528
6529 * libc/include/sys/time.h: Add missing include to
6530 allow use of _EXFUN. Remove times function that is
6531 already defined in times.h.
6532
6533Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
6534
6535 * libc/include/time.h: Fix typo in tzset.
6536
6537Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
6538
6539 * libc/include/sys/time.h: add missing Cygwin32 function protos
6540 * libc/include/sys/unistd.h: ditto
6541 * libc/include/time.h: ditto
6542
6543Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
6544
6545 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
6546 FIXME.
6547 * libc/include/sys/types.h: add a new __MS_types__ section
6548 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
6549 __BIT_TYPES_DEFINED__.
6550
6551Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
6552
6553 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
6554 since it overrides the one in libc/include/sys. Also, start
6555 including types.h.
6556
6557Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
6558
6559 * libm/math/Makefile.in: add s_signgam.o to obj list
6560
6561Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
6562
6563 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
6564
6565Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
6566
6567 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
6568 so don't use defines.
6569
6570Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
6571
6572 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
6573
6574Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
6575
6576 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
6577 _current_locale as default locale.
6578
6579Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
6580
6581 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
6582 insufficient space in a chunk.
6583
6584Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
6585
6586 * configure.in (links): Added check for --enable-newlib-mb configure
6587 option which defines the MB_CAPABLE macro.
6588 * libc/locale/locale.c (_setlocale_r): Added support for setting
6589 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
6590 defined.
6591 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
6592 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
6593 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
6594 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
6595 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
6596 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
6597 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
6598 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
6599 * libc/stdlib/Makefile.in: Added new multibyte
6600 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
6601 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
6602 _mbstowcs_r(), and _wcstombs_r().
6603 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
6604 for JIS, SJIS, and EUC-JP characters.
6605 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
6606 MB_CAPABLE defined.
6607 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
6608 MB_CAPABLE defined.
6609 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
6610 MB_CAPABLE defined.
6611 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
6612 if MB_CAPABLE defined.
6613 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
6614 if MB_CAPABLE defined.
6615 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
6616 to the format string processing when MB_CAPABLE.
6617 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
6618 call _mbtowc_r().
6619
6620Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
6621
6622 The following modifications are courtesy of Anthony Thompson,
6623 athompson@cambridge.arm.com:
6624 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
6625 boith RDI and RDP monitors.
6626 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
6627 RDI and RDP monitors.
6628
6629Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
6630
6631 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
6632 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
6633 (_swiopen): Fixed open flags to treat write with append as just append.
6634 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
6635 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
6636
6637Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6638
6639 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
6640 When needing to transfer an initial 2-byte-word, store as
6641 two single bytes.
6642
6643Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6644
6645 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
6646 __SH3E__ .
6647 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
6648 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
6649
6650Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
6651
6652 * configure.in (target_cflags): If --enable-target-optspace, use
6653 -Os to compile newlib rather than -O2. Default to using -Os for
6654 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
6655 used.
6656
6657Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
6658
6659 * libc/include/machine/setjmp.h: change sigsetjmp and
6660 siglongjmp definitions to use an array instead of a struct
6661 for __CYGWIN32__
6662
6663Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
6664
6665 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
6666
6667Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
6668
6669 * libc/string/strxfrm.c: fix to get correct return value
6670
6671Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
6672
6673 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
6674 builds. Make mode change labels global so that they will be seen
6675 by the debugger.
6676
6677Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
6678
6679 * configure.in (links): Do not use ARM debiugging protocols for PE
6680 builds.
6681
6682 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
6683 message.
6684
6685Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
6686
6687 * libc/stdio/findfp.c (__sinit): Made stdout default to
6688 line buffered mode as defined by ANSI.
6689
6690Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
6691
6692 * libc/include/sys/itimer.h: New file.
6693
6694 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
6695
6696Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6697
6698 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
6699 failure.
6700
6701Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
6702
6703 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
6704 insns.
6705
6706Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
6707
6708 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
6709
6710Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
6711
6712 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
6713 support.
6714
6715 * libc/include/machine/setjmp.h: Add D30V support.
6716
6717 * configure.in (d30v-*): Add d30v machine directory.
6718
6719Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
6720
6721 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
6722 been replaced with libgloss/mn10300.
6723
6724Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
6725
6726 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
6727 it is no longer needed.
6728
6729Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
6730
6731 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
6732
6733Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
6734
6735 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
6736 the file when O_APPEND is set, wherever the EOF happens to be at
6737 that time.
6738
6739Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
6740
6741 patch from cgf@bbc.com (Christopher Faylor):
6742 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
6743 convention of closing fp prior to attempting to open the file
6744 argument. This allows correct operation when reopening
6745 stdin/stdout/stderr. Replaces last freopen.c patch.
6746
6747Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
6748
6749 patch from cgf@bbc.com (Christopher Faylor):
6750 * libc/stdio/freopen.c: freopen was not preserving the fd
6751 of the stream being operated on. This confuses programs that
6752 expect that the handles for stdout and stderr will be 1 and 2.
6753
6754Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
6755
6756 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
6757
6758Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
6759
6760 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
6761
6762Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
6763
6764 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
6765 altered to not use a branch. Also added hint that last
6766 bclr in longjmp will likely result in branch.
6767
6768
6769Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
6770
6771 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
6772
6773Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
6774
6775 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
6776 v850 builds.
6777
6778 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
6779
6780Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
6781
6782 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
6783 that loads FR14 to specify offset of 8 rather than 4
6784 so it loads from offset 96 (where setjmp stored it).
6785
6786Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
6787
6788 * libc/machine/sh/memcpy.S: (_memcpy): Update to
6789 latest version supplied by customer.
6790 * libc/machine/sh/memset.S (_memset): Ditto.
6791
6792Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
6793
6794 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
6795 PR14730).
6796
6797Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
6798
6799 * libc/include/string.h: remove redefinition of ffs
6800
6801Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
6802
6803 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
6804 defined
6805
6806Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
6807
6808 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
6809 TI Libraries to link to libc.a
6810
6811Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
6812
6813 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
6814 * libc/include/sys/stat.h (_{,f}stat): Ditto.
6815 * libc/include/sys/wait.h (_wait): Ditto.
6816 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
6817 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
6818
6819Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
6820
6821 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
6822 minded stabs so function name shows up when running the simulator
6823 with -t.
6824 * libc/sys/d10v/{crt0,trap}.S: Ditto.
6825
6826Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
6827
6828 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
6829 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
6830 Use R5 where we used to use R3.
6831
6832Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
6833
6834 * libc/stdlib/getopt.c (getopt): replaced __progname
6835 with nargv[0] to improve portability to imbedded systems.
6836
6837Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
6838
6839 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
6840 patch supplied by Tont.Thompson@arm.com to fix the creation of the
6841 stdout file.
6842
6843Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
6844
6845 * libc/stdio/tmpnam.c (worker): Generate a different file name
6846 each time.
6847
6848 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
6849 fails, try an execlp for sh.
6850
6851 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
6852 option for the winsup include directory.
6853
6854Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
6855
6856 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
6857 debugging interface from Tony.Thompson@arm.com.
6858
6859 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
6860 * libc/sys/arm/swi.h: ditto.
6861
6862Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
6863
6864 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
6865 DIR struct used for readdir hashes.
6866
6867Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
6868
6869 * libc/string/strchr.c: Use "unsigned chars" as necessary.
6870
6871Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
6872
6873 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
6874 integer targets.
6875
6876Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
6877
6878 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
6879 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
6880 * libc/include/malloc.h: Add extern "C" if __cplusplus.
6881 (__malloc_copy): Declare.
6882
6883Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
6884
6885 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
6886 <sys/config.h>.
6887 (POINTER_UINT): Define.
6888 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
6889 (MALLOC_ALIGNMENT): Don't define if already defined.
6890 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
6891 long.
6892
6893Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
6894
6895 * libc/string/memset.c (memset): Fiddle with code so that the long
6896 value being stored is not a stack value. Unroll storing longs 4
6897 times.
6898
6899Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
6900
6901 * Reduce code size for libm modules.
6902 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
6903 and simply move code into sqrt.
6904 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
6905 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
6906 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
6907 * libm/math/wr_gamma.c (gamma_r): Likewise.
6908 * libm/math/wf_sinh.c (sinfh): Likewise.
6909 * libm/math/w_sinh.c (sinh): Likewise.
6910 * libm/math/wf_scalb.c (scalbf): Likewise.
6911 * libm/math/w_scalb.c (scalb): Likewise.
6912 * libm/math/wf_remainder.c (remainderf): Likewise.
6913 * libm/math/w_remainder.c (remainder): Likewise.
6914 * libm/math/wf_pow.c (powf): Likewise.
6915 * libm/math/w_pow.c (pow): Likewise.
6916 * libm/math/wf_log10.c (log10f): Likewise.
6917 * libm/math/w_log10.c (log10): Likewise.
6918 * libm/math/wf_log.c (logf): Likewise.
6919 * libm/math/w_log.c (log): Likewise.
6920 * libm/math/w_lgamma.c (lgamma): Likewise.
6921 * libm/math/wf_lgamma.c (lgammaf): Likewise.
6922 * libm/math/wf_jn.c (jnf): Likewise.
6923 * libm/math/w_jn.c (jn): Likewise.
6924 * libm/math/wf_j1.c (j1f): Likewise.
6925 * libm/math/w_j1.c (j1): Likewise.
6926 * libm/math/wf_j0.c (j0f): Likewise.
6927 * libm/math/w_j0.c (j0): Likewise.
6928 * libm/math/wf_hypot.c (hypotf): Likewise.
6929 * libm/math/w_hypot.c (hypot): Likewise.
6930 * libm/math/wf_gamma.c (gammaf): Likewise.
6931 * libm/math/w_gamma.c (gamma): Likewise.
6932 * libm/math/wf_fmod.c (fmodf): Likewise.
6933 * libm/math/w_fmod.c (fmod): Likewise.
6934 * libm/math/wf_exp.c (expf): Likewise.
6935 * libm/math/w_exp.c (exp): Likewise.
6936 * libm/math/wf_cosh.c (coshf): Likewise.
6937 * libm/math/w_cosh.c (cosh): Likewise.
6938 * libm/math/wf_atanh.c (atanhf): Likewise.
6939 * libm/math/w_atanh.c (atanh): Likewise.
6940 * libm/math/wf_atan2.c (atan2f): Likewise.
6941 * libm/math/w_atan2.c (atan2): Likewise.
6942 * libm/math/wf_asin.c (asinf): Likewise.
6943 * libm/math/w_asin.c (asin): Likewise.
6944 * libm/math/wf_acosh.c (acoshf): Likewise.
6945 * libm/math/w_acosh.c (acosh): Likewise.
6946 * libm/math/wf_acos.c (asocf): Likewise.
6947 * libm/math/w_acos.c (acos): Likewise.
6948 * libm/math/wf_sqrt.c (sqrtf): Likewise.
6949 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
6950 for embedded systems.
6951
6952Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
6953
6954 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
6955 Lea in case of a foreign sbrk.
6956
6957Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
6958
6959 Incorporate Doug Lea's malloc:
6960 * libc/stdlib/mallocr.c: Completely replaced.
6961 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
6962 (realloc): Remove.
6963 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
6964 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
6965 mallopt.
6966 (mallinfo, malloc_stats, mallopt): New functions.
6967 (_mstats_r): Just call _malloc_stats_r.
6968 * libc/stdlib/malign.c: New file.
6969 * libc/stdlib/mlock.c: New file.
6970 * libc/stdlib/msize.c: New file.
6971 * libc/stdlib/mtrim.c: New file.
6972 * libc/stdlib/realloc.c: New file.
6973 * libc/stdlib/valloc.c: New file.
6974 * libc/stdlib/malloc.h: Remove.
6975 * libc/stdlib/callocr.c: Remove.
6976 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
6977 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
6978 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
6979 reallocr.o, valloc.o, vallocr.o.
6980 (CHEWOUT_FILES): Add mlock.def, mstats.def.
6981 (MALLOC_CFLAGS): New variable.
6982 (mallocr.o): New target, build from mallocr.c.
6983 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
6984 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
6985 (msizer.o, malloptr.o): Likewise.
6986 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
6987 (valloc.o): New target.
6988 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
6989 * libc/include/malloc.h: Declare struct mallinfo, and new
6990 routines.
6991 * libc/include/stdlib.h (cfree): Correct declaration.
6992
6993Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
6994
6995 * libc/include/machine/setjmp.h: Add support for Thumb target.
6996
6997 * libc/include/machine/ieeefp.h: Add support for Thumb target.
6998
6999 * configure.in (links): Add support for Thumb target.
7000
7001Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
7002
7003 * libc/sys/arm/setjmp.S: Updated with version from branch.
7004
7005Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
7006
7007 * libc/include/stdio.h: add POSIX-required define L_ctermid
7008 for ctermid
7009
7010Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
7011
7012 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
7013 addition to MISSING_SYSCALL_NAMES.
7014
7015Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7016
7017 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
7018
7019Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
7020
7021 * libc/include/string.h: change strsignal proto to return
7022 a char *. This eliminates compile problems in gdb resulting
7023 from gdb's definition of strsignal in defs.h.
7024
7025Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
7026
7027 * libc/sys/cygwin32/sys/utime.h: new (moved here from
7028 winsup/include) so as not to conflict with the one in
7029 libc/include.
7030 * libc/include/string.h: add protos for strsignal, strtosigno
7031
7032Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
7033
7034 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
7035
7036 * configure.in (d30v-*-*): Add configuration.
7037
7038Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
7039
7040 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
7041 to select which kind of debug monitor is in use for an ARM target.
7042
7043 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
7044 Angel and Demon debug monitors. Part of this code was supplied by
7045 Tony Thompson at ARM: athompso@arm.com.
7046
7047Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
7048
7049 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
7050 semantics when the count is greater than the length of the second
7051 source string.
7052
7053Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
7054
7055 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
7056 * libc/include/sys/unistd.h: add protos for usleep, truncate,
7057 truncate and ftruncate take off_t, not size_t
7058
7059Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
7060
7061 * libc/string/strcat.c (strcat): Add missing comment end.
7062 * libc/string/strncat.c (strncat): Likewise.
7063
7064Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
7065
7066 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
7067 targets.
7068 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
7069 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
7070 defined.
7071 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
7072 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
7073 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
7074
7075Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
7076
7077 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
7078 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
7079
7080Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
7081
7082 * libc/machine/i386/setjmp.S: New file.
7083 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
7084 (OFILES): Add setjmp.o.
7085 (setjmp.o): Add rule for.
7086 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
7087
7088Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
7089 Jeffrey A Law (law@cygnus.com)
7090
7091 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
7092 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
7093 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
7094 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
7095
7096Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
7097
7098 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
7099 rules.
7100
7101 * libc/include/sys/config.h: Use __v850 to select v850
7102 endianness.
7103
7104 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
7105 buffer size.
7106
7107 * libc/include/machine/ieeefp.h: Use __v850 to select v850
7108 endianness.
7109
7110Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
7111
7112 * libc/stdlib/setenv.c: change unsetenv definition to match
7113 style of setenv (with _DEFUN). The string should be a const.
7114 * libc/include/stdlib.h: unsetenv proto should return void.
7115
7116Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
7117
7118 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
7119
7120Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
7121
7122 * libc/stdio/glue.h: remove.
7123 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
7124 * libc/stdio/Makefile.in: remove glue.h dependencies
7125
7126Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
7127
7128 * libc/sys/sysnecv850/crt0.S: Created V850e version.
7129
7130Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
7131
7132 * configure.in (target_cpu): Add `arc'.
7133
7134Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
7135
7136 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
7137 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
7138 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
7139 * newlib/libc/reent/reent.c: Add _wrapup_reent.
7140 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
7141
7142Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
7143
7144 * libc/machine/mips/setjmp.S: Handle mips16 builds.
7145
7146Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
7147
7148 * libc/include/stdio.h (siprintf): Declare.
7149
7150Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
7151
7152 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
7153 TARGET_CFLAGS and NEWLIB_FLAGS.
7154
7155Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
7156
7157 * configure.in (links): Add support for v850ea target.
7158
7159Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
7160
7161 * configure.in (links): Add support for v850e target.
7162
7163Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
7164
7165 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
7166
7167Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
7168
7169 * configure.in (arc-*-*): Add support for.
7170 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
7171
7172Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7173
7174 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
7175
7176Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
7177
7178 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
7179 comparison which accesses invalid memory when the key is
7180 larger than the last member of the array.
7181 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
7182 for CYGWIN32
7183 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
7184
7185Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
7186
7187 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
7188 not _STRICT_ANSI.
7189
7190Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
7191
7192 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
7193 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
7194
7195Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
7196
7197 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
7198 to load/store memory.
7199
7200Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
7201
7202 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
7203 underscores if _WIN32.
7204
7205Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
7206
7207 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
7208 support ifdef _USE_WRITE missed in last change.
7209 From Anders Blomdell <anders.blomdell@control.lth.se>.
7210
7211Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
7212
7213 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
7214 (_tmpnam_r, _tempnam_r): Update.
7215
7216Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
7217
7218 * libc/machine/sparc/setjmp.S: New file.
7219 * libc/machine/sparc/Makefile.in: Add setjmp.
7220 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
7221
7222Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
7223
7224 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
7225
7226Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
7227
7228 From Joel Sherrill <joel@oarcorp.com>.
7229 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
7230
7231 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
7232 * configure.in: Recognize *-*-rtems*.
7233 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
7234 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
7235 time.h,times.h,types.h}: New files.
7236 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
7237
7238Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
7239
7240 patch from sos@prospect.com.ru (Sergey Okhapkin):
7241 * include/sys/wait.h: correct operator precidence bug
7242 in WIFSIGNALED
7243
7244Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
7245
7246 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
7247 with newlib's unsetenv function
7248 * libc/sys/cygwin32/sys: new directory for includes
7249 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
7250 here from winsup/include/sys
7251
7252Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
7253
7254 * libc/include/sys/unistd.h: _exit should only be
7255 labelled noreturn when not __CYGWIN32__
7256 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
7257 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
7258 increment NSIG
7259
7260Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
7261
7262 * libc/include/sys/time.h: Only define timeval and timezone if
7263 _GNU_H_WINDOWS32_SOCKETS is not defined.
7264 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
7265
7266Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
7267
7268 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
7269 * libc/machine/mn10300/setjmp.S: Likewise.
7270
7271 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
7272 the mn10300 (more relaxing opportunities).
7273
7274Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
7275
7276 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
7277 Build libraries with -mstrict-align.
7278
7279Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
7280
7281 * libc/string/strlwr.c: New file.
7282 * libc/string/strupr.c: New file.
7283 * libc/include/string.h: Declare strlwr and strupr.
7284 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
7285 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
7286 (strlwr.o, strupr.o): New targets.
7287 * libc/string/strings.tex: Include strlwr and strupr docs.
7288
7289 * libc/include/sys/types.h: Don't define u_char, et. al., if
7290 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
7291 et. al. Make FD_SETSIZE default 64 rather than 60. Define
7292 _types_fd_set rather than fd_set, and define fd_set as a macro.
7293
7294 * libc/include/malloc.h: New file.
7295
7296 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
7297 strnicmp if they are not already defined.
7298
7299 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
7300 _timezone, _daylight, and _tzname.
7301
7302Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
7303
7304 * configure.in: Sort all configuration tables.
7305
7306 From Joel Sherrill <joel@oarcorp.com>
7307 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
7308
7309Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
7310
7311 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
7312 use int when declaring kill.
7313
7314 * libc/include/sys/timeb.h: New file.
7315
7316Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
7317
7318 * libc/include/sys/time.h: add itimer support for Cygwin32
7319
7320Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
7321
7322 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
7323 out a message that abort was called to stderr.
7324
7325Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
7326
7327 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
7328 so that libio doesn't freak.
7329
7330 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
7331 int.
7332
7333 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
7334 memory sizes, not int.
7335
7336Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
7337
7338 * libm/math/ef_hypot.c: Use long constants where
7339 appropriate.
7340 * libm/math/ef_sqrt.c: Ditto.
7341
7342 * libc/sys/sysmec/times.c(_times): Change to times.
7343
7344 * libc/sys/sysmec/read.c(_read): The third argument is
7345 size_t.
7346 * libc/sys/sysmec/write.c (_write): Ditto.
7347
7348 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
7349 (_lseek): It's off_t for the second argument.
7350
7351Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
7352
7353 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
7354 as well as machine/ieeefp.h.
7355
7356Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
7357
7358 * libc/include/sys/signal.h: add signal protos for winsup
7359 functions (when __CYGWIN32__), include types.h
7360 * libc/include/sys/types.h: Change __go32_types__ internal
7361 define to __MS_types__ since it's used for more than just
7362 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
7363 defined.
7364 * libc/include/sys/unistd.h: add ftruncate proto for
7365 winsup functions (when __CYGWIN32__)
7366
7367Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
7368
7369 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
7370
7371Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
7372
7373 * libc/include/machine/setjmp.h: Add tic80 support.
7374 * libc/machine/tic80/setjmp.S: Likewise.
7375
7376Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
7377
7378 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
7379 link programs from libraries only (such as in the X11
7380 distribution)
7381
7382Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
7383
7384 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
7385 supplied elsewhere in newlib.
7386
7387Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
7388
7389 * Makefile.in (INSTALL): Change install.sh to install-sh.
7390
7391Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
7392
7393 * README: update WWW address for on-line documentation.
7394
7395Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
7396
7397 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
7398 increment NSIG
7399
7400Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
7401
7402 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
7403 mn10300.
7404 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
7405
7406Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
7407
7408 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
7409 * libc/sys/d10v/syscalls.c: Likewise.
7410 * libc/sys/h8300hms/sbrk.c: Likewise.
7411 * libc/sys/h8500hms/syscalls.c: Likewise.
7412 * libc/sys/m88kbug/syscalls.c: Likewise.
7413 * libc/sys/sh/syscalls.c: Likewise.
7414 * libc/sys/sysmec/sbrk.c: Likewise.
7415 * libc/sys/sysnecv850/sbrk.c: Likewise.
7416 * libc/sys/w65/syscalls.c: Likewise.
7417 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
7418
7419Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
7420
7421 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
7422 emulated syscall instead of "trap".
7423
7424Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
7425
7426 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
7427 not trap 0.
7428
7429Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
7430
7431 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
7432
7433Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
7434
7435 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
7436 not "sh".
7437 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
7438 not "d10v".
7439 * libc/sys/tic80/crt0.c: New file for TIc80.
7440 * libc/sys/tic80/Makefile.in: New file for TIc80.
7441 * libc/machine/tic80/Makefile.in: New file for TIc80.
7442
7443Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
7444
7445 * libc/machine/sh/memcpy.S: New file.
7446 * libc/machine/sh/memset.S: New file.
7447 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
7448
7449Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
7450
7451 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
7452 for TIc80.
7453
7454Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
7455
7456 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
7457 the mn10200.
7458
7459Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
7460
7461 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
7462 (patch from andrew@pogo.WV.TEK.COM).
7463
7464Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
7465
7466 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
7467 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
7468
7469Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
7470
7471 * configure.in: Add cases for "tic80" to set machine_dir,
7472 sys_dir, and syscall_dir.
7473
7474Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
7475
7476 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
7477
7478Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
7479
7480 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
7481
7482Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
7483
7484 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
7485 Use proper constant prefix.
7486
7487Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
7488
7489 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
7490 that loses on the mn10200 where ints and pointers are different
7491 sizes.
7492
7493Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
7494
7495 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
7496 target as signal is provided in winsup.
7497
7498Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
7499
7500 * libc/include/sys/process.h: Corrected const definitions
7501 in spawn functions. Added cwait.
7502
7503Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
7504
7505 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
7506 doubles.
7507 * libc/include/sys/config.h: Similarly.
7508
7509Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7510
7511 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
7512 target_cflags.
7513 (i[3456]86-*-sco*): Ditto.
7514
7515 * libc/signal/Makefile.in (OFILES): Add signal.o.
7516 (CFILES): Add signal.c.
7517
7518 * libc/signal/raise.c (_raise_r): Only compile code if
7519 SIGNAL_PROVIDED is defined.
7520
7521 * libc/signal/signal.c: Redo whole file so that it works with
7522 current newlib. Use _kill_r if no signal handler provided.
7523
7524 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
7525 signal stubs.
7526 * libc/sys/sysvnecv70/Makefile.in: Ditto.
7527 * libc/sys/sysnecv850/Makefile.in: Ditto.
7528
7529 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
7530 * libc/sys/sysmec/{raise,signal}.c: Ditto.
7531 * libc/sys/sysvnecv70/signal.s: Ditto.
7532 * libc/sys/sysnecv850/raise.c: Ditto.
7533
7534 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
7535 simulator and debugger can tell the difference between a signal
7536 being raised and an exit system call.
7537
7538 * NEWS: Document software signals being provided.
7539
7540Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7541
7542 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
7543 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
7544 include/sys/config.h.
7545 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
7546 Change from 'inpure_data'.
7547 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
7548 &impure_data, not &inpure_data.
7549
7550 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
7551 and and System V ABI, define so that _impure_ptr lives in the
7552 .sdata section.
7553
7554Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7555
7556 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
7557 nothing if not defined.
7558 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
7559 its attributes.
7560
7561 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
7562
7563Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
7564
7565 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
7566 * libc/sys/sysmec/trap.s: Handle mn10200 too.
7567 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
7568
7569Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
7570
7571 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
7572
7573Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
7574
7575 * libc/include/sys/errno.h: Added net errno's.
7576
7577Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7578
7579 * libc/misc/ffs.c: New file to support ffs function for GCC test
7580 gcc.c-torture/execute/960909-1.c.
7581
7582 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
7583
7584Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
7585
7586 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
7587 * libc/sys/sysmec/trap.S: Likewise.
7588
7589Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
7590
7591 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
7592 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
7593
7594Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
7595
7596 * libc/sys/sysmec/signal.c: Dummy file.
7597 * libc/sys/sysmec/Makefile.in: Build it.
7598
7599Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
7600
7601 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
7602 mips16.
7603
7604Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
7605
7606 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
7607 c-startup and simulator traps.
7608
7609
7610 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
7611 * libc/sys/sysmec/trap0.S: Likewise.
7612
7613Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7614
7615 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
7616 round to double word alignment.
7617 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
7618 byte alignment.
7619
7620 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
7621
7622 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
7623 out of memory.
7624
7625Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
7626
7627 * configure.in: Handle mn10200 and mn10300.
7628 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
7629 * libc/include/sys/config.h: Likewise.
7630 * libc/sys/sysmec: New directory for mec stuff.
7631 * libc/machine/mn10300: New directory for mn10300 stuff.
7632 * libc/machine/mn10200: Similarly for mn10200 stuff.
7633
7634Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
7635
7636 * libc/sys/arm/crt0.S: Use .text, not .section .text.
7637 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
7638
7639 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
7640 (nlink_t): Change type from unsigned int to unsigned short.
7641 (mode_t): Ensure size is 32 bits even if int is 16.
7642 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
7643 (st_spare[123]): Change type from int to long.
7644
7645Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7646
7647 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
7648 byte boundary.
7649
7650 * configure.in (d10v*): Define SMALL_MEMORY.
7651
7652Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7653
7654 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
7655 -mrelocatable-lib and -mno-eabi flags.
7656
7657Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
7658
7659 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
7660 Fix handling of mis-aligned source operand when both the
7661 destination & length are properly aligned.
7662
7663Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
7664
7665 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
7666 times.o, time.o and gettime.o
7667 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
7668 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
7669 SYS_gettimeofday.
7670
7671Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
7672
7673 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
7674 * libc/sys/sysnecv850/access.c: New file.
7675
7676Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
7677
7678 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
7679
7680 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
7681 long.
7682
7683Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
7684
7685 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
7686
7687Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
7688
7689 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
7690 * libc/include/sys/config.h: Add m32r support.
7691
7692Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
7693
7694 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
7695 here.
7696
7697Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
7698
7699 * libc/include/machine/setjmp.h: Add D10v support.
7700
7701Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
7702
7703 * configure.in: Configure the "libc/syscalls" directory for
7704 the v850.
7705
7706 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
7707 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
7708 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
7709 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
7710 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
7711
7712Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
7713
7714 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
7715 stack for args for main and other routines. Zero out args for
7716 main.
7717
7718 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
7719 correctly.
7720
7721Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7722
7723 * libc/stdio/findfp.c (std): Remove extraneous ';' after
7724 function.
7725
7726 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
7727
7728 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
7729 real system calls now.
7730
7731 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
7732 before casting them to int.
7733 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
7734
7735 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
7736 aligning pointer.
7737 * libc/string/memset.c (memset): Ditto.
7738
7739 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
7740 first convert ints to _POINTER_INT to eliminate GCC warning.
7741
7742 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
7743 processing %p.
7744
7745 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
7746 from 65000 if ints are only 16 bits.
7747
7748 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
7749 from 50000 if ints are only 16 bits.
7750
7751 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
7752 int type that is the same size as a pointer.
7753
7754 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
7755 processing %p.
7756 (get_number): Explicitly cast number to long before shifting by 16
7757 or 24, in case ints are short.
7758
7759 * libc/include/sys/config.h (_POINTER_INT): Define as short.
7760
7761Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
7762
7763 * libc/string.h: Added ffs, removed swab.
7764 * libc/sys/errno.h: Added EOPNOTSUPP.
7765 * libc/sys/unistd.h: Added swab.
7766
7767Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
7768
7769 * libc/include/sys/stat.h: Added fchmod.
7770 * libc/include/sys/unistd.h: Added fsync.
7771
7772Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
7773
7774 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
7775 and ECONNRESET (104) for cygwin32.
7776
7777Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
7778
7779 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
7780 do the static destructors.
7781
7782Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
7783
7784 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
7785
7786Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
7787
7788 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
7789 * configure.in: Recognize m32r-*-*.
7790
7791Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
7792
7793 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
7794 __rt_stkovf_split_small): Added default software stack overflow
7795 handlers, which just call SWI_Exit.
7796 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
7797 limit initialisation.
7798
7799Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
7800
7801 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
7802
7803Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
7804
7805 * libc/include/sys/types.h: Added ssize_t definition.
7806
7807Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7808
7809 * libc/machine/d10v/setjmp.S: Use ';' for comments.
7810 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
7811
7812 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
7813 branch around a single ldi instruction.
7814
7815 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
7816 Call exit, instead of just issuing a stop instruction.
7817
7818Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7819
7820 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
7821
7822Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7823
7824 * libc/stdlib/mprec.h: Explicitly declare all large constants as
7825 longs, and then cast them to __uint32_t.
7826
7827 * libc/include/sys/config.h: Protect against multiple inclusions.
7828
7829Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
7830
7831 * configure.in (d10v*): Set syscall_dir.
7832
7833Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
7834
7835 * libc/sys/d10v/crt0.S: Set stack pointer.
7836
7837Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
7838
7839 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
7840 in assembly for efficiency. Change calling convention to allow
7841 long ints to be returned.
7842
7843Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7844
7845 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
7846
7847Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
7848
7849 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
7850 Handle empty entries in $PATH.
7851
7852Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
7853
7854 * libc/machine/d10v/setjmp.S: Make it really work.
7855
7856Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
7857
7858 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
7859 the .stack section.
7860
7861Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
7862
7863 * sys/sysnecv850/sys/file.h: Remove.
7864 * sys/sysnecv850/sys/syscall.h: New file.
7865 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
7866 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
7867 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
7868 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
7869 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
7870 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
7871 * sys/sysnec850/trap.S: New file.
7872 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
7873 syscalls.
7874 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
7875 * sys/sysnec850/sbrk.c: New version.
7876
7877Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
7878
7879 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
7880 as long as r6 is less than r7.
7881
7882Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
7883
7884 * Makefile.in (mostlyclean): Separate from clean target. Don't
7885 remove *.a or targ-include.
7886 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
7887
7888Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7889
7890 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
7891 d10v.
7892 (__SMALL_BITFIELDS): Ditto.
7893
7894 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
7895
7896Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
7897
7898 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
7899 prefix.
7900
7901 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
7902 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
7903 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
7904 * libc/sys/sysnecv850/write.c (write): Likewise.
7905
7906 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
7907 .bss.
7908
7909Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7910
7911 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
7912 appropriately for D10V, depending on -mint16/-mint32.
7913
7914Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
7915
7916 * configure.in: Add cases for D10V.
7917
7918Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7919
7920 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
7921
7922Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
7923
7924 * libc/include/machine/ieeefp.h: Fix typo.
7925
7926Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
7927
7928 * libc/sys/d10v: New directory for D10V stuff.
7929 * libc/include/machine/ieeefp.h: Add D10V defines.
7930
7931Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
7932
7933 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
7934 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
7935 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
7936 * libc/string/strerror.c (strerror): Add them.
7937
7938Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
7939
7940 * libc/sys/sysnecv850: New directory for v850 stuff.
7941
7942 * libc/machine/v850: New directory for v850 stuff.
7943 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
7944
7945 * configure.in: Add support for the v850.
7946
7947 * libc/include/machine/ieeefp.h: Add v850 defines.
7948 * libc/include/machine/setjmp.h: Likewise.
7949 * libc/include/sys/config.h: Add v850 defines.
7950
7951Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
7952
7953 * libc/include/machine/ieeefp.h
7954 * libc/include/machine/setjmp.h
7955 * libc/include/sys/fcntl.h
7956 * libc/include/sys/signal.h
7957 * libc/include/sys/types.h
7958 * libc/stdlib/system.c:
7959 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
7960 API availability, __CYGWIN32__ for cygwin32 environment specific).
7961
7962Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
7963
7964 * libc/include/stdlib.h: add multibyte character functions. Add
7965 __eprintf for assert.
7966
7967Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
7968
7969 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
7970 arithmetic or __alignof__ to properly get the alignment, instead
7971 of hardwiring it to 4.
7972
7973Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
7974
7975 * libc/stdio/fseek.c: add fflush call to adjust seek offset
7976 on append stream (fix from NetBSD sources), adjust curoff offset
7977 for ungetc's benefit.
7978 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
7979 * libc/stdio/rewind.c: replace code with up to date NetBSD
7980 code to undo hacks made to work around above problem of not
7981 having fflush call mentioned above
7982
7983Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
7984
7985 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
7986 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
7987 Partially revert last changes. The thread specific errno is set
7988 iff if the underlying syscall fails and the global errno is not
7989 zero.
7990
7991Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
7992
7993 * libc/reent/filer.c: Removed files, all functions have split out
7994 into their own files.
7995 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
7996 New files containing functions formally in filer.c
7997 * libc/reent/Makefile.in: Updated for above change.
7998
7999 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
8000 syscall fails, not if errno is changed.
8001 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8002 _write_r): Likewise.
8003 * libc/reent/fstatr.c (_fstat_r): Likewise.
8004 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
8005 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
8006 * libc/reent/signalr.c (_kill_r): Likewise.
8007 * libc/reent/statr.c (_stat_r): Likewise.
8008 * libc/reent/timer.c (_gettimeofday_r): Likewise.
8009
8010 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
8011 signalr.c, statr.c, timer.c} (errno): declare extern rather
8012 than as a common.
8013
8014 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
8015 instead of calling vfprintf so that i*printf will not require
8016 floating point support code.
8017
8018Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
8019
8020 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
8021 path delimiter.
8022 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
8023 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
8024
8025Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
8026
8027 * libc/include/signal.h: _sig_func_ptr function takes an int
8028 * libc/include/sys/signal.h: sa_handler function takes an int
8029
8030Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
8031
8032 * libc/include/machine/ieeefp.h: Simplify H8/S support.
8033 * libc/include/sys/config.h: Add missing H8/S conditional.
8034
8035Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
8036
8037 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
8038
8039Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
8040
8041 * libc/include/machine/setjmp.h: Handle H8/S.
8042 * libc/include/machine/ieeefp.h: Likewise.
8043 * libc/include/sys/config.h: Likewise.
8044 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
8045 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
8046 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
8047 * libc/sys/h8300hms/crt0.S: Likewise.
8048
8049Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
8050
8051 * Makefile.in (datadir): Set to $(prefix)/share.
8052 (oldincludedir, docdir): Removed.
8053 * doc/Makefile.in (datadir): Set to $(prefix)/share.
8054 (oldincludedir, docdir): Removed.
8055 * libc/Makefile.in (datadir): Set to $(prefix)/share.
8056 (oldincludedir, docdir): Removed.
8057 * libm/Makefile.in (datadir): Set to $(prefix)/share.
8058 (oldincludedir, docdir): Removed.
8059
8060Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
8061
8062 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
8063 _reent struct.
8064
8065Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
8066
8067 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
8068 fetch current path rules with sysconf and handler posix/win32
8069 appropriately.
8070
8071 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
8072
8073 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
8074 (WAIT_CHILD): Always define.
8075
8076Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
8077
8078 * libc/stdlib/eprintf.c: New file.
8079 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
8080 (eprintf.o): New target.
8081
8082Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
8083
8084 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
8085 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
8086
8087Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
8088
8089 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
8090 NT in PowerPC endianess cases.
8091
8092Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8093
8094 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
8095
8096Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8097
8098 * libc/string/strtok.c: Fix doc typo.
8099
8100Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
8101
8102 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
8103 _next, _scanpoint, _signgam fields.
8104
8105 * libc/include/stdlib.h (rand_r): Added new declaration.
8106 (_rand_r, _srand_r): Removed declarations.
8107 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
8108 have been made obsolete by rand_r.
8109 * libc/stdlib/rand_r.c: New file, rand_r function as specified
8110 by POSIX.1c.
8111
8112 * libc/string/strtok.c: Update documentation to describe
8113 strtok_r().
8114
8115Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
8116
8117 * libc/include/sys/stat.h (stat structure): Use the expanded stat
8118 structure on Solaris, and PowerPC systems even though __svr4__ is
8119 defined.
8120
8121Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
8122
8123 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
8124
8125Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
8126
8127 * host/any: Use ../.. rather than .. to get to the main build
8128 directory. This matches the current layout of the build
8129 directory.
8130
8131Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
8132
8133 * libc/machine/h8300/__main.S: Delete. No longer needed.
8134 * libc/machine/h8300/Makefile.in: Corresponding changes.
8135 * libc/sys/h8300hms/crt1.c: New file.
8136 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
8137 * libc/sys/h8300hms/crt0.s: Call __main.
8138
8139 * libc/sys/h8300hms/crt0.S: Use temporary label names
8140 for branch targets.
8141
8142Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
8143
8144 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
8145
8146Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8147
8148 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
8149 .sdata on the PowerPC so that we can link newlib with code
8150 compiled with -msdata.
8151
8152Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
8153
8154 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
8155
8156Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
8157
8158 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
8159 exception handler to __cygwin_exception_handler.
8160
8161Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
8162
8163 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
8164
8165Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
8166
8167 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
8168 SunOS VPATH.
8169 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
8170 wcstombs.o): Likewise.
8171
8172Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
8173
8174 * libc/stdlib/environ.c (initial_env): New static local.
8175 (environ): Point to `initial_env'.
8176
8177 * libc/include/machine/setjmp.h: Clean up.
8178 (__H8300H__,__PPC__): Define _JBTYPE.
8179 (__arm__): Provide entry for.
8180 (sigjmp_buf): Delete.
8181 (jmp_buf): Use _JBTYPE if defined, otherwise int.
8182
8183Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
8184
8185 * libc/machine/h8300/strcmp.S: Sign extend the result to
8186 32bits so we don't lose with -mint32.
8187
8188Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
8189
8190 * libc/sys/go32/sys/errno.h: New file.
8191 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
8192 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
8193 errno's address (make compatible with rest of newlib).
8194 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
8195 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
8196
8197Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
8198
8199 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
8200 * libc/machine/sparc/Makefile.in: Build them.
8201 * libc/machine/sparc/machine/sparclet.h: New file.
8202
8203Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
8204
8205 * libc/machine/sh/asm.h: New file.
8206 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
8207 support for SH3e's FP registers. Use asm.h.
8208
8209Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
8210
8211 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
8212 as first argument. Call _dtoa_r and pass the reent structure
8213 instead of calling __dtoa.
8214
8215Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
8216
8217 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
8218 the h8300, h8500, and others. Add comments for some rather
8219 dubious code.
8220
8221Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
8222
8223 * Makefile.in (check): Check that testsuite exists before cd.
8224
8225Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8226
8227 * libc/include/string.h (strsep): Correct prototype.
8228
8229Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
8230
8231 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
8232 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
8233 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
8234
8235Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
8236
8237 * libc/posix/{creat.c,isatty.c}: New files.
8238 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
8239
8240 * libc/sys/sparc64/crt0.S (environ): Delete.
8241 (.LHaveBias): Renamed from HaveBias.
8242
8243Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
8244
8245 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
8246 (_morecore_r): Delete SBRK_IS_ALLOC support.
8247
8248Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8249
8250 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
8251 module rather than touch, so we don't get warning messages when
8252 all of the libraries are combined into libc.a.
8253
8254Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
8255
8256 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
8257 crt0.s replaced by version in libgloss.
8258
8259Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
8260
8261 * libc/reent/Makefile.in (OFILES): Add impure.o.
8262 * libc/reent/impure.o: New file, define initial reentrancy struct.
8263 * libc/reent/reent.c: Remove above definition.
8264
8265 * libm/math/sf_asinh.c: Fix typo.
8266
8267 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
8268 srf_ldexp.o.
8269
8270 * libm/libm.texinfo: Change documentation to reflect changes
8271 in reentrancy model.
8272 * libm/math/w_gamma.c: Likewise.
8273
8274Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
8275
8276 * configure.in (*-*-cygwin32): New.
8277 (*-*-win32): Deleted.
8278 * libc/sys/win32 renamed libc/sys/cygwin32.
8279
8280Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8281
8282 * libc/include/sys/file.h: New include file.
8283
8284Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
8285
8286 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
8287
8288Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
8289
8290 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
8291
8292Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
8293
8294 * doc/makedoc.c (realloc): Declare at file scope.
8295 (catchar): Not here.
8296
8297Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
8298
8299 * Makefile.in (VERSION): Update to 1.7.0.
8300 * {libc,libm}/Makefile.in (VERSION): Likewise.
8301 * configure.in: Minor clean up of multilib stuff.
8302
8303 From David Johnson <davidj@ICSI.Berkeley.EDU>
8304 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
8305
8306 * libc/stdlib/environ.c: New file.
8307 * libc/stdlib/Makefile.in (OFILES): Build it.
8308 * libc/sys/h8500hms/crt0.c (environ): Deleted.
8309 * libc/sys/m88kbug/crt0.c (environ): Deleted.
8310 * libc/sys/z8ksim/crt0.c (environ): Deleted.
8311 * libc/sys/netware/environ.c: Deleted.
8312
8313Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
8314
8315 * configure.in (links): set sys_dir, posix_dir, syscall_dir
8316
8317Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
8318
8319 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
8320 declaration out to external scope and declare it PTR, not char *.
8321
8322Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
8323
8324 * libc/include/sys/unistd.h (getpagesize): New declaration.
8325 (_SC_PAGESIZE): New definition.
8326 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
8327 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
8328
8329Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
8330
8331 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
8332 addressing. System call returns size, not (last address + 1).
8333
8334Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8335
8336 * libm/math/*.c: Removed _foo_r() reentrancy API.
8337 * libc/include/math.h: Removed _foo_r prototypes and macros.
8338
8339 * libm/math/*.c: On systems with IEEE single precision "doubles"
8340 move foo() -> foof() wrapper code from the files that implement
8341 the standard IEEE double precision functions to the files that
8342 implement IEEE single precision functions. (ie. On those systems
8343 sin is moved from s_sin.c to sf_sin.c). There should eventually
8344 be use of a C extension (like gcc's alias attribute) so that the
8345 wrappers are not needed at all.
8346
8347 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
8348 strict NEC V810 compiler.
8349 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
8350 for same reason.
8351
8352Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8353
8354 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
8355 from NetBSD C library.
8356 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
8357
8358 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
8359 and adapted from implementation I wrote for NetBSD C library.
8360 The difference is __assert doesn't take a format argument,
8361 so that there won't be multiple copies of the same string
8362 constant in the executable if assertions are enabled in
8363 more than one source module.
8364 * libc/include/assert.h (assert): Changed to call __assert.
8365
8366Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8367
8368 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
8369 word1 on systems with 32 bit doubles.
8370 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
8371 so that we can do arithmetic on them.
8372 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
8373 compilers.
8374
8375Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
8376
8377 * libc/sys/arm/crt0.S: Zero bss.
8378
8379Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
8380
8381 * libc/include/unctrl.h: New file.
8382 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
8383 * configure.in (subdirs): Add libc/misc.
8384 * libc/Makefile.in (SUBDIRS): Add misc.
8385 (SUBLIBS): Add misc/lib.a.
8386
8387 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
8388
8389Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
8390
8391 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
8392 (_vfprintf_r): Call CHECK_INIT.
8393
8394Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
8395
8396 * Makefile.in (MULTITOP): Delete.
8397 (MULTISRCTOP, MULTIBUILDTOP): Add.
8398 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
8399 instead of cfg-ml-pos.in.
8400
8401Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
8402
8403 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
8404 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
8405 presence.
8406
8407Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
8408
8409 * libc/string/strtok.c: Include string.h to pick up strtok_r
8410 prototype.
8411
8412Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8413
8414 * libc/string/strtok.c: include <_ansi.h>.
8415 * libc/time/asctime_r.c: `reresult' -> `result'.
8416
8417Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8418
8419 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
8420 in #ifndef _REENT_ONLY ... #endif conditional.
8421
8422 * libc/include/string.h (_strtok_r): Remove declaration.
8423 * libc/include/time.h (_asctime_r): Remove declaration.
8424 * libc/string/strtok.c (_strtok_r): Removed.
8425 * libc/time/asctime.c (_asctime_r): Removed.
8426
8427 * libc/string/Makefile.in (OFILES): Add new object.
8428 * libc/string/strtok_r.c: New file. strtok_r function as
8429 specified by POSIX.1c, adapted from strtok implementation
8430 from NetBSD C library.
8431 * libc/string/strtok.c (strtok): Reimplemented in terms of
8432 strtok_r.
8433
8434 * libc/time/Makefile.in (OFILES): Add new objects.
8435 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
8436 New files, reentrant time functions specified by POSIX.1c.
8437 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
8438 reentrant time functions re-written in terms of reentrant
8439 functions.
8440 * libc/time/lcltime.c: Renamed from localtime.c
8441
8442 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
8443 gmtime_r, and localtime_r.
8444
8445Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
8446
8447 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
8448 * libc/include/sys/unistd.h (getlogin): Revert change of
8449 Oct 19.
8450 * libc/include/sys/signal.h (sigprocmask): Change prototype
8451 so it compiles with c++.
8452
8453Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
8454
8455 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
8456 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
8457 to give some room in case we need to align the jmp_buf.
8458
8459 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
8460 the new ppc-asm.h include file the compiler provides to specify
8461 function prologue/epilogue. Eliminate saves of the xer and ctr
8462 registers, which are volatile. Before starting to save registers,
8463 align to 8 byte boundary.
8464
8465Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
8466
8467 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
8468 referenced by standard libraries.
8469
8470Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
8471
8472 * libc/unix/Makefile.in, libc/string/Makefile.in,
8473 libc/stdio/Makefile.in, libc/reent/Makefile.in,
8474 libc/posix/Makefile.in:
8475 Remove tabs from otherwise empty line. Confuses some
8476 older non-GNU versions of "make".
8477
8478Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
8479
8480 * libc/sys/unistd.h (getlogin): Returns const char *.
8481
8482Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
8483
8484 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
8485 * libc/include/errno.h: Moved into and include...
8486 * libc/include/sys/errno.h: New file.
8487 * libc/include/sys/wait.h: New file.
8488 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
8489 * libc/sys/win32/*: Moved out.
8490 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
8491 * configure.in (i[345]86-*-win32): HAVE_RENAME
8492
8493Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8494
8495 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
8496 avoid macro expansion for these two names.
8497
8498Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
8499
8500 * libc/machine/h8500/psi.S: r6 renamed to fp.
8501
8502Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
8503
8504 * configure.in (powerpc*): No longer need to define
8505 NO_LONGLONG_POINTERS to supress warnings.
8506
8507Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
8508
8509 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
8510 through PTR instead of directly.
8511
8512 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
8513 non-standard constructor support.
8514
8515Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8516
8517 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
8518 address of the Bigint instead of the address of its _x field,
8519 as the size the result buffer was calculated accordingly.
8520 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
8521
8522 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
8523 from NetBSD C library. No longer special cases division by
8524 zero (which needs to be done by the application anyway), but
8525 it doesn't need to call abs() (or labs()) four times either.
8526
8527 * libc/stdlib/qsort.c: Replaced with implementation from
8528 NetBSD C library.
8529
8530Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8531
8532 * libc/stdio/vfprintf.c: Replaced with implementation from
8533 NetBSD C library (which is derived from the 4.4BSD C library).
8534 * libc/stdio/cvt.c: Removed.
8535 * libc/stdio/Makefile: Updated.
8536
8537Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
8538
8539 * libc/sys/win32/syscalls.c (rename): New.
8540 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
8541
8542Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
8543
8544 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
8545 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
8546
8547 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
8548 (setjmp.o): Delete rule to build setjmp.o.
8549 * libc/sys/sh/setjmp.S: Delete file.
8550
8551Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8552
8553 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
8554 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
8555 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
8556 pow5mult and s2b to identifiers with leading underscores.
8557 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
8558 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
8559
8560Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
8561
8562 * libc/sys/posix/popen.c (sys/types.h): Include.
8563
8564Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
8565
8566 * libc/sys/win32/syscalls.h (fhandler): New struct.
8567 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
8568 (__fhandler_normal): Declare.
8569 (hinfo): New member op_handlers.
8570 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
8571 (__write): Likewise.
8572 (_read, _write, _open, _close, _lseek): Validate fd here.
8573 Move file type specific stuff to foo_normal.
8574 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
8575 New functions.
8576 (__lookup_fhandler): New function.
8577 (__lookup_fhandler_hook, __fhandler_normal): New variables.
8578
8579 From anders.blomdell@control.lth.se (Anders Blomdell)
8580 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
8581 Don't touch standard handles.
8582 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
8583 (_execve): Only create __FD_TABLE__ if necessary.
8584 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
8585
8586Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
8587
8588 * libc/sys/win32/sys/termios.h (FLUSHO): New.
8589 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
8590 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
8591 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
8592 without a handler is received.
8593 * libc/sys/win32/Makefile.in: Remove --nodelete.
8594 * libc/sys/win32/resouce.c (gettimeofday): New.
8595 * libc/sys/win32/syscalls.c (path_to_real_path): New.
8596 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
8597
8598Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
8599
8600 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
8601 Don't append "/*" to search pattern if trailing '/' already there,
8602 append "*".
8603 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
8604 like /'s, convert them to \'s. Handle //<drive>/ path names.
8605 Add space for quoted \'s in arg string. Print translated prog name
8606 and original prog name.
8607 (_execve): Handle parent doing exec a teensy bit better.
8608 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
8609 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
8610 path needs conversion, handle both cases. Delete `const' from result.
8611 (hash_path_name): New function.
8612 (_open): Call it.
8613 (_stat): Likewise. Fill in more fields for directories.
8614 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
8615 (wait_for_any): Fix trace message.
8616 (waitpid): Explicitly test for intpid == 0.
8617
8618 From anders.blomdell@control.lth.se (Anders Blomdell)
8619 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
8620 so `next' is valid.
8621
8622Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
8623
8624 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
8625 complicated.
8626
8627Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8628
8629 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
8630 at all, not just == 1.
8631 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
8632
8633Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8634
8635 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
8636 * libc/sys/win32/include/wintypes.h: include <winnt.h>
8637 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
8638 file.
8639
8640Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
8641
8642 * libc/sys/syscalls.c (getcwd): Fix off by one error.
8643
8644 * libc/sys/signal.c (sleep): Fill it in.
8645 * libc/sys/termios.c (tcflush): Use PurgeComm
8646 (tcsetattr): Set some more of the bits.
8647 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
8648
8649Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
8650
8651 * libc/sys/arm/crt0.S (fp): Initialize to 0.
8652 Conditionally include .idata$3 stuff ifdef __pe__.
8653
8654Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
8655
8656 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
8657 * libc/sys/win32/pipe.c (pipe): Ditto.
8658 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
8659 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
8660 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
8661 (tcgetattr): Contents are new.
8662 * libc/sys/win32/include/winkernel.h (DCB): New.
8663 (GetCommState, SetCommState): New.
8664
8665Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
8666
8667 * libc/sys/arm/crt0.S (_start): Define.
8668
8669Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
8670
8671 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
8672 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
8673
8674 * libc/sys/win32/sysconf.c: New
8675 * libc/sys/win32/sys/winadvapi.h: New
8676 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
8677 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
8678 * libc/sys/win32/pipe.c (pipe): Ditto.
8679 * libc/sys/win32/signal.c (_raise): New.
8680 (_kill): Moved from spawn.c
8681 * libc/sys/win32/spawn.c (kill): Moved to signal.c
8682 * libc/sys/win32/syscalls.c (__read): Use new fields.
8683 (_open): Ditto.
8684 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
8685 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
8686 * libc/include/sys/unistd.h (rmdir): Takes const path.
8687 * libc/include/sys/stat.h (mkdir): Takes const path.
8688 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
8689
8690Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
8691
8692 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
8693
8694 Add support for specifying paths as //<drive>/foo/bar.
8695 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
8696 (__path_to_real_path): Declare.
8697 (PATH_TO_REAL_PATH): New macro.
8698 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
8699 (__path_needs_conversion_p, __path_to_real_path): New functions.
8700 (_open): Fix test for error return from CreateFileA.
8701 Handle new path syntax.
8702 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
8703 * libc/sys/win32/dirsearch.c (opendir): Likewise.
8704
8705Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
8706
8707 * libc/sys/win32/include/*.h: Reorganized
8708 * libc/sys/win32/include/WINREADME: New.
8709 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
8710 * libc/sys/win32/*.c: Fix for new include scheme.
8711 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
8712 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
8713 * libc/sys/win32/passwd.c (*): Fix.
8714 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
8715 (_stat): Get directory owner and permissions right.
8716 * libc/sys/win32/syscalls.h (uinfo): New.
8717 * libc/sys/win32/version.def: Remove leading underscores.
8718
8719Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8720
8721 * libc/sys/win32/key.c: include "include/wincon.h".
8722
8723Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
8724
8725 * libc/sys/win32/{key, stubs}.c: New.
8726 * libc/sys/win32/Makefile: Adjust to cope.
8727 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
8728 (environ_init): Change env names to upper case.
8729 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
8730 * libc/sys/win32/passwd.c (*): Fill in the functions.
8731 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
8732 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
8733 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
8734 (_open): Initialze hmap->execable_p too.
8735 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
8736 (_fstat): Fill in permissions.
8737 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
8738
8739Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
8740
8741 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
8742 if defined.
8743 (cfg-ml-pos.in invocation): Likewise.
8744
8745Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8746
8747 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
8748 s_isnan.o and sf_isnan.o.
8749
8750Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
8751
8752 * All Makefile.in files: added maintainer-clean target as a
8753 synonym for realclean.
8754
8755Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
8756
8757 * libc/include/machine/setjmp.h: Add hppa support.
8758 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
8759 support.
8760 * libc/machine/hppa/Makefile.in: Related changes.
8761
8762Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
8763
8764 * configure.in (machine_dir): Don't set for v810-*-*.
8765
8766Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8767
8768 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
8769 conventions correctly.
8770
8771Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
8772
8773 * libc/stdio/puts.c: Update documentation of return value to match
8774 ANSI standard.
8775
8776Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
8777
8778 Fix file descriptor inheritance.
8779 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
8780 (NOT_OPEN_FD): Fix.
8781 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
8782 close-on-exec flag not set. Initialize child's entire fd table.
8783 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
8784 CHILD_P.
8785 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
8786 if CHILD_P. Initialize entire hmap entry.
8787 (dup): Only create new handle as inheritable if CHILD_P.
8788 (dup2): Likewise. Properly initialize hmap entry.
8789
8790 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
8791 _spawn.
8792 (_exit): Use CHILD_P.
8793 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
8794 (_stat): Likewise.
8795
8796Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8797
8798 * libc/sys/win32/crt0.c (passover): fix up the state table.
8799 * libc/posix/popen.c: Added.
8800 * libc/posix/Makefile.in: compile popen.c.
8801
8802Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
8803
8804 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
8805 h8/500 define _DOUBLE_IS_32BITS.
8806
8807Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
8808
8809 Get vfork/exec/spawn/cwait/wait working again.
8810 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
8811 (procinfo): New member vfork_level.
8812 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
8813 (vfork_init_first): Use GetCurrentProcessId to get pid.
8814 Initialize vfork_level.
8815 (vfork_init): Delete __PID__.
8816 (environ_init): New function. Undo patch of Aug 19, Posix says
8817 environment variables are case sensitive.
8818 (mainCRTStartup): Call it.
8819 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
8820 (my_longjump: Make static.
8821 (_spawn): New argument `h'. Delete setting of __PID__.
8822 Delete local `idx'. Look for chars that need quotes, rather than
8823 ones that don't. Set handle of created process in `h'.
8824 Result is process id if created task.
8825 (allocate_spawn_entry): New function.
8826 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
8827 (_execve): Set __FD_TABLE__ before spawning child.
8828 Scan our fd table when passing fds, not our parent's.
8829 Store handle and pid in procinfo entry.
8830 (vfork0): Ensure strace message always printed.
8831 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
8832 (vfork): Don't clobber result of vfork0.
8833 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
8834 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
8835
8836 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
8837 and `exit_code'.
8838 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
8839 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
8840 adding vfork level to pseudo-pid.
8841 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
8842 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
8843 (_exit): If child, set exit code.
8844 (__vfork_record_death): Only close process handle if valid.
8845 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
8846 didn't exec.
8847 (wait_for_any): Likewise. Start scan after root entry.
8848
8849Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8850
8851 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
8852 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
8853 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
8854 of actual file length.
8855
8856 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
8857 * libc/include/paths.h: _PATH_BSHELL added.
8858 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
8859 and STDERR_FILENO.
8860
8861Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8862
8863 * libc/include/ar.h: Added.
8864 * libc/include/sys/types.h: ino_t goes back to 32-bits.
8865 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
8866 * libc/sys/win32/syscalls.c (_open): compute .namehash based
8867 on filename.
8868 (_fstat): use .namehash for inode number of the fd.
8869
8870Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
8871
8872 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
8873 Change hinfo to __this_procinfo.
8874 * libc/sys/win32/crt0.c: Remove procinfo_list.
8875
8876Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8877
8878 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
8879 win32 environment.
8880
8881Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8882
8883 * libc/sys/win32/include/grp.h: Removed.
8884 * libc/sys/include/grp.h: Added.
8885 * libc/sys/win32/grp.c: Include <grp.h>.
8886
8887Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
8888
8889 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
8890 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
8891 Defined for all but strict ANSI.
8892 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
8893 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
8894 * libc/signal/signal.c (_signal_r): Changed from using
8895 _MAX_SIGNALS to NSIG.
8896 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
8897 __hmap): Deleted.
8898 (__strace, __vfork_next_pid): New.
8899 (__exe_suffix): Default to 1.
8900 (passover, table): Understand quoted arguments.
8901 (vfork_init_first): New.
8902 (vfork_init): Initialize new process structure.
8903 (mainCRTStartup): Pass environ to main.
8904 * exceptions.c (__sig_mask): New
8905 (ehandler3): Ignore signals in mask.
8906 (really_exit): Remove CHILD_P test.
8907 * pipe.c (pipe, dup, dup2): Use new process and file structure.
8908 * resource.c (getrusage): Ditto.
8909 * signal.c (sigprocmask): New.
8910 * spawn.c (*): Rewritten.
8911 * syscalls.c (*): Use new process and file structure.
8912 (find_unused_handle): New.
8913 * syscalls.h (MAX_HANDLES): Deleted.
8914 (hinfo): Removed child_created_p.
8915 (MAX_CHILDREN): Deleted.
8916 (vfork_jmp_info, procinfo): New.
8917 * wait.c (*): Mostly new.
8918 * sys/strace.h (_STRACE_PARANOID): New.
8919 * sys/param.h: New file.
8920
8921Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8922
8923 * libc/include/sys/stat.h: add S_BLKSIZE.
8924 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
8925 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
8926 types under win32.
8927 (mode_t): add a #else to avoid multiple definitons.
8928
8929 * libc/sys/win32/Makefile.in: add grp.c.
8930 * libc/sys/win32/grp.c: include grp.h correctly.
8931 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
8932 of the st structure with real information.
8933 * libc/sys/win32 (dirent): d_ino is of type ino_t.
8934
8935Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
8936
8937 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
8938 and (maybe) sparc64.
8939 (nlink_t): Provide typedef.
8940
8941Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8942
8943 * libc/sys/win32/grp.c: New file.
8944 * libc/sys/win32/include/grp.h: New file.
8945
8946Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8947
8948 * libc/include/machine/ieeefp.h: Added whitespace to make this
8949 file easier to maintain.
8950 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
8951 depending on the value of __LITTLE_ENDIAN__.
8952 On the sh3e, define _DOUBLE_IS_32BITS.
8953
8954Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
8955
8956 * libc/sys/vr4300/syscalls.c: Added missing support
8957 routines. _raise() and getpid().
8958
8959Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
8960
8961 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
8962
8963Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
8964
8965 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
8966 and VR4300 processor.
8967 * libc/sys/vr4300: Add directory.
8968 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
8969 monitor run-time support.
8970
8971Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8972
8973 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
8974 * libc/stdlib/stdlib.tex: Don't include atol.def.
8975
8976Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8977
8978 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
8979
8980Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
8981
8982 * libc/ctype/Makefile.in: Fill in _to* dependencies.
8983
8984Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
8985
8986 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
8987 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
8988 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
8989 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
8990 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
8991
8992Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
8993
8994 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
8995
8996Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8997
8998 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
8999 * libc/stdlib/atoff.c: New file.
9000 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
9001 * libc/stdlib/atoi.c (atol): Removed.
9002 * libc/stdlib/atol.c: Removed duplicate documentation.
9003
9004 * libc/include/ctype.h (_tolower, _toupper): Moved inside
9005 #ifndef _STRICT_ANSI conditional.
9006 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
9007 * libc/ctype/_tolower.c: New file.
9008 * libc/ctype/_toupper.c: New file.
9009 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
9010 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
9011 * libc/ctype/toascii.c (_toascii): Removed.
9012
9013Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
9014
9015 * libc/sys/sparc64/sys/types.h: Deleted.
9016
9017Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9018
9019 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
9020 and recognize Windows_95 systems.
9021
9022Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9023
9024 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
9025 and passed fds should be opened in text mode.
9026
9027Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
9028
9029 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
9030 in __hmap, set to binary mode by default.
9031
9032Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9033
9034 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
9035 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
9036 vector 34.
9037
9038Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
9039
9040 * Makefile.in (install): Install all libraries found in the
9041 top level. If there's a sys/<type>/include directory,
9042 install those headers into include.
9043
9044 * libc/sys/win32/kernel.def351: Delete
9045 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
9046 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
9047 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
9048 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
9049 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
9050 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
9051 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
9052 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
9053
9054 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
9055 * libc/sys/win32/crt0.c: Force all env names to upper case.
9056 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
9057 * libc/sys/win32/*.c: Headers have moved.
9058 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
9059 __vfork_child_idx is now __vfork_child_ptr.
9060
9061 * posix/execvp (execvp): Don't crash if no PATH envname.
9062
9063Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9064
9065 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
9066 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
9067 through the _freelist instead of through the _reclaim list.
9068 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
9069 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
9070 sources.
9071
9072Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9073
9074 * libc/machine/h8500/setjmp.S: New file.
9075 * libc/include/machine/setjmp.h: Updated for H8/500.
9076
9077Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
9078
9079 * libc/sys/win32/syscalls.c (_open): More stracing.
9080 (_stat): Open the file in O_BINARY.
9081
9082Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9083
9084 * libc/machine/h8300/setjmp.S: New file.
9085 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
9086
9087Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
9088
9089 * libc/sys/win32/crt0.c (__exe_suffix): New global.
9090 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
9091 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
9092 __exe_suffix. Free fd_tab after setting env variable.
9093 (spawnv,_execve): Update.
9094 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
9095 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
9096 (__small_vfprintf): New function.
9097 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
9098 * libc/sys/win32/wait.c (cwait): Validate argument.
9099
9100 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
9101 (process_deletion_queue): Likewise.
9102
9103 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
9104
9105Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
9106
9107 * libc/sys/win32: Copyrights and gratuitous indenting.
9108
9109Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
9110
9111 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
9112 (process_deletion_queue): Likewise.
9113 (__close_all_files): New function.
9114 (_close): Only queue file deletion if really a file.
9115 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
9116 _P_APPEND_EXE.
9117 (_exit): Call __close_all_files.
9118
9119 * libc/stdlib/system.c: #include <errno.h>.
9120 (_system_r): Fix results in -DNO_EXEC case.
9121
9122 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
9123 Reorganize structure.
9124 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
9125 if argument is valid. Save directory name in DIR. malloc space
9126 for dirent struct separately.
9127 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
9128
9129 * libc/include/errno.h (ENAMETOOLONG): Define.
9130 * libc/string/strerror.c (strerror): Reword ENFILE.
9131 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
9132
9133Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
9134
9135 * libc/sys/win32/crt0.c (__progname): New global.
9136 (mainCRTStartup): Support strace=bitmask,filename.
9137 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
9138 * libc/sys/win32/syscalls.c (_write): Print parent trace message
9139 if error.
9140 (getcwd): Handle len too small. Convert '\\' to '/'.
9141 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
9142 Add prototypes for open, creat, fcntl.
9143 (O_APPEND): Change value to conform to Microsoft's value.
9144 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
9145
9146 * libc/stdlib/getopt.c: New file.
9147 * libc/stdlib/Makefile.in: Build it.
9148
9149Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
9150
9151 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
9152 Fix scanning of $PATH.
9153 * libc/posix/exec*.c: Call _execve, not execve.
9154 * libc/posix/execve.c: New file.
9155 * libc/posix/Makefile.in (OFILES): Add execve.o.
9156
9157 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
9158 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
9159 (_STRACE): If level==0, always print. Handle new bit mask scheme.
9160 * libc/sys/win32/crt0.c: Update _STRACE calls.
9161 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
9162
9163 * libc/sys/win32/smallprint.c (rn): Fix digit list.
9164
9165 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
9166 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
9167 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
9168 Print __seterrno trace message first.
9169 (_execve): Renamed from execve.
9170 (vfork): Update __strace usage.
9171 (__vfork_child_pid): Deleted.
9172 (__vfork_children, __vfork_child_idx): New globals.
9173 (_spawnvp): New function.
9174 (spawnvp, spawnv, _execve): Call _spawnvp.
9175 (init_child): Record child in __vfork_children.
9176 (__vfork_get_entry, __vfork_record_death): New functions.
9177 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
9178 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
9179 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
9180 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
9181 (children): New typedef.
9182 (__vfork_children,__vfork_child_idx): Declare.
9183 (__vfork_get_entry,__vfork_record_death): Declare.
9184 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
9185 (waitpid): Handle pid == -1.
9186 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
9187 * configure.in (i386-win32): Add -DNO_FORK.
9188 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
9189 * libc/reent/execr.c (_fork_r): Likewise.
9190 * libc/stdlib/system.c (do_system): New function.
9191 If WIN32, try to get shell path from $SH_PATH, use vfork.
9192 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
9193 otherwise return 0.
9194
9195Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
9196
9197 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
9198 * libc/sys/win32/fcntl.h: Don't include self.
9199 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
9200 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
9201 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
9202 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
9203 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
9204 Correct prototypes.
9205 * libc/sys/win32/strace.c: New file.
9206 * libc/sys/win32/smallprint.c: New file.
9207 * libc/sys/win32/crt0.c (func): Delete.
9208 (mainCRTStartup): Fix alloca usage. Set handles explictly.
9209 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
9210 * libc/sys/win32/exceptions.c: Lint.
9211 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
9212 Clean up handle usage.
9213 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
9214 (open.c): Default file type is text.
9215 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
9216 * libc/sys/win32/advapi32.def: New
9217
9218Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
9219
9220 * configure.in (posix_dir, libc_posix_lib): New variables.
9221 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
9222 (i[345]86-*-win32): Define posix_dir.
9223 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
9224 (if unix_dir): Fix typo.
9225 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
9226 scandir,seekdir,telldir}: New files.
9227 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
9228 from libc/unix.
9229 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
9230 (SUBDIRS): Add posix.
9231 (SUBLIBS): Add $(LIBC_POSIX_LIB).
9232
9233 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
9234 (NSIG): Increase to 21.
9235 * libc/include/sys/unistd.h (pid_t): Move from here,
9236 * libc/include/sys/types.h (pid_t): to here.
9237
9238 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
9239 (__ptrace): Delete.
9240 (hinfo): New members close_exec_p, child_created_p.
9241 (struct exception_list): Define.
9242 (__hmap): Redefine as pointer to table.
9243 (__parent_hmap, __child_hmap): New globals.
9244 (__set_errno, __really_exit): Declare.
9245 (__vfork_child_pid): Declare.
9246 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
9247 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
9248 (__parent_hmap, __child_hmap): New globals.
9249 (__hmap): Redefine as pointer to active map.
9250 (__get_console): New function.
9251 (mainCRTStartup): Change leading '=' in environ vars to '!'.
9252 (env __FD_TABLE__): Watch for this and initialize our fd/handle
9253 mapping table from it if defined.
9254 (argv, envp): Dump if __strace >= 4.
9255 (main): Call here.
9256 * libc/sys/win32/exceptions.c (myp): Redefine.
9257 (__syscalls_b): Delete.
9258 (__stack_trace): New function.
9259 (ehandler3): Update to use _STRACE. Print stack trace.
9260 Call __really_exit instead of exit.
9261 (init_exceptions): Delete args argc,argv. New arg mine.
9262 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
9263 FindFirstFileA, FindNextFileA, GetComputerNameA,
9264 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
9265 * libc/sys/win32/signal.c (signal): Validate arg.
9266 (alarm, sleep): Define as stubs for now.
9267 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
9268 (__syscalls_b, errno): Delete.
9269 (__vfork_child_pid, __vfork_jmp_buf): New globals.
9270 (__seterrno): Handle more errors.
9271 (__sys_printf): Renamed from _ptrace.
9272 (__really_exit): New function.
9273 (queue_file_deletion, process_deletion_queue): New functions.
9274 (__resume_parent): New function.
9275 (_unlink): Handle trying to delete open file.
9276 (__totime_t): Renamed from totime_t.
9277 (setsid, __read, __write): New functions.
9278 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
9279 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
9280 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
9281 * libc/sys/win32/console.c: Update to new definition of __hmap.
9282 * libc/sys/win32/Makefile.in: Build new files.
9283 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
9284 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
9285 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
9286 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
9287
9288Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
9289
9290 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
9291
9292Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9293
9294 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
9295 have been made to the master dtoa.c sources (from netlib.att.com)
9296 since they were integrated into newlib in early 1992. Fixes
9297 problems with storage leaks and handling of numbers with very
9298 negative exponents.
9299
9300Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9301
9302 * Makefile.in (all): set rootpre and srcrootpre before calling
9303 sub-makes.
9304
9305Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
9306
9307 * libc/sys/win32/crt0.c: Change __hmap usage.
9308 * libc/sys/win32/exceptions.c: Use _ptrace call.
9309 * libc/sys/win32/syscalls.c: Use _ptrace call.
9310 (read, write): Cope with DOS style CRLF when in TEXT mode.
9311 * libc/sys/win32/syscalls.h: Declare hinfo struct.
9312 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
9313 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
9314 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
9315 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
9316
9317Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9318
9319 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
9320
9321 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
9322 wrappers for hypot() and remainder() for BSD libm compatibility.
9323 These are public domain implementations written by me for the
9324 NetBSD libm some time ago. Note cabs() is required by ucbtest.
9325 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
9326 (fobj): Added wf_cabs.o and wf_drem.o.
9327
9328Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9329
9330 * libc/sys/h8500hms/misc.c: New file.
9331 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
9332
9333Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9334
9335 * libc/time/localtime.c (localtime): Fix problem with leap year
9336 handling. Stole algorithm from Arthur David Olson's tz code.
9337
9338Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
9339
9340 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
9341
9342 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
9343 (_exit): Use argument.
9344
9345Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
9346
9347 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
9348
9349Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
9350
9351 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
9352
9353Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9354
9355 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
9356 target_cflags.
9357
9358Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
9359
9360 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
9361 ptrace with case insensitivity
9362 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
9363 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
9364 New files.
9365
9366Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
9367
9368 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
9369 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
9370 (all, install, *clean): Use new multilib support.
9371 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
9372
9373Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
9374
9375 * libc/include/sys/signal.h (__WIN32__): New.
9376
9377 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
9378
9379 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
9380 (ulp, b2d): Handle 32 bit doubles.
9381 * libc/stdlib/mprec.h: Handle 32 bit doubles.
9382 * libc/stdlib/strtod.c (_strtod_r): Ditto.
9383
9384Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
9385
9386 from medp@primag.co.uk:
9387 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
9388 dynamically allocated buffers.
9389
9390Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
9391
9392 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
9393 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
9394
9395Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
9396
9397 * configure.in (powerpc): Fix previous fix.
9398
9399Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
9400
9401 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
9402 directories for this target.
9403
9404Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
9405
9406 * configure.in (hppa): Add machine_dir definition.
9407 * libc/machine/hppa: New directory with PA specific implementations
9408 of the basic memory/string functions.
9409
9410Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
9411
9412 * configure.in: Update current PowerPC multilib directories.
9413 Split big and little endian configurations.
9414
9415Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
9416
9417 * configure.in: Add --enable-single-float option to configure to
9418 control use of MIPS single-float directories. Default to yes.
9419
9420 * Makefile.in (all): Don't recurse into multilib directory if it
9421 does not exist.
9422
9423Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9424
9425 * libc/sys/sh/syscalls.c: Fix typo.
9426
9427Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
9428
9429 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
9430 Pass down DLLTOOL.
9431 * libc/include/process.h: Define WAIT_CHILD.
9432 * libc/include/types.h: Get sizes right for win32.
9433 * configure.in (i386-*-pe): Becomes i386-win32.
9434 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
9435 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
9436 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
9437 is defined.
9438
9439Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
9440
9441 * configure.in (i[345]86-*-pe): New target (NT).
9442 * host/any: DLLTOOL new.
9443 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
9444 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
9445 WIN32 (just enough to cross host the comp-tools).
9446
9447Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
9448
9449 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
9450 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
9451
9452Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
9453
9454 * libc/include/machine/ieeefp.h (arm): Change to always be
9455 __IEEE_BIG_ENDIAN (even on little endian ARM's).
9456
9457Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
9458
9459 * libc/sys/crt0.S: Initialze sp, and call exit after main.
9460 * libc/sys/syscalls.c (abort): New.
9461 * configure.in (arm): Define ABORT_PROVIDED.
9462
9463Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9464
9465 * configure.in (powerpc): Define multidirs.
9466
9467Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
9468
9469 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
9470
9471Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
9472
9473 * configure.in (sparclite): Delete target_cflags. Define multidirs.
9474
9475Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
9476
9477 * configure.in, libc/include/machine/ieeefp.h: Modified
9478 for arm:
9479 libc/machine/arm/*, libc/sys/arm/*: New
9480
9481Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9482
9483 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
9484 __powerpc__ when determining endianness.
9485
9486Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9487
9488 * configure.in (m68*): Add multidir for the m68332.
9489
9490 * host/any (CC): Fix typo in last change.
9491
9492Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
9493
9494 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
9495 when determining endianness.
9496 * libc/include/machine/ieeefp.h: Ditto.
9497 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
9498 operands.
9499
9500Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
9501
9502 * libc/include/errno.h (ENOTEMPTY): Define.
9503
9504Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9505
9506 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
9507 target_cflags.
9508
9509 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
9510 and umultiply.o.
9511
9512 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
9513 instead of only when open succeeds. ANSI requires that multiple
9514 calls to tmpnam() result in different files.
9515
9516 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
9517 objects pulled in from /lib/libc.a that must be renamed before
9518 being pulled into newlib. /lib/libc.a's div.o conflicted with
9519 newlib's file with the same name.
9520
9521 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
9522
9523 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
9524 the build tree will only be used if the executables are present
9525 (instead of just the Makefiles).
9526
9527 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
9528 wcstombs): Define.
9529 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
9530 versions of these functions that I orignally wrote for the
9531 NetBSD C library.
9532 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
9533 versions I wrote for NetBSD.
9534
9535Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
9536
9537 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
9538 * libc/sys/sparclite/crt0.s: ditto.
9539
9540Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
9541
9542 * configure.in: Add soft-float for proelf.
9543
9544Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
9545
9546 * libc/stdlib/mprec.h (Bcopy): Copy the right number
9547 of bytes.
9548
9549Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
9550
9551 * Makefile.in (all): Depend on `force'.
9552 * configure.in (syscall_dir): Renamed from fake_sys_dir.
9553 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
9554 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
9555 * libc/Makefile.in: Likewise.
9556 * libc/include/reent.h: Update syscall references.
9557 (_fcntl_r): Add prototype.
9558 * libc/syscalls/*.c #include <reent.h>.
9559 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
9560
9561Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
9562
9563 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
9564 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
9565 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
9566 (time.h, sys/types.h): Always include (even if MSDOS).
9567 (stat): Fix prototype.
9568
9569Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
9570
9571 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
9572
9573Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
9574
9575 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
9576
9577Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
9578
9579 * libc/include/regdef.h: New file.
9580 * libc/machine/mips/machine/regdef.h: New file.
9581
9582Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
9583
9584 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
9585
9586Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
9587
9588 * libc/sys/sh/crt0.S: Pass main's return to exit.
9589 * libc/sys/sh/trap.S: Put errno in the right place.
9590
9591Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
9592
9593 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
9594 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
9595 * libm/math/ef_rem_pio2.c: Likewise.
9596 * libm/math/e_log10.c: Remove unused static one.
9597 * libm/math/ef_log10.c: Likewise.
9598 * libm/math/s_frexp.c: Likewise.
9599 * libm/math/sf_frexp.c: Likewise.
9600
9601Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
9602
9603 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
9604 longjmp.S: Upgraded.
9605 * libc/sys/go32/sys/setjmp.h: Upgraded.
9606 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
9607
9608Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
9609
9610 * configure.in: Add many entries to multidirs for mips targets.
9611
9612Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9613
9614 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
9615 5.2 which fixes bug where jn(-1,x) is three times larger than
9616 the actual answer.
9617 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
9618
9619Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
9620
9621 * libc/sys/w65/sys/syscalls.h: New file
9622 * libc/include/machine/ieeefp.h: W65 support.
9623 * libc/include/sys/config.h: Ditto.
9624 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
9625 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
9626 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
9627
9628Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
9629
9630 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
9631
9632Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
9633
9634 * Makefile.in, configure.in: Remove any references to the old
9635 "stub" dir.
9636
9637Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
9638
9639 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
9640 uses ... in prototype.
9641
9642
9643Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
9644
9645 * libc/sys/a29khif/sys/libconfig.h: Remove.
9646 * libc/sys/go32/sys/libconfig.h: Remove.
9647 * libc/sys/sun4/sys/libconfig.h: Remove.
9648 * libc/sys/sysvi386/sys/libconfig.h: Remove.
9649 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
9650 * libc/sys/sparc64/sys/libconfig.h: Remove.
9651
9652 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
9653 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
9654 * libc/include/math.h: Change all uses of _FLOAT_RET and
9655 _FLOAT_ARG to float.
9656 * libm/test/math.c: Likewise.
9657 * testsuite/libm.sac/math.c: Likewise.
9658 * testsuite/libm.sac/working/math.c: Likewise.
9659
9660Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
9661
9662 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
9663 gcc calls gas with endian option.
9664 * configure.in (sh): Build little endian version too.
9665
9666Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
9667
9668 * configure.in: Configure big and little endian versions for MIPS
9669 targets.
9670
9671Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
9672
9673 * libc/include/limits.h: Deleted.
9674 * libc/include/machine/limits.h: Deleted.
9675
9676Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
9677
9678 * ChangeLog: Remove stub directory. This has all been rewritten
9679 and moved to devo/libgloss.
9680
9681Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
9682
9683 * Makefile.in (dvi): Add to info target, use $@ in sub make.
9684 (docs): Merge into info target.
9685 * libm/Makefile.in (dvi): Add $(srcdir).
9686 * libm/math/Makefile.in (chobjs): Remove underscores from file
9687 names. Texinfo doesn't like them.
9688 (wacos.def, ...): Add explicit targets for all .def files.
9689 * libm/math/math.tex: Remove underscores from @include file names.
9690 * doc/Makefile.in (dvi): Add dummy target.
9691 * testsuite/Makefile.in (dvi): Add dummy target.
9692
9693Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
9694
9695 * Makefile.in (VERSION): Define. For net newlib releases.
9696
9697Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
9698
9699 * README: New file.
9700
9701Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
9702
9703 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
9704
9705Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9706
9707 * libc/stdlib/setenv.c (_findenv): Declare.
9708
9709 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
9710 fcntl to not use _EXFUN, and change string parameters to open and
9711 creat to be ``const char *''.
9712 * libc/sys/sparc64/sys/fcntl.h: Likewise.
9713 * libc/sys/sparc64/creat.c (creat): Make PATH const.
9714 * libc/syscalls/sysopen.c: Include <fcntl.h>.
9715 (open) Make _FILE const.
9716 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
9717 (_creat): Make PATH const.
9718 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
9719 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
9720 * libc/sys/m88kbug/syscalls.c (open): Likewise.
9721 * libc/sys/sh/syscalls.c (_open): Likewise.
9722 * stub/shared/glue.c (open): Make BUF const.
9723 * stub/ex93x/syscalls.c (open): Make FILENAME const.
9724
9725Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
9726
9727 * libc/include/errno.h: Add ENMFILE
9728 * libc/include/sys/config.h: Support Z8000.
9729 * libc/include/sys/signal.h: New signals for go32.
9730 * libc/machine/h8500/psi.S (__addpsir0r0): New function
9731 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
9732 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
9733 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
9734 size is variable, depending upon CHUNK_POWER.
9735 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
9736
9737Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
9738
9739 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
9740
9741Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9742
9743 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
9744
9745Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9746
9747 * configure.in: Change i[34]86 to i[345]86.
9748
9749 * libc/include/math.h: Don't define HUGE_VAL if it is already
9750 defined.
9751
9752Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9753
9754 * testsuite/libm.sac/test_erfc.c: Correct some result values.
9755 * testsuite/libm.sac/test_gammaf.c: Likewise.
9756 * testsuite/libm.sac/test_sin.c: Likewise.
9757 * testsuite/libm.sac/test_tanh.c: Likewise.
9758
9759Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9760
9761 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
9762 already set. Define typedefs __int32_t and __uint32_t.
9763 * libc/include/math.h: Include <machine/ieeefp.h>.
9764 (union __dmath): Use __uint32_t.
9765 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
9766 instead of int and unsigned int.
9767
9768Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9769
9770 Replace the math library with the SunPRO fdlibm package.
9771 * libm/math: Completely changed all files.
9772 * libm/ieeefp: Remove contents and directory.
9773 * libm/Makefile.in (LIBM_FP_LIB): Remove.
9774 (SUBDIRS): Just set to math/lib.a.
9775 * libm/libm.texinfo: Updated for new library.
9776 * libc/include/math.h: Extensive changes for new math library.
9777 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
9778 from _FLOAT_ARG to float.
9779 (maxpowtwo, maxpowtwof): Don't declare.
9780 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
9781 (libm_fp_lib): Removed.
9782 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
9783 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
9784 argument to ${RUNTEST}.
9785 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
9786 (.c.o): New rule.
9787 (RUNTESTFLAGS): Set CC and CFLAGS.
9788 (TESTS): Remove test_log2 and test_log2f.
9789 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
9790 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
9791 _FLOAT_ARG, for single precision argument type.
9792 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
9793 expected failure. Close the input pipe.
9794 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
9795 Correct misspelling of inaccurate.
9796 (test_mok): Use ``inaccurate'', not ``wrong''.
9797 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
9798 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
9799 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
9800 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
9801 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
9802 test_yn.c): Correct many result values. Many are still wrong.
9803
9804 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
9805 just copy the string.
9806 (_gcvt): Always return the buffer.
9807
9808Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9809
9810 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
9811
9812Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
9813
9814 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
9815 structure.
9816 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
9817 (_reclaim_reent): declare new entry point.
9818 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
9819 functions.
9820
9821 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
9822 ever allocated, so that we can later reclaim them all.
9823 (pow5mult): make reentrant.
9824
9825 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
9826 so that when given NULL as a buffer, return a pointer to static
9827 space in the rent structure. This is not documented behaviour;
9828 it's only to support ecvt and fcvt, which aren't ANSI anyway.
9829 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
9830 therefore become reentrant).
9831
9832 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
9833
9834Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9835
9836 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
9837
9838Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9839
9840 * Makefile.in: Make link to libg.a after libc.a; this is needed
9841 for the testsuites to build executables when everything comes
9842 from the tree.
9843
9844Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
9845
9846 * libc/Makefile.in: Add a VERSION variable so we can keep track.
9847 * libm/Makefile.in: Add a VERSION variable so we can keep track.
9848
9849Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9850
9851 * libc/include/stdio.h: Use __VALIST, not va_list.
9852
9853Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
9854
9855 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
9856 testsuite/libm.sac/execute.exp:
9857 Replace error proc calls with perror calls.
9858
9859Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
9860
9861 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
9862 * libc/include/time.h: #define NULL as 0L.
9863
9864Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
9865
9866 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
9867 care of it.
9868
9869Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9870
9871 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
9872 not __unix__.
9873
9874Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
9875
9876 * configure.in (TARGET_CFLAGS): Set -O2 as default.
9877 (z8k-*-*): Use syscalls fake sys dir.
9878 * libc/sys/z8k/glue.c: Rename syscalls.
9879 * libc/sys/go32/Makefile.in: Use new routines.
9880 * libc/machine/Makefile.in: Fix typo in ln stuff.
9881
9882Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9883
9884 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
9885 * libc/Makefile.in (crt0.o): Likewise.
9886 * libc/machine/Makefile.in (lib.a): Likewise.
9887 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
9888
9889 All Makefile.in files: Added mostlyclean, realclean and distclean
9890 targets.
9891
9892 * Makefile.in: Don't bother to unexport XTRAFLAGS or
9893 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
9894 the top level Makefile.
9895
9896Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
9897
9898 * libc/sys/sparc64/sys/stat.h: New file.
9899 * libc/sys/sparc64/sys/time.h: New file.
9900 * libc/sys/sparc64/sys/types.h: New file.
9901
9902Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
9903
9904 * stub/ex93x/crt0.s (start): Add code to clear bss.
9905
9906Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
9907
9908 * libc/include/sys/types.h (time_t): Properly protect inside
9909 #ifndef __time_t_defined.
9910
9911 * libc/stdio/fileno.c: New file.
9912 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
9913 (fileno.o): Add dependency.
9914 * libc/include/stdio.h (__sgetc): Rename never to _never.
9915 (fileno macro): Disable, needs to do CHECK_INIT first.
9916
9917Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
9918
9919 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
9920 goal.
9921
9922 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
9923 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
9924 runtest.
9925 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
9926 runtest.
9927
9928Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
9929
9930 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
9931 of the various constants.
9932
9933Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
9934
9935 * libc/include/math.h: #ifndef __math_68881 around things which
9936 conflict with the (gcc-provided) inline functions in
9937 gcc/ginclude/math-68881.h.
9938
9939Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
9940
9941 * libc/include/_syslist.h (_gettimeofday): Define.
9942 (_times): Ditto.
9943 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
9944 (struct tms, timeval, timezone): Declare.
9945 (_gettimeofday_r, _times_r): Declare.
9946 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
9947 #ifdef _CLOCK_T_ surrounding definition of clock_t.
9948 (time_t): Add multiple definition protection, __time_t_defined.
9949 * libc/include/sys/time.h: Don't #include <time.h>.
9950 Always define struct timezone (remove #ifndef _TIME_H_).
9951 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
9952 #ifdef _CLOCK_T_ surrounding definition of clock_t.
9953 * libc/reent/Makefile.in (OFILES): Add timer.o.
9954 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
9955 * libc/reent/timer.c: New file.
9956 * libc/time/clock.c: #include <reent.h>.
9957 (clock): Call _times_r instead of times.
9958 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
9959 HAVE_GET_TIME_OF_DAY.
9960 Add comment regarding supporting OS routine(s) required (for docs).
9961 #include <reent.h>.
9962 (time): Call _gettimeofday_r instead of gettimeofday.
9963 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
9964 * libc/time/ctime.c: Ditto.
9965 * libc/time/strftime.c: Ditto.
9966 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
9967 (TEMPLATE_SFILES_R): Define here. Also define times.
9968 Add times_r.o/times.S dependence.
9969 (time2.c, junk.c): Deleted.
9970 * libc/sys/sparc64/time2.c: Deleted.
9971 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
9972
9973 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
9974 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
9975 * libc/sys/sparc64/junk.c: Deleted.
9976
9977Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
9978
9979 * libc/sys/sparc64/Makefile.in: Add times syscall.
9980 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
9981 be used with and without it. Add comment clarifying Medium/Anywhere
9982 model requirements.
9983 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
9984 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
9985 even if obsolete.
9986
9987Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
9988
9989 * configure.in (target_cflags): Move init.
9990 (sparc64-*-*): Define HAVE_BLKSIZE.
9991
9992Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
9993
9994 * libc/include/sys/_types.h: New file.
9995 * libc/include/reent.h: #include it.
9996 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
9997 MISSING_SYSCALL_NAMES.
9998 Sort syscalls.
9999 * libc/include/_syslist.h: Remove _raise.
10000 * libc/reent/signalr.c: New file.
10001 * libc/reent/Makefile.in: Compile it.
10002 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
10003 Add doc for raise and _raise_r.
10004 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
10005 (raise): Call _raise_r.
10006 (_raise_r): Call _getpid_r and _kill_r.
10007 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
10008 (abort): Loop forever calling raise and _exit.
10009
10010Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10011
10012 * configure.in: Remove extraneous echo.
10013
10014Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
10015
10016 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
10017 collision with unistd.h, and fix for svr4.
10018
10019Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
10020
10021 * libc/stdio/local.h (_llicvt): Declare.
10022 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
10023 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
10024 (_llicvt): Define.
10025 (_sicvt): Fix function header (`value' is short).
10026 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
10027 Add printing of long long's support.
10028 Add printing of 8 byte pointer support.
10029
10030Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
10031
10032 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
10033 stat, chmod): New hooks.
10034 (sbrk): Abort if stack and heap collide.
10035 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
10036 shortcut when given small args.
10037 * libc/machine/sh/setjmp.s: Rewritten.
10038 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
10039 of cmp/str instruction.
10040
10041Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10042
10043 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
10044 and machine_dir powerpc.
10045 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
10046 Add cases for __powerpc__.
10047 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
10048 New files.
10049
10050 * libc/include/stdio.h (_iprintf_r): Declare correctly.
10051
10052Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
10053
10054 * libc/stdlib/callocr.c: New file with _calloc_r in it.
10055 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
10056
10057Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
10058
10059 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
10060 (print_e): More comments to describe args, etc.
10061 "type" arg may now be 'g' or 'G' for %g/G format --> remove
10062 trailing blanks.
10063 (_gcvt): Remove locals decpt, sign, end, p, done.
10064 More comments for print_e invocation.
10065 Pass "type" to print_e as is (g/G).
10066
10067Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
10068
10069 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
10070 stock m68000.
10071
10072Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
10073
10074 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
10075 works with any sized pointer, including ones bigger than ints and
10076 longs.
10077
10078Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
10079
10080 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
10081
10082Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10083
10084 * libc/include/stdlib.h (_calloc_r): Add prototype.
10085 * libc/machine/h8500/negsi2.c: New file.
10086 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
10087 large unsigned numbers.
10088 * libc/machine/h8500/cmpsi.c: Add cmppsi.
10089 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
10090 works when sizeof(size_t) != sizeof(char *).
10091 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
10092 get play area
10093 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
10094
10095Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
10096
10097 * libc/include/assert.h (assert): Handle -traditional.
10098
10099Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
10100
10101 * Makefile.in: added ; after every "fi" and "done" that wasn't at
10102 the end of a line (ie. anything before a backslash continuation)
10103 so that bash handles them.
10104
10105Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
10106
10107 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
10108 stat to lstat
10109
10110Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
10111
10112 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
10113 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
10114 libc/machine/sh/udivsi3.s: Use new calling convention.
10115
10116Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
10117
10118 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
10119 chmod, access, chdir, chown by making _path const. Also fix _amode
10120 param of access.
10121
10122Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
10123
10124 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
10125 _khif_tmpnam, because it doesn't comply with ANSI but may be
10126 useful anyway. Real tmpnam was already in libc/stdio, and was
10127 colliding with this one (pr 2176.)
10128 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
10129 the wrong idea anyhow.
10130
10131Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
10132
10133 * configure.in: Remove h8300h, we have multilib now.
10134
10135Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
10136
10137 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
10138 functions, to get preference over the ones in libiberty (since we
10139 provide correct declarations in <string.h>.
10140 * libc/string/Makefile.in: add support for strncasecmp,
10141 strcasecmp.
10142
10143Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
10144
10145 * Change netware config not to look for cpu explicitly.
10146
10147Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
10148
10149 * libc/sys/sparc64/{creat.c,junk.c}: New files.
10150 * libc/sys/sparc64/Makefile.in: Add dependencies.
10151
10152Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
10153
10154 * configure.in: Clean up v9 a bit, new "os" aoutv8.
10155
10156Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
10157
10158 * libc/include/sys/reent.h: make structure smaller by allocating
10159 some stuff when needed.
10160 * libc/signal/signal.c: allocate as needed
10161 * libc/stdio/findfp.c,stdio/local.h: ditto
10162 * libc/stdlib/mprec.c: ditto
10163
10164 * libc/time/localtime.c: don't return a dangling stack ptr.
10165
10166Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
10167
10168 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
10169
10170Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10171
10172 * libc/include/stdio.h (__sputc): comment out static inline which
10173 confuses coff toolchains.
10174
10175Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
10176
10177 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
10178 _write.s, getpid.c, kill.c, read.s}:
10179 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
10180 through the syscalls directory.
10181
10182Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
10183
10184 * configure.in: fixed double quote gotcha.
10185
10186Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
10187
10188 * stub/ex931: stub library for sparclite board.
10189 * stub/idp: Renamed from mc68ec. Added contructor table
10190 stuff to linker script.
10191 * stub/mvme135: Renamed from m68kmvme. Added contructor table
10192 stuff to linker script.
10193
10194Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10195
10196 * configure.in: Configure testsuites only if they exist.
10197
10198Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10199
10200 * configure.in: Don't set machine_dir for i386 until there is
10201 something in libc/machine/i386 to compile. For i[34]86-*-netware*
10202 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
10203 CLOCK_PROVIDED and MALLOC_PROVIDED.
10204
10205 * libc/sys/netware: New directory. Contains simplistic and
10206 probably incorrect stubs for NetWare. Should be enough to load
10207 the library.
10208 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
10209 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
10210 stub files.
10211
10212 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
10213 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
10214 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
10215 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
10216
10217Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
10218
10219 * testsuite/Makefile.in: add "docs" dummy target for consistency
10220 with rest of newlib; turn "info" and "install-info" into dummy
10221 targets, since they wouldn't have worked. (Depended on
10222 nonexistent "doc" subdir.)
10223
10224Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
10225
10226 * configure.in: handle mips* instead of mips
10227
10228Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
10229
10230 * libc/include/sys/dirent.h: New file. If it is not overridden by
10231 a version of libc/sys/*/sys/dirent.h, it includes the next
10232 <dirent.h> file in case there is one lurking somewhere.
10233
10234Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10235
10236 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
10237 compliance, namely: Accept a minus sign. Consider a single 0 with
10238 a radix of 0 as being a conversion. Determine overflow correctly.
10239 If an overflow occurs, set *ptr to the end of the number, not the
10240 middle.
10241 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
10242
10243Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
10244
10245 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
10246
10247Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
10248
10249 * Makefile.in (INSTALL): Use $srcrootpre.
10250 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
10251 can't handle it.
10252 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
10253 it.
10254 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
10255 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
10256 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
10257 * libm/math/Makefile.in (matherr.o): Ditto.
10258
10259Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
10260
10261 * configure.in: Build multidirs for z8k.
10262 * libc/include/stdlib.h (_strtoul_r): add prototype.
10263 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
10264 * libc/include/machine/setjmp.h: Add for z8k.
10265 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
10266 * libc/sys/z8ksim/glue.c: tidy up.
10267
10268Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
10269
10270 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
10271 New files. Requires execve system call.
10272 * libc/unix/Makefile.in: Use them.
10273 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
10274 Deleted, moved to libc/unix.
10275 * libc/sys/sparc64/Makefile.in: Remove them.
10276
10277Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
10278
10279 * libc/sys/sparc64/{template.S template_r.S}: New files.
10280 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
10281 from templates.
10282 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
10283 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
10284 umask.S unlink.S wait4.S write.S}: Removed, now built from
10285 templates.
10286
10287Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
10288
10289 * libc/time/time.c: #include <_ansi.h>.
10290
10291Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
10292
10293 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
10294
10295Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10296
10297 * configure.in: match m8* rather than m88k so that m88110 is
10298 recognized as well.
10299
10300Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
10301
10302 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
10303 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
10304 misc.c: New file.
10305
10306 * configure.in: Add multilib support to h8300.
10307
10308Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
10309
10310 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
10311 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
10312 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
10313
10314Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10315
10316 * configure.in: Corrected multidirs for sparc target.
10317
10318Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10319
10320 Support for building newlib multiple times with different
10321 compilation flags.
10322 * configure.in: Only configure doc at top level. Set multidirs
10323 when appropriate for target, unless not at top level. If
10324 multidirs is set, independently configure each subdirectory.
10325 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
10326 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
10327 automagically set by configure.in.
10328 (all): If MULTIDIRS is set, build multiple copies of libraries.
10329 (install): If MULTIDIRS is set, install multiple copies of
10330 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
10331 MULTISUBDIR is set, don't bother to install header files.
10332 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
10333 ${srcrootpre}.
10334 * stub/configure.in: Set MULTISUBDIR appropriately.
10335 * stub/Makefile.in (install): Install in
10336 $(tooldir)/lib/$(MULTISUBDIR).
10337 * All Makefile.in files: Define SRCTOP as well as TOP.
10338
10339Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
10340
10341 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
10342 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
10343
10344Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
10345
10346 * libc/sys/h8300hms/exit.c (_exit): New function.
10347
10348Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10349
10350 * configure.in: recognize m88110.
10351
10352Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10353
10354 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
10355 prototype main and call with args.
10356
10357Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
10358
10359 First real try at system traps for m88k-bug.
10360 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
10361 to real trap calls.
10362 * libc/sys/m88kbug/sys/systraps.h: new file.
10363
10364Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10365
10366 Patches to fix info building when target does not use sys
10367 directory.
10368 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
10369 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
10370 libc/sys.tex.
10371 * libc/sys/Makefile.in (doc): do nothing.
10372
10373Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10374
10375 * libc/Makefile.in (CRT0): new macro.
10376 (all): depend on $(CRT0) rather than crt0.o.
10377
10378 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
10379 do not default crt0, instead, set crt0 and crt0_dir based on
10380 sys_dir and stub_dir.
10381
10382 * Makefile.in (CRT0_DIR): new macro.
10383 (all): depend on $(CRT0) rather than crt0.o which may not exist.
10384 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
10385 $(CRT0).
10386 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
10387
10388Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
10389
10390 * testsuite/lib/libm.exp:
10391 added code to support compiling and linking of tests for
10392 libm.sac (paranoia to be added next) and processing the
10393 pass or failure of the tests.
10394
10395 * testsuite/config/unix-libm.exp:
10396 platform specific proc's for dealing with compiler, linker
10397 and the way we execute and process the test results.
10398
10399 * testsuite/libm.sac/execute.exp:
10400 generic framework for the sac tests. the config and lib
10401 expect code for specific platforms tie it all together.
10402
10403 * testsuite/libm.sac/test_is.c:
10404 changed the output of the test to be consistant with the
10405 other tests. parsing of pass nad fail messages is now fixed.
10406
10407Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
10408
10409 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
10410 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
10411 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
10412 #ifdef __cplusplus, surround by extern ""C { ... }.
10413 * libc/include/assert.h: Do *not* protect assert.h against
10414 multiple inclusion! Also, #undef it before #define, to allow
10415 redefinition.
10416 * libc/include/stdio.h (getlogin, cuserid): Removed. These
10417 should be only in unistd.h.
10418
10419 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
10420 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
10421 ... }.
10422
10423Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
10424
10425 * libc/machine/sparc/Makefile.in: Must create a library, even
10426 if empty.
10427
10428Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10429
10430 * configure.in: set machine_dir for m88k. edit crt0 definition
10431 into makefiles.
10432
10433 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
10434
10435 * libc/Makefile.in (all): also build crt0.o.
10436
10437 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
10438 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
10439 to remove CRT0.
10440
10441 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
10442 (all): reworked to build in place.
10443 (clean): remove lib.a
10444 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
10445
10446 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
10447 (_start): key off edata rather than _start_bss.
10448
10449Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
10450
10451 * libc/include/sys/unistd.h, libc/include/reent.h,
10452 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
10453
10454Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10455
10456 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
10457
10458 * Makefile.in (libc.a): break into two rules, one for libc.a and
10459 one for libc/libc.a. Force subdirs current before rebuilding
10460 library.
10461 (libm.a): break into two rules, one for libm.a and one for
10462 libm/libm.a. Force subdirs current before rebuilding library.
10463
10464 * libc/Makefile.in (SUBLIBS): fix typo.
10465
10466 * libc/sys/Makefile.in (all): force descent into subdirs, then
10467 rebuild library iff out of of date.
10468
10469Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
10470
10471 Rework so that library is built and then finished rather than
10472 being built on each invocation of make.
10473
10474 * host/any (machine_dir, sys_dir, signal_dir): these are not
10475 shared and have been moved to their associated Makefile.in's.
10476 (AR_FLAGS): switch to qc which is faster.
10477 * configure.in: no longer assign machine_dir for m88k. set
10478 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
10479 stub_dir set, then add to configdirs. add comment about silly
10480 configuration.
10481 (configdirs): drop stub. It will be added only
10482 when needed.
10483 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
10484 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
10485 stub_lib, crt0): new variables for tailoring lower level
10486 makefiles. Assign accordingly and edit into makefiles.
10487 * libm/Makefile.in: updated copyright.
10488 (TARGETLIB): removed.
10489 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
10490 (SUBDIRS): removed TARGETDEP_DIRS.
10491 (LIBM_FP_LIB, SUBLIBS): new macros.
10492 (all): reworked.
10493 (force): new target to force rebuilds.
10494 (Makefile): call $(SHELL) rather than sh. drop redundant ./
10495 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
10496 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
10497 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
10498 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
10499 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
10500 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
10501 stub/m68kmvme/Makefile.in: updated copyright.
10502 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
10503 (all): reworked. made this the default rule.
10504 (clean): also remove lib.a.
10505 (Makefile): call $(SHELL) rather than sh. drop redundant ./
10506 * stub/Makefile.in: updated copyright.
10507 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
10508 (stub_lib): new macro.
10509 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
10510 RANLIB.
10511 (all): reworked.
10512 (clean, install): assume stub_dir exists.
10513 (Makefile): depend on configure.in. call $(SHELL) rather than
10514 sh. drop redundant ./
10515 * stub/configure.in (stublib): new macro, assign it, edit it into
10516 makefiles.
10517 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
10518 updated copyright.
10519 (all): reworked.
10520 (Makefile): call $(SHELL) rather than sh. drop redundant ./
10521 * libc/Makefile.in (TARGETCRT0): removed.
10522 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
10523 TARGETCRT0.
10524 (SUBDIRS): drop TARGETDEP_DIRS.
10525 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
10526 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
10527 (force): new target to force rebuilds.
10528 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
10529 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
10530 removed.
10531 (clean): assume sys_dir always exists.
10532 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
10533 drop redundant ./
10534 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
10535 libc/locale/Makefile.in, libc/machine/Makefile.in,
10536 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
10537 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
10538 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
10539 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
10540 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
10541 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
10542 libc/signal/Makefile.in, libc/stdio/Makefile.in,
10543 libc/stdlib/Makefile.in, libc/string/Makefile.in,
10544 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
10545 libc/time/Makefile.in, libc/unix/Makefile.in,
10546 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
10547 (TARGETLIB): removed.
10548 (all): reworked.
10549 (clean): also remove lib.a.
10550 (Makefile): call $(SHELL) rather than sh. drop redundant ./
10551 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
10552 new macros.
10553 (SUBDIRS): moved to follow frag inclusion, change stub to
10554 stub_dir.
10555 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
10556 are now set in the libc Makefile.
10557 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
10558 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
10559 TARGETCRT0.
10560 (force): new target to force rebuilds.
10561 * stub/configure.in: determine and set stub_lib for for Makefile.
10562
10563Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
10564
10565 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
10566 crt0.s renamed to crt0.S.
10567 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
10568
10569 * libc/machine/h8300/Makefile.in: Make `all' the default target.
10570 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
10571 h8300h.
10572 * libc/machine/h8300/defines.h: Add macros to handle pointers for
10573 h8300 (16 bits) and h8300h (32 bits).
10574 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
10575 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
10576
10577Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
10578
10579 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
10580 implementation of setjmp and longjmp for the m88k.
10581 * libc/include/machine/setjmp.h: Added __m88000__ case.
10582
10583Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
10584
10585 * configure.in: Recognize h8300h as variant of h8300.
10586
10587Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
10588
10589 * libc/include/sys/unistd.h (read, write): get prototypes right.
10590 (sbrk): New prototype.
10591 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
10592 * libc/stdio/local.h: Include unistd.h.
10593 * libc/machine/h8300/syscalls.c: Names have changed.
10594
10595Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
10596
10597 * configure.in: add sys_dir assignment for m88k-bug.
10598
10599Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
10600
10601 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
10602 a.out or elf.
10603 * libc/sys/sparc64: all *.S files: Use new macros.
10604 * libc/sys/sparc64/isatty.c: New file.
10605 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
10606 functions beyond what newlib provides.
10607
10608Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
10609
10610 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
10611 svr4.
10612
10613Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
10614
10615 * libc/include/machine/ieeefp.h: Add support for h8/300h.
10616
10617Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
10618
10619 * configure.in: add m88k.
10620 * libc/include/machine/ieeefp.h: add case for m88k. Also add
10621 sanity check so no one else need ever chase what I did to find
10622 this.
10623
10624 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
10625
10626Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
10627
10628 * doc/makedoc.c: Include <ctype.h>.
10629
10630Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
10631
10632 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
10633 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
10634 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
10635
10636 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
10637
10638Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
10639
10640 * libc/include/errno.h (ENOSYS): Added.
10641
10642 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
10643
10644Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
10645
10646 * libc/stdio/fflush.c (fflush): Check for reent struct
10647 initialization.
10648 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
10649
10650Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
10651
10652 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
10653 out of dtoa.c so it doesn't pollute the namespace.
10654 * libc/include/_syslist.h: new file -- mappings from _function to
10655 function, for systems where we can't win (by default, all of them,
10656 until we start updating system calls.)
10657 * libc/syscalls: new directory -- stubs for exporting _function
10658 names as unmodified function names.
10659 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
10660 _syslist.h on all platforms by default, but put hooks in for
10661 fake_sys_dir so we can include it when we've renamed the system
10662 calls.
10663 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
10664 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
10665 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
10666 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
10667 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
10668 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
10669 non ANSI functions to call _function.
10670
10671Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
10672
10673 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
10674 when base 16 is specified. Don't accept non-digits if radix > 10.
10675
10676Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
10677
10678 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
10679
10680Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
10681
10682 * libc/include/sys/stat.h: Surround text after #endif with
10683 comments.
10684
10685Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
10686
10687 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
10688 _malloc_r, _realloc_r, and free_r call the corresponding
10689 non-reentrant functions.
10690
10691 * libm/math/modf.c (modf): We now take the address of ipart, so
10692 don't make it a register variable.
10693
10694Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
10695
10696 * libm/math/*: Rename all xxx_r fns to _xxx_r.
10697
10698Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
10699
10700 * libc/libc.texinfo and embedded docn throughout: formatting
10701 improvements, minor rephrasing for clarity, and improved
10702 reentrancy docn.
10703
10704Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10705
10706 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
10707
10708 * libc/stdio/cvt.c (_licvt): Print the right value on machines
10709 where sizeof(int) != sizeof(long).
10710
10711Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
10712
10713 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
10714 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
10715 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
10716 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
10717 libm/math/matherr.c: changes for better docn formatting (info).
10718
10719 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
10720 libc/reent/reent.tex, libc/signal/signal.tex,
10721 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
10722 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
10723 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
10724 makeinfo node defaulting to get better Info file node structure.
10725 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
10726 Also include a few formerly missing sections (subroutines).
10727
10728 * doc/doc.str: delete fossil expansion for "func"
10729
10730 * default.menu, no-signal.menu: delete.
10731
10732 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
10733 method used to adjust doc for missing "signals" chapter when
10734 signal_dir is empty.
10735
10736Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
10737
10738 * configure.in: added testsuite/libm.sac
10739
10740Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
10741
10742 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
10743 code model).
10744
10745Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
10746
10747 * libm/Makefile.in: Use $(MAKE) rather than make, and define
10748 MAKEOVERRIDES to be empty.
10749
10750Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
10751
10752 * configure.in: Don't build mips-*-* with -msoft-float, since that
10753 makes it incompatible with hard floating point.
10754
10755Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
10756
10757 * Makefile.in: added recursive 'make check'
10758
10759Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
10760
10761 * configure.in: added ./testsuite ./testsuite/libm.paranoia
10762 * ./testsuite/Makefile.in: created
10763 * ./testsuite/libm.paranoia: paranoia tests added
10764
10765Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
10766
10767 * configure.in: For mips-*-* set machine_dir to mips.
10768
10769 * libc/machine/mips: New directory.
10770 * libc/machine/mips/Makefile.in: New file.
10771 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
10772 setjmp and longjmp.
10773 * libc/include/machine/setjmp.h: Added __mips__ case.
10774
10775 * libc/machine/lmips: Removed unused and useless directory.
10776
10777Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
10778
10779 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
10780
10781Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
10782
10783 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
10784 start up).
10785
10786Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
10787
10788 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
10789 SETJMP_H.
10790
10791Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
10792
10793 * libm/test/convert.c: structure member errno -> errno_val.
10794 Must include <errno.h> to use errno, it's a macro now.
10795 * libm/test/math.c: Ditto.
10796 * libm/test/math2.c: Include errno.h.
10797 * libm/test/string.c: Ditto.
10798 * libm/test/test.h: structure member errno -> errno_val.
10799 Remove extern int errno decl.
10800
10801Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
10802
10803 * libc/stdio/Makefile.in: Added dependencies on local header
10804 files.
10805 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
10806 files.
10807
10808Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
10809
10810 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
10811
10812Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
10813
10814 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
10815 Initialize _data.
10816
10817 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
10818 * libc/stdio/local.h: Add prototype for _licvt.
10819
10820 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
10821 instead of malloc,reealloc.
10822
10823 * libc/stdlib/local.h: New file.
10824 * libc/stdlib/efgcvt.c: #include local.h.
10825 (gcvt): Fix call to _gcvt.
10826 * libc/stdlib/ecvtbuf.c: #include local.h.
10827
10828 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
10829 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
10830 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
10831
10832 * libc/stdlib/atexit.c: moved global data to struct _reent.
10833 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
10834
10835 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
10836
10837Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
10838
10839 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
10840 here from ../reent.h.
10841
10842Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
10843
10844 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
10845 should be provided in both libc.a and libm.a.
10846 (libc.a): Depend on targ-include and libm.a. Copy
10847 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
10848 (libm.a): Depend on targ-include.
10849 * configure.in (subdirs): Removed libc/math.
10850
10851Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
10852
10853 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
10854
10855Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
10856
10857 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
10858 sys/reent.h instead of reent.h.
10859 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
10860 headers moved to sys/reent.h.
10861 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
10862 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
10863 __need__MAX_SIGNALS defined.
10864 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
10865 std{in,out,err} refer to new _std{in,out,err} members.
10866
10867Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
10868
10869 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
10870 case.
10871
10872Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
10873
10874 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
10875 rather than whatever macro seterrno() has.
10876
10877Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
10878
10879 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
10880 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
10881
10882 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
10883 __STDC__.
10884
10885 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
10886 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
10887 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
10888
10889 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
10890 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
10891
10892 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
10893 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
10894 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
10895 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
10896 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
10897 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
10898 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
10899 renamed to _xxx_r. struct reent_struct renamed to struct _reent
10900 for ANSI. structure members given leading "_" for ANSI. Use
10901 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
10902
10903 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
10904 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
10905 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
10906 reent_struct renamed to struct _reent for ANSI.
10907 Structure members given leading "_" for ANSI.
10908 _CONST --> const in prototypes.
10909 Use _HAVE_STDC instead of __STDC__.
10910
10911 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
10912 _xxx_r.
10913 struct reent_struct renamed to struct _reent for ANSI.
10914 Structure members given leading "_" for ANSI.
10915
10916 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
10917 _xxx_r.
10918 struct reent_struct renamed to struct _reent for ANSI.
10919
10920 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
10921 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
10922 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
10923 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
10924 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
10925
10926 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
10927 signal.h, stdio.h, stdlib.h, string.h, time.h}:
10928 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
10929 #ifndef _STRICT_ANSI non-ANSI routines.
10930 Reentrant routines renamed from _r_xxx to _xxx_r.
10931 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
10932 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
10933 Clean up namespace (structure members have leading "_").
10934 struct reent_struct renamed to struct _reent for ANSI compliance.
10935 _CONST --> const in function prototypes.
10936
10937 * libc/include/string.h: Add NULL and size_t.
10938
10939 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
10940 unlink, wait, wait4. Reentrant syscall routines close, fork,
10941 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
10942 write.
10943 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
10944 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
10945 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
10946 write.S}: Define reentrant versions.
10947 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
10948 reentrant syscalls.
10949
10950 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
10951
10952 * libc/include/stdlib.h (RAND_MAX): Fix value.
10953
10954Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
10955
10956 * libc/sys/a29khif/_main.c: Removed unnecessary file.
10957 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
10958 VPATH support targets after all: target.
10959
10960 * stub/mvme135/mvme.S: Renamed exceptionhandler to
10961 exceptionHandler, which is what mvme135-stub.c expects.
10962
10963Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
10964
10965 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
10966
10967 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
10968 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
10969 compliant).
10970
10971Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
10972
10973 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
10974 first.
10975 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
10976 _r_write): Ditto.
10977 libc/reent/fstatr.c (_r_fstat): Ditto.
10978 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
10979 libc/reent/sbrkr.c (_r_sbrk): Ditto.
10980 libc/reent/statr.c (_r_stat): Ditto.
10981
10982 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
10983 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
10984 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
10985 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
10986 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
10987 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
10988 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
10989 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
10990 (__swrite): Ditto for _r_lseek, _r_write.
10991 (__sseek): Ditto for _r_lseek.
10992 (__close): Ditto for _r_close.
10993 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
10994
10995 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
10996 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
10997
10998 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
10999 to make reent_struct the first argument (and thus consistent with
11000 the rest of newlib).
11001
11002 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
11003 reference to __STDC__.
11004
11005Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
11006
11007 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
11008 global __cleanup.
11009
11010Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
11011
11012 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
11013 first.
11014 libc/stdio/fclose.c (fclose): Ditto.
11015
11016Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
11017
11018 * Run through indent and rename reentrant routines for ANSI.
11019 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
11020 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
11021 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
11022 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
11023 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
11024 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
11025 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
11026 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
11027 vsprintf.c wbuf.c wsetup.c local.h}
11028
11029 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
11030
11031 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
11032 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
11033 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
11034 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
11035 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
11036 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
11037
11038 * Run through indent.
11039 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
11040 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
11041 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
11042 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
11043 strxfrm.c}
11044
11045 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
11046 localtime.c mktime.c strftime.c time.c}:
11047 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
11048
11049 * Reformatting + renaming (for ANSI, GNU style, consistency).
11050 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
11051 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
11052 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
11053
11054Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
11055
11056 * libc/include/stdio.h (stdin_r): Fix.
11057
11058Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
11059
11060 * Makefile.in: Unexport some variables to keep GNU make from
11061 putting them in the environment and using up needed ARG_MAX space
11062 (a hack is used to let this work with older makes as well).
11063
11064Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
11065
11066 * Makefile.in: Use $(MAKE) rather than make.
11067 (MAKEOVERRIDES): Define to be empty.
11068 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
11069 (libc.a, libm.a): Depend on targ-include.
11070 * host/any (LD): Don't define.
11071 (INCLUDES): Use targ-include.
11072 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
11073 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
11074 * libc/Makefile.in: Use $(MAKE) rather than make.
11075 (MAKEOVERRIDES): Define to be empty.
11076 (FLAGS_TO_PASS): Don't pass LD (it's not used).
11077 (all): Rewrote to be slightly smaller.
11078 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
11079 Define to be empty.
11080 (FLAGS_TO_PASS): Don't pass LD (it's not used).
11081 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
11082
11083Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
11084
11085 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
11086 with errno/errno.c.
11087
11088Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
11089
11090 * Changes for reentrancy.
11091 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
11092 Use ptr->_errno, not errno.
11093 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
11094 libc/stdio/remove.c (remove_r): New function.
11095 libc/stdio/rename.c (rename_r): New function.
11096 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
11097 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
11098 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
11099 reentrant versions of system calls.
11100 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
11101 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
11102 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
11103 libc/stdio/findfp.c: Include <string.h>.
11104 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
11105 "local.h".
11106 libc/stdio/wbuf.c: Include "fvwrite.h"
11107
11108 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
11109 <string.h>.
11110 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
11111 (NULL): Don't define if already defined.
11112 libc/stdlib/system.c: Call reentrant versions of system calls.
11113 (system_r): New function.
11114
11115 * Changes for reentrancy.
11116 libc/include/_ansi.h (_PARAMS): New macro.
11117 libc/include/errno.h: Define errno as a macro that calls __errno.
11118 (__errno_r): New macro for reentrant code.
11119 libc/include/math.h: Include reent.h. Declare many reentrant
11120 functions.
11121 (signgam): Now a macro, not a variable.
11122 (struct exception): Added err field.
11123 libc/include/reent.h: Don't declare __sglue. Added function
11124 declarations.
11125 (struct reent_struct): Moved errno to beginning. Added _signgam.
11126 libc/include/stdio.h, libc/include/stdlib.h: Added function
11127 declarations.
11128
11129 * More reentrancy hacking.
11130 libc/errno/errno.c (__errno): New function.
11131 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
11132 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
11133 files.
11134
11135 * Added many new reentrant functions to libm/math/*.
11136 libm/math/error.c (__matherror): Added reent_struct pointer
11137 argument. Changed all callers.
11138 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
11139 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
11140 libm/math/tan.h: Removed obsolete unused header files.
11141
11142 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
11143
11144 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
11145
11146Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11147
11148 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
11149 delay slots.
11150
11151Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
11152
11153 * libc/libc.texinfo: comment out reentrancy chapter (duh)
11154
11155Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
11156
11157 * libc/reent/reent.tex: New file. (text from
11158 newlib/libc/libc.texinfo)
11159 * libc/stdio/tmpnam.c: fixed doc typo
11160 * libc/stdlib/rand.c: fixed doc typo
11161
11162Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
11163
11164 * libc/reent/reent.tex: New file. (text from
11165 newlib/libc/libc.texinfo)
11166
11167Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11168
11169 support for reentrancy
11170 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
11171 new files
11172 * libc/errno/errno.c, libc/include/ieeefp.h,
11173 libc/include/locale.h, libc/include/reent.h,
11174 libc/include/signal.h, libc/include/stdio.h,
11175 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
11176 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
11177 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
11178 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
11179 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
11180 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
11181 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
11182 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
11183 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
11184 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
11185 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
11186 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
11187 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
11188 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
11189 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
11190 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
11191 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
11192 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
11193 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
11194 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
11195 libc/time/strftime.c: modify to provide reentracy.
11196
11197 new routines:
11198 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
11199 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
11200 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
11201 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
11202 mstats_r, realloc_r, localeconv_r, setlocale_r
11203
11204Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
11205
11206 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
11207 libc/include/sys/config.h, libc/include/sys/signal.h,
11208 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
11209 provided macros (such as m68000), use the ansi version
11210 (__m68000__) so that the library can be used with code compiled
11211 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
11212 and sparc.
11213
11214Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
11215
11216 * configure.in (sparc*): Don't set -fsoft-float for sparc
11217 configurations. Do set -fsoft-float for sparclite configurations.
11218
11219Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
11220
11221 * default.menu, no-signal.menu: alternate forms of libc main menu
11222 (in newlib rather than newlib/libc due to configuration restrictions)
11223
11224 * configure.in: select one of the two menus above, link to
11225 libc.menu
11226
11227 * libc/libc.texinfo: include menu from separate file
11228
11229Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
11230
11231 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
11232 (info): Split long shell command in half.
11233 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
11234 sub-makes, just CHEW and TARGETDOC.
11235 (targetdep.tex): Removed now special handling of sys and machine
11236 subdirectories, made obsolete some time ago.
11237 * libc/machine/Makefile.in (doc): Don't pass everything to
11238 sub-make, just CHEW and TARGETDOC.
11239 (Makefile): New target.
11240 * libc/sys/Makefile.in (Makefile): New target.
11241
11242Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
11243
11244 * Makefile.in (here and most subdirectories): Only pass down CHEW
11245 and TARGETDOC when making info, not for other targets.
11246
11247 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
11248 $(AR_FLAGS) rather than $(ARUPDATE).
11249
11250Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
11251
11252 * Try to reduce command line length:
11253 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
11254 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
11255 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
11256 (info): Pass CHEW to other subdirs.
11257
11258Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
11259
11260 * configure.in: add signal_dir, like unix_dir, but by default it
11261 is set to "signal" so that a29khif can turn it off (since a29khif
11262 has raise() as part of machine-specific signal.s.)
11263
11264Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
11265
11266 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
11267 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
11268 correctly.
11269 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
11270 libc/stdio/vfprintf: type lint.
11271 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
11272 initialzation code.
11273 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
11274
11275Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
11276
11277 * stub/mvme135/mvme135-asm.S: new file.
11278 stub/mvme135mvme135-stub.c: moved all assembler routines into
11279 mvme135-asm.S.
11280 stub/mvme135/Makefile.in: build mvme135-stub.o.
11281
11282Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
11283
11284 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
11285 sub-Makefiles instead, to try to avoid line length limitations.
11286
11287Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
11288
11289 * libc/include/unistd.h (read, write): Use void* instead of
11290 char*.
11291
11292Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
11293
11294 * stub/go32/resetpc: sample script to send a reset packet to the
11295 stub
11296
11297 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
11298 DOS environment, which compiles with Turbo C.
11299
11300 * stub/go32/DSER32.LNK: new file, linker commands for serial
11301 remote stub.
11302
11303 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
11304 start up message to identify version; call set_debug_traps.
11305
11306 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
11307 keyboard interaction); call handle_exception() in go_til_stop,
11308 rather than return, so that the remote stub gets control.
11309
11310 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
11311 rename, rather than mv), set flags that work with current Turbo C,
11312 including using the /3 flag; also, add commands to build dser32.
11313
11314 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
11315 default Turbo C installation (\tc rather than \usr)
11316
11317 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
11318 "&..."
11319
11320Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11321
11322 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
11323
11324Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11325
11326 * libc/stdio/cvt.c (licvt): new function to convert ints when
11327 sizeof(int) != sizeof(long).
11328
11329 * libc/include/stdio.h: added prototype for iprintf.
11330 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
11331
11332Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
11333
11334 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
11335 __REGISTER_PREFIX__.
11336
11337Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
11338
11339 * libc/sys/m68kbare: moved into stub directory.
11340
11341Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
11342
11343 * configure.in, Makefile.in: created new directory stub, to hold
11344 sample code for specific targets.
11345
11346Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
11347
11348 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
11349 in the unified libc/include/sys/fcntl.h.
11350
11351Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
11352
11353 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
11354 printed .01, not 0.01.
11355
11356Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
11357
11358 * configure.in: compile with -m68000 for m68* targets.
11359
11360Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
11361
11362 * libm/math/remainder.c (remainder): document the svr4 and sunos
11363 references used to construct the function.
11364
11365Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
11366
11367 * libm/math/remainder.c (rint, remainder): fix old typos.
11368 * libm/math/Makefile.in: actually build remainder.c (functions
11369 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
11370 page.)
11371
11372Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
11373
11374 * libc/string/bcopy.c: BSD version works on overlapping strings,
11375 so ours should too.
11376
11377 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
11378 ("SHELL").
11379
11380Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
11381
11382 * Makefile.in (docs): new target.
11383
11384Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
11385
11386 * libc/include/sys/times.h: define clock_t as required by POSIX.
11387 libc/include/time.h: protect clock_t from multiple definitions.
11388
11389Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
11390
11391 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
11392 does not need more than the original three iterations to get
11393 within 1 ulp. (Paranoia tests for rounding to better than that,
11394 but further iterations *don't* help, only more subtle changes
11395 can.)
11396
11397Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
11398
11399 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
11400 were doing nothing useful.
11401
11402Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
11403
11404 * configure.in: define MALLOC_PROVIDED for vxworks targets;
11405 removed sys_dir settings of vxworks68 and vxworks960.
11406 host/any: don't pass -nostdinc to gcc, since newlib no longer
11407 provides all required header files.
11408
11409 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
11410 is not defined; this provides a hook for VxWorks.
11411
11412Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
11413
11414 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
11415 buffer if buf is NULL, don't do it here -- it is already being
11416 done by makebuf elsewhere in stdio.
11417
11418Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
11419
11420 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
11421 that C programs can call functions without using initial
11422 underscores.
11423
11424Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
11425
11426 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
11427
11428Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
11429
11430 * configure.in: set TARGET_CFLAGS for certain CPU types to
11431 -msoft-float.
11432
11433Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11434
11435 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
11436
11437Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
11438
11439 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
11440 m68k*-unknown-coff.
11441
11442Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
11443
11444 * libc/include/stdio.h: define __need___va_list before including
11445 <stdarg.h>, to avoid defining va_arg, et. al.
11446
11447Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
11448
11449 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
11450 (don't cd to the user's home directory).
11451
11452 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
11453 In general this is the wrong thing to do, but I can't get around
11454 GNU make's insistence on passing command line arguments any other
11455 way.
11456
11457Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
11458
11459 * configure.in: always configure the libc/sys directory, since it
11460 now provides a required documentation file.
11461
11462 * Makefile.in: replaced all instances of $(MAKE) with make. In
11463 general this is the wrong thing to do, but I can't get around GNU
11464 make's insistence on passing command line arguments any other way.
11465
11466Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
11467
11468 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
11469 terminated.
11470
11471 * libc/stdio/local.h: include <stdarg.h> to define va_list.
11472 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
11473
11474 * libc/include/float.h, libc/include/stdarg.h,
11475 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
11476 versions instead.
11477 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
11478 <stdarg.h>, not from <machine/types.h>. Protect definition of
11479 NULL.
11480 libc/include/time.h: get size_t from stddef.h. Protect definition
11481 of NULL.
11482 libc/include/machine/limits.h: override gcc <limits.h> by defining
11483 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
11484 get correct INT_MIN and LONG_LONG values.
11485 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
11486 size_t or va_list at all; they're now gotten from stddef.h
11487 instead.
11488 libc/include/machine/varargs.h: removed; use gcc version instead.
11489 libc/include/sys/types.h: explicitly include <machine/types.h>.
11490
11491 * libm/math/sqrt.h: using the fp-bit routines appears to require
11492 more iterations.
11493
11494 * Makefile.in, host/any: let system include files override machine
11495 include files.
11496
11497Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
11498
11499 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
11500 override _*_T_ definitions defaulted here.
11501
11502Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
11503
11504 * Makefile.in (install): install the include files in
11505 $(tooldir)/include, not $(exec_prefix)/include.
11506
11507Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
11508
11509 * Makefile.in (install): fixed typo, and changed install to not
11510 force rebuild of libc.a and libm.a.
11511
11512Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
11513
11514 * libc/sys/a29khif/*: Changed all .include's to include
11515 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
11516 that they will be installed for the user.
11517
11518 * Makefile.in (all): create targ-include, a directory holding the
11519 machine and system specific header files during the build.
11520 (install): fixed installation of machine and system specific
11521 header files.
11522
11523 * Makefile.in: fixed comment.
11524 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
11525 we can pass $(INCLUDES) to it.
11526
11527Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
11528
11529 * libc/include/sys/param.h: new generic file, which may be
11530 overridden for specific systems.
11531
11532 * libc/include/sys/signal.h: define all ANSI signal names, and
11533 NSIG (which is not ANSI) for a29k.
11534
11535Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
11536
11537 * Makefile.in: don't pass down arguments the lower level makes
11538 will not need.
11539 * libc/Makefile.in: recurse directly, rather than using subdir_do,
11540 in hopes of avoiding argument length limits.
11541 * libm/Makefile.in: recurse directly, rather using subdir_do, in
11542 hopes of avoiding argument length limits.
11543
11544Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
11545
11546 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
11547 mode_t is defined.
11548
11549Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
11550
11551 * Fixed make info and make install-info for newlib, changing most
11552 Makefile.in and several *.tex files. Moved doc directory from
11553 libc to top level.
11554
11555 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
11556 Should be rewritten.
11557
11558 * libc/string/strings.tex: renamed node index to node index
11559 function, so that it does not conflict with the top level index
11560 node.
11561
11562 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
11563
11564Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
11565
11566 * Overhauled general configuration for newlib. Eliminated all
11567 target dependent Makefile fragments. Create libraries in newlib
11568 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
11569 than CROSS_CC, et. al. Broke make docs; will fix later.
11570
11571 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
11572 Should be rewritten.
11573
11574Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
11575
11576 * libc/configure.in: cleaned up somewhat; switch on ${target}
11577 rather than ${target_alias}.
11578 * libm/configure.in: cleaned up somewhat; switch on ${target}
11579 rather than ${target_alias}.
11580
11581 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
11582 * libc/include/ctype.h: marked _ctype_ as _CONST.
11583
11584 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
11585 _CONST.
11586
11587 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
11588 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
11589 libc/stdio/gets.c (gets): removed non-ANSI warning message.
11590 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
11591
11592 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
11593 bigtens, tinytens): marked arrays _CONST.
11594 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
11595 rather than a static variable.
11596
11597 * libc/time/asctime.c (asctime), libc/time/localtime.c
11598 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
11599 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
11600 mname_len, mname): Marked static arrays _CONST.
11601
11602 * libm/math/gamma.h: made local variables non-static.
11603
11604 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
11605 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
11606 _CONST.
11607
11608 * libm/math/constants.c: removed file, because the constants it
11609 defined were never referenced.
11610 libm/math/Makefile.in: removed references to constants.c.
11611 libm/math/mathimpl.h: removed declarations of constants.
11612
11613Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
11614
11615 * libc/include/machine/varargs.h: only call __builtin_saveregs if
11616 it is sensibly defined in libgcc2. Checks preprocessor defines,
11617 which is not a good solution.
11618
11619 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
11620
11621 * libm/frexp.c: handle denormalized numbers as arguments.
11622
11623 * libm/math/Makefile.in: added some dependencies for .c files
11624 which include local .h files.
11625
11626Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
11627
11628 * libc/configure.in: set target_alias for OSE*. Replace
11629 target_makefile_frag if it is blank.
11630
11631 * libc/Makefile.in: make sure everything is passed to subsidiary
11632 makes; create all directories when installing.
11633
11634 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
11635 CROSS_ARUPDATE instead of AR.
11636
11637 * libm/configure.in: set target_alias for OSE*. Replace
11638 target_makefile_frag if it is blank.
11639
11640 * libm/Makefile.in: make sure everything is passed to subsidiary
11641 makes; create all directories when installing.
11642
11643Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
11644
11645 * add following change from libc copy.
11646
11647Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
11648
11649 * libc/libc.texinfo: make copyright disclaimers appear on back of
11650 title page; make format of same slightly less ugly; avoid using
11651 underbars in section headings (avoids nasty texinfo bug in table
11652 of contents).
11653
11654 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
11655 comments only) avoid using underbars in section headings
11656
11657 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
11658 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
11659 changes in comments only): shorten headings ieeefp/infinity.c,
11660 ieeefp/isnan.c: (doc, comments only) more informative headings
11661
11662 * libc/math/bessel.c: (doc, comments only) shorten heading
11663
11664 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
11665 (doc, comments only) shorten headings
11666
11667 * libc/time/localtime.c (doc, comments only): shorten headings
11668
11669 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
11670 isnan
11671 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
11672 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
11673 headings
11674 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
11675 only) more informative headings
11676 * libm/math/bessel.c: (doc, comments only) shorten heading
11677
11678Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
11679
11680 * .../Makefile.in: use CROSS_ARUPDATE consistently.
11681 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
11682 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
11683 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
11684 defined, the one from the .mt file will be correct.
11685 * libc/include/machine, libc/include/sys: created, and populated
11686 with common files from machine/*/machine. ifdefs were used for
11687 most, typically by handling exceptions first and then filling in
11688 defaults. Files with D.J. Delorie copyright #included rather than
11689 copied. Most files in include/sys really were the same in the
11690 original.
11691 * libc/include/...: cleaned up use of _EXFUN.
11692 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
11693 it with double quotes, not angles.
11694
11695Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
11696
11697 * libc/Makefile.in: always create installation directories.
11698
11699Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11700
11701 * libc/configure.in: handle host properly (using canonical
11702 triples), better error message for the case of target not found
11703
11704Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
11705
11706 * libc/Makefile.in (insincdir): Ensure this directory exists
11707 before attempting installation.
11708
11709Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11710
11711 * libc/stdlib/assert.c: now calls abort like it should
11712 * libc/sys/a29khif: many many patches for 29khif work
11713 * libc/machine/i386: gnulib2 expanded there.
11714
11715Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11716
11717 Added accurate fp conversion routines to stdlib, moved dcvt from
11718 stdio to stdlib and called it ecvtbuf:
11719 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
11720 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
11721 routines
11722 * libc/libc.texinfo: Modifed to include the copyright info from
11723 the mprec files
11724 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
11725 * libc/test/ : many vector which tested for the implementation
11726 defined returns of strange conversion requests have been updated
11727 to relflect the new implementation
11728
11729Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
11730
11731 * libc/libc.texinfo: new chapter on variable arg lists
11732 (stdarg.h/varargs.h)
11733 * libc/libc.texinfo: new title
11734 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
11735 (doc only) shorter headings for better formatting.
11736
11737Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
11738
11739 * libc/libc.texinfo: three more info menu entries
11740 * libc/locale/locale.tex: new chapter
11741 * libc/locale/locale.c: new doc for setlocale, localeconv
11742 * libc/locale/Makefile.in: use new locale doc
11743 * libc/signal/signal.tex: new chapter
11744 * libc/signal/raise.c, libc/signal/signal.c: new doc
11745 * libc/signal/Makefile.in: use new doc
11746 * libc/time/time.tex: new chapter
11747 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
11748 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
11749 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
11750 * libc/time/Makefile.in: use new doc
11751
11752Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11753
11754 * libm/math/log1p.c: split to use the new function way of float
11755 function definition. math/log1p.h deleted
11756 * libm/math/scalb.c: obsolete and deleted
11757 * libm/math/scalbn.c: created from part log1p.c
11758 * libm/math/Makefile.in: know about log1p and scalbn
11759
11760Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
11761
11762 * libc/ctype/isupper.c: revise doc;
11763 libc/ctype/ctype.tex: use doc from isupper.c
11764
11765 * libc/string/bzero.c: new doc
11766
11767Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
11768
11769 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
11770 new doc
11771 * libc/stdlib/Makefile.in: extract new doc
11772 * libc/stdlib/stdlib.tex: use new doc
11773
11774 * libc/string/strerror.c: expanded doc.
11775
11776 * libc/stdio/Makefile.in: extract doc from more files
11777 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
11778 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
11779 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
11780 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
11781 libc/stdio/vsprintf.c: new doc
11782 * libc/stdio/stdio.tex: use new doc
11783
11784Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11785
11786 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
11787 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
11788 finitef functions.
11789 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
11790 time ago.
11791
11792 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
11793 * libc/stdio/setbuf.c: added ansi style definition.
11794 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
11795 buffer if none provided.
11796 * libc/stdio/tmpfile.c: lint
11797 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
11798 rather than using static, also make sure file isn't already
11799 present. Uses P_tmpdir. (tempnam): rewritten to use new
11800 subroutine, and uses P_tmpdir.
11801 * libc/stdio/siprintf.c: created
11802
11803Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
11804
11805 Release 1.03 for NEC, major mods. Main differences from release
11806 1.02::
11807
11808 More tests in test/:
11809 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
11810 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
11811 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
11812 get/set mask, get/set sticky and get/set roundtoi. Tests
11813 that setting the bits changes the way arithmetic is done.
11814 * string.c: added test to make sure memcmp does it with unsigned
11815 chars.
11816 * test.c: cleaned up and removed lint.
11817 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
11818 dvec.c: tests for string to value conversions, sprintf, scanf,
11819 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
11820 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
11821 rounding in sprintf too.
11822 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
11823 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
11824 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
11825 and function form.
11826 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
11827 powf
11828
11829 In the library:
11830 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
11831 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
11832 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
11833 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
11834 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
11835 than sprintf.
11836 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
11837 * Method of producting float versions of double functions has
11838 changed, functions will be modified gradually. So far:
11839 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
11840 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
11841 altered
11842 * libc/string/memcmp.c: now uses unsigned chars
11843 * libc/string/bcmp.c, libc/string/strcpy.c,
11844 libc/stsring/strxfrm.c: fixed doc
11845 * libc/sys/sysvnecv70.tex: fix example of sbrk code
11846\f
11847Local Variables:
11848version-control: never
11849End:
This page took 1.253567 seconds and 5 git commands to generate.