]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
2005-11-03 Shaun Jackman <sjackman@gmail.com>
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
d31a8623
JJ
12005-11-03 Shaun Jackman <sjackman@gmail.com>
2
3 * libc/include/sys/unistd.h (readlink, symlink): Provide these
4 prototypes by default.
5 * libc/sys/linux/include/unistd.h (readlink): Remove this
6 prototype.
7 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
8 prototypes.
9
71ac53ee
JJ
102005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
11
12 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
13
dc1b6289
JJ
142005-10-31 Darin Johnson <darin@usa.net>
15
16 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
17 correct for constants.
18
884c0ff0
JJ
192005-10-28 Bob Wilson <bob.wilson@acm.org>
20
21 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
22 * libc/stdio/siscanf.c: Likewise.
23 * libc/stdio/sprintf.c: Likewise.
24 * libc/stdio/sscanf.c: Likewise.
25 * libc/stdio/vfprintf.c: Likewise.
26 * libc/stdio/vfscanf.c: Likewise.
27 * libc/stdio/viprintf.c: Likewise.
28 * libc/stdio/viscanf.c: Likewise.
29
a9c15f6f
JJ
302005-10-28 Bob Wilson <bob.wilson@acm.org>
31
32 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
33 example to use "_end" symbol instead of "end". Change write example
34 to use "outbyte" instead of "writechar".
35
a306ebc9
JJ
362005-10-28 Bob Wilson <bob.wilson@acm.org>
37
38 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
39 * libc/ctype/islower.c: Likewise.
40 * libc/ctype/isupper.c: Likewise.
41 * libc/ctype/iswalnum.c: Likewise.
42 * libc/ctype/iswalpha.c: Likewise.
43 * libc/ctype/iswblank.c: Likewise.
44 * libc/ctype/iswcntrl.c: Likewise.
45 * libc/ctype/iswdigit.c: Likewise.
46 * libc/ctype/iswgraph.c: Likewise.
47 * libc/ctype/iswlower.c: Likewise.
48 * libc/ctype/iswprint.c: Likewise.
49 * libc/ctype/iswpunct.c: Likewise.
50 * libc/ctype/iswspace.c: Likewise.
51 * libc/ctype/iswupper.c: Likewise.
52 * libc/ctype/iswxdigit.c: Likewise.
53 * libc/ctype/tolower.c: Likewise.
54 * libc/ctype/toupper.c: Likewise.
55 * libc/ctype/towctrans.c: Likewise.
56 * libc/ctype/towlower.c: Likewise.
57 * libc/ctype/towupper.c: Likewise.
58 * libc/string/strcasecmp.c: Likewise.
59 * libc/string/strcoll.c: Likewise.
60 * libc/string/strings.tex: Likewise.
61 * libc/string/strlwr.c: Likewise.
62 * libc/string/strncasecmp.c: Likewise.
63 * libc/string/strupr.c: Likewise.
64 * libc/string/wcscoll.c: Likewise.
65 * libc/string/wcslcat.c: Likewise.
66 * libc/string/wcslcpy.c: Likewise.
67 * libc/string/wcsnlen.c: Likewise.
68 * libc/string/wcsstr.c: Likewise.
69 * libc/string/wcstrings.tex: Likewise.
70 * libc/string/wmemchr.c: Likewise.
71 * libc/string/wmemcmp.c: Likewise.
72 * libc/string/wmemcpy.c: Likewise.
73 * libc/string/wmemmove.c: Likewise.
74 * libc/string/wmemset.c: Likewise.
75
239c2bf9
JJ
762005-10-28 Bob Wilson <bob.wilson@acm.org>
77
78 * libc/misc/unctrl.c: Replace FUNCTION description.
79 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
80 * libc/stdio/getdelim.c: Fix spelling errors.
81 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
82 * libc/stdio/putw.c: Likewise.
83 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
84 documentation.
85 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
86 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
87 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
88 * libc/stdlib/mlock.c: Likewise.
89 * libc/stdlib/mstats.c: Likewise.
90 * libc/time/tzlock.c: Likewise.
91 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
92 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
93 and hyphenate "pseudo-random".
94 * libc/string/bcmp.c: Remove extra blank lines in documentation.
95 * libc/string/strncat.c: Likewise.
96 * libc/string/memchr.c: Remove extra ">" character in documentation.
97 * libc/string/strcspn.c: Use "characters" instead of "chars".
98 * libc/string/strpbrk.c: Likewise.
99 * libc/string/strerror_r.c: Capitalize "GNU".
100 * libc/string/strnlen.c: Likewise.
101 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
102 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
103 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
104 * libc/string/wcschr.c: Likewise.
105 * libc/string/wcscmp.c: Likewise.
106 * libc/string/wcscpy.c: Likewise.
107 * libc/string/wcscspn.c: Likewise.
108 * libc/string/wcslen.c: Likewise.
109 * libc/string/wcsncat.c: Likewise.
110 * libc/string/wcsncmp.c: Likewise.
111 * libc/string/wcsncpy.c: Likewise.
112 * libc/string/wcsnlen.c: Likewise.
113 * libc/string/wcspbrk.c: Likewise.
114 * libc/string/wcsrchr.c: Likewise.
115 * libc/string/wcsspn.c: Likewise.
116 * libc/string/wmemchr.c: Likewise.
117 * libc/string/wmemcmp.c: Likewise.
118 * libc/string/wmemcpy.c: Likewise.
119 * libc/string/wmemset.c: Likewise.
120 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
121 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
122 * libc/string/wcwidth.c: Likewise.
123 * libm/common/s_modf.c: Remove extra period from documentation.
124 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
125 documentation.
126 * libm/mathfp/s_isnan.c: Likewise.
127 * libm/math/s_ldexp.c: Fix punctuation.
128 * libm/mathfp/s_ldexp.c: Likewise.
129 * libm/math/w_log.c: Likewise.
130 * libm/mathfp/s_logarithm.c: Likewise.
131 * libm/math/w_j0.c: Add spaces to FUNCTION description.
132 * libm/mathfp/w_jn.c: Likewise.
133
2556eb8d
JJ
1342005-10-26 Shaun Jackman <sjackman@gmail.com>
135
136 * libc/posix/scandir.c (scandir): Update the function
137 prototype to match the header.
138 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
139 extraneous #endif.
140 * libc/sys/linux/sys/lock.h: Do not include
141 machine/weakalias.h, since it's not used by this file.
142
c9d71a8d
JJ
1432005-10-26 Jeff Johnston <jjohnstn@redhat.com>
144
145 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
146 directories can override properly.
147
09968b6d
JJ
1482005-10-20 Jeff Johnston <jjohnstn@redhat.com>
149
150 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
151 gcc is 3.3 or greater, use special gcc builtins.
152
c70571bd
CV
1532005-10-20 Corinna Vinschen <corinna@vinschen.de>
154
155 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
156
a92822b7
CV
1572005-10-18 Corinna Vinschen <corinna@vinschen.de>
158
159 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
160
d2c2c132
JJ
1612005-10-14 Jeff Johnston <jjohnstn@redhat.com>
162
163 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
164 * libm/common/Makefile.am: Add s_infconst.c support.
165 * libm/common/Makefile.in: Regenerated.
166 * libm/common/s_infconst.c: New file with float and
167 long double infinity support added.
168 * libm/math/Makefile.am: Remove s_infconst.c support.
169 * libm/math/Makefile.in: Regenerated.
170 * libm/math/s_infconst.c: Moved to common directory.
171 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
172 * libm/mathfp/Makefile.in: Regenerated.
173 * libm/mathfp/s_infconst.c: Moved to common directory.
174
4d57c1ed
JJ
1752005-10-14 Jeff Johnston <jjohnstn@redhat.com>
176
177 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
178 dbgprintf to prevent conflict with new dprintf function.
179
1012585f
JJ
1802005-10-14 Jeff Johnston <jjohnstn@redhat.com>
181
182 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
183 "nan" processing for systems that have long double support.
184
e9154015
JJ
1852005-10-14 Jeff Johnston <jjohnstn@redhat.com>
186
187 * libc/sys/linux/sys/types.h (int8_t): Add type.
188
1a869698
JJ
1892005-10-14 Bob Wilson <bob.wilson@acm.org>
190
191 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
192 * libm/common/Makefile.in: Regenerate.
193 * libm/common/common.tex: Delete file.
194 * libm/math/math.tex: Include .def files from common/.
195 * libm/mathfp/mathfp.tex: Likewise.
196
e0811fb3
JJ
1972005-10-14 Bob Wilson <bob.wilson@acm.org>
198
199 * libc/libc.texinfo (Top): Surround this node with @ifnottex
200 instead of @ifinfo. Update menu to add Introduction and match
201 SUBDIRS order.
202 (Introduction): New section.
203
e63c98c6
JJ
2042005-10-14 Bob Wilson <bob.wilson@acm.org>
205
206 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
207 with "Red Hat newlib C Library".
208 * libc/sys.tex (Stubs): Likewise.
209 * libm/math/math.tex (Math): Likewise.
210 * libm/mathfp/mathfp.tex (Math): Likewise.
211
339195bf
JJ
2122005-10-11 Shaun Jackman <sjackman@gmail.com>
213
214 * libc/include/stdio.h (dprintf): New declaration.
215 (vdprintf): Ditto.
216 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
217 and vdprintf.c.
218 * libc/stdio/Makefile.in: Regenerate.
219 * libc/stdio/dprintf.c: New file.
220 * libc/stdio/vdprintf.c: New file.
221 * libc/stdio/stdio.tex (dprintf): New entry.
222
da71e518
JJ
2232005-10-11 David Weatherford <weath@tensilica.com>
224
225 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
226 Print "inf" and "nan" in lowercase for e/f/g formats and in
227 uppercase for E/F/G formats.
228
f011605a
JJ
2292005-10-07 Bob Wilson <bob.wilson@acm.org>
230
231 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
232 to ENOMEM on failure.
233
bc037f3a
JJ
2342005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
235
236 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
237
c7e20979
JJ
2382005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
239
240 * libc/include/stdint.h: Move magic to set __have_long* to the
241 beginning. Use #if __have* instead of #if defined(__have*).
242 Minor typo fixes.
243
58e78add
JJ
2442005-10-04 James E Wilson <wilson@specifix.com>
245
246 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
247 #error.
248
8afb8202
JJ
2492005-10-03 Jeff Johnston <jjohnstn@redhat.com>
250
251 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
252 incorporate Ralf's change below.
253
14491fd0
JJ
2542005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
255
256 * libc/include/stdint.h:
257 Use __INTMAX_TYPE__ to derive intmax_t.
258 Use __UINTMAX_TYPE__ to derive uintmax_t.
259 Fix minor typo.
260
ee694aea
JJ
2612005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
262
263 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
264 handling GCC >= 4.
265
9f1926f2
JJ
2662005-09-20 Jeff Johnston <jjohnstn@redhat.com>
267
268 * libc/sys/linux/include/stdint.h: Update to match functionality
269 of generic newlib stdint.h.
270
0ce4fcef
JJ
2712005-09-20 Jeff Johnston <jjohnstn@redhat.com>
272
273 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
274 and do not #undef the macro after it is used. Fix typos.
275 Also change 64-bit constants to use the __have_long64 and
276 __have_longlong64 flags to determine if long or long long
277 constants should be used.
278 * libc/include/inttypes.h: Include stddef.h to get wchar_t
279 type defined.
280
17060817
JJ
2812005-09-20 Shaun Jackman <sjackman@gmail.com>
282
283 * libc/include/stdint.h: Fix typo in names of
284 LEAST macros.
285
1e1d1d3d
JJ
2862005-09-20 Jeff Johnston <jjohnstn@redhat.com>
287
288 * libc/sys/rtems/include/inttypes.h: Moved to...
289 * libc/include/inttypes.h: ...here.
290
cddfc170
JJ
2912005-09-19 Jeff Johnston <jjohnstn@redhat.com>
292
293 * libc/sys/rtems/include/stdint.h: Moved to...
294 * libc/include/stdint.h: ...here.
295
b10ab725
JJ
2962005-09-08 Jeff Johnston <jjohnstn@redhat.com>
297
298 * Makefile.am: Add include files under bits sub-directory.
299 * Makefile.in: Regenerated.
300 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
301 actual value of 1 to be compatible with newer glibc headers.
302 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
303 glibc headers.
304 * libc/sys/linux/sys/dirent.h: Ditto.
305 * libc/sys/linux/argp/argp-xinl.c: Ditto.
306 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
307 profile_fixup routines are marked used so they won't be
308 optimized away.
309 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
310 to mark functions as weak.
311 * libc/sys/linux/dl/dl-open.c: Ditto.
312 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
313 rules about lvalues.
314 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
315 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
316 weak_extern macro to mark functions as weak. Instead always
317 use #pragma weak.
318 * iconvdata/jis0208.h: Fix to work with gcc4.
319 * libc/sys/linux/dl/dl-load.c: Ditto.
320 * libc/sys/linux/dl/dl-reloc.c: Ditto.
321 * libc/sys/linux/dl/do-rel.h: Ditto.
322 * libc/sys/linux/dl/dynamic-link.h: Ditto.
323 * libc/sys/linux/include/ltdl.h: Ditto.
324 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
325 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
326 * libc/sys/linux/net/ns_ntoa.c: Ditto.
327 * libc/sys/linux/bits/initspin.h: New file.
328 * libc/sys/linux/bits/libc-lock.h: Ditto.
329 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
330 * libc/sys/linux/bits/typesizes.h: Ditto.
331
7b786e48
JJ
3322005-09-08 Eric Blake <ebb9@byu.net>
333
334 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
335 before is NULL.
336
32b09d75
JJ
3372005-09-08 Brian Dessent <brian@dessent.net>
338
339 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
340 mantissa.
341 * s_lrint.c: Ditto.
342
8f36ef2f
JJ
3432005-09-02 Jeff Johnston <jjohnstn@redhat.com>
344
345 * libc/include/stdio.h: Add prototype for viprintf.
346
cebe43dd
JJ
3472005-09-01 Jeff Johnston <jjohnstn@redhat.com>
348
349 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
350 any positive power results in 0.
351 * libm/mathfp/sf_pow.c (powf): Ditto.
352
45c8bb8f
JJ
3532005-08-31 Paul Brook <paul@codesourcery.com>
354
355 * configure.host: Set have_crt0 to no for Arm targts when not
356 providing syscalls. Set sys_dir=arm unconditionally.
357 Default have_crt0 based on sys_dir.
358 * configure.in: Use have_crt0.
359 * libc/configure.in: Ditto.
360 * libc/sys/configure.in: Ditto.
361 * configure: Regenerate.
362 * libc/configure: Regenerate.
363 * libc/sys/configure: Regenerate.
364 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
365 Only build other files when providing syscalls.
366 * libc/sys/arm/Makefile.in: Regenerate.
367 * libc/sys/arm/aeabi_atexit.c: New file.
368
dbeee890
CF
3692005-08-26 Christopher Faylor <cgf@timesys.com>
370
371 * libc/include/string.h: Revert previous change.
372
377d3ea0
CF
3732005-08-25 Christopher Faylor <cgf@timesys.com>
374
375 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
376
4797a77c
JJ
3772005-08-22 Shaun Jackman <sjackman@gmail.com>
378
379 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
380 define _opendir as opendir, _readdir as readdir, and
381 _closedir as closedir so that the implementations in
382 libc/posix will be used.
383
2e73582e
DD
3842005-08-10 DJ Delorie <dj@redhat.com>
385
386 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
387
234cf97f
JJ
3882005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
389
390 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
391 * libm/common/s_max.c: Ditto.
392 * libm/common/sf_fmin.c: Ditto.
393 * libm/common/s_min.c: Ditto.
394
56448afa
JJ
3952005-08-10 DJ Delorie <dj@redhat.com>
396
397 * configure.host: Add m32c support.
398 * libc/include/machine/ieeefp.h: Likewise.
399 * libc/include/machine/setjmp.h: Likewise.
400 * libc/include/sys/config.h: Likewise.
401 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
402 * libc/machine/m32c/aclocal.m4: New file.
403 * libc/machine/m32c/configure: Ditto.
404 * libc/machine/m32c/configure.in: Ditto.
405 * libc/machine/m32c/Makefile.am: Ditto.
406 * libc/machine/m32c/Makefile.in: Ditto.
407 * libc/machine/m32c/setjmp.S: Ditto.
408
0c5c6c23
JJ
4092005-08-02 Bob Wilson <bob.wilson@acm.org>
410
56448afa
JJ
411 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
412 to the value for 2^126.
0c5c6c23 413
12499c7a
HPN
4142005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
415
416 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
417 used.
418
395a327d
JJ
4192005-07-20 Bob Wilson <bob.wilson@acm.org>
420 Darin Petkov <darin@tensilica.com>
421
422 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
423
108d7dd8
JJ
4242005-07-19 Paul Brook <paul@codesourcery.com>
425
426 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
427
b776efc5
JJ
4282005-07-18 Joseph S. Myers <joseph@codesourcery.com>
429
430 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
431 names after PASS and FAIL which do not depend on source directory
432 name or on whether test passed or failed.
433 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
434
88540e24
JJ
4352005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
436
437 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
438
85d62190 4392005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 440
88540e24 441 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
442 twice for the same directory. _closedir calls free, and freeing
443 the same pointer twice may cause a crash.
444
dee9edd9
AH
4452005-07-06 Aldy Hernandez <aldyh@redhat.com>
446
447 * configure.host: Added entry for ms1*.
448 * libc/include/machine/ieeefp.h: Handle ms1.
449 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
450 * libc/machine/ms1/aclocal.m4: New.
451 * libc/machine/ms1/configure: New.
452 * libc/machine/ms1/configure.in: New.
453 * libc/machine/ms1/Makefile.am: New.
454 * libc/machine/ms1/Makefile.in: New.
455 * libc/machine/ms1/setjmp.S: New.
456
cec1d3b4
JJ
4572005-07-04 Mark Mitchell <mark@codesourcery.com>
458
459 * Makefile.am (site.exp): Set tmpdir.
460 * Makefile.in: Regenerated.
461 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
462 executables in $tmpdir.
463 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
464 libgloss version if not running in the build directory.
465 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
466 $tmpdir.
467 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
468 in $tmpdir.
469
25d209f1
JJ
4702005-06-28 Dave Korn <dave.korn@artimi.com>
471
472 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
473 and miscalculation caused by fp representation of zero.
474 * libm/common/sf_lrint.c (lrintf): Likewise.
475
68cdbb18
JJ
4762005-06-16 Christopher Faylor <cgf@timesys.com>
477
478 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
479 determine characteristics of long double. Use a union instead.
480 * ldtoa.c (_ldtoa_r): Ditto.
481 (_ldcheck): Ditto.
482 (_strtold): Ditto.
483 (union uconv): New union.
484
15c04fd1
JJ
4852005-06-03 Jeff Johnston <jjohnstn@redhat.com>
486
487 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
488 instead of memcpy.
489
cf55bf5e
JJ
4902005-05-12 Jeff Johnston <jjohnstn@redhat.com>
491
492 * configure.host (mn10300-*): Add long long I/O support by default.
493
b6e654c4
JJ
4942005-05-12 Jeff Johnston <jjohnstn@redhat.com>
495
496 * libc/sys/linux/getpwuid.c: Removed.
497 * libc/sys/linux/getpwnam.c: Removed.
498 * libc/sys/linux/getpwent.c: New file containing logic
499 from files removed above. This allows overriding of file
500 in libc/unix.
501 * libc/sys/linux/Makefile.am: Support changes above.
502 * libc/sys/linux/Makefile.in: Regenerated.
503
5456408b
JJ
5042005-04-28 Jeff Johnston <jjohnstn@redhat.com>
505
506 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
507 when checking for multiple flags.
508
1c74754f
HPN
5092005-04-18 Hans-Peter Nilsson <hp@axis.com>
510
511 * configure.host <cris-*-* | crisv32-*-*>: Set
512 default_newlib_io_long_long="yes".
513
6e75bff6
JJ
5142005-04-08 Jeff Johnston <jjohnstn@redhat.com>
515
516 * libc/include/libgen.h: New file.
517
5182005-04-08 Shaun Jackman <sjackman@gmail.com>
519
520 * libc/unix/Makefile.am: Add support for basename and dirname.
521 * libc/unix/Makefile.in: Regenerated.
522 * libc/unix/basename.c: New file.
523 * libc/unix/dirname.c: New file.
524
95c136c4
JJ
5252005-04-07 Shaun Jackman <sjackman@gmail.com>
526
527 * libc/sys/linux/inode.c (lchown): New function.
528
9ae26f7e
JJ
5292005-04-07 Shaun Jackman <sjackman@gmail.com>
530
531 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
532 ELIX level is defined.
533 * libc/unix/Makefile.in: Regenerated.
534
85da7039
JJ
5352005-04-05 Dave Korn <dave.korn@artimi.com>
536
537 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
538 something that looks like a "NaN", put back the characters processed.
539
fefc73a0
CV
5402005-04-01 Corinna Vinschen <corinna@vinschen.de>
541
542 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
543
e633fde1
CF
5442005-03-23 Christopher Faylor <cgf@timesys.com>
545
546 * configure.host: For cygwin, redefine CC with cygwin include directory
547 first to mimic the behavior of the top-level configury. Move include
548 directory out of newlib_cflags.
549
859c94e8
JJ
5502005-03-22 Jeff Johnston <jjohnstn@redhat.com>
551
552 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
553 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
554 than errno.
555
7e3fd32b
CF
5562005-03-22 Christopher Faylor <cgf@timesys.com>
557
558 * libc/include/machine/_types.h: Make trivial change to comment to
559 avoid a spurious warning from gcc.
560
d4eb8920
JJ
5612005-03-21 Nicholas Wourms <nwourms@netscape.net>
562
563 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
564 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
565 reent.h include.
566
45030958
JJ
5672005-03-18 Hans-Peter Nilsson <hp@axis.com>
568 Corinna Vinschen <corinna@vinschen.de>
569
570 * libc/include/ctype.h: Remove invalid +1 offset from
571 ctype macro references to __ctype_ptr.
572 (_ctype_): Move declaration outside #ifndef __cplusplus.
573
5c9b5ac7
CV
5742005-03-18 Corinna Vinschen <corinna@vinschen.de>
575
576 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
577 evaluate first parameter only once.
578 (siglongjmp): Ditto.
579
dd801fda
JJ
5802005-03-17 Jeff Johnston <jjohnstn@redhat.com>
581
582 * configure.in: Add new check to see if compiler supports
583 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
584 * configure: Regenerated.
585 * Makefile.in: Ditto.
586 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
587 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
588 aliasing the _ctype_ array to _ctype_b.
589 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
590 _ctype_ as deprecated.
591
333eabc6
HPN
5922005-03-17 Hans-Peter Nilsson <hp@axis.com>
593
594 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
595 -DCOMPACT_CTYPE.
596
df5a5b35
JJ
5972005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
598
599 * libc/sys/rtems/include/inttypes.h: New file.
600 * libc/sys/rtems/include/stdint.h: Ditto.
601
9d385fb0
JJ
6022005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
603
604 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
605
2e7d9bf9
JJ
6062005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
607
608 * libc/include/machine/_types.h: New file.
609 * libc/include/sys/types.h: Do not check for __rtems__
610 when including <machine/_types.h>. Remove some redundant
611 declarations now that <machine/_types.h> is included.
612 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
613 shared header file.
614
92a7e06e
JJ
6152005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
616
617 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
618 L qualifier for these long constants.
619
1139537a
JJ
6202005-02-25 Eric Blake <ebb9@byu.net>
621
622 * libc/include/time.h (__tzrule_struct): Make offset long, since
623 a 16-bit int overflows on a 12-hour offset.
624 * libc/sys/linux/include/time.h: Ditto.
625 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
626 * libc/time/mktm_r.c: Ditto.
627 * libc/time/gettzinfo.c: Ditto.
628 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
629 years. Fix '%z' to use long, not int.
630
f4fd7b4c
JJ
6312005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
632
633 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
634 manipulate float values in integer form.
635 * libm/common/sf_round.c: Ditto.
636
f2f8a9a2
JJ
6372005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
638
639 * libc/include/sys/types.h [__rtems__]: Include new
640 header file machine/_types.h.
641 * libc/include/machine/types.h: Ditto.
642 * libc/sys/rtems/machine/_types.h: New file.
643
39fd43d7
CV
6442005-02-23 Corinna Vinschen <corinna@vinschen.de>
645
646 * libc/include/time.h (_timezone): Change to long also for Cygwin.
647 (timezone): Drop cast from definition.
648
6b9a74f9
JJ
6492005-02-23 Jeff Johnston <jjohnstn@redhat.com>
650
651 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
652 (__tzrule_type, __tzinfo_type): New types.
653 (__gettzinfo): New function.
654 * libc/sys/linux/include/time.h: Ditto.
655 * libc/time/Makefile.am: Add gettzinfo.c.
656 * libc/time/Makefile.in: Regenerated.
657 * libc/time/local.h: Moved __tzrule_type to time.h.
658 * libc/time/mktime.c: Call __gettzinfo to reference
659 __tznorth, __tzyear, and __tzrule array.
660 * libc/time/mktm_r.c: Ditto.
661 * libc/time/strftime.c: Ditto.
662 * libc/time/tzset_r.c: Ditto. Also remove definition
663 of __tzrule which is now in gettzinfo.c. Change _timezone
664 references to not cast to time_t.
665 * libc/time/gettzinfo.c: New file.
666
6015cf9f
CV
6672005-02-23 Corinna Vinschen <corinna@vinschen.de>
668
669 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
670
5e4c05da
CV
6712005-02-22 Corinna Vinschen <corinna@vinschen.de>
672
673 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
674
f1d439fc
JJ
6752005-02-16 Eric Blake <ebb9@byu.net>
676
677 * libc/time/time.tex: Improve the documentation.
678 * libc/time/strftime.c: Improve the documentation.
679 (iso_year_adjust): New helper function.
680 (strftime): Simplify '%E' and '%O'. Change '%c' to use
681 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
682 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
683 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
684 Avoid core dumps on valid inputs (maxsize == 0, or
685 tim_p->tm_isdst > 1).
686
18d3a03b
CV
6872005-02-08 Corinna Vinschen <corinna@vinschen.de>
688
689 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
690 members to uid_t and gid_t according to SUSv3.
691 * libc/include/sys/time.h (utimes): Change second parameter
692 to const according to SUSv3.
693
1159e0fd
JJ
6942005-02-07 Antony King <antony.king@st.com>
695
696 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
697 called before _flockfile to prevent lock object use before
698 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
699 take a struct _reent * instead of a FILE *.
700 * libc/stdio/fclose.c (_fclose_r): Ditto.
701 * libc/stdio/feof.c (feof): Ditto.
702 * libc/stdio/ferror.c (ferror): Ditto.
703 * libc/stdio/fflush.c (fflush): Ditto.
704 * libc/stdio/fgetc.c (fgetc): Ditto.
705 * libc/stdio/fgets.c (fgets): Ditto.
706 * libc/stdio/fileno.c (fileno): Ditto.
707 * libc/stdio/fputc.c (fputc): Ditto.
708 * libc/stdio/fputs.c (fputs): Ditto.
709 * libc/stdio/fread.c (fread): Ditto.
710 * libc/stdio/freopen.c (_freopen_r): Ditto.
711 * libc/stdio/fseek.c (_fseek_r): Ditto.
712 * libc/stdio/ftell.c (_ftell_r): Ditto.
713 * libc/stdio/fwrite.c (fwrite): Ditto.
714 * libc/stdio/getc.c (getc): Ditto.
715 * libc/stdio/getdelim.c (__getdelim): Ditto.
716 * libc/stdio/putc.c (putc): Ditto.
717 * libc/stdio/setvbuf.c (setvbuf): Ditto.
718 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
719 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
720 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
721 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
722 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
723 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
724 _reent * instead of a FILE * and so replace incorrect use of
725 _REENT with argument.
726 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
727 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
728 CHECK_INIT() take a struct _reent * instead of a FILE *.
729 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
730 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
731 * libc/stdio/perror.c (perror): Ditto.
732 * libc/stdio/printf.c (printf, _printf_r): Ditto.
733 * libc/stdio/putchar.c (putchar): Ditto.
734 * libc/stdio/puts.c (puts): Ditto.
735 * libc/stdio/refill.c (__srefill): Ditto.
736 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
737 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
738 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
739 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
740 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
741 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
742 * libc/stdio/wbuf.c (__swbuf): Ditto.
743 * libc/stdio/wsetup.c (__swsetup): Ditto.
744 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
745 * libc/stdlib/mstats.c (_mstats_r): Ditto.
746 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
747 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
748 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
749 to _flockfile and _funlockfile; rely on locking in _ftell_r.
750 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
751 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
752 initialision of _data field in FILE structure.
753 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
754
3d915670
JJ
7552005-02-07 Jeff Johnston <jjohnstn@redhat.com>
756
757 * libc/stdio/findfp.c (__sinit): Protect with new lock.
758 (__sinit_lock): New lock.
759 (__sinit_lock_acquire, __sinit_lock_release): New functions.
760 * libc/stdio/local.h: Add reference to new __sinit locking
761 functions.
762
b59cab1e
JJ
7632005-02-07 Jeff Johnston <jjohnstn@redhat.com>
764
765 * libc/include/math.h (isfinite, isnormal, isunordered): Change
766 input variable names to avoid mixups with nesting macros.
767
1815fdea
JJ
7682005-01-27 Hans-Peter Nilsson <hp@axis.com>
769
770 * configure.host: Add support for cris-*-* and crisv32-*-*.
771 * libc/include/machine/ieeefp.h: Ditto.
772 * libc/include/machine/setjmp.h: Ditto.
773 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
774 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
775 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
776 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
777 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
778 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
779 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
780 files.
781
f7d4d41a
JJ
7822005-01-27 Hans-Peter Nilsson <hp@axis.com>
783
784 * testsuite/newlib.string/memmove1.c: New test.
785
1319dec6
JJ
7862005-01-27 Hans-Peter Nilsson <hp@axis.com>
787
788 * testsuite/include/check.h: Include stdlib.h.
789
b45e65b0
JJ
7902005-01-27 Hans-Peter Nilsson <hp@axis.com>
791
792 * Makefile.am (stmp-targ-include): Support include header files
793 from machine directories.
e9743354 794 (install-data-local): Ditto.
b45e65b0
JJ
795 * Makefile.in: Regenerate.
796
dbfa92dd
JJ
7972005-01-24 Jeff Johnston <jjohnstn@redhat.com>
798
799 * libc/include/string.h: Remove Linux-specific declaration of
800 strsignal and add #include <sys/string.h>.
801 * libc/include/sys/string.h: New file.
802 * libc/include/sys/linux/sys/string.h: New file with strsignal
803 declaration deleted above.
804
6cb0c055
JJ
8052005-01-20 Jeff Johnston <jjohnstn@redhat.com>
806
807 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
808 to POSIX standard for "C" locale. Allow %E and %O modifiers
809 to be ignored as long as they precede valid specifiers according
810 to POSIX.
811
52429807
JJ
8122005-01-19 Shaun Jackman <sjackman@gmail.com>
813
814 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
815 environment variable is set.
816
f693170a
JJ
8172005-01-19 Shaun Jackman <sjackman@gmail.com>
818
819 * tzset_r.c (_tzname): Add a comma.
820
464d01bf
AH
8212005-01-18 Aldy Hernandez <aldyh@redhat.com>
822
823 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
824 _VFPRINTF_R.
825
f7a74742
JJ
8262005-01-07 Paul Brook <paul@codesourcery.com>
827
828 * configure.in: Add test for .init_array.
829 * configure: Regenerate.
830 * newlib.hin: Add HAVE_INITFINI_ARRAY.
831 * libc/misc/Makefile.am: Add init.c
832 * libc/misc/Makefile.in: Regenerate.
833 * libc/misc/init.c: New file.
834 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
835 _init/_fini if they exist.
836
8fa6cb9a
JJ
8372005-01-06 Jeff Johnston <jjohnstn@redhat.com>
838
839 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
840 * (strtof): Ditto.
841 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
842 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
843 functions for use by strtod and strtof.
844 * Makefile.in: Regenerated.
845
034a3909
JJ
8462005-01-06 Hans-Peter Nilsson <hp@axis.com>
847
848 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
849 bit-test in combination with NULL test.
850
9918ea2d
JJ
8512005-01-06 Hans-Peter Nilsson <hp@axis.com>
852
853 * README: Fix typo of LGPL. Change "license" to "copyright".
854
5cc3f592
JJ
8552004-12-17 Jeff Johnston <jjohnstn@redhat.com>
856
857 * NEWS: Update with 1.13.0 info.
858 * README: Ditto.
859 * acinclude.m4: Change version number to 1.13.0.
860 * aclocal.m4: Regenerated.
861 * configure: Ditto.
862 * doc/aclocal.m4: Ditto.
863 * doc/configure: Ditto.
864 * libc/*/aclocal.m4: Ditto.
865 * libc/*/configure: Ditto.
866 * libc/libc.texinfo: Ditto.
867 * libm/*/aclocal.m4: Ditto.
868 * libm/*/configure: Ditto.
869 * libm/libm.texinfo: Ditto.
870 * libc/sys/linux/shared.ld: Add VERS_1.13.
871
d8ae996c
JJ
8722004-12-17 Christian Groessler <chris@groessler.org>
873
874 * libc/machine/z8k/memcmp.S: New file.
875 * libc/machine/z8k/memcpy.S: Ditto.
876 * libc/machine/z8k/memmove.S: Ditto.
877 * libc/machine/z8k/memset.S: Ditto.
878 * libc/machine/z8k/Makefile.am: Add new files.
879 * libc/machine/z8k/Makefile.in: Regenerated.
880 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
881 part. Implement Z8002 stdcall version.
882
82673116
JJ
8832004-12-13 Jeff Johnston <jjohnstn@redhat.com>
884
885 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
886 a low-level read if we don't get the full amount of bytes so
887 EOF or error flags will be set.
888
0082d4cf
JJ
8892004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
890
891 * libc/time/tzset_r (_tzset_r): Properly skip over
892 '/' when it is detected.
893
3b54b74f
JJ
8942004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
895
896 * libc/time/tzset_r (_tzset_r): Fix loop.
897
4b30e154
JJ
8982004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
899
900 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
901 m_day.
902 (__tzcalc_limits): Fix reference to month array to be zero-based.
903
465eab2e
JJ
9042004-12-07 Jeff Johnston <jjohnstn@redhat.com>
905
906 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
907 and usleep.
908
a2b1a849
JJ
9092004-12-03 Jeff Johnston <jjohnstn@redhat.com>
910
911 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
912 libgcc dependencies.
913 (libm_la_LDFLAGS): Ditto.
914 * Makefile.in: Regenerated.
915
c80a1731
JJ
9162004-12-03 Shaun Jackman <sjackman@gmail.com>
917
918 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
919 our link to use readlink so as to preserve any relative link created
920 by install-toollibLIBRARIES.
921 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
922
70e9da42
JJ
9232004-12-02 Shaun Jackman <sjackman@gmail.com>
924
925 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
926 time_t before including sys/stat.h, which uses it.
927 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
928 <linux/time.h> just prior to definition of __KERNEL__ so as to
929 allow building on Debian Linux where otherwise, mktime would
930 be redefined.
931
a330d85a
JJ
9322004-11-26 Paul Brook <paul@codesourcery.com>
933
934 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
935
c41a1cb7
JJ
9362004-11-24 Jeff Johnston <jjohnstn@redhat.com>
937
938 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 939 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
940 * libc/stdlib/putenv.c: Ditto.
941 * libc/stdlib/putenv_r.c: Ditto.
942
16ac96ee
JJ
9432004-11-24 Jeff Johnston <jjohnstn@redhat.com>
944
945 * libc/stdio/Makefile.am: Fix missing vfscanf.
946 * libc/stdio/Makefile.in: Regenerated.
947
3bf09147
JJ
9482004-11-23 Jeff Johnston <jjohnstn@redhat.com>
949
950 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
951 do some reordering.
952 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
953 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
954 family functions.
955 * libc/stdio/Makefile.in: Regenerated.
956 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
957 * libc/stdio/iprintf.c: Ditto.
958 * libc/stdio/local.h (__svfiscanf_r): New prototype.
959 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
960 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
961 * libc/stdio/stdio.tex: Add new functions.
962 * libc/stdio/vfscanf.c: Split out __sccl function to separate
963 file and add special name defines so this file can be used
964 to build vfiscanf.o.
965 * libc/stdio/asiprintf.c: New file.
966 * libc/stdio/fiscanf.c: Ditto.
967 * libc/stdio/iscanf.c: Ditto.
968 * libc/stdio/sccl.c: Ditto.
969 * libc/stdio/siscanf.c: Ditto.
970 * libc/stdio/vasiprintf.c: Ditto.
971 * libc/stdio/viprintf.c: Ditto.
972 * libc/stdio/viscanf.c: Ditto.
973 * libc/stdio/vsiprintf.c: Ditto.
974 * libc/stdio/vsiscanf.c: Ditto.
975 * libc/stdio/vsniprintf.c: Ditto.
976
0f0fcb04
JJ
9772004-11-19 Shaun Jackman <sjackman@gmail.com>
978
979 * libc/include/stdio.h: Add sniprintf.
980 * libc/stdio/Makefile.am: Add sniprintf.c.
981 * libc/stdio/Makefile.in: Regenerated.
982 * libc/stdio/sniprintf.c: New file.
983 * libc/stdio/stdio.tex: Add sniprintf.
984
1f8f7e2d
CF
9852004-11-17 Christopher Faylor <cgf@timesys.com>
986
987 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
988 EOF flag if successful.
989
b08d08c7
CF
9902004-10-28 Christopher Faylor <cgf@timesys.com>
991
992 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 993 so that all relevant definitions have been performed for use in the
b08d08c7
CF
994 include.
995
65b1964f
JJ
9962004-10-26 Jason Tishler <jason@tishler.net>
997
998 * libc/stdio/fread.c (fread): Fix return value for unbuffered
999 fread.
1000
6382b7e3 10012004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
1002
1003 * libc/include/machine/setjmp.h: Add AVR support.
1004 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
1005
73131c2d
JJ
10062004-10-08 Jeff Johnston <jjohnstn@redhat.com>
1007
1008 * libc/include/sys/signal.h: If <signal.h> didn't include
1009 this header file, include <signal.h> to account for
1010 applications that take advantage that the two header
1011 files are the same in glibc.
1012
1185687a
JJ
10132004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
1014
1015 * configure.host: Add support for crx.
1016 * libc/include/machine/ieeefp.h: Ditto.
1017 * libc/include/machine/setjmp.h: Ditto.
1018 * libc/machine/crx/Makefile.am: New file.
1019 * libc/machine/crx/configure.in: Ditto.
1020 * libc/machine/crx/setjmp.S: Ditto.
1021 * libc/machine/crx/getenv.c: Ditto.
1022 * libc/machine/crx/aclocal.m4: Generate.
1023 * libc/machine/crx/configure: Ditto.
1024 * libc/machine/crx/Makefile.in: Ditto.
1025 * libc/machine/crx/sys/asm.h: New file.
1026 * libc/machine/crx/sys/libh.h: Ditto.
1027 * libc/machine/crx/sys/syscall.h: Ditto.
1028
423152ed
JJ
10292004-10-05 Jeff Johnston <jjohnstn@redhat.com>
1030
1031 * Makefile.am (stmp-targ-include): Support sys header files
1032 from machine directories.
1033 * Makefile.in: Regenerated.
1034
3ea9de76
JJ
10352004-10-04 Jeff Johnston <jjohnstn@redhat.com>
1036
1037 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
1038 count skipped zero characters as part of the nread count for %n.
1039 * libc/machine/powerpc/vfscanf.c: Ditto.
1040
2a6e1223
JJ
10412004-09-24 Jeff Johnston <jjohnstn@redhat.com>
1042
1043 * libc/stdio/local.h: Include <stdlib.h>.
1044
d163f2fc
CV
10452004-09-24 Corinna Vinschen <corinna@vinschen.de>
1046
1047 * libc/stdio/fread.c (fread): Include <malloc.h>.
1048
602de582
JJ
10492004-09-22 Jeff Johnston <jjohnstn@redhat.com>
1050
1051 * libc/stdio/fread.c (fread): For non-space-optimized case,
1052 add special code for unbuffered files to use user buffer and
1053 only require one low-level system read.
1054
32e73f4d
ILT
10552004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
1056
1057 * libc/machine/xscale/setjmp.S: New file, copied from
1058 libc/machine/arm/setjmp.S.
1059 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
1060 * libc/machine/xscale/Makefile.in: Regenerate.
1061
ed6859b8
JJ
10622004-09-16 Antony King <antony.king@st.com>
1063
1064 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
1065 with locking API.
1066 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
1067 check for__SSTR in _flags and if set, skip lock request.
1068 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1069 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
1070 not NULL.
1071 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
1072 initialisation of _file to -1 in local FILE.
1073 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
1074 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
1075 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
1076 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1077 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
1078 _flags in local FILE to prevent locking.
1079 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1080
7a0f6966
JJ
10812004-09-16 Antony King <antony.king@st.com>
1082
1083 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
1084 and only walk the reentrancy parameter.
1085 (_fwalk_reent): Ditto.
1086 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
1087
c77672c0
JJ
10882004-09-16 Antony King <antony.king@st.com>
1089
1090 * libc/stdio64/freopen64.c: Remove casting of fp lock to
1091 _LOCK_RECURSIVE_T.
1092
5c44c2e5
JJ
10932004-09-16 Antony King <antony.king@st.com>
1094
1095 * libc/time/tzlock.c: Add default stubs that use generic
1096 locking code.
1097
14613e5e
JJ
10982004-09-16 Antony King <antony.king@st.com>
1099
1100 * libc/ctype/ctype.tex: Added missing documentation.
1101 * libc/stdio/stdio.tex Ditto.
1102 * libc/stdlib/stdlib.tex Ditto.
1103 * libc/string/strings.tex Ditto.
1104 * libc/time/time.tex: Ditto.
1105 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
1106
181cb051
JJ
11072004-09-15 Corinna Vinschen <vinschen@redhat.com>
1108
1109 * libc/reent/impure.c (reent_data): Define as alias to impure_data
1110 when building for Cygwin.
1111 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
1112 _global_impure_ptr.
1113
51d4a7ea
JJ
11142004-09-15 Jeff Johnston <jjohnstn@redhat.com>
1115
1116 * configure.host: Reverting 2004-09-14 change as fix has occurred on
1117 Cygwin side.
1118 * configure.in: Ditto.
1119 * libc/configure.in: Ditto.
1120 * libc/sys/configure.in: Ditto.
1121 * configure: Ditto.
1122 * libc/configure: Ditto.
1123 * libc/sys/configure: Ditto.
1124 * libc/include/sys/reent.h: Ditto.
1125 * libc/stdlib/__atexit.c: Ditto.
1126 * libc/stdlib/__call_atexit.c: Ditto.
1127 * libc/stdlib/cxa_atexit.c: Ditto.
1128 * libc/stdlib/cxa_finalize.c: Ditto.
1129 * libc/sys/cygwin/Makefile.am: Removed again.
1130 * libc/sys/cygwin/Makefile.in: Ditto.
1131 * libc/sys/cygwin/aclocal.m4: Ditto.
1132 * libc/sys/cygwin/configure: Ditto.
1133 * libc/sys/cygwin/configure.in: Ditto.
1134 * libc/sys/cygwin/dummy.c: Ditto.
1135 * libc/sys/cygwin/sys/reent.h: Ditto.
1136
98650d2f
JJ
11372004-09-14 Jeff Johnston <jjohnstn@redhat.com>
1138
1139 * configure.host: Add Cygwin sys directory.
1140 * configure.in: Do not set CRT0 for cygwin.
1141 * libc/configure.in: Ditto.
1142 * libc/sys/configure.in: Ditto.
1143 * configure: Regenerated.
1144 * libc/configure: Ditto.
1145 * libc/sys/configure: Ditto.
1146 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
1147 * libc/stdlib/__atexit.c: Keep cxa support protected by new
1148 __REENT_HAS_CXA_SUPPORT flag.
1149 * libc/stdlib/__call_atexit.c: Ditto.
1150 * libc/stdlib/cxa_atexit.c: Ditto.
1151 * libc/stdlib/cxa_finalize.c: Ditto.
1152 * libc/sys/cygwin/Makefile.am: New file.
1153 * libc/sys/cygwin/Makefile.in: Ditto.
1154 * libc/sys/cygwin/aclocal.m4: Ditto.
1155 * libc/sys/cygwin/configure: Ditto.
1156 * libc/sys/cygwin/configure.in: Ditto.
1157 * libc/sys/cygwin/dummy.c: Ditto.
1158 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
1159 version of reent.h.
1160
d4c8e53b
JJ
11612004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1162
1163 * libc/iconv/iconv.tex: Updated with new content.
1164 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
1165 instead of NLS_DEFAULT_NLSPATH.
1166 * libc/iconv/lib/iconvnls.h: Fix typo.
1167 * libc/include/sys/iconvnls.h: New file.
1168
0c8593cf
JJ
11692004-09-09 Paul Brook <paul@codesourcery.com>
1170
1171 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
1172 and _is_cxa.
1173 (struct _atexit): Add _next when _REENT_SMALL.
1174 (struct _reent): Add _atexit0 when _REENT_SMALL.
1175 (_REENT_INIT_PTR): Adjust.
1176 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
1177 __call_exit.c.
1178 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
1179 * libc/stdlib/Makefile.in: Regenerate.
1180 * libc/stdlib/__atexit.c: New file.
1181 * libc/stdlib/__call_atexit.c: New file.
1182 * libc/stdlib/atexit.h: Remove old definitions. Add new.
1183 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
1184 * libc/stdlib/cxa_atexit.c: New file.
1185 * libc/stdlib/cxa_finalize.c: New file.
1186 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
1187 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
1188 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
1189 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
1190 _on_exit_args_ptr.
1191
c6ed5a85
JJ
11922004-08-23 Jeff Johnston <jjohnstn@redhat.com>
1193
1194 * libc/include/sys/unistd.h (getpass): Change prototype to use
1195 const instead of __const.
1196
721a934c
JJ
11972004-08-16 Nathan Sidwell <nathan@codesourcery.com>
1198
1199 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
1200 #if.
1201
4e53fc28
JJ
12022004-08-12 Jeff Johnston <jjohnstn@redhat.com>
1203
1204 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
1205 on linux systems with glibc 2.3.3 installed.
1206 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
1207 profile_fixup so newlib can build on fc3 system.
1208
82045f12
AO
12092004-07-30 Alexandre Oliva <aoliva@redhat.com>
1210
1211 Introduce SH2a support.
1212 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
1213 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
1214 __SH2A_SINGLE_ONLY__, too.
1215 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
1216 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
1217 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
1218 2004-02-10 DJ Delorie <dj@redhat.com>
1219 * libc/sys/sh/crt0.S (start_l): Support sh2a.
1220
ad6b1d79
JJ
12212004-07-29 Jeff Johnston <jjohnstn@redhat.com>
1222
1223 * libc/time/strptime.c: Correct full-name of "March" typo.
1224
63b9dcc4
JJ
12252004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
1226
1227 * configure.host (h8300*-*-*): Default long long printing support.
1228
dbfd3394
JJ
12292004-07-16 Jeff Johnston <jjohnstn@redhat.com>
1230
1231 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
1232 calls, if realloc fails, free up buffer as it is no longer
1233 used.
1234
6edb3da9
JJ
12352004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1236
1237 * libc/iconv/iconv.tex: Updated to represent recent changes.
1238 * libc/iconv/lib/iconv.c: Documentation updated.
1239
578a3560
NC
12402004-07-07 Nick Clifton <nickc@redhat.com>
1241
1242 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
1243 for xStormy16.
1244
2bc257e3
JJ
12452004-07-06 Chris Demetriou <cgd@broadcom.com>
1246
1247 * configure.host (mips*-*-elf*): Default long long printing
1248 support.
1249
75e7ffaa
JJ
12502004-07-05 Jeff Johnston <jjohnstn@redhat.com>
1251
1252 * libc/Makefile.am (libc.dvi): Add target and specify
1253 same dependencies as libc.info.
1254 * libc/Makefile.in: Regenerated.
1255 * libm/Makefile.am (libm.dvi): Add target and specify
1256 same dependencies as libm.info.
1257 * libm/Makefile.in: Regenerated.
1258
76ce12c3
JJ
12592004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1260
1261 * acinclude.m4: Move --enable-newlib-iconv option back here.
1262 * configure.in: Remove --enable-newlib-iconv option. Don't
1263 tie iconv support to --enable-newlib-mb.
1264 * aclocal.m4: Regenerated.
1265 * configure: Ditto.
1266 * doc/aclocal.m4, doc/configure: Ditto.
1267 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
1268 * libm/*/aclocal.m4: Ditto.
1269 * libm/*/configure: Ditto.
1270 * libc/*/aclocal.m4: Ditto.
1271 * libc/*/configure: Ditto.
1272
660dade3
JJ
12732004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1274
1275 * acinclude.m4: Move iconv options into configure.in.
1276 * aclocal.m4: Regenerated.
1277 * configure: Ditto.
1278 * configure.in: Add iconv options.
1279 * newlib.hin: Add new iconv encodings and remove deleted ones.
1280 * doc/aclocal.m4: Regenerated.
1281 * doc/configure: Ditto.
1282 * iconvdata/aclocal.m4: Ditto.
1283 * iconvdata/configure: Ditto.
1284 * libc/iconv: Design change. New size-optimized ccs format.
1285 * libc/iconv/AUTHORS: Removed.
1286 * libc/iconv/COPYING: Ditto.
1287 * libc/iconv/README.ORIGINAL: Ditto.
1288 * libc/iconv/README.TODO: Ditto.
1289 * libc/iconv/charset.aliases: Ditto.
1290 * libc/iconv/encoding.aliases: New file.
1291 * libc/iconv/Makefile.am: Updated.
1292 * libc/iconv/Makefile.in: Regenerated.
1293 * libc/iconv/iconv.tex: Updated.
1294 * libc/iconv/ccs/Makefile.am: Ditto.
1295 * libc/iconv/ccs/Makefile.in: Regenerated.
1296 * libc/iconv/ccs/big5.c: Updated.
1297 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1298 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1299 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1300 * libc/iconv/ccs/cp775.c: Ditto.
1301 * libc/iconv/ccs/cp850.c: Ditto.
1302 * libc/iconv/ccs/cp852.c: Ditto.
1303 * libc/iconv/ccs/cp855.c: Ditto.
1304 * libc/iconv/ccs/cp866.c: Ditto.
1305 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1306 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
1307 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1308 * libc/iconv/ccs/iconv_mktbl: Ditto.
1309 * libc/iconv/ccs/jis_x0201.c: Ditto.
1310 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1311 * libc/iconv/ccs/shift_jis.c: Ditto.
1312 * libc/iconv/ccs/us_ascii.c: Ditto.
1313 * libc/iconv/ccs/ccs.h: New file.
1314 * libc/iconv/ccs/ccsbi.c: Ditto.
1315 * libc/iconv/ccs/ccsbi.h: Ditto.
1316 * libc/iconv/ccs/ccsnames.h: Ditto.
1317 * libc/iconv/ccs/iso_8859_10.c: Ditto.
1318 * libc/iconv/ccs/iso_8859_11.c: Ditto.
1319 * libc/iconv/ccs/iso_8859_13.c: Ditto.
1320 * libc/iconv/ccs/iso_8859_14.c: Ditto.
1321 * libc/iconv/ccs/iso_8859_3.c: Ditto.
1322 * libc/iconv/ccs/iso_8859_6.c: Ditto.
1323 * libc/iconv/ccs/iso_8859_7.c: Ditto.
1324 * libc/iconv/ccs/iso_8859_8.c: Ditto.
1325 * libc/iconv/ccs/iso_8859_9.c: Ditto.
1326 * libc/iconv/ccs/iso_ir_111.c: Ditto.
1327 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
1328 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
1329 * libc/iconv/ccs/koi8_ru.c: Ditto.
1330 * libc/iconv/ccs/koi8_uni.c: Ditto.
1331 * libc/iconv/ccs/mktbl.pl: Ditto.
1332 * libc/iconv/ccs/win_1250.c: Ditto.
1333 * libc/iconv/ccs/win_1251.c: Ditto.
1334 * libc/iconv/ccs/win_1252.c: Ditto.
1335 * libc/iconv/ccs/win_1253.c: Ditto.
1336 * libc/iconv/ccs/win_1254.c: Ditto.
1337 * libc/iconv/ccs/win_1255.c: Ditto.
1338 * libc/iconv/ccs/win_1256.c: Ditto.
1339 * libc/iconv/ccs/win_1257.c: Ditto.
1340 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
1341 * libc/iconv/ccs/iso_8859_15.c: Updated.
1342 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1343 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1344 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1345 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1346 * libc/iconv/ccs/koi8_r.c: Ditto.
1347 * libc/iconv/ccs/koi8_u.c: Ditto.
1348 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
1349 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
1350 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1351 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1352 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1353 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1354 * libc/iconv/ccs/binary/Makefile.am: Updated.
1355 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
1356 * libc/iconv/ccs/binary/big5.cct: Updated.
1357 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1358 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1359 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1360 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
1361 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
1362 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
1363 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
1364 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
1365 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1366 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1367 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1368 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1369 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1370 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1371 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1372 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1373 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1374 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
1375 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
1376 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
1377 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
1378 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
1379 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
1380 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
1381 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
1382 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
1383 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
1384 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
1385 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
1386 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
1387 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
1388 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
1389 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
1390 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
1391 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
1392 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
1393 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
1394 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
1395 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
1396 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
1397 * libc/iconv/ces/Makefile.am: Updated.
1398 * libc/iconv/ces/Makefile.in: Regenerated.
1399 * libc/iconv/ces/ucs-2-internal.c: Updated.
1400 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1401 * libc/iconv/ces/utf-16.c: Ditto.
1402 * libc/iconv/ces/utf-8.c: Ditto.
1403 * libc/iconv/ces/cesbi.c: New file.
1404 * libc/iconv/ces/cesbi.h: Ditto.
1405 * libc/iconv/ces/cesdeps.h: Ditto.
1406 * libc/iconv/ces/euc.c: Ditto.
1407 * libc/iconv/ces/mkdeps.pl: Ditto.
1408 * libc/iconv/ces/table-pcs.c: Ditto.
1409 * libc/iconv/ces/table.c: Ditto.
1410 * libc/iconv/ces/ucs-2.c: Ditto.
1411 * libc/iconv/ces/ucs-4.c: Ditto.
1412 * libc/iconv/ces/us-ascii.c: Ditto.
1413 * libc/iconv/ces/euc-jp.c: Removed.
1414 * libc/iconv/ces/euc-kr.c: Ditto.
1415 * libc/iconv/ces/euc-tw.c: Ditto.
1416 * libc/iconv/ces/gb2312.c: Ditto.
1417 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
1418 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1419 * libc/iconv/lib/Makefile.am: Updated.
1420 * libc/iconv/lib/Makefile.in: Regenerated.
1421 * libc/iconv/lib/endian.h: Updated.
1422 * libc/iconv/lib/iconv.c: Ditto.
1423 * libc/iconv/lib/local.h: Ditto.
1424 * libc/iconv/lib/aliases.c: Removed.
1425 * libc/iconv/lib/bialiasesi.c: Ditto.
1426 * libc/iconv/lib/biccs.c: Ditto.
1427 * libc/iconv/lib/bices.c: Ditto.
1428 * libc/iconv/lib/ccs.c: Ditto.
1429 * libc/iconv/lib/ces.c: Ditto.
1430 * libc/iconv/lib/ces_euc.c: Ditto.
1431 * libc/iconv/lib/ces_iso2022.c: Ditto.
1432 * libc/iconv/lib/ces_table.c: Ditto.
1433 * libc/iconv/lib/converter.c: Ditto.
1434 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
1435 * libc/iconv/lib/loaddata.c: Ditto.
1436 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
1437 * libc/iconv/lib/aliasesi.c: Ditto.
1438 * libc/iconv/lib/conv.h: Ditto.
1439 * libc/iconv/lib/encnames.h: Ditto.
1440 * libc/iconv/lib/encoding.deps: Ditto.
1441 * libc/iconv/lib/iconvnls.c: Ditto.
1442 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
1443 * libc/iconv/lib/nullconv.c: Ditto.
1444 * libc/iconv/lib/ucsconv.c: Ditto.
1445 * libc/iconv/lib/ucsconv.h: Ditto.
1446 * libc/include/iconv.h: Update copyright.
1447 * libc/*/aclocal.m4: Regenerated.
1448 * libc/*/configure: Ditto.
1449 * libm/*/aclocal.m4: Ditto.
1450 * libm/*/configure: Ditto.
1451
9a6831be
AO
14522004-06-22 Alexandre Oliva <aoliva@redhat.com>
1453
eb6a452a
AO
1454 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
1455 instead of typedefing jmp_buf.
1456
9a6831be
AO
1457 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
1458 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
1459 * libc/machine/h8300/defines.h (LEN): New macro.
1460 * libc/machine/h8300/memcpy.S: Add h8sx version.
1461 * libc/machine/h8300/memset.S: Likewise.
1462 * libc/machine/h8300/strcmp.S: Likewise.
1463 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
1464 * libc/machine/h8300/h8sx_strcpy.S: New file.
1465 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
1466 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
1467 __H8300SX__.
1468 * libc/include/machine/setjmp.h: Likewise.
1469 * libc/include/sys/config.h: Likewise.
1470 * libc/machine/h8300/defines.h: Likewise.
1471 * libc/machine/h8300/setjmp.S: Likewise.
1472 * libc/machine/h8300/strcmp.S: Likewise.
1473 * libc/sys/h8300hms/close.S: Likewise.
1474 * libc/sys/h8300hms/fstat.S: Likewise.
1475 * libc/sys/h8300hms/lseek.S: Likewise.
1476 * libc/sys/h8300hms/read.S: Likewise.
1477 * libc/sys/h8300hms/write.S: Likewise.
1478 * libc/sys/h8300hms/crt0.S: Likewise.
1479 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
1480 __H8300SX__ is defined.
1481 * libc/sys/h8300hms/setarch.h: Likewise.
1482
80dba41e
JJ
14832004-06-17 Jeff Johnston <jjohnstn@redhat.com>
1484
1485 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
1486 out change which set _GLOBAL_REENT to _global_impure_ptr until
1487 we understand why Cygwin breaks because of it.
1488
be910599
JJ
14892004-06-14 Jeff Johnston <jjohnstn@redhat.com>
1490
1491 * libc/sys/linux/machine/i386/syscall.h: For now, set up
1492 __syscall_return macro for systems with vsyscall.
1493
d0bd3e6f
JJ
14942004-06-11 Antony King <antony.king@st.com>
1495
1496 * libc/include/sys/_types.h: Include <sys/lock.h> and change
1497 _flock_t to be of type _LOCK_RECURSIVE_T.
1498 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
1499 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
1500 (_global_impure_ptr): New declaration.
1501 (_GLOBAL_REENT): Change to be _global_impure_ptr.
1502 * libc/include/sys/stdio.h: Include <sys/lock.h> and
1503 <sys/reent.h>.
1504 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
1505 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1506 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
1507 * libc/stdio/fclose.c: Remove casting of fp lock to
1508 _LOCK_RECURSIVE_T.
1509 * libc/stdio/findfp.c: Ditto.
1510 * libc/stdio/fopen.c: Ditto.
1511 * libc/stdio/freopen.c: Ditto.
1512 * libc/stdio/vfprintf.c: Ditto.
1513 * libc/stdio64/fopen64.c: Ditto.
1514 * libc/stdlib/envlock.c: Add default stubs that use generic
1515 locking code.
1516 * libc/stdlib/mlock.c: Ditto.
1517
1518 Jeff Johnston <jjohnstn@redhat.com>
1519 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
1520 (_flock_t): Change to be a struct containing a single member
1521 named mutex which is of type __flock_mutex_t.
1522
db7033a9
JJ
15232004-06-09 Jeff Johnston <jjohnstn@redhat.com>
1524
1525 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
1526 from /usr/include/asm/signal.h instead of kernel sources. Also
1527 default max to 32 if not found in header file.
1528 * libc/sys/linux/Makefile.in: Regenerated.
1529 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
1530 systems where __syscall_return is not defined.
1531 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
1532 systems to use syscall() function instead of assembler interrupt.
1533
a170abec
JJ
15342004-06-09 Toralf Lund <toralf@procaptura.com>
1535
1536 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
1537 files from libc/sys/arm to libc/machine/arm.
1538 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
1539 library build support for files moved from libc/sys/arm.
1540 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
1541 references to access and setjmp.
1542 * configure.host: Add checks for newlib_may_supply_syscalls to
1543 determine whether or not to use sys/arm directory and use
1544 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
1545
8b57e664
JJ
15462004-06-02 Jeff Johnston <jjohnstn@redhat.com>
1547
1548 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
1549 reset digit flags appropriately after we have discovered "0x".
1550 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1551
3f611058
JJ
15522004-05-27 Jeff Johnston <jjohnstn@redhat.com>
1553
1554 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
1555 from here ...
1556 (_VFPRINTF_R): ... to here so all I/O printf routines
1557 are covered.
1558
bb42a35c
JJ
15592004-05-26 Jeff Johnston <jjohnstn@redhat.com>
1560
1561 * libc/search/hash_buf.c: Protect MAX and MIN macros from
1562 redefinition.
1563 * libc/search/hash.c: Ditto.
1564
227e6ef6
JJ
15652004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1566
1567 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
1568 (_WANT_IO_LONG_LONG): Ditto.
1569 (_WANT_IO_LONG_DOUBLE): Ditto.
1570 * configure.in: Add new configuration options
1571 --enable-newlib-io-long-long and --enable-newlib-io-long-double
1572 which tie to new defines in newlib.hin.
1573 * configure: Regenerated.
1574 * configure.host: Add checks for new configuration options. Also
1575 fix up check for --enable-newlib-io-pos-args so configuration
1576 option will override any default for a given platform.
1577 Remove defining compiler flags for the _WANT_IO* options.
1578 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
1579 instead of looking for old compiler flags.
1580 * libc/stdio/vfscanf.c: Ditto.
1581 * libc/stdio/vfieeefp.h: Ditto.
1582 * libc/machine/powerpc/vfprintf.c: Ditto.
1583 * libc/machine/powerpc/vfscanf.c: Ditto.
1584
9178da95
JJ
15852004-05-25 Jeff Johnston <jjohnstn@redhat.com>
1586
1587 * testsuite/include/check.h: Add include of <stdio.h>.
1588
cf3aae91
CV
15892004-05-17 Corinna Vinschen <corinna@vinschen.de>
1590
1591 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
1592
5b4c8ae2
JJ
15932004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1594
1595 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
1596 of free.
1597
15982004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1599
1600 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
1601 list for reentrant pointer. Call _vfiprintf_r.
1602 * libc/stdio/siprintf.c (_siprintf_r): New function.
1603 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
1604 pointer argument. Change all callers. Call _VFPRINTF_R.
1605 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
1606 prototypes.
1607
631fbe65
JJ
16082004-05-07 Jeff Johnston <jjohnstn@redhat.com>
1609
1610 * libc/include/sys/param.h: Remove endian info and include
1611 <machine/endian.h> instead.
1612 * libc/include/machine/endian.h: New file.
1613 * libc/include/machine/param.h: Ditto.
1614 * libc/machine/arm/machine/endian.h: Ditto.
1615 * libc/machine/arm/machine/param.h: Ditto.
1616 * libc/sys/arm/sys/param.h: Removed.
1617 * libc/sys/sysvi386/sys/param.h: Ditto.
1618 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
1619
1af84bb7
JJ
16202004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1621
1622 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
1623 multibyte functions return failure for %C, %S, %lc, and %ls
1624 format specifiers.
1625
1c63798e
JJ
16262004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1627
1628 * testsuite/include/check.h (CHECK): Add flush of stdout.
1629
20b0251a
JJ
16302004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1631
1632 * libc/include/stdio.h (_ungetc_r): New prototype.
1633 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
1634 (__submore): Add reentrant struct pointer argument.
1635 (ungetc): Change to call _ungetc_r.
1636
6194cf4a
JJ
16372004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1638
1639 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
1640 function pointer argument.
1641 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
1642 to specify function pointer arguments.
1643 (__fwalk, __fwalk_reent): Ditto.
1644
b4ddf489
AH
16452004-04-26 Aldy Hernandez <aldyh@redhat.com>
1646
1647 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
1648 CT_INT case.
1649
f777e3a5
JJ
16502004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1651
1652 * configure.in: Define _MB_CAPABLE if mb supported.
1653 * configure: Regenerated.
1654 * configure.host: Remove manual setting of MB_CAPABLE compiler
1655 flag.
1656 * newlib.hin: Add _MB_CAPABLE flag.
1657 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
1658 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
1659 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
1660 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
1661 * libc/ctype/jp2uc.c: Ditto.
1662 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
1663 * libc/locale/locale.c: Ditto
1664 * libc/machine/powerpc/vfscanf.c: Ditto
1665 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
1666 * libc/stdlib/mblen.c: Ditto
1667 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
1668 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
1669 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
1670 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
1671 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
1672 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
1673 * libc/sys/linux/intl/explodename.c: Ditto
1674 * libc/sys/linux/intl/finddomain.c: Ditto
1675 * libc/sys/linux/intl/l10nflist.c: Ditto
1676 * libc/sys/linux/intl/loadmsgcat.c: Ditto
1677 * libc/sys/linux/intl/localealias.c: Ditto
1678
27c7566c
JJ
16792004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1680
1681 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
1682 (__svfscanf_r): In integer conversions, leave out leading zeroes
1683 which are not part of a base prefix.
1684 Keep track of width truncation to fit into buf, not counting left-out
1685 zeroes against width till the truncation has been compensated for.
1686 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
1687
c00f9719
JJ
16882004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1689
1690 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
1691
05b31577
JJ
16922004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1693
1694 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
1695 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
1696 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
1697 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
1698 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
1699 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
1700 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
1701 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
1702 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
1703 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
1704 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
1705 libc/stdio/getchar.c libc/stdio/getchar_u.c,
1706 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
1707 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
1708 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
1709 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
1710 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
1711 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
1712 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
1713 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
1714 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
1715 libc/stdio/siprintf.c libc/stdio/snprintf.c,
1716 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
1717 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
1718 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
1719 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
1720 libc/stdio/vprintf.c libc/stdio/vscanf.c,
1721 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
1722 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
1723 libc/stdio/wsetup.c: Perform minor formatting changes. Move
1724 copyright notices to top of file, ensure that <_ansi.h> is
1725 included, be consistent with open parentheses, use _DEFUN macro,
1726 include "local.h" where needed, and remove various compiler
1727 warnings.
1728
04e8fca1
JJ
17292004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
1730
1731 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
1732 (__svfscanf_r): In integer conversions, leave out leading zeroes
1733 which are not part of a base prefix.
1734 Keep track of width truncation to fit into buf, not counting left-out
1735 zeroes against width till the truncation has been compensated for.
1736
9090ec74
CV
17372004-04-20 Corinna Vinschen <corinna@vinschen.de>
1738
1739 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
1740
1c17deea
CV
17412004-04-20 Corinna Vinschen <corinna@vinschen.de>
1742
1743 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
1744
54c7940f
CV
17452004-04-10 Corinna Vinschen <corinna@vinschen.de>
1746
1747 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
1748 to SUSv3.
1749
47dcaf56
JJ
17502004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1751
1752 * libc/stdio/fclose.c (_fclose_r): New function.
1753 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
1754 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
1755 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
1756 * libc/include/stdio.h (_fclose_r): New prototype.
1757 * libc/stdio/fopen.c: Fix typo in comment.
1758
17592004-04-08 Jeff Johnston <jjohnstn@redhat.com>
1760
1761 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
1762 to handle _r reentrant functions.
1763
4121d8cf
JJ
17642004-04-08 Eric Christopher <echristo@redhat.com>
1765
1766 * libc/include/machine/setjmp.h: Fix endif locations.
1767
59c9f5f5
JJ
17682004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1769
1770 * libc/time/strptime.c: Add standard includes to avoid
1771 warning messages at compilation time.
1772
38f4f023
JJ
17732004-04-01 Jeff Johnston <jjohnstn@redhat.com>
1774
1775 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
1776 of file.
1777
17782004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
1779
1780 * libc/machine/h8300/Makefile.am: Reformat slightly.
1781 * libc/machine/h8300/Makefile.in: Regenerate.
1782
38f4f023 17832004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
1784
1785 * libc/stdio/findfp.c (__fp_lock_all): Add call to
1786 __sfp_lock_acquire.
1787 (__fp_unlock_all): Add call to __sfp_lock_release.
1788
10dcf7e7
JJ
17892004-03-25 Thomas Pfaff <tpfaff@gmx.net>
1790
1791 * libc/stdio/fclose.c (fclose): Protect file pointer list when
1792 releasing a file.
1793 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
1794 fwalk.
1795 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
1796 _flockfile/_funlockfile.
1797 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
1798 to recursive.
1799 Change __lock_acquire/__lock_release calls for __sfp_lock to
1800 __sfp_lock_acquire/__sfp_lock_release throughout.
1801 (std): Make sure that file lock is only initialized once.
1802 (__sfp): Move _file initialization. Initialize file lock.
1803 (__sfp_lock_acquire): New function.
1804 (__sfp_lock_release): Ditto.
1805 (__fp_lock_all): Remove __sfp_lock_acquire call.
1806 (__fp_unlock_all): Remove __sfp_lock_release call.
1807 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
1808 Add calls to _flockfile/_funlockfile. Remove
1809 __lock_init_recursive call.
1810 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
1811 * libc/stdio/fwalk.c (__fwalk): New static function.
1812 (_fwalk): Protect file pointer list. Use __fwalk to walk through
1813 file pointers.
1814 * libc/stdio/local.h: Add defines for
1815 __sfp_lock_acquire/__sfp_lock_release when
1816 single threaded. Add function prototypes otherwise.
1817 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
1818 _flockfile/_funlockfile.
1819 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
1820 Add calls to _flockfile/_funlockfile. Remove
1821 __lock_init_recursive call.
1822 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
1823 list.
1824
ec475b09
JJ
18252004-03-25 Jeff Johnston <jjohnstn@redhat.com>
1826
1827 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
1828 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
1829 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
1830 to be __LOCK_INIT_RECURSIVE.
1831
2c4ef10a
JJ
18322004-03-11 Kazu Hirata <kazu@cs.umass.edu>
1833
1834 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
1835 _exit.c with _exit.S.
1836 * libc/sys/h8300hms/Makefile.in: Regenerate.
1837 * libc/sys/h8300hms/_exit.c: Remove.
1838 * libc/sys/h8300hms/_exit.S: New.
1839
41c3da6a
JJ
18402004-03-09 Thomas Pfaff <tpfaff@gmx.net>
1841
1842 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
1843 Change __sfp_lock to static global.
1844 (__fp_lock): New static function.
1845 (__fp_unlock): Ditto.
1846 (__fp_lock_all): New function.
1847 (__fp_unlock_all): Ditto.
1848
0ccf5430
CF
18492004-02-10 Christopher Faylor <cgf@redhat.com>
1850
1851 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
1852 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
1853 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
1854 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
1855
3536f0fb
CF
18562004-02-09 Christopher Faylor <cgf@redhat.com>
1857
1858 * libc/include/time.h (TIMER_RELTIME): New define.
1859
6a6e493a
JJ
18602004-02-09 Jeff Johnston <jjohnstn@redhat.com>
1861
1862 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
1863 * libc/stdlib/Makefile.in: Regenerated.
1864
733309f5
CF
18652004-02-08 Christopher Faylor <cgf@redhat.com>
1866
1867 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
1868 * libc/include/sys/reent.h (__getreent): Protect against possibly being
1869 defined.
1870 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
1871
b4a84c66
JJ
18722004-02-05 Paul Brook <paul@codesourcery.com>
1873
1874 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
1875 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
1876
4669438f
JJ
18772004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1878
1879 * NEWS: Update with 1.12.0 info.
1880 * README: Ditto.
1881 * acinclude.m4: Change version number to 1.12.0.
1882 * aclocal.m4: Regenerated.
1883 * configure: Ditto.
1884 * doc/aclocal.m4: Ditto.
1885 * doc/configure: Ditto.
1886 * libc/*/aclocal.m4: Ditto.
1887 * libc/*/configure: Ditto.
1888 * libc/libc.texinfo: Ditto.
1889 * libm/*/aclocal.m4: Ditto.
1890 * libm/*/configure: Ditto.
1891 * libm/libm.texinfo: Ditto.
1892 * libc/sys/linux/shared.ld: Add VERS_1.12.
1893
94d61fcb
JJ
18942004-02-02 Joel Sherrill <joel@oarcorp.com>
1895
1896 * configure.host: Add support for tic4x.
1897 * libc/include/machine/ieeefp.h: Ditto.
1898 * libc/include/machine/setjmp.h: Ditto.
1899 * libc/machine/tic4x/Makefile.am: New file.
1900 * libc/machine/tic4x/configure.in: Ditto.
1901 * libc/machine/tic4x/setjmp.S: Ditto.
1902 * libc/machine/tic4x/aclocal.m4: Generated.
1903 * libc/machine/tic4x/configure: Ditto.
1904 * libc/machine/tic4x/Makefile.in: Ditto.
1905
c730e0e7
JJ
19062004-01-30 Jeff Johnston <jjohnstn@redhat.com>
1907
1908 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
1909 file chain on the passed in reentrancy struct if it
1910 is _GLOBAL_REENT.
1911
2892ec68
JJ
19122004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1913 Jeff Johnston <jjohnstn@redhat.com>
1914
1915 * libc/iconv/iconv.tex: Updated with more information.
1916
ff41498a
JJ
19172004-01-30 Thomas Pfaff <tpfaff@gmx.net>
1918 Jeff Johnston <jjohnstn@redhat.com>
1919
1920 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
1921 struct for std streams and traverse the global reeentrancy
1922 struct for all other streams.
1923
d5b6c234
JJ
19242004-01-27 Jeff Johnston <jjohnstn@redhat.com>
1925
1926 * libc/stdlib/atexit.c: Protect global atexit list with a
1927 lock when newlib is multithreaded.
1928
01e0a777
JJ
19292004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1930
1931 * configure.in: Add support to generate iconv converter flags
1932 for newlib.h
1933 * newlib.hin: Add iconv converter flags.
1934 * configure: Regenerated.
1935 * libc/Makefile.in: Ditto.
1936 * libc/configure.in: Moved iconv converter parsing logic to
1937 top level newlib configure.in.
1938 * libc/configure: Regenerated.
1939 * libc/iconv/Makefile.in: Ditto.
1940 * libc/iconv/README.TODO
1941 * libc/iconv/charset.aliases: Remove wrong BE aliases for
1942 UCS2/UCS4/UTF8.
1943 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
1944 newlib.h can be used.
1945 * libc/iconv/ces/Makefile.am: Ditto.
1946 * libc/iconv/lib/Makefile.am: Ditto.
1947 * libc/iconv/ccs/Makefile.in: Regenerated.
1948 * libc/iconv/ces/Makefile.in: Ditto.
1949 * libc/iconv/lib/Makefile.in: Ditto.
1950 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
1951 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
1952 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
1953 defined in newlib.h.
1954 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1955 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1956 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1957 * libc/iconv/ccs/cp775.c: Ditto.
1958 * libc/iconv/ccs/cp850.c: Ditto.
1959 * libc/iconv/ccs/cp852.c: Ditto.
1960 * libc/iconv/ccs/cp855.c: Ditto.
1961 * libc/iconv/ccs/cp866.c: Ditto.
1962 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1963 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1964 * libc/iconv/ccs/iso_8859_15.c: Ditto.
1965 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1966 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1967 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1968 * libc/iconv/ccs/jis_x0201.c: Ditto.
1969 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1970 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1971 * libc/iconv/ccs/koi8_r.c: Ditto.
1972 * libc/iconv/ccs/koi8_u.c: Ditto.
1973 * libc/iconv/ccs/ksx1001.c: Ditto.
1974 * libc/iconv/ccs/shift_jis.c: Ditto.
1975 * libc/iconv/ccs/us_ascii.c: Ditto.
1976 * libc/iconv/ccs/binary/big5.cct: Newly generated.
1977 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1978 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1979 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1980 * libc/iconv/ccs/binary/cp775.cct: Ditto.
1981 * libc/iconv/ccs/binary/cp850.cct: Ditto.
1982 * libc/iconv/ccs/binary/cp852.cct: Ditto.
1983 * libc/iconv/ccs/binary/cp855.cct: Ditto.
1984 * libc/iconv/ccs/binary/cp866.cct: Ditto.
1985 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
1986 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1987 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1988 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1989 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1990 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1991 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1992 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1993 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1994 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1995 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1996 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1997 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1998 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1999 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
2000 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
2001 * libc/iconv/ces/euc-kr.c: Ditto.
2002 * libc/iconv/ces/euc-tw.c: Ditto.
2003 * libc/iconv/ces/gb2312.c: Ditto.
2004 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
2005 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
2006 * libc/iconv/ces/ucs-2-internal.c: Ditto.
2007 * libc/iconv/ces/ucs-4-internal.c: Ditto.
2008 * libc/iconv/ces/utf-16.c: Ditto.
2009 * libc/iconv/ces/utf-8.c: Ditto.
2010 * libc/iconv/lib/aliases.c: Ditto.
2011 * libc/iconv/lib/biccs.c: Ditto.
2012 * libc/iconv/lib/bices.c: Ditto.
2013 * libc/iconv/lib/ccs.c: Ditto.
2014 * libc/iconv/lib/ces.c: Ditto.
2015 * libc/iconv/lib/ces_euc.c: Ditto.
2016 * libc/iconv/lib/ces_iso2022.c: Ditto.
2017 * libc/iconv/lib/ces_table.c: Ditto.
2018 * libc/iconv/lib/converter.c: Ditto.
2019 * libc/iconv/lib/deps.h: Ditto.
2020 * libc/iconv/lib/endian.h: Ditto.
2021 * libc/iconv/lib/iconv.c: Ditto.
2022 * libc/iconv/lib/loaddata.c: Ditto.
2023 * libc/iconv/lib/local.h: Include newlib.h.
2024 * libc/argz/Makefile.in: Regenerated.
2025 * libc/ctype/Makefile.in: Ditto.
2026 * libc/errno/Makefile.in: Ditto.
2027 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2028 * libc/locale/Makefile.in: Ditto.
2029 * libc/misc/Makefile.in: Ditto.
2030 * libc/posix/Makefile.in: Ditto.
2031 * libc/reent/Makefile.in: Ditto.
2032 * libc/search/Makefile.in: Ditto.
2033 * libc/signal/Makefile.in: Ditto.
2034 * libc/stdio/Makefile.in: Ditto.
2035 * libc/stdio64/Makefile.in: Ditto.
2036 * libc/stdlib/Makefile.in: Ditto.
2037 * libc/string/Makefile.in: Ditto.
2038 * libc/syscalls/Makefile.in: Ditto.
2039 * libc/time/Makefile.in: Ditto.
2040 * libc/unix/Makefile.in: Ditto.
2041 * testsuite/newlib.iconv/iconv.exp: New file.
2042 * testsuite/newlib.iconv/iconvjp.c: Ditto.
2043 * testsuite/newlib.iconv/iconvnm.c: Ditto.
2044 * testsuite/newlib.iconv/iconvru.c: Ditto.
2045
786ab12c
JJ
20462004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2047
2048 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
2049 (--enable-newlib-builtin-converters): Ditto.
2050 * configure.in: Add code to set _ICONV_ENABLED flag.
2051 Set _MB_LEN_MAX to 1 if not mb enabled.
2052 * configure: Regenerated.
2053 * aclocal.m4: Ditto.
2054 * Makefile.in: Ditto.
2055 * newlib.hin: Add _ICONV_ENABLED flag.
2056 * libc/Makefile.am: Add support for iconv.
2057 * libc/configure.in: Ditto.
2058 * libc/Makefile.in: Regenerated.
2059 * libc/aclocal.m4: Ditto.
2060 * libc/configure: Ditto.
2061 * libc/libc.texinfo: Add iconv documentation.
2062 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
2063 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
2064 libc/iconv/README.TODO, libc/iconv/charset.aliases,
2065 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
2066 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
2067 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
2068 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
2069 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
2070 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
2071 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
2072 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
2073 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
2074 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
2075 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
2076 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
2077 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
2078 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
2079 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
2080 libc/iconv/ccs/binary/big5.cct,
2081 libc/iconv/ccs/binary/cns11643_plane1.cct,
2082 libc/iconv/ccs/binary/cns11643_plane14.cct,
2083 libc/iconv/ccs/binary/cns11643_plane2.cct,
2084 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
2085 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
2086 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
2087 libc/iconv/ccs/binary/iso_8859_1.cct,
2088 libc/iconv/ccs/binary/iso_8859_15.cct,
2089 libc/iconv/ccs/binary/iso_8859_2.cct,
2090 libc/iconv/ccs/binary/iso_8859_4.cct,
2091 libc/iconv/ccs/binary/iso_8859_5.cct,
2092 libc/iconv/ccs/binary/jis_x0201.cct,
2093 libc/iconv/ccs/binary/jis_x0208_1983.cct,
2094 libc/iconv/ccs/binary/jis_x0212_1990.cct,
2095 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
2096 libc/iconv/ccs/binary/ksx1001.cct,
2097 libc/iconv/ccs/binary/shift_jis.cct,
2098 libc/iconv/ccs/binary/us_ascii.cct,
2099 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
2100 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
2101 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
2102 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
2103 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
2104 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
2105 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
2106 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
2107 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
2108 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
2109 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
2110 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
2111 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
2112 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
2113 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
2114 * libc/sys/linux/include/iconv.h: Ditto.
2115 * libc/include/sys/_types.h (_iconv_t): Added.
2116 * doc/aclocal.m4: Regenerated.
2117 * doc/configure: Ditto.
2118 * doc/Makefile.in: Ditto.
2119 * iconvdata/Makefile.in: Ditto.
2120 * iconvdata/aclocal.m4: Ditto.
2121 * iconvdata/configure: Ditto.
2122 * libc/*aclocal.m4: Ditto.
2123 * libc/*Makefile.in: Ditto.
2124 * libc/*configure: Ditto.
2125 * libm/*aclocal.m4: Ditto.
2126 * libm/*Makefile.in: Ditto.
2127 * libm/*configure: Ditto.
2128
ed1a95dc
JJ
21292004-01-22 Thomas Pfaff <tpfaff@gmx.net>
2130
2131 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
2132 by a lock when newlib is multithreaded.
2133
7d4be1ef
JJ
21342004-01-21 Jeff Johnston <jjohnstn@redhat.com>
2135
2136 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
2137 pointer to match C99 spec.
2138 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
2139 dst is NULL. Also fix to not alter src pointer when dst is NULL
2140 and call _mbrtowc_r instead of _mbtowc_r.
2141 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
2142 of _wctomb_r.
2143
403f752c
JJ
21442004-01-19 Thomas Pfaff <tpfaff@gmx.net>
2145
2146 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
2147 * libc/stdio/freopen.c (freopen): Ditto.
2148
85b6d63b
CF
21492004-01-16 Christopher Faylor <cgf@redhat.com>
2150
2151 * libc/stdio/vfprintf.c: Add sys/lock.h include.
2152
4af71a91
JJ
21532004-01-16 Thomas Pfaff <tpfaff@gmx.net>
2154
2155 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
2156 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
2157 Add calls to __lock_init_recursive and __lock_close_recursive
2158 instead.
2159
6a150987
JJ
21602004-01-15 Thomas Pfaff <tpfaff@gmx.net>
2161
2162 * libc/stdio/fclose.c: Include sys/lock.h.
2163 (fclose): Destroy lock when file is closed.
2164 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
2165 member.
2166 * libc/stdio/freopen.c: Include sys/lock.h.
2167 (_freopen_r): Destroy lock when file is closed.
2168 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
2169 _lock member.
2170
c9524c0c
JJ
21712004-01-08 Joel Sherrill <joel@oarcorp.com>
2172
2173 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
2174 Remove warnings.
2175
9f13ccb3
JJ
21762004-01-08 Joel Sherrill <joel@oarcorp.com>
2177
2178 * libc/sys/rtems/sys/queue.h: New file.
2179 * libc/include/sys/signal.h: Reflect renumbering of signals to
2180 fit into 32-bit mask.
2181 * libc/include/sys/unistd.h: Add fdatasync() prototype.
2182 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
2183 required. In particular, add the reentrant variants of libc calls.
2184 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
2185
9488c414
JJ
21862004-01-06 Mark Mitchell <mark@codesourcery.com>
2187
2188 * libc/sys/arm/syscalls.c (unistd.h): Include it.
2189 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
2190 Similarly for stdout and stderr.
2191
5125f919
JJ
21922004-01-06 Jeff Johnston <jjohnstn@redhat.com>
2193
2194 * libc/libc.texinfo: Correct escape character for @ sign
2195 so file will be processed by make info. Update copyright years.
2196 * libm/libm.texinfo: Ditto.
2197
9fc92ceb
JJ
21982003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2199
2200 * libc/include/sys/stat.h: No longer include stat-dj.h.
2201 * libc/include/sys/stat-dj.h: Removed.
2202
25c7dad1
JJ
22032003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2204
2205 * libc/include/wchar.h: Include <sys/reent.h>.
2206
576593dd
CF
22072003-12-05 Christopher Faylor <cgf@redhat.com>
2208
2209 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
2210 when defining _mbrtowc.
2211 * libc/stdlib/mbsinit.c: Ditto.
2212 * libc/stdlib/mbsrtowcs.c: Ditto.
2213 * libc/stdlib/wcrtomb.c: Ditto.
2214 * libc/stdlib/wcsrtombs.c: Ditto.
2215 * libc/stdlib/wctob.c: Ditto.
2216
22172003-12-05 Christopher Faylor <cgf@redhat.com>
2218
2219 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
2220 errors when defining _mbrtowc.
2221 * libc/stdlib/mbsinit.c: Ditto.
2222 * libc/stdlib/mbsrtowcs.c: Ditto.
2223
4c889d62
CF
22242003-12-05 Christopher Faylor <cgf@redhat.com>
2225
2226 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
2227 errors when defining _mbrtowc.
2228
5d109bde
JJ
22292003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2230
2231 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
2232 of mb routines for %lc and %ls support.
2233 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
2234 %ls, and %S support. Remove CYGNUS_NEC markers and
2235 code within.
2236
3aca0888
JJ
22372003-12-04 Jeff Johnston <jjohnstn@redhat.com>
2238
2239 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
2240 _wcrtomb_r, and _wcsrtombs_r.
2241
18dcb167
CV
22422003-12-01 Corinna Vinschen <corinna@vinschen.de>
2243
2244 * libc/include/sys/fcntl.h: Don't define struct flock when on
2245 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
2246
93f8e673
CF
22472003-11-28 Christopher Faylor <cgf@redhat.com>
2248
2249 * libc/include/sys/signal.h: Use system specific signal file when
2250 building on cygwin.
2251
cc2a11e0
JJ
22522003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2253
2254 * libc/include/stdlib.h (_atoi_r): New prototype.
2255 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
2256
83bf7d2f
JJ
22572003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2258
2259 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
2260 * libc/stdlib/atol.c (_atol_r): New reentrant function.
2261 * libc/stdlib/atoll.c (_atoll_r): Ditto.
2262
5d109bde 22632003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
2264 Jeff Johnston <jjohnstn@redhat.com>
2265
2266 * libc/include/stdlib.h (lldiv_t): New type.
2267 (atoll, llabs, lldiv): New prototypes.
2268 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
2269 * libc/stdlib/stdlib.tex: Ditto.
2270 * libc/stdlib/Makefile.in: Regenerated.
2271 * libc/stdlib/atoll.c: New file.
2272 * libc/stdlib/llabs.c: Ditto.
2273 * libc/stdlib/lldiv.c: Ditto.
2274
0a707c79
JJ
22752003-11-26 Corinna Vinschen <corinna@vinschen.de>
2276
2277 * libc/include/fcntl.h: Declare syscalls only when building newlib.
2278 * libc/include/unistd.h: Ditto.
2279 * libc/include/stat.h: Ditto. Also declare struct stat64.
2280
5d109bde 22812003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
2282
2283 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
2284 specifier to use ch instead of *fmt.
2285
5d109bde 22862003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
2287
2288 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
2289 code within checks for MB_CAPABLE. For non-mb-capable platforms,
2290 use simple byte logic.
2291
4f6149d6
JJ
22922003-11-21 Jeff Johnston <jjohnstn@redhat.com>
2293
2294 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
2295 _strtold routine for processing floats and doubles since it
2296 is not as fast as _strtod_r.
2297
7343eefb
JJ
22982003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2299
2300 * libc/machine/h8300/defines.h : Correct pointer register defines
2301 for normal mode.
2302 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
2303 for normal mode.
2304 * libc/machine/h8300/reg_memcpy.S : Likewise.
2305 * libc/machine/h8300/reg_memset.S : Likewise.
2306 * libc/machine/h8300/strcmp.S : Likewise.
2307
64cfc6f2
JJ
23082003-11-19 Nicholas Wourms <nwourms@netscape.net>
2309
2310 * configure.host: Enable positional arguments for printf
2311 family for Cygwin.
2312 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
2313 pointer reference for quad_ptr_t.
2314
e1dc8171
JJ
23152003-11-19 Jeff Johnston <jjohnstn@redhat.com>
2316
2317 * libc/stdio/scanf.c: Don't include local.h more than once.
2318
a472290f
JJ
23192003-11-18 Corinna Vinschen <corinna@vinschen.de>
2320
2321 * libc/include/sys/fcntl.h: Declare _open64.
2322 * libc/include/sys/stat.h: Declare _fstat64.
2323 * libc/include/sys/unistd.h: Declare _lseek64.
2324
a2f1155c
CV
23252003-11-17 Corinna Vinschen <corinna@vinschen.de>
2326
2327 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
2328 (setprogname): Ditto.
2329
030441fc
JJ
23302003-11-10 Jeff Johnston <jjohnstn@redhat.com>
2331
2332 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
2333 to use (Ebits + 1) which accounts for the sign-bit.
2334
fe359733
JJ
23352003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2336
2337 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
2338 x86 build.
2339 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
2340 and set up default flags to pass to aclocal.
2341 * iconvdata/Makefile.in: Regenerated.
2342 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
2343 and getpwuid routines.
2344 * libc/sys/linux/Makefile.in: Regenerated.
2345 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
2346 applications to link with newlib's shared libc library.
2347 * libc/sys/linux/getpwnam.c: Ditto.
2348 * libc/sys/linux/getpwuid.c: Ditto.
2349 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
2350 that were formerly supplied by /usr/include/linux/types.h with
2351 kernel types.
2352 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
2353 test _ELIX_LEVEL macro.
2354
2985521f
JJ
23552003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2356
2357 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
2358 referring to _NO_LONGLONG macro.
2359
dcad6a89
JJ
23602003-11-06 Jeff Johnston <jjohnstn@redhat.com>
2361
2362 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
2363 in LOG() macro so this will compile on gcc 3.4 and up.
2364 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2365 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2366 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2367 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2368 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2369 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2370 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2371 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2372 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2373 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2374 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2375 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2376 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2377 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2378 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2379 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2380 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2381 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2382 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2383 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2384 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2385 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2386 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2387 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2388 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2389 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2390 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2391 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2392 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2393 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2394 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2395 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2396 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2397 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2398 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2399 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2400
d2ffac09 24012003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 2402 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
2403
2404 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
2405 %ls, %S, %lc, and %C format specifiers.
2406 (get_arg): Ditto.
2407 * libc/stdio/sprintf.c: Add documentation regarding new
2408 format specifiers added in vfprintf.c.
2409
da2d1227
JJ
24102003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2411
2412 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
2413 to make code work as specified in standard.
2414
3ef05bac
JJ
24152003-10-23 Jeff Johnston <jjohnstn@redhat.com>
2416
2417 * configure.in: Use absolute newlib basedir when forming
2418 CC_FOR_NEWLIB include options.
2419 * configure: Regenerated.
2420
5d109bde 24212003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
2422
2423 * libc/string/wcsnlen.c: New file.
2424 * libc/include/wchar.h: Add wcsnlen prototype.
2425 * libc/string/Makefile.am: Add wcsnlen support.
2426 * libc/string/Makefile.in: Regenerated.
2427 * libc/string/wcstrings.tex: Add wcsnlen documentation.
2428
63a823f8
RS
24292003-10-22 Richard Sandiford <rsandifo@redhat.com>
2430
2431 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
2432
76a7df52
JJ
24332003-10-20 Bob Wilson <bob.wilson@acm.org>
2434
2435 * libc/locale/locale.c: Use double quotes in code.
2436 * libc/locale/locale.tex: Likewise.
2437 * libc/libc.texinfo: Hyphenate "floating-point".
2438 * libc/machine/necv70/necv70.tex: Likewise.
2439 * libc/stdio/sprintf.c: Likewise.
2440 * libc/stdio/sscanf.c: Likewise.
2441 * libc/stdlib/atof.c: Likewise.
2442 * libc/stdlib/ldtoa.c: Fix comment typo.
2443 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
2444 * libc/stdlib/ldiv.c: Likewise.
2445 * libm/common/s_expm1.c: Likewise.
2446 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
2447 * libm/common/s_infinity: Hyphenate "double- and single-precision".
2448 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
2449 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
2450 and "floating-point".
2451 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
2452 * libm/math/e_pow.c: Fix comment typo.
2453 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
2454 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
2455 * libm/math/s_atan.c: Likewise.
2456 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
2457 * libm/math/s_isnan.c: Hyphenate "single-precision" and
2458 "floating-point". Use "nonzero".
2459 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2460 * libm/math/w_acos.c: Likewise.
2461 * libm/math/w_acosh.c: Likewise.
2462 * libm/math/w_asin.c: Likewise.
2463 * libm/math/w_atan2.c: Likewise.
2464 * libm/math/w_atanh.c: Likewise.
2465 * libm/math/w_cosh.c: Likewise.
2466 * libm/math/w_exp.c: Likewise.
2467 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
2468 version of 2^x in the description.
2469 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
2470 * libm/math/w_gamma.c: Likewise.
2471 * libm/math/w_hypot.c: Likewise.
2472 * libm/math/w_j0.c: Likewise.
2473 * libm/math/w_sinh.c: Likewise.
2474 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
2475 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
2476 "floating-point".
2477 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
2478 * libm/mathfp/e_atanh.c: Likewise.
2479 * libm/mathfp/e_hypot.c: Likewise.
2480 * libm/mathfp/er_lgamma.c: Likewise.
2481 * libm/mathfp/s_acos.c: Likewise.
2482 * libm/mathfp/s_asine.c: Likewise.
2483 * libm/mathfp/s_asinh.c: Likewise.
2484 * libm/mathfp/s_atan.c: Likewise.
2485 * libm/mathfp/s_atan2.c: Likewise.
2486 * libm/mathfp/s_atangent.c: Likewise.
2487 * libm/mathfp/s_cosh.c: Likewise.
2488 * libm/mathfp/s_exp.c: Likewise.
2489 * libm/mathfp/s_fmod.c: Likewise.
2490 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
2491 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
2492 "floating-point". Use "nonzero".
2493 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2494 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2495 * libm/mathfp/s_sineh.c: Likewise.
2496 * libm/mathfp/w_jn.c: Likewise.
2497
b11926e7
JJ
24982003-10-15 Alexandre Oliva <aoliva@redhat.com>
2499
2500 * Makefile.am: Add $(MAKE) comments to multido and multiclean
2501 lines, to enable parallel make.
2502 * Makefile.in: Rebuilt.
2503
31271d5c
CF
25042003-10-14 Christopher Faylor <cgf@redhat.com>
2505
2506 * libc/time/clock.c: Clarify documentation of return value when no
2507 measurement is available.
2508
bc707cbd
JJ
25092003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
2510
2511 * libm/configure.in: Check libm_machine_dir, not machine_dir.
2512 * libm/configure: Regenerate.
2513 * libm/Makefile.in: Ditto.
2514
f4b10605
JR
25152003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
2516
2517 * libc/machine/sh/strncpy.S: New file.
2518 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
2519 * libc/machine/sh/Makefile.in: Regenerate.
2520
ce044d8f
JW
25212003-09-11 James E Wilson <wilson@specifixinc.com>
2522
2523 * MAINTAINERS: Update my e-mail address.
2524
080ef411
CV
25252003-09-10 Corinna Vinschen <corinna@vinschen.de>
2526
2527 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
2528
3a767b69
JJ
25292003-09-09 Jeff Johnston <jjohnstn@redhat.com>
2530
080ef411
CV
2531 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
2532 prototype.
2533 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
2534 _simdldcheck(). Also add unsigned cast for index variable in
2535 for loop using sizeof operators.
2536 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
2537 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
2538 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
2539 plus fix shift calculation for determining if there is a
2540 carry from word2.
3a767b69 2541
84154fcc
CV
25422003-09-09 Corinna Vinschen <corinna@vinschen.de>
2543
2544 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
2545 setgroupent for Cygwin.
2546
f1b15058
JJ
25472003-09-05 Jeff Johnston <jjohnstn@redhat.com>
2548
2549 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
2550 is different for _REENT_SMALL than when using regular reent
2551 struct.
2552
cf88c20f 25532003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 2554
b73263e4
BE
2555 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
2556 modern versions of GCC issue a warning.
2557
0a8fd4dc
BE
2558 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
2559 after continuation characters that induces a warning from modern
2560 versions of GCC.
2561
10a32423
BE
25622003-09-04 Ben Elliston <bje@wasabisystems.com>
2563
2564 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
2565 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2566
ed027a53
JJ
25672003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2568
2569 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
2570 * libc/stdlib/exit.c : Ditto.
2571 * libc/stdlib/on_exit.c: Ditto.
2572
880fa247
JJ
25732003-08-27 Corinna Vinschen <corinna@vinschen.de>
2574
2575 * libc/include/reent.h: Define stat64 as __stat64 when
2576 compiling newlib for Cygwin.
2577
54c1d7ea
JJ
25782003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2579
2580 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
2581 __stat64 when compiling newlib.
2582
0eca0750
JJ
25832003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2584
2585 * libc/include/stdio.h: Allow the io64 function prototypes for
2586 Cygwin when compiling newlib.
2587 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
2588 to expose the Cygwin struct __stat64 type.
2589 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
2590 pointer.
2591 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2592
9d4aef19
CF
25932003-08-23 Christopher Faylor <cgf@redhat.com>
2594
2595 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
2596 definition to fseeko64.
2597
9fc9e1c9
JJ
25982003-08-22 Jeff Johnston <jjohnstn@redhat.com>
2599
2600 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
2601 * libc/stdio: Globally remove/replace all references to fp->_data.
2602 Replace with _REENT or _GLOBAL_REENT where appropriate.
2603 * libc/stdio/asprintf.c: Ditto.
2604 * libc/stdio/fclose.c: Ditto.
2605 * libc/stdio/fvwrite.c: Ditto.
2606 * libc/stdio/makebuf.c: Ditto.
2607 * libc/stdio/refill.c: Ditto.
2608 * libc/stdio/local.h: Ditto.
2609 * libc/stdio/setvbuf.c: Ditto.
2610 * libc/stdio/sscanf.c: Ditto.
2611 * libc/stdio/stdio.c: Ditto.
2612 * libc/stdio/ungetc.c: Ditto.
2613 * libc/stdio/vfscanf.c: Ditto.
2614 * libc/stdio/vsscanf.c: Ditto.
2615 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
2616 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
2617 * libc/stdio/vsnprintf.c: Ditto.
2618 * libc/stdio/vsprintf.c: Ditto.
2619 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
2620 instead of _REENT to walk file list.
2621 * libc/stdio/fflush.c: Ditto.
2622 * libc/stdio/fgetpos.c: Add reentrant version and have regular
2623 version call reentrant version with _REENT argument.
2624 * libc/stdio/fsetpos.c: Ditto.
2625 * libc/stdio/fseek.c: Ditto.
2626 * libc/stdio/fseeko.c: Ditto.
2627 * libc/stdio/ftell.c: Ditto.
2628 * libc/stdio/ftello.c: Ditto.
2629 * libc/stdio/freopen.c: Ditto.
2630 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
2631 new files to chain. Also use _GLOBAL_REENT pointer for
2632 cleaning up.
2633 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
2634 * libc/stdio/siprintf.c: Ditto.
2635 * libc/stdio/iprintf.c: Ditto.
2636 * libc/stdio/fprintf.c: Ditto.
2637 * libc/stdio/printf.c: Ditto.
2638 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
2639 * libc/stdio/sprintf.c: Ditto.
2640 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
2641 * libc/stdio/rewind.c: Call _fseek_r directly.
2642 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
2643 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
2644 data pointer.
2645 (get_arg): Add extra struct _reent pointer argument.
2646 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
2647 to fp->_data.
2648 * libc/stdio64/fopen64.c: Ditto.
2649 * libc/stdio64/freopen64.c: Ditto.
2650 * libc/stdio64/fsetpos64.c: Ditto.
2651 * libc/stdio64/ftello64.c: Ditto.
2652 * libc/stdio64/local64.h: Ditto.
2653 * libc/stdio64/stdio64.c: Ditto.
2654 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
2655 _fstat64_r for the meantime.
2656
8f021114
JJ
26572003-08-19 Jeff Johnston <jjohnstn@redhat.com>
2658
2659 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
2660 overflow detection.
2661
db979bb4
JJ
26622003-08-13 Aldy Hernandez <aldyh@redhat.com>
2663
2664 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
2665 extern "C".
2666
6efbdc7d
JJ
26672003-08-13 Jeff Johnston <jjohnstn@redhat.com>
2668
2669 * libc/include/math.h: Add prototypes for __signbitf and
2670 __signbitd.
2671
e895fc20
JJ
26722003-07-31 Jeff Johnston <jjohnstn@redhat.com>
2673
2674 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
2675 correct type of conversion when dealing with EUCJP or SJIS.
2676 * libc/ctype/iswblank.c: Ditto.
2677 * libc/ctype/iswcntrl.c: Ditto.
2678 * libc/ctype/iswprint.c: Ditto.
2679 * libc/ctype/iswpunct.c: Ditto.
2680 * libc/ctype/iswspace.c: Ditto.
2681 * libc/ctype/towlower.c: Ditto.
2682 * libc/ctype/towupper.c: Ditto.
2683
0302dfe5
NC
26842003-07-31 Nick Clifton <nickc@redhat.com>
2685
2686 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
2687 before calling main, in case it saves its argument registers.
2688 Remove reference to deleted v850ea port.
2689 * configure.host: Remove reference to deleted v850ea port.
2690 Do not use -mv850 when building for v850e target. This
2691 prevents the ctbp system register from being initialised.
2692
42de5592
JJ
26932003-07-29 Honda Hiroki <hhonda@ipflex.com>
2694
2695 * libc/stdio/vfprintf.c: Set output size to 1 when
2696 we have %f format with precision 0 and # flag not specified.
2697
e5de27b6
AO
26982003-07-29 Alexandre Oliva <aoliva@redhat.com>
2699
2700 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
2701 .am33_2.
2702
3c98a593
CF
27032003-07-25 Christopher Faylor <cgf@redhat.com>
2704
2705 * libc/stdio64/fdopen64.c: Include sys/lock.h.
2706
e222bf67
CF
27072003-07-25 Christopher Faylor <cgf@redhat.com>
2708
2709 * configure.host: Find cygwin include directory, when appropriate.
2710
03536757
CF
27112003-07-24 Christopher Faylor <cgf@redhat.com>
2712
2713 * libc/stdio64/fdopen64.c: New file.
2714 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
2715 * libc/stdio64/Makefile.in: Regenerate.
2716 * libc/include/stdio.h (fdopen64): Define.
2717 * libc/include/stdio.h (_fdopen64_r): Ditto.
2718
18072a4f
AO
27192003-07-10 Alexandre Oliva <aoliva@redhat.com>
2720
2721 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2722 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
2723 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
2724 restore callee-saved FP registers.
2725
e0bec12f
JR
27262003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
2727
2728 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
2729 for __sh__.
2730 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
2731 truncate.c.
2732 * libc/sys/sh/Makefile.in: Regenerate.
2733 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
2734 * libc/sys/sh/ftruncate.c: New file.
2735 * libc/sys/sh/truncate.c: Likewise.
2736
03d65dd9
AO
27372003-07-09 Alexandre Oliva <aoliva@redhat.com>
2738
2739 * libc/include/math.h (nan, nanf): Update prototype to C99.
2740 * libm/common/s_nan.c (nan): Likewise.
2741 * libm/common/s_nanf.c (nanf, nan): Likewise.
2742 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
2743
74aa9d7d
JJ
27442003-07-07 Jeff Johnston <jjohnstn@redhat.com>
2745
2746 * libc/include/stdbool.h: Removed as this is defined by gcc.
2747
0a447ef3
JJ
27482003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
2749
2750 * libc/include/stdbool.h: New header file defined by C99.
2751
282eff9a
JJ
27522003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2753
2754 * libc/include/sys/types.h (int8_t): Make signed.
2755
4e989b11
JJ
27562003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2757
2758 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
2759
07b40cf8
JJ
27602003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
2761
2762 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
2763 on if we actually created the shared memory file exclusively.
2764
7daa7891
JJ
27652003-06-27 Joe Vornehm <joev@mitre.org>
2766
2767 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
2768 comparisons to account for unsigned internal value w.
2769
51fa7562
JJ
27702003-06-26 Jeff Johnston <jjohnstn@redhat.com>
2771
2772 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
2773 wrbuf for a non-creating open.
2774
b8f7ea5c
JJ
27752003-06-24 Kazu Hirata <kazu@cs.umass.edu>
2776
2777 * libc/machine/h8300/setarch.h: New.
2778 * libc/machine/h8300/memcpy.S: Use it.
2779 * libc/machine/h8300/memset.S: Likewise.
2780 * libc/machine/h8300/reg_memcpy.S: Likewise.
2781 * libc/machine/h8300/reg_memset.S: Likewise.
2782 * libc/machine/h8300/setjmp.S: Likewise.
2783 * libc/machine/h8300/strcmp.S: Likewise.
2784
6d7ea52a
RS
27852003-06-24 Richard Sandiford <rsandifo@redhat.com>
2786
2787 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
2788 to atexit().
2789
5a74f2aa
JJ
27902003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2791
2792 * configure.host (iq2000): Add tabs.
2793
8266e478
JJ
27942003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2795
2796 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
2797 to handle latest on_exit change.
2798 * libc/sys/linux/Makefile.am: Remove special compilation
2799 for malloc.c and mcheck.c.
2800 * libc/sys/linux/Makefile.in: Regenerated.
2801 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
2802 after including <features.h>.
2803 * libc/sys/linux/mcheck.c: Ditto.
2804 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
2805 for <features.h>.
2806 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
2807 add -DNOT_IN_libc to C flags.
2808 * libc/sys/linux/intl/Makefile.in: Regenerated.
2809 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
2810 * libc/sys/linux/linuxthreads/semaphore.h: Include
2811 <bits/pthreadtypes.h>.
2812 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
2813 including <features.h>.
2814 * libc/sys/linux/sys/lock.h: Ditto.
2815
0efe117b
NC
28162003-06-11 Nick Clifton <nickc@redhat.com>
2817
2818 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
2819 _on_exit_args_ptr.
2820
bfdfd7e6
AG
28212003-06-10 Stan Cox <scox@redhat.com>
2822 Anthony Green <green@redhat.com>
2823
2824 * configure.host: Add iq2000 support.
2825 * newlib/libc/include/machine/ieeefp.h: Ditto.
2826 * newlib/libc/include/machine/setjmp.h: Ditto.
2827 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
2828 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
2829 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
2830 libc/machine/iq2000/Makefile.in: New files.
2831
d9e4104b
RS
28322003-06-10 Richard Sandiford <rsandifo@redhat.com>
2833
2834 * libc/sys/h8300hms/setarch.h: New file.
2835 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
2836 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
2837 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
2838 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
2839
729d1ff9
JJ
28402003-06-06 Jeff Johnston <jjohnstn@redhat.com>
2841
2842 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
2843 definition.
2844 * libc/argz/argz_add_sep.c: Ditto.
2845 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
2846 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
2847 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
2848 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
2849 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
2850 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
2851 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
2852 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
2853 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
2854 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
2855 * libc/posix/execl.c libc/posix/execle.c: Ditto.
2856 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
2857 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
2858 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
2859 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
2860 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
2861 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
2862 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
2863 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
2864 * libc/search/twalk.c libc/signal/signal.c: Ditto.
2865
75d7d177
NC
28662003-06-05 Nick Clifton <nickc@redhat.com>
2867
2868 * libc/include/sys/reent.h (struct _on_exit_args): New
2869 structure containing fields used by the on_exit() function.
2870 (struct _atexit): Include struct _on_exit_args. For
2871 _REENT_SMALL do his via a pointer that is initialised when
2872 needed.
2873 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
2874 structure, if one has been allocated.
2875 * libc/stdlib/atexit.c (atexit): Update indirection to
2876 _fntypes field.
2877 * libc/stdlib/on_exit.c (on_exit): Indirect via the
2878 _on_exit_args structure. For _REENT_SMALL, allocate a
2879 structure if one does not exist.
2880 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
2881 structure.
2882
2129f283
JJ
28832003-06-04 Jeff Johnston <jjohnstn@redhat.com>
2884
2885 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
2886 * libc/sys/linux/net/Makefile.in: Regenerated.
2887
bf3bcac2
JJ
28882003-06-03 Jeff Johnston <jjohnstn@redhat.com>
2889
2890 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
2891 * libc/reent/fcntlr.c: Ditto.
2892 * libc/reent/fstat64r.c: Ditto.
2893 * libc/reent/linkr.c: Ditto.
2894 * libc/reent/lseek64r.c: Ditto.
2895 * libc/reent/lseekr.c: Ditto.
2896 * libc/reent/openr.c: Ditto.
2897 * libc/reent/readr.c: Ditto.
2898 * libc/reent/reent.c: Ditto.
2899 * libc/reent/sbrkr.c: Ditto.
2900 * libc/reent/signalr.c: Ditto.
2901 * libc/reent/signgam.c: Ditto.
2902 * libc/reent/statr.c: Ditto.
2903 * libc/reent/timer.c: Ditto.
2904 * libc/reent/unlinkr.c: Ditto.
2905 * libc/reent/writer.c: Ditto.
2906 * libc/syscalls/sysclose.c: Ditto.
2907 * libc/syscalls/sysexecve.c: Ditto.
2908 * libc/syscalls/sysfcntl.c: Ditto.
2909 * libc/syscalls/sysfork.c: Ditto.
2910 * libc/syscalls/sysfstat.c: Ditto.
2911 * libc/syscalls/sysgetpid.c: Ditto.
2912 * libc/syscalls/sysgettod.c: Ditto.
2913 * libc/syscalls/syskill.c: Ditto.
2914 * libc/syscalls/syslink.c: Ditto.
2915 * libc/syscalls/syslseek.c: Ditto.
2916 * libc/syscalls/sysopen.c: Ditto.
2917 * libc/syscalls/sysread.c: Ditto.
2918 * libc/syscalls/syssbrk.c: Ditto.
2919 * libc/syscalls/sysstat.c: Ditto.
2920 * libc/syscalls/systimes.c: Ditto.
2921 * libc/syscalls/sysunlink.c: Ditto.
2922 * libc/syscalls/syswait.c: Ditto.
2923 * libc/syscalls/syswrite.c: Ditto.
2924
702ceb23
JJ
29252003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
2926
2927 * libc/time/tzset_r.c: Change local variables that are
2928 set via sscanf using the %h format specifier to be unsigned short
2929 instead of int.
2930
102861c9
JJ
29312003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
2932
2933 * configure.host: Allow i[34567]86 variant.
2934 * configure.in: Likewise.
2935 * README: Likewise to the docs.
2936 * configure: Regenerated.
2937 * Makefile.in: Ditto.
2938
b359e82c
JJ
29392003-05-28 Jeff Johnston <jjohnstn@redhat.com>
2940 Tom Fitzsimmons <fitzsim@redhat.com>
2941
2942 * configure.in: Add iconvdata support for x86 linux.
2943 * configure: Regenerated.
2944 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
2945 library, iconv, and linuxthreads support.
2946 * libc/sys/linux/configure.in: Ditto.
2947 * libc/sys/linux/Makefile.in: Regenerated.
2948 * libc/sys/linux/configure: Ditto.
2949 * iconvdata/EUC-JP.irreversible: New file.
2950 * iconvdata/Makefile.am: Ditto.
2951 * iconvdata/Makefile.in: Ditto.
2952 * iconvdata/SJIS.irreversible: Ditto.
2953 * iconvdata/aclocal.m4: Ditto.
2954 * iconvdata/configure: Ditto.
2955 * iconvdata/configure.in: Ditto.
2956 * iconvdata/dummy.c: Ditto.
2957 * iconvdata/euc-jp.c: Ditto.
2958 * iconvdata/gconv-modules: Ditto.
2959 * iconvdata/jis0201.c: Ditto.
2960 * iconvdata/jis0201.h: Ditto.
2961 * iconvdata/jis0208.c: Ditto.
2962 * iconvdata/jis0208.h: Ditto.
2963 * iconvdata/jis0212.c: Ditto.
2964 * iconvdata/jis0212.h: Ditto.
2965 * iconvdata/sjis.c: Ditto.
2966 * libc/include/errno.h: Protect definition of error_t.
2967 * libc/sys/linux/gethostid.c: New file.
2968 * libc/sys/linux/sethostid.c: Ditto.
2969 * libc/sys/linux/dl/Makefile.am: Ditto.
2970 * libc/sys/linux/dl/Makefile.in: Ditto.
2971 * libc/sys/linux/dl/abi-tag.h: Ditto.
2972 * libc/sys/linux/dl/atomicity.h: Ditto.
2973 * libc/sys/linux/dl/dl-addr.c: Ditto.
2974 * libc/sys/linux/dl/dl-cache.c: Ditto.
2975 * libc/sys/linux/dl/dl-cache.h: Ditto.
2976 * libc/sys/linux/dl/dl-close.c: Ditto.
2977 * libc/sys/linux/dl/dl-debug.c: Ditto.
2978 * libc/sys/linux/dl/dl-deps.c: Ditto.
2979 * libc/sys/linux/dl/dl-dst.h: Ditto.
2980 * libc/sys/linux/dl/dl-error.c: Ditto.
2981 * libc/sys/linux/dl/dl-fini.c: Ditto.
2982 * libc/sys/linux/dl/dl-init.c: Ditto.
2983 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
2984 * libc/sys/linux/dl/dl-libc.c: Ditto.
2985 * libc/sys/linux/dl/dl-librecon.h: Ditto.
2986 * libc/sys/linux/dl/dl-load.c: Ditto.
2987 * libc/sys/linux/dl/dl-lookup.c: Ditto.
2988 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
2989 * libc/sys/linux/dl/dl-minimal.c: Ditto.
2990 * libc/sys/linux/dl/dl-misc.c: Ditto.
2991 * libc/sys/linux/dl/dl-object.c: Ditto.
2992 * libc/sys/linux/dl/dl-open.c: Ditto.
2993 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
2994 * libc/sys/linux/dl/dl-profile.c: Ditto.
2995 * libc/sys/linux/dl/dl-profstub.c: Ditto.
2996 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2997 * libc/sys/linux/dl/dl-runtime.c: Ditto.
2998 * libc/sys/linux/dl/dl-support.c: Ditto.
2999 * libc/sys/linux/dl/dl-sym.c: Ditto.
3000 * libc/sys/linux/dl/dl-version.c: Ditto.
3001 * libc/sys/linux/dl/dlfcn.h: Ditto.
3002 * libc/sys/linux/dl/do-lookup.h: Ditto.
3003 * libc/sys/linux/dl/do-rel.h: Ditto.
3004 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3005 * libc/sys/linux/dl/kernel-features.h: Ditto.
3006 * libc/sys/linux/dl/ldsodefs.h: Ditto.
3007 * libc/sys/linux/dl/libintl.h: Ditto.
3008 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
3009 * libc/sys/linux/dl/unsecvars.h: Ditto.
3010 * libc/sys/linux/iconv/Makefile.am: Ditto.
3011 * libc/sys/linux/iconv/Makefile.in: Ditto.
3012 * libc/sys/linux/iconv/categories.def: Ditto.
3013 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
3014 * libc/sys/linux/iconv/gconv.c: Ditto.
3015 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
3016 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
3017 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
3018 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
3019 * libc/sys/linux/iconv/gconv_close.c: Ditto.
3020 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
3021 * libc/sys/linux/iconv/gconv_db.c: Ditto.
3022 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
3023 * libc/sys/linux/iconv/gconv_int.h: Ditto.
3024 * libc/sys/linux/iconv/gconv_open.c: Ditto.
3025 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3026 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
3027 * libc/sys/linux/iconv/hash-string.h: Ditto.
3028 * libc/sys/linux/iconv/iconv.c: Ditto.
3029 * libc/sys/linux/iconv/iconv.h: Ditto.
3030 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
3031 * libc/sys/linux/iconv/iconv_close.c: Ditto.
3032 * libc/sys/linux/iconv/iconv_open.c: Ditto.
3033 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
3034 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
3035 * libc/sys/linux/iconv/loadinfo.h: Ditto.
3036 * libc/sys/linux/iconv/localeinfo.h: Ditto.
3037 * libc/sys/linux/iconv/loop.c: Ditto.
3038 * libc/sys/linux/iconv/skeleton.c: Ditto.
3039 * libc/sys/linux/iconv/strtab.c: Ditto.
3040 * libc/sys/linux/include/dl-hash.h: Ditto.
3041 * libc/sys/linux/include/dlfcn.h: Ditto.
3042 * libc/sys/linux/include/fnmatch.h: Ditto.
3043 * libc/sys/linux/include/gconv.h: Ditto.
3044 * libc/sys/linux/include/glob.h: Ditto.
3045 * libc/sys/linux/include/hesiod.h: Ditto.
3046 * libc/sys/linux/include/ifaddrs.h: Ditto.
3047 * libc/sys/linux/include/libc_private.h: Ditto.
3048 * libc/sys/linux/include/link.h: Ditto.
3049 * libc/sys/linux/include/namespace.h: Ditto.
3050 * libc/sys/linux/include/netconfig.h: Ditto.
3051 * libc/sys/linux/include/netdb.h: Ditto.
3052 * libc/sys/linux/include/nsswitch.h: Ditto.
3053 * libc/sys/linux/include/regex.h: Ditto.
3054 * libc/sys/linux/include/resolv.h: Ditto.
3055 * libc/sys/linux/include/rune.h: Ditto.
3056 * libc/sys/linux/include/runetype.h: Ditto.
3057 * libc/sys/linux/include/semaphore.h: Ditto.
3058 * libc/sys/linux/include/setlocale.h: Ditto.
3059 * libc/sys/linux/include/un-namespace.h: Ditto.
3060 * libc/sys/linux/include/wordexp.h: Ditto.
3061 * libc/sys/linux/include/arpa/ftp.h: Ditto.
3062 * libc/sys/linux/include/arpa/inet.h: Ditto.
3063 * libc/sys/linux/include/arpa/nameser.h: Ditto.
3064 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
3065 * libc/sys/linux/include/arpa/telnet.h: Ditto.
3066 * libc/sys/linux/include/arpa/tftp.h: Ditto.
3067 * libc/sys/linux/include/net/bpf.h: Ditto.
3068 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
3069 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
3070 * libc/sys/linux/include/net/bridge.h: Ditto.
3071 * libc/sys/linux/include/net/ethernet.h: Ditto.
3072 * libc/sys/linux/include/net/fddi.h: Ditto.
3073 * libc/sys/linux/include/net/if.h: Ditto.
3074 * libc/sys/linux/include/net/if_arc.h: Ditto.
3075 * libc/sys/linux/include/net/if_arp.h: Ditto.
3076 * libc/sys/linux/include/net/if_atm.h: Ditto.
3077 * libc/sys/linux/include/net/if_dl.h: Ditto.
3078 * libc/sys/linux/include/net/if_gif.h: Ditto.
3079 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
3080 * libc/sys/linux/include/net/if_llc.h: Ditto.
3081 * libc/sys/linux/include/net/if_media.h: Ditto.
3082 * libc/sys/linux/include/net/if_mib.h: Ditto.
3083 * libc/sys/linux/include/net/if_ppp.h: Ditto.
3084 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
3085 * libc/sys/linux/include/net/if_slvar.h: Ditto.
3086 * libc/sys/linux/include/net/if_sppp.h: Ditto.
3087 * libc/sys/linux/include/net/if_stf.h: Ditto.
3088 * libc/sys/linux/include/net/if_tap.h: Ditto.
3089 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
3090 * libc/sys/linux/include/net/if_tun.h: Ditto.
3091 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
3092 * libc/sys/linux/include/net/if_types.h: Ditto.
3093 * libc/sys/linux/include/net/if_var.h: Ditto.
3094 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
3095 * libc/sys/linux/include/net/intrq.h: Ditto.
3096 * libc/sys/linux/include/net/iso88025.h: Ditto.
3097 * libc/sys/linux/include/net/net_osdep.h: Ditto.
3098 * libc/sys/linux/include/net/netisr.h: Ditto.
3099 * libc/sys/linux/include/net/pfil.h: Ditto.
3100 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
3101 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
3102 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
3103 * libc/sys/linux/include/net/radix.h: Ditto.
3104 * libc/sys/linux/include/net/raw_cb.h: Ditto.
3105 * libc/sys/linux/include/net/route.h: Ditto.
3106 * libc/sys/linux/include/net/slcompress.h: Ditto.
3107 * libc/sys/linux/include/net/slip.h: Ditto.
3108 * libc/sys/linux/include/net/zlib.h: Ditto.
3109 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
3110 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
3111 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
3112 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
3113 * libc/sys/linux/include/netinet/igmp.h: Ditto.
3114 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
3115 * libc/sys/linux/include/netinet/in.h: Ditto.
3116 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
3117 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
3118 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
3119 * libc/sys/linux/include/netinet/in_var.h: Ditto.
3120 * libc/sys/linux/include/netinet/ip.h: Ditto.
3121 * libc/sys/linux/include/netinet/ip6.h: Ditto.
3122 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
3123 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
3124 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
3125 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
3126 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
3127 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
3128 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
3129 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
3130 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
3131 * libc/sys/linux/include/netinet/tcp.h: Ditto.
3132 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
3133 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
3134 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
3135 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
3136 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
3137 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
3138 * libc/sys/linux/include/netinet/udp.h: Ditto.
3139 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
3140 * libc/sys/linux/include/netinet6/ah.h: Ditto.
3141 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
3142 * libc/sys/linux/include/netinet6/esp.h: Ditto.
3143 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
3144 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
3145 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
3146 * libc/sys/linux/include/netinet6/in6.h: Ditto.
3147 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
3148 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
3149 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
3150 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
3151 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
3152 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
3153 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
3154 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
3155 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
3156 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
3157 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
3158 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
3159 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
3160 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
3161 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
3162 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
3163 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
3164 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
3165 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
3166 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
3167 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
3168 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
3169 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
3170 * libc/sys/linux/include/netns/idp.h: Ditto.
3171 * libc/sys/linux/include/netns/idp_var.h: Ditto.
3172 * libc/sys/linux/include/netns/ns.h: Ditto.
3173 * libc/sys/linux/include/netns/ns_error.h: Ditto.
3174 * libc/sys/linux/include/netns/ns_if.h: Ditto.
3175 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
3176 * libc/sys/linux/include/netns/sp.h: Ditto.
3177 * libc/sys/linux/include/netns/spidp.h: Ditto.
3178 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
3179 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
3180 * libc/sys/linux/include/netns/spp_var.h: Ditto.
3181 * libc/sys/linux/include/rpc/Makefile: Ditto.
3182 * libc/sys/linux/include/rpc/auth.h: Ditto.
3183 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
3184 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
3185 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
3186 * libc/sys/linux/include/rpc/clnt.h: Ditto.
3187 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
3188 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
3189 * libc/sys/linux/include/rpc/des.h: Ditto.
3190 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
3191 * libc/sys/linux/include/rpc/nettype.h: Ditto.
3192 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
3193 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
3194 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
3195 * libc/sys/linux/include/rpc/raw.h: Ditto.
3196 * libc/sys/linux/include/rpc/rpc.h: Ditto.
3197 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
3198 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
3199 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
3200 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
3201 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
3202 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
3203 * libc/sys/linux/include/rpc/svc.h: Ditto.
3204 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
3205 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
3206 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
3207 * libc/sys/linux/include/rpc/types.h: Ditto.
3208 * libc/sys/linux/include/rpc/xdr.h: Ditto.
3209 * libc/sys/linux/intl/Makefile.am: Ditto.
3210 * libc/sys/linux/intl/Makefile.in: Ditto.
3211 * libc/sys/linux/intl/bindtextdom.c: Ditto.
3212 * libc/sys/linux/intl/catgets.c: Ditto.
3213 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
3214 * libc/sys/linux/intl/config.h: Ditto.
3215 * libc/sys/linux/intl/dcgettext.c: Ditto.
3216 * libc/sys/linux/intl/dcigettext.c: Ditto.
3217 * libc/sys/linux/intl/dcngettext.c: Ditto.
3218 * libc/sys/linux/intl/dgettext.c: Ditto.
3219 * libc/sys/linux/intl/dngettext.c: Ditto.
3220 * libc/sys/linux/intl/explodename.c: Ditto.
3221 * libc/sys/linux/intl/finddomain.c: Ditto.
3222 * libc/sys/linux/intl/gettext.c: Ditto.
3223 * libc/sys/linux/intl/gettext.h: Ditto.
3224 * libc/sys/linux/intl/gettextP.h: Ditto.
3225 * libc/sys/linux/intl/hash-string.h: Ditto.
3226 * libc/sys/linux/intl/l10nflist.c: Ditto.
3227 * libc/sys/linux/intl/loadinfo.h: Ditto.
3228 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
3229 * libc/sys/linux/intl/locale.alias: Ditto.
3230 * libc/sys/linux/intl/localealias.c: Ditto.
3231 * libc/sys/linux/intl/ngettext.c: Ditto.
3232 * libc/sys/linux/intl/open_catalog.c: Ditto.
3233 * libc/sys/linux/intl/plural.c: Ditto.
3234 * libc/sys/linux/intl/plural.y: Ditto.
3235 * libc/sys/linux/intl/stpcpy.c: Ditto.
3236 * libc/sys/linux/intl/textdomain.c: Ditto.
3237 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
3238 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3239 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
3240 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
3241 * libc/sys/linux/linuxthreads/attr.c: Ditto.
3242 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
3243 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
3244 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
3245 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
3246 * libc/sys/linux/linuxthreads/config.h: Ditto.
3247 * libc/sys/linux/linuxthreads/configure: Ditto.
3248 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3249 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
3250 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
3251 * libc/sys/linux/linuxthreads/events.c: Ditto.
3252 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
3253 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
3254 * libc/sys/linux/linuxthreads/internals.h: Ditto.
3255 * libc/sys/linux/linuxthreads/join.c: Ditto.
3256 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
3257 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
3258 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
3259 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
3260 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
3261 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
3262 * libc/sys/linux/linuxthreads/manager.c: Ditto.
3263 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
3264 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
3265 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
3266 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
3267 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
3268 * libc/sys/linux/linuxthreads/prio.c: Ditto.
3269 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
3270 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
3271 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
3272 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
3273 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
3274 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
3275 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
3276 * libc/sys/linux/linuxthreads/queue.h: Ditto.
3277 * libc/sys/linux/linuxthreads/reent.c: Ditto.
3278 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
3279 * libc/sys/linux/linuxthreads/restart.h: Ditto.
3280 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
3281 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
3282 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
3283 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
3284 * libc/sys/linux/linuxthreads/signals.c: Ditto.
3285 * libc/sys/linux/linuxthreads/specific.c: Ditto.
3286 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
3287 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
3288 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
3289 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
3290 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
3291 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
3292 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
3293 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
3294 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
3295 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
3296 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
3297 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
3298 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
3299 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
3300 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
3301 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
3302 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
3303 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
3304 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
3305 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
3306 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
3307 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
3308 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
3309 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
3310 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
3311 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
3312 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
3313 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
3314 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
3315 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
3316 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
3317 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
3318 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
3319 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
3320 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
3321 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
3322 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
3323 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
3324 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
3325 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
3326 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
3327 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
3328 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
3329 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
3330 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
3331 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
3332 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
3333 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
3334 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
3335 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
3336 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
3337 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
3338 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
3339 * libc/sys/linux/linuxthreads/unload.c: Ditto.
3340 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
3341 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
3342 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
3343 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
3344 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
3345 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
3346 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
3347 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
3348 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
3349 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
3350 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
3351 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
3352 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
3353 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3354 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
3355 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3356 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
3357 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
3358 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
3359 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
3360 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
3361 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3362 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
3363 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
3364 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
3365 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
3366 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
3367 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
3368 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
3369 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
3370 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
3371 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3372 * libc/sys/linux/net/Makefile.am: Ditto.
3373 * libc/sys/linux/net/Makefile.in: Ditto.
3374 * libc/sys/linux/net/addr2ascii.3: Ditto.
3375 * libc/sys/linux/net/addr2ascii.c: Ditto.
3376 * libc/sys/linux/net/ascii2addr.c: Ditto.
3377 * libc/sys/linux/net/base64.c: Ditto.
3378 * libc/sys/linux/net/bindresvport.c: Ditto.
3379 * libc/sys/linux/net/byteorder.3: Ditto.
3380 * libc/sys/linux/net/ether_addr.c: Ditto.
3381 * libc/sys/linux/net/ethers.3: Ditto.
3382 * libc/sys/linux/net/getaddrinfo.3: Ditto.
3383 * libc/sys/linux/net/getaddrinfo.c: Ditto.
3384 * libc/sys/linux/net/gethostbydns.c: Ditto.
3385 * libc/sys/linux/net/gethostbyht.c: Ditto.
3386 * libc/sys/linux/net/gethostbyname.3: Ditto.
3387 * libc/sys/linux/net/gethostbynis.c: Ditto.
3388 * libc/sys/linux/net/gethostnamadr.c: Ditto.
3389 * libc/sys/linux/net/getifaddrs.3: Ditto.
3390 * libc/sys/linux/net/getifaddrs.c: Ditto.
3391 * libc/sys/linux/net/getipnodebyname.3: Ditto.
3392 * libc/sys/linux/net/getnameinfo.3: Ditto.
3393 * libc/sys/linux/net/getnameinfo.c: Ditto.
3394 * libc/sys/linux/net/getnetbydns.c: Ditto.
3395 * libc/sys/linux/net/getnetbyht.c: Ditto.
3396 * libc/sys/linux/net/getnetbynis.c: Ditto.
3397 * libc/sys/linux/net/getnetent.3: Ditto.
3398 * libc/sys/linux/net/getnetnamadr.c: Ditto.
3399 * libc/sys/linux/net/getproto.c: Ditto.
3400 * libc/sys/linux/net/getprotoent.3: Ditto.
3401 * libc/sys/linux/net/getprotoent.c: Ditto.
3402 * libc/sys/linux/net/getprotoname.c: Ditto.
3403 * libc/sys/linux/net/getservbyname.c: Ditto.
3404 * libc/sys/linux/net/getservbyport.c: Ditto.
3405 * libc/sys/linux/net/getservent.3: Ditto.
3406 * libc/sys/linux/net/getservent.c: Ditto.
3407 * libc/sys/linux/net/herror.c: Ditto.
3408 * libc/sys/linux/net/hesiod.3: Ditto.
3409 * libc/sys/linux/net/hesiod.c: Ditto.
3410 * libc/sys/linux/net/if_indextoname.3: Ditto.
3411 * libc/sys/linux/net/ifname.c: Ditto.
3412 * libc/sys/linux/net/inet.3: Ditto.
3413 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
3414 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
3415 * libc/sys/linux/net/inet_addr.c: Ditto.
3416 * libc/sys/linux/net/inet_lnaof.c: Ditto.
3417 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
3418 * libc/sys/linux/net/inet_net.3: Ditto.
3419 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
3420 * libc/sys/linux/net/inet_net_pton.c: Ditto.
3421 * libc/sys/linux/net/inet_neta.c: Ditto.
3422 * libc/sys/linux/net/inet_netof.c: Ditto.
3423 * libc/sys/linux/net/inet_network.c: Ditto.
3424 * libc/sys/linux/net/inet_ntoa.c: Ditto.
3425 * libc/sys/linux/net/inet_ntop.c: Ditto.
3426 * libc/sys/linux/net/inet_pton.c: Ditto.
3427 * libc/sys/linux/net/innetgr-stub.c: Ditto.
3428 * libc/sys/linux/net/ip6opt.c: Ditto.
3429 * libc/sys/linux/net/iso_addr.3: Ditto.
3430 * libc/sys/linux/net/iso_addr.c: Ditto.
3431 * libc/sys/linux/net/issetugid-stub.c: Ditto.
3432 * libc/sys/linux/net/linkaddr.3: Ditto.
3433 * libc/sys/linux/net/linkaddr.c: Ditto.
3434 * libc/sys/linux/net/map_v4v6.c: Ditto.
3435 * libc/sys/linux/net/name6.c: Ditto.
3436 * libc/sys/linux/net/namespace.h: Ditto.
3437 * libc/sys/linux/net/ns.3: Ditto.
3438 * libc/sys/linux/net/ns_addr.c: Ditto.
3439 * libc/sys/linux/net/ns_name.c: Ditto.
3440 * libc/sys/linux/net/ns_netint.c: Ditto.
3441 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3442 * libc/sys/linux/net/ns_parse.c: Ditto.
3443 * libc/sys/linux/net/ns_print.c: Ditto.
3444 * libc/sys/linux/net/ns_ttl.c: Ditto.
3445 * libc/sys/linux/net/nsap_addr.c: Ditto.
3446 * libc/sys/linux/net/nsdispatch.3: Ditto.
3447 * libc/sys/linux/net/nsdispatch.c: Ditto.
3448 * libc/sys/linux/net/nslexer.c: Ditto.
3449 * libc/sys/linux/net/nslexer.l: Ditto.
3450 * libc/sys/linux/net/nsparser.c: Ditto.
3451 * libc/sys/linux/net/nsparser.h: Ditto.
3452 * libc/sys/linux/net/nsparser.y: Ditto.
3453 * libc/sys/linux/net/rcmd.3: Ditto.
3454 * libc/sys/linux/net/rcmd.c: Ditto.
3455 * libc/sys/linux/net/rcmdsh.3: Ditto.
3456 * libc/sys/linux/net/rcmdsh.c: Ditto.
3457 * libc/sys/linux/net/recv.c: Ditto.
3458 * libc/sys/linux/net/res_comp.c: Ditto.
3459 * libc/sys/linux/net/res_config.h: Ditto.
3460 * libc/sys/linux/net/res_data.c: Ditto.
3461 * libc/sys/linux/net/res_debug.c: Ditto.
3462 * libc/sys/linux/net/res_init.c: Ditto.
3463 * libc/sys/linux/net/res_mkquery.c: Ditto.
3464 * libc/sys/linux/net/res_mkupdate.c: Ditto.
3465 * libc/sys/linux/net/res_query.c: Ditto.
3466 * libc/sys/linux/net/res_send.c: Ditto.
3467 * libc/sys/linux/net/res_update.c: Ditto.
3468 * libc/sys/linux/net/resolver.3: Ditto.
3469 * libc/sys/linux/net/rthdr.c: Ditto.
3470 * libc/sys/linux/net/send.c: Ditto.
3471 * libc/sys/linux/net/un-namespace.h: Ditto.
3472 * libc/sys/linux/net/vars.c: Ditto.
3473 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
3474 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3475 * libc/sys/linux/stdlib/Makefile.in: Ditto.
3476 * libc/sys/linux/stdlib/cclass.h: Ditto.
3477 * libc/sys/linux/stdlib/cname.h: Ditto.
3478 * libc/sys/linux/stdlib/collate.c: Ditto.
3479 * libc/sys/linux/stdlib/collate.h: Ditto.
3480 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3481 * libc/sys/linux/stdlib/engine.c: Ditto.
3482 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
3483 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3484 * libc/sys/linux/stdlib/glob.3: Ditto.
3485 * libc/sys/linux/stdlib/glob.c: Ditto.
3486 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3487 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3488 * libc/sys/linux/stdlib/regerror.c: Ditto.
3489 * libc/sys/linux/stdlib/regex.3: Ditto.
3490 * libc/sys/linux/stdlib/regex2.h: Ditto.
3491 * libc/sys/linux/stdlib/regexec.c: Ditto.
3492 * libc/sys/linux/stdlib/regfree.c: Ditto.
3493 * libc/sys/linux/stdlib/utils.h: Ditto.
3494 * libc/sys/linux/stdlib/wordexp.c: Ditto.
3495 * libc/sys/linux/stdlib/wordfree.c: Ditto.
3496 * libc/sys/linux/sys/dlfcn.h: Ditto.
3497 * libc/sys/linux/sys/elfclass.h: Ditto.
3498 * libc/sys/linux/sys/event.h: Ditto.
3499 * libc/sys/linux/sys/ioccom.h: Ditto.
3500 * libc/sys/linux/sys/libc-tsd.h: Ditto.
3501 * libc/sys/linux/sys/link.h: Ditto.
3502 * libc/sys/linux/sys/lock.h: Ditto.
3503 * libc/sys/linux/sys/param.h: Ditto.
3504 * libc/sys/linux/sys/socket.h: Ditto.
3505 * libc/sys/linux/sys/sockio.h: Ditto.
3506
82095e79
JJ
35072003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3508
3509 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
3510 normal mode
3511 * newlib/libc/machine/h8300/memset.S: Likewise
3512 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
3513 * newlib/lib/machine/h8300/reg_memset.S: Likewise
3514 * newlib/lib/machine/h8300/setjmp.S: Likewise
3515 * newlib/lib/machine/h8300/strcmp.S: Likewise
3516 * newlib/lib/sys/h8300hms/crt0.S: Likewise
3517
8a4b4764
CV
35182003-05-13 Corinna Vinschen <corinna@vinschen.de>
3519
3520 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
3521 * libc/include/stdio.h: Ditto.
3522 * libc/include/sys/config.h: Ditto.
3523 * libc/stdio/mktemp.c: Ditto.
3524
837e070f
CV
35252003-05-13 Corinna Vinschen <corinna@vinschen.de>
3526
3527 * libc/locale/ldpart.c (__part_load_locale): Substitute
3528 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
3529 * libc/search/hash.c (__hash_open): Ditto.
3530 (init_hash): Ditto.
3531 * libc/stdio/fseek.c (fseek): Ditto.
3532 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3533 * libc/stdio/mktemp.c (_gettemp): Ditto.
3534
b47fcdf0
CV
35352003-05-12 Corinna Vinschen <corinna@vinschen.de>
3536
3537 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
3538
11e3a520
CV
35392003-05-12 Corinna Vinschen <corinna@vinschen.de>
3540
3541 * configure.host: Accomodate removing the libc/sys/cygwin dir.
3542 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
3543 if __CYGWIN_USE_BIG_TYPES__ is set.
3544 * libc/search/hash.c (__hash_open): Ditto.
3545 (init_hash): Ditto.
3546 * libc/stdio/fseek.c (fseek): Ditto.
3547 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3548 * libc/stdio/mktemp.c (_gettemp): Ditto.
3549 * libc/sys/cygwin/Makefile.am: Remove.
3550 * libc/sys/cygwin/Makefile.in: Remove.
3551 * libc/sys/cygwin/aclocal.m4: Remove.
3552 * libc/sys/cygwin/configure: Remove.
3553 * libc/sys/cygwin/configure.in: Remove.
3554 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
3555 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
3556 directory.
3557 * libc/sys/cygwin/sys/param.h: Ditto.
3558 * libc/sys/cygwin/sys/utime.h: Ditto.
3559 * libc/sys/cygwin/sys/utmp.h: Ditto.
3560
d1b5e65b
CV
35612003-05-11 Corinna Vinschen <corinna@vinschen.de>
3562
3563 * libc/include/sys/types.h: Don't define key_t for Cygwin.
3564
ec48a953
CF
35652003-05-10 Christopher Faylor <cgf@redhat.com>
3566
3567 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
3568 64 bit inodes.
3569
a3cc5851
CV
35702003-05-09 Corinna Vinschen <corinna@vinschen.de>
3571
3572 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
3573 Include cygwin/config.h instead.
3574
57ff95d3
JJ
35752003-04-16 Jeff Johnston <jjohnstn@redhat.com>
3576
3577 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
3578 all code with #ifdef __SPE__ test.
3579 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
3580
cfd2c7be
CF
35812003-04-15 Chris January <chris@atomice.net>
3582
3583 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
3584 Cygwin.
3585
6f48c0ae
JR
35862003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
3587
3588 * libc/machine/sh/memset.S: Avoid clobbering volatile
3589 objects following a tiny to-be-set array in the same quadword.
3590
8f8d09c0
CV
35912001-04-09 Corinna Vinschen <corinna@vinschen.de>
3592
3593 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
3594 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
3595 * libc/string/Makefile.in: Regenerated.
3596 * libc/string/wcswidth.c: New file.
3597 * libc/string/wcwidth.c: New file.
3598 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
3599
40c3b2d0
JR
3600Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
3601
3602 * libc/machine/sh/memset.S: Fix problem with alloco region
3603 exceeding destination region for length >= 88 bytes, start
3604 & 0x16 == 0, end & 0x1f == 18.
3605
8ae6a3dd
CV
36062001-04-03 Corinna Vinschen <corinna@vinschen.de>
3607
3608 * libc/string/wcscoll.c: Fix comment.
3609
d122b1cc
CV
36102001-04-02 Corinna Vinschen <corinna@vinschen.de>
3611
3612 * libc/include/wchar.h: Add definition for wcscoll.
3613 * libc/string/Makefile.am: Add wcscoll.c.
3614 * libc/string/Makefile.in: Regenerated.
3615 * libc/string/wcscoll.c: New file.
3616 * libc/string/wcstrings.tex: Add wcscoll.
3617
31ee99a4
CV
36182003-04-01 Corinna Vinschen <corinna@vinschen.de>
3619
3620 * libc/stdio/sscanf.c: Update flags description.
3621 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
3622 type.
3623 (__svfscanf_r): Add 'hh' and 'll' handling.
3624
d78045ee
CV
36252003-04-01 Corinna Vinschen <corinna@vinschen.de>
3626
3627 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
3628 __d_position member to _off_t.
3629
e6bdc6c5
JJ
36302003-03-20 Jeff Johnston <jjohnstn@redhat.com>
3631
3632 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
3633 count all characters used to create number against maximum width.
3634 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3635
e65d559e
JJ
36362003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
3637
3638 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
3639 support.
3640 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
3641 flag to support simulator only extensions.
3642
6b3bb52b
JJ
36432003-03-17 Bob Cassels <bcassels@abinitio.com>
3644
3645 * libc/string/wcschr.c: (wcschr): Look for character first,
3646 then for end of string, so you can do wcschr(x, '\0').
3647
2a940c1a
CV
36482003-03-10 Corinna Vinschen <corinna@vinschen.de>
3649
3650 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
3651 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
3652 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
3653 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
3654 * libc/stdio/fseeko.c (fseeko): Ditto.
3655 * libc/stdio/ftello.c (ftello): Ditto.
3656 * libc/stdio/stdio.c (__swrite): Ditto.
3657 (__sseek): Ditto.
3658 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
3659 * libc/stdio/fseek.c (fseek): Ditto.
3660 * libc/stdio/fsetpos.c (fsetpos): Ditto.
3661 * libc/stdio/ftell.c (ftell): Ditto.
3662 * libc/stdio/local.h: Declare __sseek using _off_t.
3663
150c2818
CV
36642003-03-09 Corinna Vinschen <corinna@vinschen.de>
3665
3666 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
3667
2c440f9c
CV
36682003-03-09 Corinna Vinschen <corinna@vinschen.de>
3669
3670 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
3671 Cygwin.
3672
f882fd15
CV
36732003-03-09 Corinna Vinschen <corinna@vinschen.de>
3674
3675 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
3676 Cygwin.
3677 * libc/include/sys/stat.h: Ditto.
3678 * libc/include/sys/unistd.h: Ditto.
3679 * libc/sys/cygwin/sys/dirent.h: Ditto.
3680
01d61543
CF
36812003-03-07 Christopher Faylor <cgf@redhat.com>
3682
3683 * libc/include/sys/unistd.h: Guard getopt.h call to force only
3684 declaration of getopt and avoid getopt_long declaration.
3685 * libc/sys/cygwin/include/unistd.h: Remove.
3686
5582abd2
CV
36872003-03-07 Corinna Vinschen <corinna@vinschen.de>
3688
3689 * configure.host: Define stdio64_dir for Cygwin.
3690 * libc/include/stdio.h: Change definition of fpos_t to fulfill
3691 Cygwin 64bit file access requirements.
3692 Drop definition of f*64() functions when compiled for Cygwin.
3693 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
3694 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
3695 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
3696
641da1eb
JJ
36972003-03-07 Jeff Johnston <jjohnstn@redhat.com>
3698
3699 * libc/include/sys/reent.h: Remove extraneous _sig_func
3700 declaration.
3701
37022003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
3703
3704 * libc/sys/h8300hms/Makefile.am: Add support for new files.
3705 * libc/sys/h8300hms/Makefile.in: Regenerated.
3706 * libc/sys/h8300hms/close.S: New file.
3707 * libc/sys/h8300hms/fstat.S: Ditto.
3708 * libc/sys/h8300hms/lseek.S: Ditto.
3709 * libc/sys/h8300hms/open.S: Ditto.
3710 * libc/sys/h8300hms/stat.S: Ditto.
3711 * libc/sys/h8300hms/read.S: New file to replace read.c.
3712 * libc/sys/h8300hms/read.c: Removed.
3713 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
3714 _lseek, _close, _stat, _fstat.
3715 * libc/sys/h8300hms/write.S: New file to replace write.c.
3716 * libc/sys/h8300hms/write.c: Removed.
3717
bac50d6b
NC
37182003-02-20 Nick Clifton <nickc@redhat.com>
3719
3720 * Add support for Cirrus Maverick ARM co-processor:
3721
3722 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
3723
3724 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
3725 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
3726
3727 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
3728
3729 * configure.host: set sys_dir, syscall_dir, and
3730 newlib_cflags for ep9312 host.
3731
3732 * configure.host: Restore alpha sorting of entries in case
3733 statements.
3734
12ee7037
JJ
37352003-02-19 Jeff Johnston <jjohnstn@redhat.com>
3736
3737 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
3738
1e810ba0
JJ
37392003-02-18 Christian Groessler <chris@groessler.org>
3740
3741 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
3742 support z8001 segmented mode.
3743
b1ca765e
JJ
37442003-02-18 Earnie Boyd <earnie@users.sf.net>
3745
3746 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
3747 with a NULL value.
3748
51a46b54
CF
37492003-02-10 Christopher Faylor <cgf@redhat.com>
3750
3751 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
3752 Don't define some types under cygwin.
3753
313f1349
JJ
37542003-02-07 Jeff Johnston <jjohnstn@redhat.com>
3755
3756 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
3757 option to allow disabling of syscalls being supplied in newlib.
3758 * aclocal.m4: Regenerated.
3759 * configure: Ditto.
3760 * configure.host: Add support of new configuration option and add
3761 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
3762 * doc/aclocal.m4: Regenerated.
3763 * doc/configure: Ditto.
3764 * libc/*aclocal.m4: Ditto.
3765 * libc/*configure: Ditto.
3766 * libm/*aclocal.m4: Ditto.
3767 * libm/*configure: Ditto.
3768 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
3769 is disabled.
3770 * libc/sys/arm/Makefile.in: Regenerated.
3771
5017a3da
JJ
37722003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
3773
3774 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
3775 -1 to be sure it cannot later match a valid file fd causing
3776 isatty() to return 1.
3777 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
3778 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
3779 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
3780
ad36f7d1
JJ
37812003-02-03 Jeff Johnston <jjohnstn@redhat.com>
3782
3783 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
3784 buffer based on the precision, after we have processed the input value
3785 in a local buffer and know its relative magnitude.
3786
a74181ee
JJ
37872003-01-31 Michael Snyder <msnyder@redhat.com>
3788
3789 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
3790 into registers r1 and r2, so that the simulator can distinguish
3791 this trap from a breakpoint trap. Copied from libgloss.
3792
b85498d4
JJ
37932003-01-31 Michael Snyder <msnyder@redhat.com>
3794
3795 * libc/sys/h8300hms/crt0.S (_start): Change local label
3796 from .loop to .Loop, so that ld and gdb will ignore it.
3797
4700b829
JJ
37982003-01-29 Jason Tishler <jason@tishler.net>
3799
3800 * libc/include/time.h: Declare nanosleep() under Cygwin.
3801
0127ae40
NC
38022003-01-24 Nick Clifton <nickc@redhat.com>
3803
3804 * Add sh2e support:
3805
3806 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
3807
3808 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
3809 * libc/machine/sh/setjmp.S: Likewise.
3810 * libc/include/machine/ieeefp.h: Likewise.
3811
8bbcd9a1
CV
38122003-01-24 Corinna Vinschen <corinna@vinschen.de>
3813
3814 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
3815 for Cygwin.
3816
b8838e6f
JJ
38172003-01-21 Anita Kulkarni <anitak@kpit.com>
3818
3819 * libc/time/difftime.c : Typecast the result to double.
3820
f9e41155
CF
38212003-01-20 Christopher Faylor <cgf@redhat.com>
3822
3823 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
3824
6b5a7988
NC
38252003-01-18 Nick Clifton <nickc@redhat.com>
3826
3827 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
3828 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
3829
c3e92877
JJ
38302003-01-16 Joel Sherrill <joel@OARcorp.com>
3831
3832 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
3833 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
3834 constants are defined in each file in the shared versions in
3835 libc/include.
3836 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
3837 autoconf can link programs.
3838 * libc/include/machine/types.h: Explicitly specify signed on
3839 intXX_t types to ensure they are signed.
3840
84510217
CF
38412003-01-14 Christopher Faylor <cgf@redhat.com>
3842
3843 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
3844 extensions.
3845
b3934ab3
RS
38462003-01-08 Richard Sandiford <rsandifo@redhat.com>
3847
3848 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
3849
be9c60e5
JJ
38502003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
3851
3852 * libc/stdio/sprintf.c: fix typo
3853 * libc/stdio/vfprintf.c: fix typo
3854
d4c3a750
JJ
38552003-01-07 Jeff Johnston <jjohnstn@redhat.com>
3856
3857 * configure.host: Support long double I/O for x86-linux.
3858 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
3859 large enough to hold formatted result.
3860 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
3861
b2294aaa
JJ
38622003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3863
3864 * Makefile.am: Add vasprintf.
3865 * Makefile.in: Regenerated.
3866
ea5e5daf
JJ
38672003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3868
3869 * asprintf.c (_asprintf_r): insure both declarations
3870 are the same.
3871
5c581eca
CF
38722002-12-28 Christopher Faylor <cgf@redhat.com>
3873
3874 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
3875 than defining getopt directly.
3876
60b0838f
JJ
38772002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3878
3879 * NEWS: Update with 1.11.0 info.
3880 * README: Ditto.
3881 * acinclude.m4: Change version number to 1.11.0.
3882 * aclocal.m4: Regenerated.
3883 * configure: Ditto.
3884 * doc/aclocal.m4: Ditto.
3885 * doc/configure: Ditto.
3886 * libc/*/aclocal.m4: Ditto.
3887 * libc/*/configure: Ditto.
3888 * libc/libc.texinfo: Ditto.
3889 * libm/*/aclocal.m4: Ditto.
3890 * libm/*/configure: Ditto.
3891 * libm/libm.texinfo: Ditto.
3892 * libc/sys/linux/shared.ld: Add VERS_1.11.
3893
10501d57
JJ
38942002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3895
3896 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
3897 Solutions to Red Hat Inc.
3898 * libc/machine/i386/f_atan2f.S: Ditto.
3899 * libc/machine/i386/f_exp.c: Ditto.
3900 * libc/machine/i386/f_expf.c: Ditto.
3901 * libc/machine/i386/f_frexp.S: Ditto.
3902 * libc/machine/i386/f_frexpf.S: Ditto.
3903 * libc/machine/i386/f_ldexp.S: Ditto.
3904 * libc/machine/i386/f_ldexpf.S: Ditto.
3905 * libc/machine/i386/f_log.S: Ditto.
3906 * libc/machine/i386/f_log10.S: Ditto.
3907 * libc/machine/i386/f_log10f.S: Ditto.
3908 * libc/machine/i386/f_logf.S: Ditto.
3909 * libc/machine/i386/f_pow.c: Ditto.
3910 * libc/machine/i386/f_powf.c: Ditto.
3911 * libc/machine/i386/f_tan.S: Ditto.
3912 * libc/machine/i386/f_tanf.S: Ditto.
3913 * libc/machine/i386/memchr.S: Ditto.
3914 * libc/machine/i386/memcmp.S: Ditto.
3915 * libc/machine/i386/memcpy.S: Ditto.
3916 * libc/machine/i386/memmove.S: Ditto.
3917 * libc/machine/i386/memset.S: Ditto.
3918 * libc/machine/i386/strchr.S: Ditto.
3919 * libc/machine/i386/strlen.S: Ditto.
3920 * libm/machine/i386/f_atan2.S: Ditto.
3921 * libm/machine/i386/f_atan2f.S: Ditto.
3922 * libm/machine/i386/f_exp.c: Ditto.
3923 * libm/machine/i386/f_expf.c: Ditto.
3924 * libm/machine/i386/f_frexp.S: Ditto.
3925 * libm/machine/i386/f_frexpf.S: Ditto.
3926 * libm/machine/i386/f_ldexp.S: Ditto.
3927 * libm/machine/i386/f_ldexpf.S: Ditto.
3928 * libm/machine/i386/f_log.S: Ditto.
3929 * libm/machine/i386/f_log10.S: Ditto.
3930 * libm/machine/i386/f_log10f.S: Ditto.
3931 * libm/machine/i386/f_logf.S: Ditto.
3932 * libm/machine/i386/f_pow.c: Ditto.
3933 * libm/machine/i386/f_powf.c: Ditto.
3934 * libm/machine/i386/f_tan.S: Ditto.
3935 * libm/machine/i386/f_tanf.S: Ditto.
3936
9b3f0d16
JJ
39372002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3938
3939 * libc/stdlib/environ.c: Update license to Red Hat.
3940 * libc/machine/hppa/setjmp.S: Ditto.
3941 * libm/test/Makefile.in: Ditto.
3942
d693ad84
JJ
39432002-12-19 Jeff Johnston <jjohnstn@redhat.com>
3944
3945 * configure.host: Remove references to go32.
3946 * libc/sys/go32/*: Removed.
3947
7da92d15
JJ
39482002-12-16 Kazu Hirata <kazu@cs.umass.edu>
3949
3950 * libc/include/sys/config.h: Change setting of INT_MAX
3951 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
3952 __H8300S__. Also consolidate flag settings for these
3953 platforms.
3954
ea01c7f5
JJ
39552002-12-10 Joel Sherrill <joel@OARcorp.com>
3956
3957 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
3958 for i386-rtems targets.
3959
c049dd5a
JJ
39602002-12-06 Jeff Johnston <jjohnstn@redhat.com>
3961
3962 * libc/include/stdlib.h (strtof): New prototype (from C99).
3963 (strtodf): Changed from prototype to macro which redefines
3964 to strtof.
3965 * libc/stdlib/atof.c: Change documentation to refer to strtof
3966 instead of strtodf.
3967 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
3968 strtodf.
3969 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
3970 (strtof): New function.
3971 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
3972 calls strtof.
3973
46a402e0
CF
39742002-11-27 Christopher Faylor <cgf@redhat.com>
3975
3976 * libc/string/memset.c (memset): Fix comment.
3977
b3cc01b0
CF
39782002-11-26 Christopher Faylor <cgf@redhat.com>
3979
3980 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
3981 function.
3982
d90f3dc1
CF
39832002-11-25 Christopher Faylor <cgf@redhat.com>
3984
3985 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
3986 variable, introduced below, everywhere.
3987
f24585c6
KH
39882002-11-25 Kazu Hirata <kazu@cs.umass.edu>
3989
3990 * libc/string/memset.c (memset): Make it safe even if
3991 sizeof (int) = 2.
3992
2955fd76
JJ
39932002-11-22 Joe Buehler <jbuehler@hekimian.com>
3994
3995 * configure.in: Change check for libc/include in ${CC} to
3996 use an intermediate value so as to work with different shells.
3997 * configure: Regenerated.
3998 * Makefile.in: Ditto.
3999
40ce7368
JJ
40002002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
4001
4002 * libc/sys/h8300hms/read.c: Add support for normal mode
4003 architecture.
4004
505746ad
JJ
40052002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
4006
4007 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
4008 code for __H8300H__ and __H8300S__. Also return 32-bit return code
4009 when -mint32 is used.
4010
28ecb2f5
NC
40112002-11-18 Nick Clifton <nickc@redhat.com>
4012
4013 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
4014
665b994e
JJ
40152002-11-14 Jeff Johnston <jjohnstn@redhat.com>
4016
4017 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
4018 only issue one pass/fail message for a compile/link/execute.
4019 * testsuite/newlib.elix/elix.exp: New file.
4020 * testsuite/newlib.elix/tmmap.c: Ditto.
4021
e91ec2e3
CF
40222002-11-06 Christopher Faylor <cgf@redhat.com>
4023
4024 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
4025 * libc/stdlib/mlock.c: Ditto.
4026 * libc/stdlib/msize.c: Ditto.
4027 * libc/stdlib/msize.c: Ditto.
4028 * libc/stdlib/mtrim.c: Ditto.
4029 * libc/stdlib/valloc.c: Ditto.
4030
944772c7
JJ
40312002-11-12 Jeff Johnston <jjohnstn@redhat.com>
4032
4033 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
4034 for inf/nan, make sure that the check ignores the sign bit.
4035
dd7ee147
JJ
40362002-11-07 Joel Sherrill <joel@OARcorp.com>
4037
4038 * libc/sys/rtems/machine: New directory.
4039 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
4040 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
4041 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
4042 targets more BSD like when installed without requiring files to
4043 be overwritten at install point when RTEMS itself is installed.
4044 * Makefile.am: Pick up system dependent machine .h files such as
4045 might be found on a BSD-ish system.
4046 * Makefile.in: Regenerate.
4047 * libc/include/machine/types.h: When on an RTEMS target, define a
4048 few BSD flavor types.
4049
40502002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
4051
4052 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
4053
18cd62b7
JJ
40542002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4055
4056 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
4057 * libc/include/wctype.h: Ditto.
4058
d2888812
JJ
40592002-11-04 Jeff Johnston <jjohnstn@redhat.com>
4060
4061 * libc/include/wchar.h: Add extern "C" specifier if C++.
4062 * libc/include/wctype.h: Ditto.
4063
978ea3cf
JJ
40642002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4065
4066 * testsuite/newlib.wctype/tiswctype.c: New test case.
4067 * testsuite/newlib.wctype/twctrans.c: Ditto.
4068
a42cf80a
JJ
40692002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4070
4071 * libc/sys/linux/machine/i386/include/endian.h: New file.
4072 * libc/sys/linux/machine/i386/include/param.h: Ditto.
4073
c9ccb1f2
JJ
40742002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4075
4076 * libm/machine/i386/aclocal.m4: Regenerated.
4077 * libm/machine/i386/configure: Ditto.
4078
94c5b430
JJ
40792002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4080
4081 * testsuite/include/check.h: New header file to use with
4082 test cases.
4083 * testsuite/lib/newlib.exp: Add testsuite/include directory
4084 to list of header files to use.
4085 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
4086 * testsuite/newlib.wctype/wctype.exp: New file.
4087
ccdae543
RS
40882002-10-11 Graham Stott <graham.stott@btinternet.com>
4089 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
4090
4091 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
4092 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
4093 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
4094
73972116
JS
40952002-10-07 Joel Sherrill <joel@OARcorp.com>
4096
4097 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
4098 dummy programs.
4099
89e3fcba
JS
41002002-10-07 Joel Sherrill <joel@OARcorp.com>
4101
4102 * libc/include/pthread.h: Define PTHREAD_CANCELED.
4103
54ec52e4
JS
41042002-10-07 Joel Sherrill <joel@OARcorp.com>
4105
4106 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
4107 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
4108 compile with current GNU tools.
4109
d389acba
JJ
41102002-10-07 Jeff Johnston <jjohnstn@redhat.com>
4111
4112 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
4113 the build library.
4114 * configure.in: Ditto.
4115 * Makefile.in: Regenerated.
4116 * configure: Ditto.
4117 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
4118 for specifying configured libraries/directories.
4119 * libc/sys/linux/configure.in: Ditto.
4120 * libc/sys/linux/Makefile.in: Regenerated.
4121 * libc/sys/linux/configure: Ditto.
4122
af5a221f
JJ
41232002-10-03 Jeff Johnston <jjohnstn@redhat.com>
4124
4125 * libc/include/reent.h: Update documentation at start of file.
4126
59a758bd
JW
41272002-09-27 Jim Wilson <wilson@redhat.com>
4128
4129 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
4130 the ctbp register.
4131
1ed3c86d
JJ
41322002-09-27 Jeff Johnston <jjohnstn@redhat.com>
4133
4134 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
4135 Also convert to EUCJP before using arrays. For values not in
4136 the conversion arrays, return WEOF.
4137 * libc/ctype/jp2uc.h: Change from one array to a number of
4138 arrays to account for the fact that the originating table
4139 is not contiguous for the input values since some are invalid.
4140
6e1dfd2d
JJ
41412002-09-24 Jeff Johnston <jjohnstn@redhat.com>
4142
4143 * libc/time/ctime.c: Fix prototype documentation.
4144
06f1353a
CV
41452002-09-24 Corinna Vinschen <corinna@vinschen.de>
4146
4147 * libc/include/sys/errno.h: Add EOVERFLOW.
4148
1e0e64c9
JJ
41492002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4150
4151 * libc/include/wctype.h: New file.
4152
1525d127
JJ
41532002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4154
4155 * libc/ctype/Makefile.am: Add new files.
4156 * libc/ctype/Makefile.in: Regenerated.
4157 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
4158 and wctrans functions to documentation index.
4159 * libc/ctype/iswalnum.c: New file.
4160 * libc/ctype/iswalpha.c: Ditto.
4161 * libc/ctype/iswblank.c: Ditto.
4162 * libc/ctype/iswcntrl.c: Ditto.
4163 * libc/ctype/iswctype.c: Ditto.
4164 * libc/ctype/iswdigit.c: Ditto.
4165 * libc/ctype/iswgraph.c: Ditto.
4166 * libc/ctype/iswlower.c: Ditto.
4167 * libc/ctype/iswprint.c: Ditto.
4168 * libc/ctype/iswpunct.c: Ditto.
4169 * libc/ctype/iswspace.c: Ditto.
4170 * libc/ctype/iswupper.c: Ditto.
4171 * libc/ctype/iswxdigit.c: Ditto.
4172 * libc/ctype/jp2uc.c: Ditto.
4173 * libc/ctype/jp2uc.h: Ditto.
4174 * libc/ctype/local.h: Ditto.
4175 * libc/ctype/towctrans.c: Ditto.
4176 * libc/ctype/towlower.c: Ditto.
4177 * libc/ctype/towupper.c: Ditto.
4178 * libc/ctype/utf8alpha.h: Ditto.
4179 * libc/ctype/utf8print.h: Ditto.
4180 * libc/ctype/utf8punct.h: Ditto.
4181 * libc/ctype/wctrans.c: Ditto.
4182 * libc/ctype/wctype.c: Ditto.
4183 * libc/locale/locale.c (__lc_ctype): New external array to
4184 replace static lc_ctype array.
4185 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
4186 rather than reentrancy structure's _current_locale field.
4187 * libc/stdlib/wctomb_r.c: Ditto.
4188
da25e61f
JJ
41892002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4190
4191 * configure.host: Minor comment and formatting changes.
4192 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
4193 * libc/Makefile.in: Regenerated.
4194 * libc/include/sys/config.h: Minor format change.
4195
5b9ee539
JJ
41962002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4197
4198 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
4199 statement comment.
4200
50558bf3
JJ
42012002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4202
4203 * libc/posix/opendir.c (opendir): Change code to check
4204 for HAVE_FCNTL before calling fcntl.
4205 * libc/search/hash.c (hash_open): Ditto.
4206 * libc/search/hash_page.c (open_tmp): Ditto.
4207 * libc/reent/Makefile.am: Add fcntlr.c.
4208 * libc/reent/Makefile.in: Regenerated.
4209 * libc/reent/fcntlr.c: New file.
4210 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
4211 instead of _fcntl when HAVE_FCNTL flag is set.
4212 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
4213 to see if _fcntl or _fcntl_r should be called. If flag is not
4214 set, default to ENOSYS stub.
4215
9211a1ad
JJ
42162002-09-16 Jeff Johnston <jjohnstn@redhat.com>
4217
4218 * libc/include/wchar.h (mbstate_t): Change protective flag to
4219 be _MBSTATE_T.
4220 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
4221 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
4222 for Cygwin.
4223 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
4224
a8615092
JJ
42252002-09-11 Jeff Johnston <jjohnstn@redhat.com>
4226
4227 * acinclude.m4 (enable-newlib-mb): Change check to
4228 default newlib_mb variable to empty string rather than "no".
4229 * configure.host: Remove hard-coding of -DMB_CAPABLE for
4230 x86-linux and Cygwin. Add code to check for newlib_mb
4231 being unset in which case set to "yes" for x86-linux and
4232 Cygwin. Change check for newlib_mb being "yes" to allow
4233 for an empty string.
4234 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
4235 * newlib.hin (_MB_LEN_MAX): New define to configure.
4236 * aclocal.m4: Regenerated.
4237 * configure: Ditto.
4238 * libc/include/limits.h: New file.
4239 * libc/sys/linux/include/limits.h: Ditto.
4240 * doc/aclocal.m4 doc/configure libc/aclocal.m4
4241 libc/configure libc/include/%redact libc/machine/aclocal.m4
4242 libc/machine/configure libc/machine/a29k/aclocal.m4
4243 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4244 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4245 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4246 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4247 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
4248 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
4249 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4250 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4251 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4252 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4253 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4254 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
4255 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
4256 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4257 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4258 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4259 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4260 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4261 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4262 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
4263 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4264 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
4265 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
4266 libc/machine/v850/configure libc/machine/w65/aclocal.m4
4267 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
4268 libc/machine/xscale/configure
4269 libc/machine/xstormy16/aclocal.m4
4270 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
4271 libc/machine/z8k/configure libc/sys/aclocal.m4
4272 libc/sys/configure libc/sys/a29khif/aclocal.m4
4273 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
4274 libc/sys/arc/configure libc/sys/arm/aclocal.m4
4275 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
4276 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
4277 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
4278 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
4279 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
4280 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
4281 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
4282 libc/sys/idt/configure libc/sys/linux/aclocal.m4
4283 libc/sys/linux/configure libc/sys/linux/include/%redact
4284 libc/sys/linux/machine/aclocal.m4
4285 libc/sys/linux/machine/configure
4286 libc/sys/linux/machine/i386/aclocal.m4
4287 libc/sys/linux/machine/i386/configure
4288 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4289 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
4290 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4291 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4292 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4293 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4294 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4295 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4296 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4297 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4298 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4299 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4300 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4301 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4302 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4303 libm/aclocal.m4 libm/configure: Regenerated.
4304
be83844e
JJ
43052002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4306
4307 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
4308 code that clears the .bss section.
4309
9c64d2a7
JJ
43102002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4311
4312 * libc/include/sys/_types.h (_mbstate_t): Changed to use
4313 unsigned char internally.
4314 * libc/sys/linux/sys/_types.h: Ditto.
4315 * libc/include/sys/reent.h
4316 * libc/stdlib/mblen.c (mblen): Use function-specific state
4317 value from default reentrancy structure.
4318 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
4319 _mbtowc_r is less than 0, reset state __count value and
4320 return -1.
4321 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
4322 is NULL, use the function-specific pointer provided in the
4323 default reentrancy structure.
4324 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
4325 If input state pointer is NULL, use function-specific area
4326 provided in reentrancy structure.
4327 * libc/stdlib/mbsrtowcs.c: Ditto.
4328 * libc/stdlib/wcrtomb.c: Ditto.
4329 * libc/stdlib/wcsrtombs.c: Ditto.
4330 * libc/stdlib/mbstowcs.c: Reformat.
4331 * libc/stdlib/wcstombs.c: Ditto.
4332 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
4333 reset the state's __count value and return -1.
4334 * libc/stdlib/mbtowc.c: Ditto.
4335 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
4336 If number of bytes is used up before completing a valid multibyte
4337 character, return -2 and save the state.
4338 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
4339 and change some __count references to __state for clarity.
4340
218b7a56
JJ
43412002-09-06 Jeff Johnston <jjohnstn@redhat.com>
4342
4343 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
4344 is defined by <limits.h>.
4345
c210a6ea
JJ
43462002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4347
4348 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
4349 defined.
4350
efa077ce
JJ
43512002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4352
4353 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
4354 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
4355 __WCHAR_MAX__ or 0x7fffffffu.
4356 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
4357 * libc/string/wcsncmp.c: Ditto.
4358
e4b0ebc1
JJ
43592002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4360
4361 * libc/string/wcschr.c: Add include of <stddef.h>.
4362 * libc/string/wcspbrk.c: Ditto.
4363 * libc/string/wcsrchr.c: Ditto.
4364 * libc/string/wcsstr.c: Ditto.
4365
3db40db7
JJ
43662002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4367
4368 * libc/include/sys/_types.h (_flock_t): Added.
4369 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
4370 (__lock_try_acquire_recursive): Ditto.
4371 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
4372 _lock field.
4373 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
4374 field.
4375 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
4376 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
4377 * libc/sys/linux/include/time.h (struct timespec): Moved from
4378 <sys/types.h> and added check for __need_timespec flag so type
4379 can be defined by itself.
4380 * libc/sys/linux/sys/_types.h (_flock_t): New type.
4381 * libc/sys/linux/sys/types.h (struct timespec): Moved to
4382 <time.h>.
4383
cd45f029
TF
43842002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4385
4386 * libc/sys/linux/argp: New directory.
4387 * libc/sys/linux/getopt.c: New file.
4388 * libc/sys/linux/getopt1.c: New file.
4389 * libc/sys/linux/getoptlong.c: Remove file.
4390 * libc/sys/linux/include/argp.h: New file.
4391 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
4392 based on ELIX level.
4393 (SUBDIRS): Add argp_dir.
4394 (SUBLIBS): Add ARGP_LIB.
4395 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
4396 getopt_long.$(oext).
4397 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
4398
3c689185
JJ
43992002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4400
4401 * libc/libc.texinfo: Add node reference to wide-character strings.
4402 * libc/string/wcstrings.tex: New file.
4403 * libc/string/strtok_r.c: Remove outdated advertising clause.
4404 * libc/string/Makefile.am (doc): Add wide-character string
4405 chapter to documentation.
4406 * libc/string/Makefile.in: Regenerated.
4407
890e7a1d
JJ
44082002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4409
4410 * libc/include/wchar.h: Define NULL. Define WEOF more general
4411 way. Declare functions in newlib manner.
4412 * libc/stdlib/Makefile.am: Delete wmem*.c
4413 * libc/stdlib/Makefile.in: Regenerated.
4414 * libc/stdlib/wmemchr.c: Delete.
4415 * libc/stdlib/wmemcmp.c: Ditto.
4416 * libc/stdlib/wmemcpy.c: Ditto.
4417 * libc/stdlib/wmemmove.c: Ditto.
4418 * libc/stdlib/wmemset.c: Ditto.
4419 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
4420 * libc/string/Makefile.in: Regenerated.
4421 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
4422 * libc/string/wcschr.c: Ditto.
4423 * libc/string/wcscmp.c: Ditto.
4424 * libc/string/wcscpy.c: Ditto.
4425 * libc/string/wcscspn.c: Ditto.
4426 * libc/string/wcslcat.c: Ditto.
4427 * libc/string/wcslcpy.c: Ditto.
4428 * libc/string/wcslen.c: Ditto.
4429 * libc/string/wcsncat.c: Ditto.
4430 * libc/string/wcsncmp.c: Ditto.
4431 * libc/string/wcsncpy.c: Ditto.
4432 * libc/string/wcspbrk.c: Ditto.
4433 * libc/string/wcsrchr.c: Ditto.
4434 * libc/string/wcsspn.c: Ditto.
4435 * libc/string/wcsstr.c: Ditto.
4436 * libc/string/wmemchr.c: Ditto.
4437 * libc/string/wmemcmp.c: Ditto.
4438 * libc/string/wmemcpy.c: Ditto.
4439 * libc/string/wmemmove.c: Ditto.
4440 * libc/string/wmemset.c: Ditto.
4441
86620e21
JJ
44422002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4443
4444 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
4445 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
4446 and is treated as if "C" was specified.
4447
f3741c27
JJ
44482002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4449
4450 * Makefile.am (install-data-local): Move install of build
4451 newlib.h after installing headers in libc/include so as to
4452 overwrite default newlib.h.
4453 * Makefile.in: Regenerated.
4454
48da61f5
JJ
44552002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4456
4457 * libc/include/newlib.h: New file for tools that use newlib
4458 headers but don't build newlib first (e.g. gcc).
4459
d82a94ac
JJ
44602002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4461
4462 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
4463 * libc/stdlib/wmemcmp.c: Ditto.
4464 * libc/stdlib/wmemcpy.c: Ditto.
4465 * libc/stdlib/wmemmove.c: Ditto.
4466 * libc/stdlib/wmemset.c: Ditto.
4467
7d08241b
JJ
44682002-08-27 Egor Duda <deo@logos-m.ru>
4469
4470 * libc/stdlib/wmemchr.c: New file.
4471 * libc/stdlib/wmemcmp.c: Ditto.
4472 * libc/stdlib/wmemcpy.c: Ditto.
4473 * libc/stdlib/wmemmove.c: Ditto.
4474 * libc/stdlib/wmemset.c: Ditto.
4475 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
4476 * configure.host: Default -DMB_CAPABLE for cygwin.
4477 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
4478 wmemmove() and wmemset(). Add include of <_ansi.h>.
4479 * libc/stdlib/Makefile.in: Regenerate.
4480
8da1639b
JJ
44812002-08-27 Jeff Johnston <jjohnstn@redhat.com>
4482
ff2bf852 4483 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
4484 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
4485 (install-data-local): Install newlib.h.
4486 * Makefile.in: Regenerated.
4487 * aclocal.m4: Ditto.
4488 * configure: Ditto.
4489 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
4490 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
4491 and _NEWLIB_VERSION to fill in newlib.h header file entries.
4492 In AC_OUTPUT statement, unset ac_file so multilib support does
4493 not use last ac_file temporary used in newlib.h configuration.
4494 * libc/include/_ansi.h: Include <newlib.h>.
4495 * newlib.hin: New template file for newlib.h.
4496 * stamp-h.in: New file.
4497
a4421c11
JJ
44982002-08-26 Wu Yongwei <adah@netstd.com>
4499
4500 * time.h (timezonevar): Change "#if" to "#ifdef".
4501
90b65e2d
JJ
45022002-08-26 Jeff Johnston <jjohnstn@redhat.com>
4503
4504 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
4505 * Makefile.in: Regenerated.
4506 * acinclude.m4: Add support for --enable-newlib-elix-level option.
4507 * aclocal.m4: Regenerated.
4508 * configure: Ditto.
4509 * configure.host: Add code to define _ELIX_LEVEL if
4510 --enable-newlib-elix-level option is used.
4511 * configure.in:
4512 * libc/aclocal.m4: Regenerated.
4513 * libc/configure: Ditto.
4514 * libc/argz/Makefile.am: Add EL/IX level checking.
4515 * libc/argz/Makefile.in: Regenerated.
4516 * libc/argz/dummy.c: New file.
4517 * libc/ctype/Makefile.am: Add EL/IX level checking.
4518 * libc/ctype/Makefile.in: Regenerated.
4519 * libc/locale/Makefile.am: Add EL/IX level checking.
4520 * libc/locale/Makefile.in: Regenerated.
4521 * libc/posix/Makefile.am: Add EL/IX level checking.
4522 * libc/posix/Makefile.in: Regenerated.
4523 * libc/posix/telldir.c: Add EL/IX level checking.
4524 * libc/reent/Makefile.am: Ditto.
4525 * libc/reent/fstat64r.c: Ditto.
4526 * libc/reent/lseek64r.c: Ditto.
4527 * libc/reent/open64r.c: Ditto.
4528 * libc/reent/Makefile.in: Regenerated.
4529 * libc/search/Makefile.am: Add EL/IX level checking.
4530 * libc/search/Makefile.in: Regenerated.
4531 * libc/stdio/Makefile.am: Add EL/IX level checking.
4532 * libc/stdio/Makefile.in: Regenerated.
4533 * libc/stdio64/Makefile.am: Add EL/IX level checking.
4534 * libc/stdio64/Makefile.in: Regenerated.
4535 * libc/stdio64/dummy.c: New file.
9b487837 4536 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
4537 after first include.
4538 * libc/stdio64/fopen64.c: Ditto.
4539 * libc/stdio64/freopen64.c: Ditto.
4540 * libc/stdio64/fseeko64.c: Ditto.
4541 * libc/stdio64/fsetpos64.c: Ditto.
4542 * libc/stdio64/ftello64.c: Ditto.
4543 * libc/stdio64/tmpfile64.c: Ditto.
4544 * libc/stdlib/Makefile.am: Add EL/IX level checking.
4545 * libc/stdlib/Makefile.in: Regenerated.
4546 * libc/stdlib/mstats.c: Add EL/IX level checking.
4547 * libc/string/Makefile.am: Ditto.
4548 * libc/string/Makefile.in: Regenerated.
4549 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
4550 * libc/sys/linux/Makefile.in: Regenerated.
4551 * libc/sys/linux/aclocal.m4: Ditto.
4552 * libc/sys/linux/configure: Ditto.
4553 * libc/sys/linux/aio.c: Add EL/IX level checking.
4554 * libc/sys/linux/ftok.c: Ditto.
4555 * libc/sys/linux/getdate.c: Ditto.
4556 * libc/sys/linux/ids.c: Ditto.
4557 * libc/sys/linux/inode.c: Ditto.
4558 * libc/sys/linux/io.c: Ditto.
4559 * libc/sys/linux/process.c: Ditto.
4560 * libc/sys/linux/resource.c: Ditto.
4561 * libc/sys/linux/sched.c: Ditto.
4562 * libc/sys/linux/sig.c: Ditto.
4563 * libc/sys/linux/termios.c: Ditto.
4564 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
4565 __libc___waitpid weak aliases.
4566 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
4567 that generate the code for a syscall, but do not create a
4568 weak alias.
4569 * libc/syscalls/Makefile.am: Add EL/IX level checking.
4570 * libc/syscalls/Makefile.in: Regenerated.
4571 * libc/time/tzset_r.c: Change to replace strdup with equivalent
4572 functionality.
4573 * libc/unix/Makefile.am: Add EL/IX level checking.
4574 * libc/unix/Makefile.in: Regenerated.
4575
2e2b268c
CF
45762002-08-26 Christopher Faylor <cgf@redhat.com>
4577
4578 * libc/include/malloc.h: On cygwin, define malloc _r functions as
4579 wrapper macros to standard malloc functions.
4580 * libc/include/stdlib.h: Ditto.
4581 * configure.host: Always define MALLOC_PROVIDED on cygwin.
4582
8d9112f2
TF
45832002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4584
4585 * libc/include/langinfo.h: New file.
4586 * libc/include/wchar.h: Likewise.
4587 * libc/include/sys/syslimits.h: Likewise.
4588 * libc/locale/fix_grouping.c: Likewise.
4589 * libc/locale/ldpart.c: Likewise.
4590 * libc/locale/ldpart.h: Likewise.
4591 * libc/locale/lmessages.c: Likewise.
4592 * libc/locale/lmessages.h: Likewise.
4593 * libc/locale/lmonetary.c: Likewise.
4594 * libc/locale/lmonetary.h: Likewise.
4595 * libc/locale/lnumeric.c: Likewise.
4596 * libc/locale/lnumeric.h: Likewise.
4597 * libc/locale/nl_langinfo.3: Likewise.
4598 * libc/locale/nl_langinfo.c: Likewise.
4599 * libc/locale/timelocal.c: Likewise.
4600 * libc/locale/timelocal.h: Likewise.
4601 * libc/stdlib/btowc.c: Likewise.
4602 * libc/stdlib/mbrlen.c: Likewise.
4603 * libc/stdlib/mbrtowc.c: Likewise.
4604 * libc/stdlib/mbsinit.c: Likewise.
4605 * libc/stdlib/mbsrtowcs.c: Likewise.
4606 * libc/stdlib/wcrtomb.c: Likewise.
4607 * libc/stdlib/wcsrtombs.c: Likewise.
4608 * libc/stdlib/wctob.c: Likewise.
4609 * libc/sys/linux/prof-freq.c: Likewise.
4610 * libc/sys/linux/profile.c: Likewise.
4611 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
4612 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
4613 * libc/include/stdlib.h: Change re-entrant functions to take
4614 mbstate_t pointers.
4615 * libc/include/sys/_types.h: Define _mbstate_t.
4616 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
4617 * libc/include/sys/errno.h (EILSEQ): New error code.
4618 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
4619 structure to use mbstate_t.
4620 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
4621 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
4622 * libc/machine/powerpc/vfscanf.c: Likewise.
4623 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
4624 * libc/stdio/vfprintf.c: Likewise.
4625 * libc/stdio/vfscanf.c: Likewise.
4626 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
4627 * libc/stdlib/mblen.c: Use mbstate_t.
4628 * libc/stdlib/mblen_r.c: Likewise.
4629 * libc/stdlib/mbstowcs.c: Likewise.
4630 * libc/stdlib/mbstowcs_r.c: Likewise.
4631 * libc/stdlib/mbtowc.c: Likewise.
4632 * libc/stdlib/mbtowc_r.c: Likewise.
4633 * libc/stdlib/wcstombs.c: Likewise.
4634 * libc/stdlib/wcstombs_r.c: Likewise.
4635 * libc/stdlib/wctomb_r.c: Likewise.
4636 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
4637 profile.c.
4638 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
4639 dl-procinfo.c.
4640 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
4641 * libc/sys/linux/sys/types.h (off_t): Define type.
4642 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
4643 to C-UTF-8.
4644 * testsuite/newlib.locale/UTF-8.exp: Likewise.
4645
fe47ea33
JJ
46462002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
4647
4648 * libc/stdlib/mallocr.c: #include windows.h on Win32.
4649 (AlignPage): Continue macro on next line.
4650
ada73509
JJ
46512002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4652
4653 * libc/sys/linux/include/pthread.h: New file.
4654
64b5e8f2
JJ
46552002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4656
4657 * libc/include/sys/types.h: Support __need_inttypes macro
4658 that only sets the __intxx and __uintxx types.
4659 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
4660 to get mprec.h.
4661 * libc/machine/powerpc/Makefile.in: Regenerated.
4662 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
4663 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
4664 redundant fixed-point conversion prototypes.
4665 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
4666 after setting __need_inttypes.
4667
a94b60ce
CF
46682002-08-18 Christopher Faylor <cgf@redhat.com>
4669
4670 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
4671
29e17a86
JJ
46722002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4673
4674 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
4675 _LONG_DOUBLE to double.
4676
936b520f
JJ
46772002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4678
4679 * configure.host: Add powerpc*-*-eabispe* configuration.
4680 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
4681 * libc/machine/powerpc/atosfix32.c: Ditto.
4682 * libc/machine/powerpc/atosfix64.c: Ditto.
4683 * libc/machine/powerpc/atoufix16.c: Ditto.
4684 * libc/machine/powerpc/atoufix32.c: Ditto.
4685 * libc/machine/powerpc/atoufix64.c: Ditto.
4686 * libc/machine/powerpc/fix64.h: Ditto.
4687 * libc/machine/powerpc/simdldtoa.c: Ditto.
4688 * libc/machine/powerpc/strtosfix16.c: Ditto.
4689 * libc/machine/powerpc/strtosfix32.c: Ditto.
4690 * libc/machine/powerpc/strtosfix64.c: Ditto.
4691 * libc/machine/powerpc/strtoufix16.c: Ditto.
4692 * libc/machine/powerpc/strtoufix32.c: Ditto.
4693 * libc/machine/powerpc/strtoufix64.c: Ditto.
4694 * libc/machine/powerpc/ufix64toa.c: Ditto.
4695 * libc/machine/powerpc/configure.in: Add check for
4696 powerpc*-eabispe and add fixed-point conversion functions.
4697 * libc/machine/powerpc/configure: Regenerated.
4698 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
4699 %r and %R format specifiers which handle fixed-point data.
4700 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
4701 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
4702 function prototypes.
4703
ad552766
JJ
47042002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4705
4706 * Makefile.am: Move cmath stuff into libc/sys/linux.
4707 * Makefile.in: Regenerated.
4708 * configure.host: Default -DMB_CAPABLE for x86-linux.
4709 * libc/include/reent.h: Define _sbrk to take signed int argument.
4710 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
4711 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
4712 make locale name checking more efficient. Also allow "C-ISO-8859-1"
4713 locale for LC_CTYPE and LC_MESSAGES.
4714 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
4715 * libc/sys/linux/brk.c: Change sbrk prototype.
4716 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
4717 include <sys/features.h>.
4718 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
4719 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
4720 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
4721 with a few local additions.
4722 * libc/sys/linux/sys/features.h: New file.
4723 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
4724 to take signed argument.
4725 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
4726 prototypes to take signed size argument.
4727
d3bd3632
TF
47282002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4729
4730 * libc/sys/linux/cmath: New directory.
4731 * libc/sys/linux/include/cmathcalls.h: New file.
4732 * libc/sys/linux/include/complex.h: New file.
4733 * libc/sys/linux/machine/i386/huge_val.h: New file
4734 * libm/math/w_sincos.c: New file
4735 * libm/math/wf_sincos.c: New file
4736 * libm/mathfp/s_sincos.c: New file
4737 * libm/mathfp/sf_sincos.c: New file
4738 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
4739 * libc/include/math.h: Add sincos and sincosf declarations.
4740 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
4741 (SUBLIBS): Likewise.
4742 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
4743 * libm/math/Makefile.am (src): Add w_sincos.c.
4744 (fsrc): Add wf_sincos.c.
4745 * libm/mathfp/Makefile.am (src): Add s_sincos.c
4746 (fsrc): Add sf_sincos.c.
4747
b3a9676b
JJ
47482002-08-12 Jeff Johnston <jjohnstn@redhat.com>
4749
4750 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
4751 Declare as extern chars and use the address operator to
4752 properly use values set in linker script.
4753
659e7062
JJ
47542002-08-09 Jason Tishler <jason@tishler.net>
4755
4756 * libc/stdlib/mallocr.c: Include <limits.h>.
4757 (request2size): Change macro to do
4758 unsigned long comparisons and avoid signed overflow.
4759 (mALLOc): Add overflow check for the number of bytes to allocate.
4760 (rEALLOc): Ditto.
4761
037240a2
JJ
47622002-08-09 Jeff Johnston <jjohnstn@redhat.com>
4763
4764 * configure.host: Add check for --enable-newlib-io-pos-args
4765 and define WANT_IO_POS_ARGS flag if enabled. Define
4766 the flag by default for x86-linux configurations.
4767 * configure.in: Add support for --enable-newlib-io-pos-args.
4768 * libc/configure.in: Ditto.
4769 * configure: Regenerated.
4770 * libc/configure: Ditto.
4771 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
4772 vfprintf.c and vfiprintf.c.
4773 * libc/stdio/Makefile.in: Regenerated.
4774 * libc/stdio/vfprintf.c: Add positional argument support that
4775 is enabled by compiling with -DWANT_IO_POS_ARGS.
4776
172fda76
RS
47772002-08-07 Richard Sandiford <rsandifo@redhat.com>
4778
4779 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
4780 based on __mips_soft_float rather than __mips64.
4781 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
4782 of both 32-bit and 64-bit code.
4783
4866247e
CF
47842002-08-04 Christopher Faylor <cgf@redhat.com>
4785
4786 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
4787 arguments for popen to match similar functionality in fopen.
4788
b96332ce
CV
47892002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
4790
4791 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
4792
60d99bce
JJ
47932002-07-29 Jeff Johnston <jjohnstn@redhat.com>
4794
4795 * libc/sys/linux/Makefile.am: Add aio64.c.
4796 * libc/sys/linux/Makefile.in: Regenerated.
4797 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
4798 * libc/sys/linux/aio64.c: New file.
4799
80a21be0
JJ
48002002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4801
4802 * libc/include/sys/param.h (MAX, MIN): Added macros.
4803 * libc/sys/linux/Makefile.am: Add new files.
4804 * libc/sys/linux/Makefile.in: Regenerated.
4805 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4806 * libc/sys/linux/inode.c (fchdir): Added syscall.
4807 * libc/sys/linux/ftw.c: New file.
4808 * libc/sys/linux/ftw64.c: Ditto.
4809 * libc/sys/linux/getwd.c: Ditto.
4810 * libc/sys/linux/scandir64.c: Ditto.
4811 * libc/sys/linux/strverscmp.c: Ditto.
4812 * libc/sys/linux/versionsort.c: Ditto.
4813 * libc/sys/linux/versionsort64.c: Ditto.
4814
6b6425cb
JJ
48152002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4816
4817 * libc/string/strings.tex: Fix typo for memccpy.
4818
dc8ac8e6
JJ
48192002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4820
4821 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
4822 * libc/sys/linux/sys/types.h (off64_t): Definition added.
4823
aa0ca6fd
JJ
48242002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4825
4826 * libc/sys/linux/Makefile.am: Add fclean.c.
4827 * libc/sys/linux/Makefile.in: Regenerated.
4828 * libc/sys/linux/fclean.c: New file.
4829
61921945
JJ
48302002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4831
4832 * libc/sys/linux/Makefile.am: Add confstr.c.
4833 * libc/sys/linux/Makefile.in: Regenerated.
4834 * libc/sys/linux/confstr.c: New file.
4835 * libc/sys/linux/confstr.h: Ditto.
4836 * libc/sys/linux/sys/unistd.h: Include <features.h> and
4837 <bits/environments.h>.
4838
3d966a92
JJ
48392002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4840
4841 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
4842 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
4843 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
4844 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
4845 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
4846 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
4847
53b5bff7
JJ
48482002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4849
4850 * libc/sys/linux/Makefile.am: Add new files.
4851 * libc/sys/linux/Makefile.in: Regenerated.
4852 * libc/sys/linux/fstab.c: New file.
4853 * libc/sys/linux/fstatvfs.c: Ditto.
4854 * libc/sys/linux/fstatvfs64.c: Ditto.
4855 * libc/sys/linux/internal_statvfs.c: Ditto.
4856 * libc/sys/linux/mntent.c: Ditto.
4857 * libc/sys/linux/mntent_r.c: Ditto.
4858 * libc/sys/linux/statvfs.c: Ditto.
4859 * libc/sys/linux/statvfs64.c: Ditto.
4860 * libc/sys/linux/include/paths.h: Ditto.
4861 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
4862 with double-underscore weak-aliases.
4863 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4864
9cef8ef5
JJ
48652002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4866
4867 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
4868 to use _sig_func_ptr type casted constants.
4869 (_sig_func_ptr): Typedef moved to sys/signal.h.
4870 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
4871 For __rtems, use POSIX definition, otherwise default to ANSI.
4872 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
4873
a703e0f2
JJ
48742002-07-24 Stephane Carrez <stcarrez@nerim.fr>
4875
4876 * configure.host: Recognize m6811-elf and m6812-elf targets.
4877 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
4878 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
4879 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
4880 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
4881 according to __INT_MAX__.
4882 (_POINTER_INT): Define to short.
4883 * libc/machine/m68hc11/Makefile.am: New file.
4884 * libc/machine/m68hc11/Makefile.in: New file.
4885 * libc/machine/m68hc11/configure.in: New file.
4886 * libc/machine/m68hc11/configure: New file.
4887 * libc/machine/m68hc11/aclocal.m4: New file.
4888 * libc/machine/m68hc11/setjmp.S: New file.
4889
d254189b
JJ
48902002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4891
4892 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
4893 prototypes.
4894 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
4895 * libc/stdlib/Makefile.in: Regenerated.
4896 * libc/stdlib/strdup.c: Removed.
4897 * libc/stdlib/strdup_r.c: Removed.
4898 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
4899 mempcpy.c, strndup.c, and strndup_r.c.
4900 * libc/string/Makefile.in: Regenerated.
4901 * libc/string/memccpy.c: New file.
4902 * libc/string/mempcpy.c: Ditto.
4903 * libc/string/strndup.c: Ditto.
4904 * libc/string/strndup_r.c: Ditto.
4905 * libc/string/strdup.c: New file moved from stdlib.
4906 * libc/string/strdup_r.c: Ditto.
4907 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
4908
bc100655
JJ
49092002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4910
4911 * libc/include/stdio.h: Move fcloseall prototype within
4912 #ifndef _REENT_ONLY section.
4913 * libc/sys/linux/Makefile.am: Add new files.
4914 * libc/sys/linux/Makefile.in: Regenerated.
4915 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
4916 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
4917 * libc/sys/linux/sys/types.h: Add ino64_t type.
4918 * libc/sys/linux/ctermid.c: New file.
4919 * libc/sys/linux/ttyname_r.c: Ditto.
4920 * libc/sys/linux/readdir64.c: Ditto.
4921
f5f27f07
JJ
49222002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4923
4924 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
4925 * libc/stdio/Makefile.am: Added fcloseall.c support.
4926 * libc/stdio/Makefile.in: Regenerated.
4927 * libc/stdio/fcloseall.c: New file.
4928 * libc/stdio64/Makefile.am: Remove missing .def references.
4929 * libc/stdio64/Makefile.in: Regenerated.
4930
d541ba3e
JJ
49312002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4932
4933 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
4934 * libc/machine/powerpc/times.c: New file.
4935 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
4936 * libc/machine/powerpc/Makefile.in: Regenerated.
4937
49382002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
4939
4940 * libc/machine/powerpc/time.c: New file.
4941 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
4942 time.c.
4943 * libc/machine/powerpc/Makefile.in: Regenerated.
4944
5e7d0a55
TF
49452002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4946
4947 * libc/libc.texinfo: Change copyright notices to Red Hat from
4948 Cygnus.
4949 * libm/libm.texinfo: Likewise.
4950 * README: Change docs URL to
4951 http://sources.redhat.com/newlib/docs.html.
4952
504628e7
JJ
49532002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4954
4955 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
4956 * libc/sys/linux/Makefile.in: Regenerated.
4957 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
4958 * libc/sys/linux/io.c: Add ftruncate syscall.
4959 * libc/sys/linux/fpathconf.c: New file.
4960 * libc/sys/linux/pathconf.c: Ditto.
4961 * libc/sys/linux/linux_fsinfo.h: Ditto.
4962 * libc/sys/linux/sys/unistd.h: Ditto.
4963
b155ad9f
JJ
49642002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4965
4966 * libc/stdio64/Makefile.am: Remove missing files.
4967 * libc/stdio64/Makefile.in: Regenerated.
4968
c119e0ab
JJ
49692002-07-19 Jeff Johnston <jjohnstn@redhat.com>
4970
4971 * libc/include/sys/config.h[__i386__][__linux__]: Define
4972 _LARGE64FILE_SOURCE to 1.
4973 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
4974 * libc/sys/linux/Makefile.in: Regenerated.
4975 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
4976 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
4977 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
4978 of <linux/resource.h>.
4979 * libc/sys/linux/getrlimit64.c: New file.
4980 * libc/sys/linux/setrlimit64.c: Ditto.
4981
9b022d6d
TF
49822002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
4983
4984 * libc/argz/argz_replace.c: Include buf_findstr.h.
4985 * libc/argz/buf_findstr.c: Likewise.
4986 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
4987 value to (char *).
4988 * libc/argz/envz_get.c: Likewise.
4989 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
4990 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
4991 * libc/stdlib/getsubopt.3: New file.
4992 * libc/stdlib/getsubopt.c: New file.
4993 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
4994 Change esp to ebp.
4995
dee51391
JJ
49962002-07-17 Jeff Johnston <jjohnstn@redhat.com>
4997
4998 * configure.host(stdio64_dir): New setting that is used to
4999 enable building of new stdio64 directory.
5000 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
5001 large files.
5002 (stmp-stdio64,stdio64.texi): New targets to optionally add in
5003 stdio64 info to info files.
5004 * libc/Makefile.in: Regenerated.
5005 * libc/configure: Ditto.
5006 * libc/configure.in: Add configuration variables that are set
5007 when stdio64 is selected as subdir in configure.host.
5008 * libc/libc.texinfo: Add optional menu item for Stdio64, based
5009 on whether STDIO64 flag is set or not.
5010 * libc/sys.tex: Add optional stdio64 syscalls based on whether
5011 STDIO64 flag is set or not.
5012 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
5013 _r sycall routines.
5014 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
5015 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
5016 (__SL64): New file flag indicating file is opened via fopen64.
5017 * libc/include/sys/_types.h(_off64_t): Added.
5018 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
5019 * libc/include/sys/reent.h(struct __sFILE64): New file structure
5020 for 64-bit offset large file support.
5021 (__FILE): New intermediate type either set to struct __sFILE64 or
5022 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
5023 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
5024 * libc/reent/Makefile.in: Regenerated.
5025 * libc/reent/fstat64r.c: New file.
5026 * libc/reent/lseek64r.c: Ditto.
5027 * libc/reent/open64r.c: Ditto.
5028 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
5029 based on whether STDIO64 flag is set.
5030 * libc/stdio/stdio.tex: Add blank line.
5031 * libc/stdio64/Makefile.am: New file.
5032 * libc/stdio64/Makefile.in: Ditto.
5033 * libc/stdio64/fgetpos64.c: Ditto.
5034 * libc/stdio64/fopen64.: Ditto.
5035 * libc/stdio64/freopen64.c: Ditto.
5036 * libc/stdio64/fseeko64.c: Ditto.
5037 * libc/stdio64/fsetpos64.c: Ditto.
5038 * libc/stdio64/ftello64.c: Ditto.
5039 * libc/stdio64/local64.h: Ditto.
5040 * libc/stdio64/stdio64.c: Ditto.
5041 * libc/stdio64/stdio64.tex: Ditto.
5042 * libc/stdio64/tmpfile64.c: Ditto.
5043 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
5044 open64.
5045
778876f6
JJ
50462002-07-16 Jeff Johnston <jjohnstn@redhat.com>
5047
5048 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
5049 if LIBC_EXTRA_LIB is present.
5050 * libc/Makefile.in: Regenerated.
5051 * libc/libc.texinfo: Add blank line.
5052 * libc/argz/Makefile.am: Add doc support.
5053 * libc/search/Makefile.am: Ditto.
5054 * libc/argz/Makefile.in: Regenerated.
5055 * libc/search/Makefile.in: Ditto.
5056 * libc/misc/misc.tex: Add ffs function.
5057 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
5058
37981145
JJ
50592002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5060
5061 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
5062 definition that was removed in error.
5063
38b5dc59
JJ
50642002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5065
5066 * libc/include/machine/ieeefp.h: Change to only define
5067 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
5068 __IEEE_LITTLE_ENDIAN must be defined for each platform).
5069 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
5070 remove redundant floating point definitions.
5071
8cb61a96
JJ
50722002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5073
5074 * libc/sys/linux/callocr.c: Fix so code references
5075 calloc.
5076
edba3282
JJ
50772002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5078
5079 * libc/sys/linux/Makefile.am: Add new files.
5080 * libc/sys/linux/Makefile.in: Regenerated.
5081 * libc/sys/linux/bp-sym.h: Moved to include directory.
5082 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
5083 * libc/sys/linux/inode.c: Set _LIBC to 1.
5084 * libc/sys/linux/mq_close.c: Ditto.
5085 * libc/sys/linux/mq_getattr.c: Ditto.
5086 * libc/sys/linux/mq_open.c: Ditto.
5087 * libc/sys/linux/mq_receive.c: Ditto.
5088 * libc/sys/linux/mq_send.c: Ditto.
5089 * libc/sys/linux/mq_setattr.c: Ditto.
5090 * libc/sys/linux/mq_unlink.c: Ditto.
5091 * libc/sys/linux/calloc.c: New file.
5092 * libc/sys/linux/callocr.c: Ditto.
5093 * libc/sys/linux/cfreer.c: Ditto.
5094 * libc/sys/linux/config.h: Ditto.
5095 * libc/sys/linux/free.c: Ditto.
5096 * libc/sys/linux/freer.c: Ditto.
5097 * libc/sys/linux/msize.c: Ditto.
5098 * libc/sys/linux/msizer.c: Ditto.
5099 * libc/sys/linux/mstats.c: Ditto.
5100 * libc/sys/linux/mtrim.c: Ditto.
5101 * libc/sys/linux/mtrimr.c: Ditto.
5102 * libc/sys/linux/pvallocr.c: Ditto.
5103 * libc/sys/linux/realloc.c: Ditto.
5104 * libc/sys/linux/reallocr.c: Ditto.
5105 * libc/sys/linux/thread-m.h: Ditto.
5106 * libc/sys/linux/vallocr.c: Ditto.
5107 * libc/sys/linux/bp-checks.h: Ditto.
5108 * libc/sys/linux/libc-symbols.h: Ditto.
5109 * libc/sys/linux/libc-tsd.h: Ditto.
5110 * libc/sys/linux/libintl.h: Ditto.
5111 * libc/sys/linux/malign.c: Ditto.
5112 * libc/sys/linux/malignr.c: Ditto.
5113 * libc/sys/linux/mallinfor.c: Ditto.
5114 * libc/sys/linux/malloc.c: Ditto.
5115 * libc/sys/linux/mallocr.c: Ditto.
5116 * libc/sys/linux/malloptr.c: Ditto.
5117 * libc/sys/linux/mallstatsr.c: Ditto.
5118 * libc/sys/linux/mcheck.c: Ditto.
5119 * libc/sys/linux/mhooks.h: Ditto.
5120 * libc/sys/linux/include/bp-sym.h: Ditto.
5121 * libc/sys/linux/include/malloc.h: Ditto.
5122 * libc/sys/linux/include/mcheck.h: Ditto.
5123 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
5124 getpagesize.c.
5125 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
5126 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
5127 * libc/sys/linux/machine/i386/getpagesize.c: New file.
5128 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
5129 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5130 * libc/sys/linux/machine/i386/sysdep.h: New file.
5131 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
5132 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
5133 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
5134
ea20b60a
JJ
51352002-07-12 Jeff Johnston <jjohnstn@redhat.com>
5136
5137 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
5138 instead of <asm/siginfo.h>.
5139 * libc/sys/linux/sys/signal.h: Change to include various linux
5140 <bits/xxx.h> header files, rather than <linux/signal.h> so as
5141 to work with multiple releases of glibc header files.
5142
2fc82912
JJ
51432002-07-11 Chris Demetriou <cgd@broadcom.com>
5144
5145 * testsuite/newlib.search/hsearchtest.c: New file to test
5146 newlib/libc/search.
5147 * testsuite/newlib.search/hsearchtest.exp: Likewise.
5148
4a404e97 51492002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
5150
5151 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
5152 a terminal.
5153 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
5154
6aec558e
JJ
51552002-07-08 Jeff Johnston <jjohnstn@redhat.com>
5156
5157 * libc/include/math.h (MAXFLOAT): Added.
5158
e47e6f0e 5159Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
5160
5161 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
5162 Make strcmp.S unconditional.
5163 * libc/machine/sh/Makefile.in: Regenerate.
5164 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
5165 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
5166 for SHcompact.
5167
89ffbd66
JJ
51682002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5169
5170 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
5171 define before including <sys/lock.h>.
5172
ae6c4c84
JJ
51732002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5174
5175 * libc/include/utime.h: Add include of <_ansi.h>.
5176 * libc/sys/linux/Makefile.am: Add utimes.c.
5177 * libc/sys/linux/Makefile.in: Regenerated.
5178 * libc/sys/linux/inode.c(__umask): New static routine.
5179 (umask): Written to use __umask and attempt to thread lock.
5180 (getumask): New function written to use __umask and thread lock.
5181 * libc/sys/linux/utimes.c: New file.
5182 * libc/sys/linux/sys/time.h: Fix utimes prototype.
5183 * libc/sys/linux/sys/utime.h: New file.
5184
a6cac46c
TF
51852002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
5186
5187 * libtool.m4: New file.
5188 * libc/sys/linux/process.c: Implement vfork in terms of fork,
5189 rather than as a syscall.
5190
30b2092f
JJ
51912002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5192
5193 * libc/include/stdio.h: Add new prototypes.
5194 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
5195 * libc/stdio/Makefile.in: Regenerated.
5196 * libc/stdio/fseek.c: Add fseeko documentation.
5197 * libc/stdio/ftell.c: Add ftello documentation.
5198 * libc/stdio/fseeko.c: New file.
5199 * libc/stdio/ftello.c: New file.
5200
7501704d
JJ
52012002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5202
5203 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
5204 * libc/stdio/Makefile.in: Regenerated.
5205 * libc/stdio/asprintf.c: New file.
5206 * libc/stdio/vasprintf.c: Ditto.
5207 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
5208 the buffer for asprintf support.
5209 * libc/stdio/sprintf.c: Add asprintf documentation.
5210 * libc/stdio/vfprintf.c: Add vasprintf documentation.
5211 * libc/include/stdio.h: Add new prototypes.
5212
66eee32b
TF
52132002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
5214
5215 * libc/search/hcreate.c: Remove advertising clause from license.
5216 * libc/search/hcreate_r.c: Likewise.
5217
cec4a9f8
JJ
52182002-07-02 Chris Demetriou <cgd@broadcom.com>
5219
5220 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
5221 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
5222 Check that one of them is defined and error out if not.
5223 Add any platforms defined in <machine/ieeefp.h> that are missing.
5224 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
5225 (DB_LITTLE_ENDIAN): New defines.
5226 * libc/search/hash.c: Replace all incorrect checks for
5227 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
5228 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
5229 * libc/search/hash_page.c: Likewise.
5230
2d5eb17e
TF
52312002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5232
5233 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
5234
c1a3171f
JJ
52352002-06-27 Benjamin Kosnik <bkoz@redhat.com>
5236
5237 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
5238 * libc/include/time.h: Same.
5239 * libc/include/string.h: Same.
5240 * libc/include/stdlib.h: Same.
5241 * libc/include/signal.h: Same.
5242 * libc/include/setjmp.h: Same.
5243 * libc/include/math.h: Same.
5244 * libc/include/locale.h: Same.
5245 * libc/include/ctype.h: Same.
5246 * libc/include/machine/setjmp.h: Same.
5247 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
5248 (_END_STD_C): Add.
5249
533b4e66
JJ
52502002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5251
5252 * libc/include/sys/_types.h: Define _ssize_t as int if int is
5253 32-bits, otherwise define it as long.
5254 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
5255 and define ssize_t as _ssize_t.
5256 * libc/reent/readr.c: Change return type to _ssize_t.
5257 * libc/reent/writer.c: Ditto.
5258 * libc/sys/linux/Makefile.am: Add aio.c.
5259 * libc/sys/linux/Makefile.in: Regenerated.
5260 * libc/sys/linux/aio.c: New file.
5261 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
5262 * libm/common/fdlibm.h: Undef __P before defining it.
5263
c36e6dd7
TF
52642002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5265
54be629f
TF
5266 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
5267 exponent_is_even_int variable. Handle case where x is
5268 negative, and y is an odd integer.
5269 * libm/mathfp/sf_pow.c (powf): Likewise.
5270
c36e6dd7
TF
5271 * libm/mathfp/er_lgamma.c: Remove __kernel references.
5272 * libm/mathfp/erf_lgamma.c: Likewise.
5273 * libm/mathfp/s_tgamma.c: Likewise.
5274 * libm/mathfp/sf_tgamma.c: Likewise.
5275
baf051ca
JJ
52762002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5277
5278 * libc/sys/linux/Makefile.am: Add new clock routines.
5279 * libc/sys/linux/Makefile.in: Regenerated.
5280 * libc/sys/linux/clock_getres.c: New file.
5281 * libc/sys/linux/clock_gettime.c: Ditto.
5282 * libc/sys/linux/clock_settime.c: Ditto.
5283 * libc/sys/linux/hp-timing.h: Ditto.
5284 * libc/sys/linux/libc-internal.h: Ditto.
5285 * libc/sys/linux/sysconf.c: Fix typo.
5286 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
5287 * libc/sys/linux/machine/hp-timing.h: New file.
5288 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
5289 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5290 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
5291 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
5292 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
5293 * libc/sys/linux/sys/linux_time.h: New file.
5294 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
5295 replace with <sys/linux_time.h>.
5296
0431ed4e
JR
5297Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
5298
5299 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
5300
fc067ba5
JJ
53012002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5302
5303 * libc/sys/linux/Makefile.am: Consolidate additional items under
5304 ADD_OBJS.
5305 * libc/sys/linux/Makefile.in: Regenerated.
5306
ffddf61e
JJ
53072002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5308
5309 * libc/sys/linux/sethostname.c: New file.
5310 * libc/sys/linux/Makefile.am: Add sethostname.c support.
5311 * libc/sys/linux/Makefile.in: Regenerated.
5312
d5487d3f
TF
53132002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5314
5315 * libc/search/db_local.h: New file.
5316 * libc/include/db.h: Remove.
5317 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
5318 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
5319 "db_local.h".
5320 * libc/search/hash_bigkey.c: Likewise.
5321 * libc/search/hash_buf.c: Likewise.
5322 * libc/search/hash_func.c: Likewise.
5323 * libc/search/hash_log2.c: Likewise.
5324 * libc/search/hash_page.c: Likewise.
5325
53262002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 5327
1e7ca711 5328 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
5329 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
5330 * libc/machine/sh/Makefile.am: Regenerate.
5331
59c6d6c4
JJ
53322002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5333
5334 * libc/sys/linux/gethostname.c: Change name to __gethostname and
5335 add gethostname alias.
5336
a70486d7
JJ
53372002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5338
5339 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 5340 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 5341 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 5342 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
5343 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
5344 * libm/common/fdlibm.h: Ditto.
5345
3118725a
TF
53462002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5347
5348 * libc/include/ndbm.h: Remove.
5349 * libc/search/ndbm.c: Remove.
5350
30a06168
TF
53512002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
5352
5353 * libc/stdio/fseek.c (fseek): Fix braces.
5354
01f5155e
CV
53552002-06-21 Corinna Vinschen <corinna@vinschen.de>
5356
5357 * libc/time/strftime.c (strftime): Add %e format specifier.
5358
930bc96b
TF
53592002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5360
5361 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
5362 previously defined.
5363
55105f86
JJ
53642002-06-21 Richard Earnshaw (rearnsha@arm.com)
5365
5366 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
5367 (BYTE_ORDER): Define as appropriate for the target.
5368
2e78444a
JJ
53692002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5370
5371 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
5372 to _ssize_t.
5373 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
5374
d427d092
JJ
53752002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5376
5377 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
5378 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
5379 [HAVE_GETDATE](getdate_err): New error code.
5380 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
5381 * libc/stdio/Makefile.in: Regenerated.
5382 * libc/stdio/getdelim.c: New file.
5383 * libc/stdio/getline.c: Ditto.
5384 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
5385 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
5386 * libc/sys/linux/Makefile.in: Regenerated.
5387 * libc/sys/linux/getdate.c: New file.
5388 * libc/sys/linux/getdate_err.c: Ditto.
5389 * libc/sys/linux/ntp_gettime.c: Ditto.
5390 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
5391 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
5392
35728d4f
JJ
53932002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5394
5395 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
5396 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
5397 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
5398 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
5399 * libc/include/sys/param.h: Remove i386 case which is handled
5400 by default case.
5401 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
5402 definitions in case they are already defined.
5403 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
5404 _IEEE_LITTLE_ENDIAN flags.
5405 * libc/include/sys/reent.h: Change __uint32_t references to
5406 use _ULong instead.
5407 (_REENT_GETDATE_REENT_P): New macro.
5408 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
5409 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
5410 * libc/search/hash.h: Add default setting of BYTE_ORDER,
5411 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
5412 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
5413 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
5414 pid_t, off_t, loff_t, caddr_t, and daddr_t type
5415 definitions which are done by subsequent glibc headers.
5416 Add macro definitions to prevent subsequent header files from
5417 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
5418 intptr_t to after glibc definitions of types they are based on.
5419
4a2bfab7
JJ
54202002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5421
5422 * libc/include/errno.h: Protect from multiple inclusion.
5423
f42d18ea
NC
54242002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
5425
5426 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
5427
a7b23a8f
TF
54282002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
5429
5430 * Makefile.am (LIB_OBJECTLISTS): Add
5431 libc/search/objectlist.awk.in.
5432 * libc/Makefile.am (SUBDIRS): Add search.
5433 (SUBLIBS): Add search/libsearch.la.
5434 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
5435 * libc/search: New directory.
5436 * libc/search/Makefile.am: New file.
5437 * libc/search/extern.h: New file.
5438 * libc/search/hash.c: New file.
5439 * libc/search/hash.h: New file.
5440 * libc/search/hash_bigkey.c: New file.
5441 * libc/search/hash_buf.c: New file.
5442 * libc/search/hash_func.c: New file.
5443 * libc/search/hash_log2.c: New file.
5444 * libc/search/hash_page.c: New file.
5445 * libc/search/hcreate.3: New file.
5446 * libc/search/hcreate.c: New file.
a7b23a8f
TF
5447 * libc/search/hcreate_r.c: New file.
5448 * libc/search/ndbm.c: New file.
5449 * libc/search/page.h: New file.
5450 * libc/search/tdelete.c: New file.
5451 * libc/search/tdestroy.c: New file.
5452 * libc/search/tfind.c: New file.
5453 * libc/search/tsearch.3: New file.
5454 * libc/search/tsearch.c: New file.
5455 * libc/search/twalk.c: New file.
5456 * libc/include/db.h: New file.
5457 * libc/include/ndbm.h: New file.
5458 * libc/include/search.h: New file.
5459 * libc/include/sys/queue.h: New file.
5460 * libc/include/sys/cdefs.h: New file.
5461 * libc/include/sys/param.h
5462 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
5463 LITTLE_ENDIAN or BIG_ENDIAN.
5464 * libc/include/sys/errno.h (EFTYPE): New macro.
5465 * libc/search/bsearch.c: Move from libc/stdlib.
5466 * libc/search/qsort.c: Likewise.
5467 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
5468 qsort.c.
5469 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
5470 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
5471
ef467338
JJ
54722002-06-19 Jeff Johnston <jjohnstn@redhat.com>
5473
5474 * libc/sys/linux/Makefile.am: Add support for message queue routines,
5475 ipc routines, and ftok.
5476 * libc/sys/linux/Makefile.in: Regenerated.
5477 * libc/sys/linux/ftok.c: New file.
5478 * libc/sys/linux/ipc.c: Ditto.
5479 * libc/sys/linux/mq_close.c: Ditto.
5480 * libc/sys/linux/mq_getattr.c: Ditto.
5481 * libc/sys/linux/mq_notify.c: Ditto.
5482 * libc/sys/linux/mq_open.c: Ditto.
5483 * libc/sys/linux/mq_receive.c: Ditto.
5484 * libc/sys/linux/mq_send.c: Ditto.
5485 * libc/sys/linux/mq_setattr.c: Ditto.
5486 * libc/sys/linux/mq_unlink.c: Ditto.
5487 * libc/sys/linux/mqlocal.h: Ditto.
5488 * libc/sys/linux/include/mqueue.h: Ditto.
5489 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
5490 __uid_t_defined.
5491
7f55c08c
TF
54922002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5493
5494 * libm/common/sf_lround.c (round): Change name to: (lround).
5495 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
5496 remquof.
5497
c9ca68d7
TF
54982002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5499
5500 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
5501 procedure.
5502 (newlib_pass_fail): Change to compile and run only one file.
5503 * testsuite/newlib.locale/locale.exp: Use new
5504 newlib_pass_fail_all procedure.
5505 * testsuite/newlib.string/string.exp: Likewise.
5506
4ecedd09
DB
55072002-06-18 Dave Brolley <brolley@redhat.com>
5508
5509 From Catherine Moore, Michael Meissner, Richard Sandiford:
5510 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
5511 (_JBTYPE): Ditto.
5512 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
5513 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
5514 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
5515 * configure.host: Support frv-*-*.
5516 * libc/machine/frv/Makefile.am: New file.
5517 * libc/machine/frv/configure.in: New file.
5518 * libc/machine/frv/setjmp.S: New file.
5519
af1c257a
TF
55202002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5521
5522 * libc/include/ctype.h: Remove isblank macro.
5523
5524 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
5525 * libc/ctype/isblank.c: New file.
5526 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
5527 declaration. Add isblank macro.
5528
4e04fa90
JJ
55292002-06-18 Jeff Johnston <jjohnstn@redhat.com>
5530
5531 * testsuite/newlib.stdlib/atexit.c: New file.
5532 * testsuite/newlib.stdlib/atexit.exp: Ditto.
5533 * testsuite/newlib.string/tstring.c: Change default start size
5534 to something more reasonable for embedded platforms.
5535
b56d7e79
TF
55362002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5537
ece3c72f
TF
5538 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
5539
b56d7e79
TF
5540 * libc/argz: New directory.
5541 * libc/argz/*: New files.
5542 * libc/argz/argz_add.c: New file.
5543 * libc/argz/argz_add_sep.c: New file.
5544 * libc/argz/argz_append.c: New file.
5545 * libc/argz/argz_count.c: New file.
5546 * libc/argz/argz_create.c: New file.
5547 * libc/argz/argz_create_sep.c: New file.
5548 * libc/argz/argz_delete.c: New file.
5549 * libc/argz/argz_extract.c: New file.
5550 * libc/argz/argz_insert.c: New file.
5551 * libc/argz/argz_next.c: New file.
5552 * libc/argz/argz_replace.c: New file.
5553 * libc/argz/argz_stringify.c: New file.
5554 * libc/argz/buf_findstr.c: New file.
5555 * libc/argz/envz_add.c: New file.
5556 * libc/argz/envz_entry.c: New file.
5557 * libc/argz/envz_get.c: New file.
5558 * libc/argz/envz_merge.c: New file.
5559 * libc/argz/envz_remove.c: New file.
5560 * libc/argz/envz_strip.c: New file.
5561 * libc/include/argz.h: New file.
5562 * libc/include/envz.h: New file.
5563 * Makefile.am (LIBC_OBJECTLISTS): Add
5564 libc/argz/objectlist.awk.in.
5565 * libc/Makefile.am (SUBDIRS): Add argz.
5566 (SUBLIBS): Add argz/libargz.la.
5567 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
5568 * libc/include/errno.h: Add error_t typedef.
5569
d062d3dd
JJ
55702002-06-13 Jeff Johnston <jjohnstn@redhat.com>
5571
5572 * libc/include/stdlib.h: Add _Exit prototype.
5573 * libc/stdlib/Makefile.am: Add _Exit.c support.
5574 * libc/stdlib/Makefile.in: Ditto.
5575 * libc/stdlib/_Exit.c: New file.
5576
a47e66ae
JJ
55772002-06-13 Stephen L. Moshier <steve@moshier.net>
5578
5579 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
5580 x is close to -1.0 and y is very large to use ax (absolute value)
5581 instead of x.
5582 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
5583
13f7d71f
JR
5584Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
5585
5586 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
5587 Fix clobbering bytes before destination if src and dst have same
5588 non-zero misalignment.
1f1fb421
JR
5589
5590 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5591 Fixed bug in writing end of set region.
5592
b2e8018f
CF
55932002-06-10 Christopher Faylor <cgf@redhat.com>
5594
5595 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
5596 spawnve declaration.
5597
0953fe64
TF
55982002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5599
5600 * libm/common/s_fdim.c: New file.
5601 * libm/common/s_fma.c: Likewise.
5602 * libm/common/s_fmax.c: Likewise.
5603 * libm/common/s_fmin.c: Likewise.
5604 * libm/common/s_fpclassify.c: Likewise.
5605 * libm/common/s_lrint.c: Likewise.
5606 * libm/common/s_lround.c: Likewise.
5607 * libm/common/s_nearbyint.c: Likewise.
5608 * libm/common/s_remquo.c: Likewise.
5609 * libm/common/s_round.c: Likewise.
5610 * libm/common/s_scalbln.c: Likewise.
5611 * libm/common/s_signbit.c: Likewise.
5612 * libm/common/s_trunc.c: Likewise.
5613 * libm/common/sf_fdim.c: Likewise.
5614 * libm/common/sf_fma.c: Likewise.
5615 * libm/common/sf_fmax.c: Likewise.
5616 * libm/common/sf_fmin.c: Likewise.
5617 * libm/common/sf_lrint.c: Likewise.
5618 * libm/common/sf_lround.c: Likewise.
5619 * libm/common/sf_nearbyint.c: Likewise.
5620 * libm/common/sf_remquo.c: Likewise.
5621 * libm/common/sf_round.c: Likewise.
5622 * libm/common/sf_scalbln.c: Likewise.
5623 * libm/common/sf_trunc.c: Likewise.
5624 * libm/math/w_exp2.c: Likewise.
5625 * libm/math/w_tgamma.c: Likewise.
5626 * libm/math/wf_exp2.c: Likewise.
5627 * libm/math/wf_tgamma.c: Likewise.
5628 * libm/mathfp/s_exp2.c: Likewise.
5629 * libm/mathfp/s_tgamma.c: Likewise.
5630 * libm/mathfp/sf_exp2.c: Likewise.
5631 * libm/mathfp/sf_tgamma.c: Likewise.
5632 * libm/math/er_gamma.c: Fix return value.
5633 * libm/math/erf_gamma.c: Likewise.
5634 * libm/mathfp/er_gamma.c: Likewise.
5635 * libm/mathfp/erf_gamma.c: Likewise.
5636 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
5637 declarations and macros.
5638 Regenerated all Makefile.in, aclocal.m4 and configure files to
5639 use new libtool macros in top-level libtool.m4
5640
39e65e01
JJ
56412002-06-05 Jeff Johnston <jjohnstn@redhat.com>
5642
5643 * libc/include/string.h[__linux__]: Add strsignal prototype.
5644 * libc/include/sys/lock.h: New file with default locking support.
5645 * libc/include/sys/reent.h: Add signal buffer support for strsignal
5646 and psignal.
5647 * libc/posix/Makefile.am: Add support for readdir_r.c.
5648 * libc/posix/Makefile.in: Regenerated.
5649 * libc/posix/closedir.c: Add locking support and hash table cleanup.
5650 * libc/posix/opendir.c: Add lock support.
5651 * libc/posix/readdir.c: Ditto.
5652 * libc/posix/rewinddir.c: Ditto.
5653 * libc/posix/scandir.c: Ditto.
5654 * libc/posix/seekdir.c: Ditto.
5655 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
5656 clean up leftover hash table entries.
5657 * libc/posix/readdir_r.c: New file.
5658 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
5659 * libc/sys/linux/Makefile.in: Regenerated.
5660 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
5661 * libc/sys/linux/sys/signal.h: Add psignal prototype.
5662 * libc/sys/linux/psignal.c: New file.
5663 * libc/sys/linux/strsignal.c: Ditto.
5664
cc890e89
CV
56652002-06-03 Corinna Vinschen <corinna@vinschen.de>
5666
5667 * libc/include/sys/types.h: Don't define dev_t when compiling for
5668 Cygwin.
5669
ea55e3f7
JJ
56702002-05-31 Jeff Johnston <jjohnstn@redhat.com>
5671
5672 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
5673 make siglist.inc dependent on sig.c instead of signal.c.
5674 * libc/sys/linux/Makefile.in: Regenerated.
5675 * libc/sys/linux/sig.c: Rename from signal.c and change code to
5676 use NSIG instead of _NSIG.
5677 * libc/sys/linux/sigaction.c: New file.
5678 * libc/sys/linux/signal.c: Changed to be linux signal() function
5679 so as to override regular newlib default signal.c.
ea55e3f7
JJ
5680 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
5681 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5682 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
5683 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
5684 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
5685 default linux sigset_t typedef by defining it equal to __sigset_t.
5686 * libc/unix/sigset.c: Add check so code isn't compiled on systems
5687 with a sigset_t that isn't implemented with a single int.
5688
9d362914
JJ
56892002-05-30 Jeff Johnston <jjohnstn@redhat.com>
5690
5691 * libc/sys/linux/Makefile.am: Add support for new files.
5692 * libc/sys/linux/Makefile.in: Regenerated.
5693 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
5694 * libc/sys/linux/signal.c: Change to use real-time syscalls for
5695 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
5696 it is in a separate file now.
5697 * libc/sys/linux/machine/i386/Makefile.am
5698 * libc/sys/linux/machine/i386/Makefile.in
5699 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
5700 * libc/sys/linux/sigaction.c: New file.
5701 * libc/sys/linux/sigqueue.c: Ditto.
5702 * libc/sys/linux/sigwait.c: Ditto.
5703 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
5704 * libc/sys/linux/kernel_sigaction.h: Ditto.
5705
b1f07180
JJ
57062002-05-28 Jeff Johnston <jjohnstn@redhat.com>
5707
5708 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
5709 tcsendbrk.c.
5710 * libc/sys/linux/Makefile.in: Regenerated.
5711 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
5712 tcgetpgrp(), and tcsetpgrp() functions.
5713 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
5714 to get __MAX_BAUD rate.
5715 * libc/sys/linux/machine/i386/include/termios.h: New file.
5716 * libc/include/machine/termios.h: Ditto.
5717 * libc/sys/linux/cfspeed.c: Ditto.
5718 * libc/sys/linux/tcsendbrk.c: Ditto.
5719
d29587b4
JJ
57202002-05-24 Jeff Johnston <jjohnstn@redhat.com>
5721
5722 * libc/include/string.h: Add strnlen and strerror_r prototypes.
5723 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
5724 * libc/string/Makefile.in: Regenerated.
5725 * libc/string/strerror_r.c: New file.
5726 * libc/string/strnlen.c: New file.
5727 * libc/sys/linux/Makefile.am: Add rename.c.
5728 * libc/sys/linux/Makefile.in: Regenerated.
5729 * libc/sys/linux/rename.c: New file to override default rename.
5730
9a292385
TF
57312002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5732
5733 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
5734 * libc/sys/linux/sys/time.h: Add conversion macros.
5735 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
5736 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
5737 * libc/sys/linux/gethostname.c: New file.
5738 * libc/sys/linux/seteuid.c: New file.
5739 * libc/sys/linux/sysctl.c: New file.
5740
7a364eb3
JJ
57412002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5742
5743 * libc/string/Makefile.am: Add support for strsep.c.
5744 * libc/string/Makefile.in: Regenerated.
5745 * libc/string/strsep.c: New file.
5746 * libc/string/strtok.c: Change to call __strtok_r service routine.
5747 * libc/string/strtok_r.c: Add __strtok_r routine which takes
5748 additional flag parameter regarding whether to skip leading delimeters.
5749 Change strtok_r to call __strtok_r.
5750
164ee5b0
JJ
57512002-05-23 Gareth Pearce <tilps@hotmail.com>
5752
5753 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
5754 * libc/stdio/Makefile.in: Regenerated.
5755 * libc/stdio/setbuffer.c: New file.
5756 * libc/stdio/setlinebuf.c: New file.
5757
f6b2b567
JJ
57582002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5759
5760 * libc/sys/linux/Makefile.am: Add resource.c.
5761 * libc/sys/linux/Makefile.in: Regenerated.
5762 * libc/sys/linux/resource.c: New file.
5763 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
5764 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
5765 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5766 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
5767 are now found in libc/sys/linux/resource.c.
5768
afe56517
JJ
57692002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5770
5771 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
5772 to use void * pointers and comply with Single Unix spec.
5773 * libc/string/bcmp.c: Change to use void * instead of char *.
5774 * libc/string/bcopy.c: Ditto.
5775 * libc/string/bzero.c: Ditto.
5776
7736feb2
JJ
57772002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5778
5779 * libc/sys/linux/shm_open.c: New file.
5780 * libc/sys/linux/shm_unlink.c: Ditto.
5781 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
5782 shm_unlink.c.
5783 * libc/sys/linux/Makefile.in: Regenerated.
5784 * libc/sys/linux/sys/types.h: Add some additional checks to see
5785 if clock_t or time_t is already defined.
5786
19f111bd
JJ
57872002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5788
5789 * Makefile.am: Don't pass $toollibdir down directly in
5790 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
5791 Pass it under the name: top_toollibdir.
5792 * Makefile.in: Regenerated.
5793
c811b1ee
CV
57942002-05-22 Corinna Vinschen <vinschen@redhat.com>
5795
5796 * libc/include/sys/types.h: Revert previous patch.
5797
2b43ad33
CV
57982002-05-22 Corinna Vinschen <vinschen@redhat.com>
5799
5800 * libc/include/sys/types.h: Include cygwin/types.h always under
5801 Cygwin, not only if _POSIX_THREADS is defined.
5802
dd671cde
TF
58032002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
5804
5805 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
5806
5e2cbfb6
JJ
58072002-05-17 Jeff Johnston <jjohnstn@redhat.com>
5808
5809 * Makefile.am: Copy and install headers from sys/machine/include
5810 directory. Also pass $toollibdir to lower-level directories.
5811 * Makefile.in: Regenerated.
5812 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5813 stderr to use _REENT macro instead of _impure_ptr directly.
5814 * libc/include/sys/config.h[__i386__][__linux__]: Define
5815 __DYNAMIC_REENT__.
5816 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5817 call to __getreent() function if !__SINGLE_THREAD__ and
5818 __DYNAMIC_REENT__ is set.
5819 * libc/reent/Makefile.am: Add support for getreent.c.
5820 * libc/reent/Makefile.in: Regenerated.
5821 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
5822 * libc/sys/linux/Makefile.am: Add support for new files.
5823 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
5824 * libc/sys/linux/Makefile.in: Regenerated.
5825 * libc/sys/linux/configure: Ditto.
5826 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
5827 __close, __read, __write, __poll, __open, __lseek, __fcntl from
5828 their __libc_ counterparts.
5829 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
5830 and weak-alias to regular names.
5831 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
5832 to pread64 and __pread64.
5833 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
5834 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
5835 weak-alias to pwrite64.
5836 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
5837 __libc_sched_getscheduler, __libc_sched_get_priority_max,
5838 __libc_sched_get_priority_min, and __libc_sched_setschedule to
5839 name with __ instead of __libc_.
5840 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
5841 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
5842 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
5843 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
5844 to raise.
5845 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
5846 __libc_send to __send.
5847 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
5848 __gettimeofday.
5849 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
5850 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
5851 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
5852 type and typedef __jmp_buf to jmp_buf.
5853 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
5854 setjmp.S.
5855 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5856 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
5857 section.
5858 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
5859 prefix for function macros and then use weak_alias() to regular names.
5860 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5861 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
5862 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
5863 to be flockfile() and funlockfile() respectively.
5864 * libc/sys/linux/sys/types.h
5865 * libc/reent/getreent.c: New file.
5866 * libc/sys/linux/flockfile.c: Ditto.
5867 * libc/sys/linux/funlockfile.c: Ditto.
5868 * libc/sys/linux/getreent.c: Ditto.
5869 * libc/sys/linux/pread.c: Ditto.
5870 * libc/sys/linux/pwrite.c: Ditto.
5871 * libc/sys/linux/raise.c: Ditto.
5872 * libc/sys/linux/system.c: Ditto.
5873 * libc/sys/linux/tcdrain.c: Ditto.
5874 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
5875 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
5876 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
5877 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5878 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
5879
7fc85bd1
TF
58802002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
5881
5882 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
5883 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
5884 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
5885 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
5886
6935231f 5887Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
5888
5889 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
5890 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
5891 exit point.
d7a2f413 5892
3a6cb01b
TF
58932002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5894
a68fa571
TF
5895 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
5896 options when testing natively on i[3456]86-*-linux.
5897
3a6cb01b
TF
5898 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
5899 only one pass or fail per test file. Trim \r's from output
5900 values received from test programs. Remove support for named
5901 tests.
5902 * testsuite/newlib.locale/UTF-8.exp: Update to support new
5903 newlib_check_output behaviour.
5904 * testsuite/newlib.locale/UTF-8.c: Likewise.
5905
dc824ef7
JJ
59062002-05-15 Jeff Johnston <jjohnstn@redhat.com>
5907
5908 * libc/include/stdlib.h: Add on_exit prototype.
5909 * libc/include/sys/reent.h (struct _atexit): Add argument array
5910 and bits to track type of exit routine to support both on_exit
5911 and atexit.
5912 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
5913 by default and change the setting of the atexit structure.
5914 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
5915 * libc/stdlib/on_exit.c: New file.
5916 * libc/stdlib/Makefile.am: Add support for on_exit.
5917 * libc/stdlib/Makefile.in: Regenerated.
5918 * libc/stdlib/atexit.c: Change to initialize types field.
5919 * libc/stdlib/exit.c: Change to look at types field for each
5920 exit routine and either call an atexit-style or an on_exit-style
5921 routine accordingly.
5922
48d91b4a
JJ
59232002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5924
5925 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
5926 allow v specifier with n or L specifiers. For vector c format,
5927 move tmp declaration to the top.
5928
024739eb
JJ
59292002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5930
5931 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
5932 the original format specifier when looping for vectors to compensate
5933 for any changes made in vector %g format processing.
5934 Also add syntax checking for various invalid scenarios
5935 involving vector format extensions.
5936 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
5937 return code setting for vector formats. Also treat vector
5938 separator mismatch as a match error instead of an input error.
5939 Perform some syntax checking for vector formats.
5940
7d2ce898
TF
59412002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5942
5943 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
5944 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
5945 * libc/string/strlcat.c: New file.
5946 * libc/string/strlcpy.c: New file.
5947
809b6ce7
JJ
59482002-05-10 Jeff Johnston <jjohnstn@redhat.com>
5949
5950 * libc/string/strchr.c: Fix comment typo.
5951
76490806
TF
59522002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
5953
0c048a9a
TF
5954 * acinclude.m4: Add support for --enable-newlib-multithread.
5955 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
5956 --enable-newlib-multithread=no.
5957
76490806
TF
5958 * libc/stdio/getc_u.c: New file.
5959 * libc/stdio/getchar_u.c: New file.
5960 * libc/stdio/putc_u.c: New file.
5961 * libc/stdio/putchar_u.c: New file.
5962 * libc/include/stdio.h: Add declarations for getc_unlocked,
5963 getchar_unlocked, putc_unlocked and putchar_unlocked.
5964 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
5965 (CHEWOUT_FILES): Add new files' .def's.
5966 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
5967
96bff22c
JR
5968Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
5969
5970 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5971 Also handle as single quad word when destination ends at last
5972 byte of first quad word. Fix byte selection in single quad code.
5973
e71372fa
TF
59742002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
5975
5976 * libc/include/sys/stdio.h: New file.
5977 * libc/sys/linux/sys/stdio.h: New file.
5978 * libc/include/stdio.h: Add declarations for flockfile,
5979 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
5980 * libc/stdio/clearerr.c: Add file locking.
5981 * libc/stdio/fclose.c: Likewise.
5982 * libc/stdio/feof.c: Likewise.
5983 * libc/stdio/ferror.c: Likewise.
5984 * libc/stdio/fflush.c: Likewise.
5985 * libc/stdio/fgetc.c: Likewise.
5986 * libc/stdio/fgetpos.c: Likewise.
5987 * libc/stdio/fgets.c: Likewise.
5988 * libc/stdio/fileno.c: Likewise.
5989 * libc/stdio/fputc.c: Likewise.
5990 * libc/stdio/fputs.c: Likewise.
5991 * libc/stdio/fread.c: Likewise.
5992 * libc/stdio/freopen.c: Likewise.
5993 * libc/stdio/fseek.c: Likewise.
5994 * libc/stdio/ftell.c: Likewise.
5995 * libc/stdio/fwrite.c: Likewise.
5996 * libc/stdio/getc.c: Likewise.
5997 * libc/stdio/putc.c: Likewise.
5998 * libc/stdio/setvbuf.c: Likewise.
5999 * libc/stdio/ungetc.c: Likewise.
6000 * libc/stdio/vfprintf.c: Likewise.
6001
a03790e4
JJ
60022002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6003
60b2107c
TF
6004 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
6005 support for 'p' format. Fix code to print bytes for vector
6006 integer formats that do not specify 'h' or 'l'.
6007 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
6008 for 'p' specifier. Fix code to scan 16 bytes for vector integer
6009 formats that do not specify 'h' or 'l'.
6010
6011 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
6012
9c7d6a9d
TF
60132002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
6014
6015 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
6016 (_sbrk): Add cast of return value.
6017
c33c3635
JJ
60182002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6019
6020 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
6021 (_REENT_L64A_BUF): New macro for accessing area.
6022 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
6023 * libc/stdlib/Makefile.in: Regenerated.
6024 * libc/stdlib/a64l.c: New file.
6025 * libc/stdlib/l64a.c: New file.
6026
f78e59a8
JJ
60272002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6028
6029 * libc/unix/pread.c: Fix typo for _pread_r.
6030 * libc/unix/pwrite.c: Fix type for _pwrite_r.
6031 * libc/sys/linux/pread64.c: Fix typo for read syscall.
6032 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
6033
4b3f6588
CF
60342002-05-03 Christopher Faylor <cgf@redhat.com>
6035
6036 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
6037
e911832c
TF
60382002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
6039
6040 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
6041
0d0fdc8d
CF
60422002-05-01 Christopher Faylor <cgf@redhat.com>
6043
6044 * utmp.h: Define more UNIX constants.
6045
1e997c56
TF
60462002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
6047
0717f01c
TF
6048 * Makefile.am: Add support for checking multilibs.
6049
09841445
TF
6050 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
6051 (SUBDEFS): Add LIBC_EXTRA_DEF.
6052 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
6053 (LIBC_EXTRA_DEF): Likewise.
6054 (extra_dir): Likewise.
6055 * libc/machine/xscale/machine: New directory.
6056 * libc/machine/xscale/machine/profile.h: New file.
6057
1e997c56
TF
6058 * Makefile.am (site.exp): Remove newlib_cflags. Add
6059 multibuildtop.
6060 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
6061 * testsuite/lib/flags.exp: New file.
6062 * testsuite/lib/newlib.exp: Load flags.exp.
6063 (newlib_target_compile): Remove libgloss directory references.
6064 (newlib_init): Remove newlib_cflags references.
6065
4cf4f010
TF
60662002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6067
f6bdb6f9
TF
6068 * testsuite/lib/newlib.exp (newlib_target_compile): Change
6069 method of finding libgloss_target_dir.
6070
4cf4f010
TF
6071 * Makefile.am (site.exp): Change host_alias, host_triplet,
6072 target_alias, target_triplet to refer to gcc's host and target
6073 variables (newlib's build and host variables).
6074 * testsuite/lib/newlib.exp (newlib_init): Change build
6075 references to host references, host references to target
6076 references to reflect Makefile.am changes.
6077 (newlib_target_compile): Likewise.
6078 (newlib_finish): Likewise.
6079
83096ae8
JJ
60802002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6081
6082 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
6083
822afa53
JL
60842002-04-29 Jonathan Larmour <jlarmour@redhat.com>
6085
6086 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
6087 (_system): New function. Ditto.
6088 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
6089 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
6090 targets.
6091
29798f0d
JJ
60922002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6093
6094 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
6095 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
6096 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
6097 * libc/sys/linux/Makefile.in: Regenerated.
6098 * libc/unix/Makefile.in: Ditto.
6099 * libc/sys/linux/pread64.c: New file.
6100 * libc/sys/linux/pwrite64.c: Ditto.
6101 * libc/unix/pread.c: Ditto.
6102 * libc/unix/pwrite.c: Ditto.
6103
557856bd
JJ
61042002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6105
6106 * libc/sys/linux/Makefile.am: Add io64.c.
6107 * libc/sys/linux/Makefile.in: Regenerated.
6108 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
6109 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
6110 * libc/sys/linux/io64.c: New file.
6111
7b2b12d5
JJ
61122002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6113
6114 * configure.in (CC_FOR_NEWLIB): New variable that
6115 bases on $(CC) and adds targ-include and libc/include as
6116 -isystem directives if they are not already part of $(CC).
6117 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
6118 $(CC_FOR_NEWLIB).
6119 * configure: Regenerated.
6120 * Makefile.in: Ditto.
6121
c62adacc
JJ
61222002-04-25 Jeff Johnston <jjohnstn@redhat.com>
6123
6124 * libc/sys/linux/Makefile.am: Add support for sched.c.
6125 * libc/sys/linux/Makefile.in: Regenerated.
6126 * libc/sys/linux/sched.c: New file.
6127 * libc/sys/linux/sys/types.h: Add struct timespec.
6128
217ad4a0
TF
61292002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
6130
6131 * configure.in (CC_FOR_BUILD): Set to gcc whether
6132 cross-compiling or not.
6133 (CC): Add -isystem's for targ-include and libc/include when they
6134 do not already appear in CC.
6135
eaa75b70
TF
61362002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6137
6138 * Makefile.am (check-DEJAGNU): New target.
6139 (site.exp): Likewise.
6140 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
6141 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
6142 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
6143 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
6144 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
6145 * testsuite: New directory.
6146 * testsuite/config: Likewise.
6147 * testsuite/lib: Likewise.
6148 * testsuite/newlib.locale: Likewise.
6149 * testsuite/newlib.string: Likewise.
6150 * testsuite/config/default.exp: New file.
6151 * testsuite/lib/checkoutput.exp: New file.
6152 * testsuite/lib/newlib.exp: New file.
6153 * testsuite/lib/passfail.exp: New file.
6154 * testsuite/newlib.locale/UTF-8.c: New file.
6155 * testsuite/newlib.locale/UTF-8.exp: New file.
6156 * testsuite/newlib.locale/locale.exp: New file.
6157 * testsuite/newlib.string/string.exp: New file.
6158 * testsuite/newlib.string/tstring.c: New file.
6159
b9f9f699
JJ
61602002-04-23 Jeff Johnston <jjohnstn@redhat.com>
6161
6162 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
6163 * libc/sys/linux/Makefile.am: Add support for mmap.c.
6164 * libc/sys/linux/Makefile.in: Regenerated.
6165 * libc/sys/linux/mmap.c: New file.
6166 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
6167 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
6168
7394edbb
TF
61692002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6170
6171 * acinclude.m4 (newlib_cflags): Remove include directories that
6172 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
6173
b9f9f699 61742002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
6175
6176 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
6177 * libc/machine/xscale/memcmp.c: Ditto.
6178 * libc/machine/xscale/memcpy.c: Ditto.
6179 * libc/machine/xscale/memmove.c: Ditto.
6180 * libc/machine/xscale/memset.c: Ditto.
6181 * libc/machine/xscale/strchr.c: Ditto.
6182 * libc/machine/xscale/strcmp.c: Ditto.
6183 * libc/machine/xscale/strcpy.c: Ditto.
6184 * libc/machine/xscale/strlen.c: Ditto.
6185
2dd4c4dc
JJ
61862002-04-19 Alexandre Oliva <aoliva@redhat.com>
6187
6188 * libc/include/sys/config.h: Remove include of <limits.h>.
6189 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
6190 define INT_MAX and LONG_MAX. Use them in tests.
6191
0d844014
JJ
61922002-04-19 Jeff Johnston <jjohnstn@redhat.com>
6193
6194 * configure.host: Add support for powerpc-eabialtivec*.
6195 * libc/include/malloc.h: Add include of <machine/malloc.h>.
6196 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
6197 * libc/include/machine/malloc.h: New file.
6198 * libc/include/machine/stdlib.h: Ditto.
6199 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
6200 * libc/machine/powerpc/Makefile.am: Add conditional objects and
6201 sources based on configuration.
6202 * libc/machine/powerpc/Makefile.in: Regenerated.
6203 * libc/machine/powerpc/configure: Ditto.
6204 * libc/machine/powerpc/configure.in: Add check for
6205 powerpc-eabialtivec* in which case add in additional source files.
6206 * libc/machine/powerpc/setjmp.S: Add altivec support.
6207 * libc/machine/powerpc/vec_calloc.c: New file.
6208 * libc/machine/powerpc/vec_free.c: Ditto.
6209 * libc/machine/powerpc/vec_malloc.c: Ditto.
6210 * libc/machine/powerpc/vec_mallocr.c: Ditto.
6211 * libc/machine/powerpc/vec_realloc.c: Ditto.
6212 * libc/machine/powerpc/machine/malloc.h: Ditto.
6213 * libc/machine/powerpc/machine/stdlib.h: Ditto.
6214 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
6215 with added altivec format specifiers.
6216 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
6217 added altivec format specifiers.
6218
d413aadc
JS
62192002-04-19 Joel Sherrill <joel@OARcorp.com>
6220
6221 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
6222 while autoconf is trying to link main(){}.
6223
27193895
JJ
62242002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6225
6226 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
6227 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
6228
10d00216
JJ
62292002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6230
6b0f808e
JJ
6231 * libc/time/time.tex: Add tzset info.
6232
62332002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6234
6235 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6236 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6237 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6238 (tzname): Defined for all platforms.
6239 (daylight, timezone): Defined only for CYGWIN.
6240 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6241 environment set up.
6242 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6243 environment variable is set.
6244 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6245 tzset_r.c.
6246 * libc/time/Makefile.in: Regenerated.
6247 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6248 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6249 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6250 * libc/time/local.h: New local header file.
6251 * libc/time/mktime.c (mktime): Add timezone support.
6252 * libc/time/mktm_r.c: New file which is the common engine
6253 for gmtime_r and lcltime_r. This code has timezone support.
6254 * libc/time/strftime.c (strftime): Add %Z timezone support.
6255 * libc/time/tzlock.c: New file containing timezone lock stubs.
6256 * libc/time/tzset.c: New file containing tzset() routine.
6257 * libc/time/tzset_r.c: New file containing _tzset_r and
6258 internal routine for calculating timezone changes for specified year.
6259
62602002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6261
6262 * configure.in (CRT0_DIR): Set to libc/.
6263 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6264 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6265 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6266 $(CRT1_DIR)/$(CRT1).
6267 * libc/machine/xstormy16/Makefile.in: Regenerated.
6268 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6269 * libc/machine/xstormy16/configure: Regenerated.
6270
62712002-04-13 Alexandre Oliva <aoliva@redhat.com>
6272
6273 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6274 fails, don't bail out, and try to correct next time.
6275
6276 * libc/include/sys/config.h: Include limits.h.
6277
62782002-04-12 Eric Norum <eric.norum@usask.com>
6279
6280 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6281 routine to allow autoconf to determine that building executables
6282 for rtems works.
6283 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6284 (rtems_gxx_mutex_once): Ditto.
6285
62862002-04-09 Tom Rix <trix@redhat.com>
6287
6288 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6289
62902002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6291
6292 * libc/include/time.h: Fix strptime declaration.
6293 * libc/time/Makefile.am: Add strptime.c.
6294 * libc/time/Makefile.in: Regenerated.
6295 * libc/time/strptime.c: New file.
6296
62972002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6298
6299 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6300 siglongjmp prototype, and sigsetjmp macro definition.
6301 * libc/sys/linux/siglongjmp.c: New file.
6302 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6303 * libc/sys/linux/Makefile.in: Regenerated.
6304
63052002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6306
6307 * Makefile.am: Add support for installing crt1.o if one exists.
6308 * configure.host: Specify crt1.o for linux.
6309 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6310 * Makefile.in: Regenerated.
6311 * configure: Ditto.
6312 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6313 Added for non-Cygwin, non-RTEMS configurations.
6314 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6315 * libc/sys/linux/Makefile.in: Regenerated.
6316 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6317 by gcc. This fixes problem with reconfiguring linux newlib build.
6318 * libc/sys/linux/sysconf.c: New file.
6319
63202002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6321
6322 * configure.host: Add support for machine subdirectory of
6323 sys subdirectory.
6324 * configure.in: Add check for sys machine subdirectory.
6325 * Makefile.am: Ditto.
6326 * configure: Regenerated.
6327 * Makefile.in: Ditto.
6328 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6329 * libc/sys/linux/sys/syscall.h: Ditto.
6330 * libc/sys/linux/sleep.c: New file.
6331 * libc/sys/linux/socket.c: Ditto.
6332 * libc/sys/linux/sockops.h: Ditto.
6333 * libc/sys/linux/stack.c: Ditto.
6334 * libc/sys/linux/usleep.c: Ditto.
6335 * libc/sys/linux/machine/Makefile.am: Ditto.
6336 * libc/sys/linux/machine/Makefile.in: Ditto.
6337 * libc/sys/linux/machine/aclocal.m4: Ditto.
6338 * libc/sys/linux/machine/configure: Ditto.
6339 * libc/sys/linux/machine/configure.in: Ditto.
6340 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6341 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6342 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6343 * libc/sys/linux/machine/i386/configure: Ditto.
6344 * libc/sys/linux/machine/i386/configure.in: Ditto.
6345 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6346 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6347 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6348 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6349 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6350 * libc/sys/linux/sys/select.h: Ditto.
6351 * libc/sys/linux/configure.in: Add support for machine directory.
6352 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6353 * libc/sys/linux/Makefile.in: Regenerated.
6354 * libc/sys/linux/configure: Ditto.
6355 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6356 * libc/sys/linux/inode.c: Ditto.
6357 * libc/sys/linux/linux.c: Ditto.
6358 * libc/sys/linux/process.c: Ditto.
6359 * libc/sys/linux/systat.c: Ditto.
6360 * libc/sys/linux/time.c: Ditto.
6361 * libc/sys/linux/wait.c: Ditto.
6362 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6363 * libc/sys/linux/io.c: Change header plus add readv/writev.
6364 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6365 use __sigsuspend syscall.
6366 * libc/sys/linux/select.c: Change header plus change select to
6367 use _newselect syscall.
6368 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6369 used by glibc header files.
6370 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6371 types.
6372
63732002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6374
6375 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6376 initializing a struct _reent that has been dynamically allocated.
6377 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6378 _REENT_SMALL and does nothing otherwise.
6379 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6380 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6381 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6382 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6383 [_REENT_SMALL](struct _misc_reent): New structure containing
6384 miscellaneous reentrant areas needed by newlib.
6385 [_REENT_SMALL](struct _reent): Add _misc pointer.
6386 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6387 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6388 and _REENT_STRTOK_LAST macros.
6389 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6390 and _REENT_MBLEN_STATE macros.
6391 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6392 and _REENT_MBTOWC_STATE macros.
6393 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6394 and _REENT_WCTOMB_STATE macros.
6395
63962002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6397
6398 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6399
6400Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6401
6402 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6403
6404Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6405
6406 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6407 Store high part of leading bytes too.
6408
64092002-03-22 Richard Sandiford <rsandifo@redhat.com>
6410
6411 * libm/math/ef_hypot.c: Increase scale factor to 68.
6412
64132002-03-13 Alexandre Oliva <aoliva@redhat.com>
6414
6415 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6416 error.
6417
64182002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6419
6420 * libc/sys/go32/access.c: Change license to relaxed license
6421 used in identical file throughout newlib/libgloss.
6422
64232002-03-12 Richard Earnshaw <rearnsha@arm.com>
6424
6425 * libc/sys/arm/access.c: New file.
6426 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6427 * libc/sys/arm/Makefile.in: Regenerate.
6428 * libc/sys/arm/syscalls.c (_stat): New function.
6429
64302002-03-11 Michael Meissner <meissner@redhat.com>
6431
6432 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6433 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6434 * libc/machine/mips/Makefile.in: Regenerate.
6435 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6436 * libc/machine/mips/memset.c: Dito.
6437 * libc/machine/mips/strcmp.c: Dito.
6438 * libc/machine/mips/strlen.c: Dito.
6439 * libc/machine/mips/strncmp.c: Dito.
6440
64412002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6442
6443 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6444 object so it works for shared library or statici library.
64452002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6446
10d00216
JJ
6447 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6448 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6449 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6450 (tzname): Defined for all platforms.
6451 (daylight, timezone): Defined only for CYGWIN.
6452 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6453 environment set up.
6454 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6455 environment variable is set.
6456 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6457 tzset_r.c.
6458 * libc/time/Makefile.in: Regenerated.
6459 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6460 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6461 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6462 * libc/time/local.h: New local header file.
6463 * libc/time/mktime.c (mktime): Add timezone support.
6464 * libc/time/mktm_r.c: New file which is the common engine
6465 for gmtime_r and lcltime_r. This code has timezone support.
6466 * libc/time/strftime.c (strftime): Add %Z timezone support.
6467 * libc/time/tzlock.c: New file containing timezone lock stubs.
6468 * libc/time/tzset.c: New file containing tzset() routine.
6469 * libc/time/tzset_r.c: New file containing _tzset_r and
6470 internal routine for calculating timezone changes for specified year.
6471
5f1c13c6
TF
64722002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6473
6474 * configure.in (CRT0_DIR): Set to libc/.
6475 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6476 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6477 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6478 $(CRT1_DIR)/$(CRT1).
6479 * libc/machine/xstormy16/Makefile.in: Regenerated.
6480 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6481 * libc/machine/xstormy16/configure: Regenerated.
6482
0cc261b1
AO
64832002-04-13 Alexandre Oliva <aoliva@redhat.com>
6484
2f3009bd
AO
6485 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6486 fails, don't bail out, and try to correct next time.
6487
0cc261b1
AO
6488 * libc/include/sys/config.h: Include limits.h.
6489
26116455
JJ
64902002-04-12 Eric Norum <eric.norum@usask.com>
6491
6492 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6493 routine to allow autoconf to determine that building executables
6494 for rtems works.
6495 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6496 (rtems_gxx_mutex_once): Ditto.
6497
4608280d
TR
64982002-04-09 Tom Rix <trix@redhat.com>
6499
6500 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6501
dea7e25c
JJ
65022002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6503
6504 * libc/include/time.h: Fix strptime declaration.
6505 * libc/time/Makefile.am: Add strptime.c.
6506 * libc/time/Makefile.in: Regenerated.
6507 * libc/time/strptime.c: New file.
6508
c5ef1e95
JJ
65092002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6510
6511 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6512 siglongjmp prototype, and sigsetjmp macro definition.
6513 * libc/sys/linux/siglongjmp.c: New file.
6514 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6515 * libc/sys/linux/Makefile.in: Regenerated.
6516
6e6cd5bd
JJ
65172002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6518
6519 * Makefile.am: Add support for installing crt1.o if one exists.
6520 * configure.host: Specify crt1.o for linux.
6521 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6522 * Makefile.in: Regenerated.
6523 * configure: Ditto.
6524 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6525 Added for non-Cygwin, non-RTEMS configurations.
6526 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6527 * libc/sys/linux/Makefile.in: Regenerated.
6528 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6529 by gcc. This fixes problem with reconfiguring linux newlib build.
6530 * libc/sys/linux/sysconf.c: New file.
6531
fa4a16a1
JJ
65322002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6533
6534 * configure.host: Add support for machine subdirectory of
6535 sys subdirectory.
6536 * configure.in: Add check for sys machine subdirectory.
6537 * Makefile.am: Ditto.
6538 * configure: Regenerated.
6539 * Makefile.in: Ditto.
6540 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6541 * libc/sys/linux/sys/syscall.h: Ditto.
6542 * libc/sys/linux/sleep.c: New file.
6543 * libc/sys/linux/socket.c: Ditto.
6544 * libc/sys/linux/sockops.h: Ditto.
6545 * libc/sys/linux/stack.c: Ditto.
6546 * libc/sys/linux/usleep.c: Ditto.
6547 * libc/sys/linux/machine/Makefile.am: Ditto.
6548 * libc/sys/linux/machine/Makefile.in: Ditto.
6549 * libc/sys/linux/machine/aclocal.m4: Ditto.
6550 * libc/sys/linux/machine/configure: Ditto.
6551 * libc/sys/linux/machine/configure.in: Ditto.
6552 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6553 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6554 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6555 * libc/sys/linux/machine/i386/configure: Ditto.
6556 * libc/sys/linux/machine/i386/configure.in: Ditto.
6557 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6558 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6559 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6560 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6561 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6562 * libc/sys/linux/sys/select.h: Ditto.
6563 * libc/sys/linux/configure.in: Add support for machine directory.
6564 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6565 * libc/sys/linux/Makefile.in: Regenerated.
6566 * libc/sys/linux/configure: Ditto.
6567 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6568 * libc/sys/linux/inode.c: Ditto.
6569 * libc/sys/linux/linux.c: Ditto.
6570 * libc/sys/linux/process.c: Ditto.
6571 * libc/sys/linux/systat.c: Ditto.
6572 * libc/sys/linux/time.c: Ditto.
6573 * libc/sys/linux/wait.c: Ditto.
6574 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6575 * libc/sys/linux/io.c: Change header plus add readv/writev.
6576 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6577 use __sigsuspend syscall.
6578 * libc/sys/linux/select.c: Change header plus change select to
6579 use _newselect syscall.
6580 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6581 used by glibc header files.
6582 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6583 types.
6584
d4dca0e4
JJ
65852002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6586
6587 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6588 initializing a struct _reent that has been dynamically allocated.
6589 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6590 _REENT_SMALL and does nothing otherwise.
6591 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6592 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6593 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6594 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6595 [_REENT_SMALL](struct _misc_reent): New structure containing
6596 miscellaneous reentrant areas needed by newlib.
6597 [_REENT_SMALL](struct _reent): Add _misc pointer.
6598 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6599 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6600 and _REENT_STRTOK_LAST macros.
6601 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6602 and _REENT_MBLEN_STATE macros.
6603 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6604 and _REENT_MBTOWC_STATE macros.
6605 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6606 and _REENT_WCTOMB_STATE macros.
6607
54a7c6d2
JJ
66082002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6609
6610 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6611
c82479b1
CF
6612Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6613
6614 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6615
43ecf6e8
JR
6616Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6617
6618 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6619 Store high part of leading bytes too.
6620
a485d93f
RS
66212002-03-22 Richard Sandiford <rsandifo@redhat.com>
6622
6623 * libm/math/ef_hypot.c: Increase scale factor to 68.
6624
62a963ee
AO
66252002-03-13 Alexandre Oliva <aoliva@redhat.com>
6626
6627 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6628 error.
6629
c53d8453
JJ
66302002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6631
6632 * libc/sys/go32/access.c: Change license to relaxed license
6633 used in identical file throughout newlib/libgloss.
6634
d2a246ad
JJ
66352002-03-12 Richard Earnshaw <rearnsha@arm.com>
6636
6637 * libc/sys/arm/access.c: New file.
6638 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6639 * libc/sys/arm/Makefile.in: Regenerate.
6640 * libc/sys/arm/syscalls.c (_stat): New function.
6641
eabb48d5
MM
66422002-03-11 Michael Meissner <meissner@redhat.com>
6643
6644 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6645 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6646 * libc/machine/mips/Makefile.in: Regenerate.
6647 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6648 * libc/machine/mips/memset.c: Dito.
6649 * libc/machine/mips/strcmp.c: Dito.
6650 * libc/machine/mips/strlen.c: Dito.
6651 * libc/machine/mips/strncmp.c: Dito.
6652
2a606041
JJ
66532002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6654
eabb48d5
MM
6655 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6656 object so it works for shared library or statici library.
6657 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 6658
55f26f11
JR
6659Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
6660
96bff22c
JR
6661 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
6662 Add memcpy.S, memset.S and strcpy.S.
6663 * libc/machine/sh/Makefile.in: Regenerate.
6664 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 6665 (SHHI, SHLO): Define.
96bff22c
JR
6666 * libc/machine/sh/memset.S: Add code for SH5.
6667 * libc/machine/sh/memset.S: Likewise.
6668 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 6669
afecf2fa
JJ
66702002-02-27 Jeff Johnston <jjohnstn@redhat.com>
6671
6672 * configure.host: Add check for --disable-newlib-io-float
6673 configuration option and add -DNO_FLOATING_POINT to newlib cflags
6674 if appropriate.
6675 * acinclude.m4: Added --disable-newlib-io-float option.
6676 * aclocal.m4: Regenerated.
6677 * configure: Ditto.
6678 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6679 * libc/*/aclocal.m4 libc/*/configure
6680 * libm/*/aclocal.m4 libm/*/configure: Ditto.
6681 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
6682 if NO_FLOATING_POINT flag is not defined.
6683
c1010a63
JJ
66842002-02-25 Jeff Johnston <jjohnstn@redhat.com>
6685
6686 * libc/include/sys/config.h: Add __extension__ in front of
6687 long long references.
6688
630c657e
CV
66892002-02-23 Corinna Vinschen <corinna@vinschen.de>
6690
6691 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
6692 (_stat): Ditto.
6693
59ee2e20
CV
66942002-02-23 Corinna Vinschen <corinna@vinschen.de>
6695
6696 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
6697 of off_t.
6698
2dd68dc2
NC
66992002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
6700
6701 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
6702 clobbered registers.
6703
55500bf1
TF
67042002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6705
6706 * configure.host (newlib_cflags): When host is in m68* add
6707 -DCOMPACT_CTYPE.
6708
ba0173f0
JJ
67092002-02-15 Jeff Johnston <jjohnstn@redhat.com>
6710
6711 * libc/include/sys/config.h: Add definitions for
6712 __int16_t, __uint16_t, __int64_t, and __uint64_t.
6713
7b61d0c5
JJ
67142002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
6715
6716 * libc/sys/mmixware/link.c: New.
6717 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
6718 volatile.
6719 * libc/sys/mmixware/times.c (_times): Renamed from times.
6720 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
6721 properly by reading previous contents, not through BinaryReadWrite.
6722 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
6723 * libc/sys/mmixware/Makefile.in: Regenerate.
6724
a505db65
CV
67252002-02-10 Corinna Vinschen <corinna@vinschen.de>
6726
6727 * libc/include/grp.h: Don't declare group functions when compiling
6728 Cygwin.
6729
f3b39c45
CV
67302002-02-09 Corinna Vinschen <corinna@vinschen.de>
6731
6732 * libc/include/grp.h: Include Cygwin specific header.
6733 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
6734 when compiling for Cygwin.
6735 * libc/include/sys/types.h: Don't define off_t, uid_t
6736 and gid_t when compiling for Cygwin.
6737
82b3ac56
MG
67382002-02-08 matthew green <mrg@redhat.com>
6739
6740 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
6741 _REENT_EMERGENCY_SIZE, not sizeof(char *).
6742
9f25eed9
AO
67432002-02-08 Alexandre Oliva <aoliva@redhat.com>
6744
6745 Contribute sh64-elf.
6746 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
6747 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
6748 support in printf.
6749 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
6750 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
6751 any labels.
6752 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
6753 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
6754 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
6755 * libc/machine/sh/configure.in: Rework conditionals.
6756 * libc/machine/sh/Makefile.am: Likewise.
6757 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
6758 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
6759 * configure.host: Match `sh*'.
6760 * libc/include/machine/setjmp.h: Define for SH5.
6761 * libc/machine/sh/configure.in: Detect SH5.
6762 * libc/machine/sh/configure: Rebuilt.
6763 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
6764 * libc/machine/sh/Makefile.in: Rebuilt.
6765 * libc/machine/sh/asm.h: Adjust for SH5.
6766 * libc/machine/sh/setjmp.S: Implement in SHmedia.
6767 * libc/sys/sh/crt0.S: Likewise.
6768 * libc/sys/sh/trap.S: Likewise.
6769
a2a405ae
JJ
67702002-02-07 Jeff Johnston <jjohnstn@redhat.com>
6771
6772 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
6773 (mach_add_obj): Conditionally set to setjmp.o or nothing.
6774 (LIB_SOURCES): Remove $(mach_add_src).
6775 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
6776 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
6777 * libc/machine/i386/Makefile.in: Regenerate.
6778
27478365
JJ
67792002-02-05 Manik Raina <manik@cisco.com>
6780
994fa212 6781 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
6782 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
6783 s, p, k, and outstr.
6784 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
6785
815a37f7
JJ
67862002-02-04 Jeff Johnston <jjohnstn@redhat.com>
6787
6788 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
6789 _REENT_CHECK_EMERGENCY macro.
6790
a4139c12
MG
67912002-02-03 matthew green <mrg@redhat.com>
6792
6793 * libc/reent/signgam.c (__signgam): Fix error in previous.
6794
8195aff7
MG
67952002-02-02 matthew green <mrg@redhat.com>
6796
6797 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
6798
6799 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
6800 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
6801 * libc/include/sys/reent.h (struct _reent): Completely new version
6802 for _REENT_SMALL.
6803 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
6804 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
6805 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
6806 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
6807 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
6808 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
6809 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
6810 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
6811 (_REENT_EMERGENCY): Likewise.
6812
6813 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
6814 the start of the real __sFILE, used for stdin, stdout and stderr until
6815 they are setup properly.
6816 (struct __sFILE): Move location of _data in _REENT_SMALL case.
6817 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
6818 allocated stdin, stdout and stderr.
6819 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
6820 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
6821 * libc/stdio/perror.c (_perror_r): Likewise.
6822 * libc/stdio/printf.c (printf, _printf_r): Likewise.
6823 * libc/stdio/putchar.c (_putchar_r): Likewise.
6824 * libc/stdio/puts.c (_puts_r): Likewise.
6825 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
6826 * libc/stdio/vprintf.c (vprintf): Likewise.
6827 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
6828
6829 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
6830
6831 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
6832 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
6833 for _REENT_SMALL.
6834 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
6835 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
6836
6837 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
6838 _REENT_SMALL.
6839 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
6840 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
6841 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
6842 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
6843 * libc/stdlib/rand48.c (__dorand48): Likewise.
6844 * libc/stdlib/seed48.c (_seed48_r): Likewise.
6845 * libc/stdlib/srand48.c (_srand48_r): Likewise.
6846 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
6847 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
6848 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
6849 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
6850 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
6851 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
6852 * libc/stdlib/rand.c (rand): Likewise.
6853
6854 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
6855 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
6856
6857 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
6858 _REENT_MP_FREELIST() and _REENT_MP_P5S.
6859 * libc/include/sys/reent.h (struct _mprec): New structure.
6860
6861 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
6862 _unused_strtok_last.
6863 * libc/string/strtok.c (strtok): Use a local static variable.
6864
6865 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
6866 (_REENT_EMERGENCY_SIZE): Likewise.
6867 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
6868 _REENT_ASCTIME_BUF().
6869 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
6870 _REENT_TM().
6871
6872 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
6873 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
6874 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
6875 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
6876 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
6877 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
6878
9c2e7642
GK
68792002-02-01 Geoffrey Keating <geoffk@redhat.com>
6880
6881 * configure.host (xstormy16): Don't use the generic malloc.
6882 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
6883 * libc/machine/xstormy16/Makefile.in: Regenerate.
6884 * libc/machine/xstormy16/mallocr.c: New file.
6885 * libc/machine/xstormy16/tiny-malloc.c: New file.
6886
4bb6112f
TF
68872002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
6888
6889 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
6890 when _CYGWIN_TYPES_H is not defined.
6891
8d345552
TF
68922002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6893
6894 * libc/include/sys/signal.h: Revert 2002-01-23 change.
6895
bcc49082
TF
68962002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6897
6898 * libc/include/sys/signal.h: Remove pthread_kill declaration
6899 when __CYGWIN__ is defined.
6900
13baedeb
CF
69012002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6902
6903 * libc/include/time.h: Add prototype for strptime for Cygwin.
6904
b2db0ebc
NC
69052002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6906
ebf139fb
NC
6907 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
6908 dst was not word aligned.
6909
b2db0ebc
NC
6910 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
6911 if too much memory is requested.
6912
798c015d
JJ
69132002-01-11 Jeff Johnston <jjohnstn@redhat.com>
6914
6915 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
6916 reads blanks from the input file to break if EOF reached
6917 rather than end processing.
6918
46ad2ef4
JJ
69192002-01-07 Jeff Johnston <jjohnstn@redhat.com>
6920
6921 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
6922
86b06396
JJ
69232002-01-07 Alan Matsuoka <alanm@redhat.com>
6924
6925 * libc/include/machine/ieeefp.h: Configure d10v doubles to
6926 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
6927 libc/include/sys/config.h: Ditto.
6928
423d5064
CV
69292001-12-28 Corinna Vinschen <corinna@vinschen.de>
6930
6931 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
6932
f6eff1c0
GK
69332001-12-22 Geoffrey Keating <geoffk@redhat.com>
6934 Catherine Moore <clm@redhat.com>
6935 Richard Henderson <rth@redhat.com>
6936 Corinna Vinschen <vinschen@redhat.com>
6937
6938 * configure.host: Add support for xstormy16.
6939 * libc/include/machine/ieeefp.h: Add support for xstormy16.
6940 * libc/include/machine/setjmp.h: Add support for xstormy16.
6941 * libc/include/sys/config.h: Add support for xstormy16.
6942 * libc/machine/xstormy16/Makefile.am: New file.
6943 * libc/machine/xstormy16/Makefile.in: New file.
6944 * libc/machine/xstormy16/aclocal.m4: New file.
6945 * libc/machine/xstormy16/configure: New file.
6946 * libc/machine/xstormy16/configure.in: New file.
6947 * libc/machine/xstormy16/setjmp.S: New file.
6948
1f93c55f
TF
69492001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6950
6951 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
6952 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
6953
13b918be
CV
69542001-12-19 Corinna Vinschen <corinna@vinschen.de>
6955
6956 * libm/machine/Makefile.am: Change rules to create correct lib.a.
6957 * libm/machine/Makefile.in: Regenerated through automake.
6958
08e857b4
TF
69592001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6960
6961 * Makefile.am (DOCDIR): Force to empty string when doc
6962 directory is not present.
6963
60565ed6
TF
69642001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6965
6966 * libc/machine/i386/f_*: Move to libm/machine/i386.
6967
69682001-12-18 Joel Sherrill <joel@OARcorp.com>
6969
6970 * libm/machine/Makefile.am: Add dummy doc stub so
6971 "make info" works.
6972
69732001-12-17 Joel Sherrill <joel@OARcorp.com>
6974
6975 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
6976
fc504135
TF
69772001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6978
6979 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
6980 $(COMPILE) rather than $(CC).
6981 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
6982 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
6983 $(LIB_COMPILE) change.
6984 (vfiprintf.$(oext)): Likewise.
6985
efeae9a3
CV
69862001-12-17 Corinna Vinschen <vinschen@redhat.de>
6987
6988 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
6989 conditionalized including of getopt stuff.
6990
cdf7120d
TF
69912001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6992
6993 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
6994 compile line.
f85be99c 6995 (vfiprintf.$(oext)): Likewise.
cdf7120d 6996
2e1a7175
TF
69972001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6998
6999 * Makefile.shared: New file.
7000 * libc/sys/linux/shared.ld: New file.
7001 * libm/machine/*: New files.
7002 * libm/machine/i386/*: New files.
7003 * Makefile.am: Add libtool support. Change math and mathfp
7004 references to variables.
7005 * configure.host: Add variables for libtool support. Add
7006 libm_machine_dir variable.
7007 * configure.in: Add objectlist variables, for libtool
7008 support. Add CC_FOR_BUILD tests.
7009 * libc/Makefile.am: Add libtool support. Change crt0.o
7010 reference to be a variable reference.
7011 * libc/configure.in: Add libtool support. Change sublib
7012 names to be lib${subdir}.la when using libtool.
7013 * libc/ctype/Makefile.am: Add libtool support.
7014 * libc/errno/Makefile.am: Likewise.
7015 * libc/locale/Makefile.am: Likewise.
7016 * libc/machine/Makefile.am: Likewise.
7017 * libc/machine/configure.in: Likewise.
7018 * libc/machine/i386/Makefile.am: Likewise.
7019 * libc/machine/i386/configure.in: Likewise.
7020 * libc/misc/Makefile.am: Likewise.
7021 * libc/posix/Makefile.am: Likewise.
7022 * libc/reent/Makefile.am: Likewise.
7023 * libc/signal/Makefile.am: Likewise.
7024 * libc/stdio/Makefile.am: Likewise.
7025 * libc/stdlib/Makefile.am: Likewise.
7026 * libc/string/Makefile.am: Likewise.
7027 * libc/sys/Makefile.am: Likewise.
7028 * libc/sys/configure.in: Likewise.
7029 * libc/sys/linux/Makefile.am: Add libtool support. Change
7030 awk reference to a variable reference. Change signal.h
7031 reference to a variable reference.
7032 * libc/sys/linux/configure.in: Add libtool support.
7033 * libc/syscalls/Makefile.am: Likewise.
7034 * libc/time/Makefile.am: Likewise.
7035 * libc/unix/Makefile.am: Likewise.
7036 * libm/Makefile.am: Add libtool support. Change math and
7037 mathfp references to variables.
7038 * libm/configure.in: Add libtool support. Add
7039 LIBM_MACHINE_LIB variable.
7040 * libm/common/Makefile.am: Add libtool support.
7041 * libm/math/Makefile.am: Likewise.
7042 * libm/mathfp/Makefile.am: Likewise.
7043 Regenerate all Makefile.in, aclocal.m4, and configure.
7044
b92591a1
JJ
70452001-12-13 Anita Kulkarni <anitak@kpit.com>
7046
7047 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
7048
355b664e
CF
70492001-12-06 John Peacock <jpeacock@rowman.com>
7050
7051 * libc/include/sys/unistd.h: Correct ualarm declaration.
7052
e9853806
NC
70532001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
7054
7055 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
7056 vector before calling the initialisation functions.
7057
a8e091b0
CF
70582001-11-29 Christopher Faylor <cgf@redhat.com>
7059
7060 * libc/include/dirent.h: Protect against multiple inclusion.
7061
ab634123
CF
70622001-11-27 Christopher Faylor <cgf@redhat.com>
7063
7064 * libc/include/sys/types.h: Define useconds_t.
7065 * libc/include/sys/ulimit.h: Declare ualarm.
7066
d37e401e
CF
70672001-11-21 Christopher Faylor <cgf@redhat.com>
7068
7069 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
7070
8ac90051
HPN
70712001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
7072
7073 * libc/sys/mmixware/*: Tweak license header in all source files.
7074
d7ca37e4
CV
70752001-11-12 Corinna Vinschen <vinschen@redhat.com>
7076
7077 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
7078 to here. Rearrange for general inclusion by stdlib.h.
7079 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
7080 isn't defined.
7081 * libc/sys/linux/include/alloca.h: Move to libc/include.
7082
28f8744e
AG
70832001-11-12 Anthony Green <green@redhat.com>
7084
7085 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
7086
4cede8c4
HPN
70872001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
7088
7089 * libc/sys/mmixware/*: Correct spacing in all source files.
7090 * libc/sys/mmixware/syscall.h: Move misplaced file...
7091 * libc/sys/mmixware/sys/syscall.h: ...here.
7092
8be9b48b
JJ
70932001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
7094
7095 * libc/include/machine/ieeefp.h: Add support for mmix target.
7096 * libc/include/machine/setjmp.h: Ditto.
7097 * configure.host: Ditto.
7098 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
7099 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
7100 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
7101 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
7102 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
7103 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
7104 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
7105 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
7106 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
7107 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
7108 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
7109 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
7110 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
7111 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
7112 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
7113 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
7114 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
7115 libc/sys/mmixware/aclocal.m4: Generate.
7116
c7dd4f95
CV
71172001-11-05 Corinna Vinschen <corinna@vinschen.de>
7118
7119 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
7120 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
7121 when __CYGWIN__ is defined.
7122 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
7123 logwtmp().
7124
a6a6f9fe
JJ
71252001-11-01 Arati Dikey <aratidikey@hotmail.com>
7126
7127 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
7128 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
7129 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
7130 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
7131
d0504c35
JJ
71322001-10-24 Christopher Faylor <cgf@redhat.com>
7133
7134 * libc/stdio/fseek.c: Reset pointer to buffer base
7135 when forced to seek outside of current buffer contents.
7136 This prevents the code from erroneously thinking there is
7137 anything in the current buffer.
7138
0280c8c0
GK
71392001-10-22 Geoffrey Keating <geoffk@redhat.com>
7140
7141 * libc/include/math.h: The C++ standard adds the single-precision
7142 versions of the elementary functions.
7143
333d6098
CF
71442001-10-22 Christopher Faylor <cgf@redhat.com>
7145
7146 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
7147 throughout.
7148 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
7149 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
7150 * system.c (_system_r): Ditto.
7151
c7118319
CV
71522001-10-17 Corinna Vinschen <corinna@vinschen.de>
7153
7154 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 7155 __CYGWIN__ or __rtems__ is defined.
c7118319 7156
5665b0e1
JJ
71572001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
7158
7159 * libc/include/stdlib.h: add declarations for
7160 _strtoull_r, _strtoll_r, strtoull, and strtoll.
7161 * libc/stdio/local.h: remove declarations of
7162 __strtoull_r and __strtoll_r.
7163 * libc/stdio/vfscanf.c(__svfscanf_r): call
7164 _strtoull_r instead of __strtoull_r. Ditto
7165 _strtoll_r vs. __strtoll_r.
7166 * libc/stdlib/Makefile.am: add new files to
7167 .c list and .def list
7168 * libc/stdlib/Makefile.in: regenerate
7169 * libc/stdlib/strtoll_r.c: rename __strtoll_r
7170 as _strtoll_r
7171 * libc/stdlib/strtoull_r.c: rename __strtoull_r
7172 as _strtoull_r
7173 * libc/stdlib/strtoull.c: new file
7174 * libc/stdlib/strtoll.c: new file
7175
d2d5eb41
CF
7176Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
7177
7178 * libc/include/process.h: Add getpid() declaration.
7179
448e3c14
NC
71802001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
7181
7182 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
7183 for new style arm/elf ctor/dtor handling.
7184 Minor formatting tidy up.
7185
7a2afbbb
JJ
71862001-09-13 Jeff Johnston <jjohnstn@redhat.com>
7187
7188 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
7189 and strtoull_r.c.
7190 * libc/stdlib/Makefile.in: Regenerated.
7191 * libc/stdlib/strtoll_r.c: New file.
7192 * libc/stdlib/strtoull_r.c: New file.
7193 * libc/stdio/local.h: Add prototypes for long long string
7194 conversion routines.
7195 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
7196 tied to %L integer conversion specifier.
7197
6342caa4
JJ
7198Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
7199
7200 * strftime.c (strftime): Fix "%W" implementation to properly handle
7201 Mondays too.
7202
b2d319cb
JJ
72032001-09-07 Jeff Law <law@redhat.com>
7204
7205 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
7206 __fini with "mov.l" instead of "mov.w".
7207
233823ba
CV
72082001-09-05 Corinna Vinschen <corinna@vinschen.de>
7209
7210 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
7211 and getopt.h.
7212
63c17b54
JJ
72132001-09-04 Jason Merrill <jason_merrill@redhat.com>
7214
7215 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
7216
a3e67ddf
CV
72172001-09-03 Corinna Vinschen <corinna@vinschen.de>
7218
7219 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
7220 field.
7221 (__DIRENT_VERSION): New define.
7222
6d47f33a
CV
72232001-09-03 Corinna Vinschen <corinna@vinschen.de>
7224
7225 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
7226 Shrink __d_reserved accordingly to keep structure size.
7227 (dirfd): Declare external.
6d47f33a 7228
348c5e06
JJ
72292001-08-29 Joel Sherrill <joel@OARcorp.com>
7230
7231 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
7232
72332001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7234
7235 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
7236 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
7237 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
7238 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
7239 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
7240 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
7241 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
7242 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
7243 Add conditional compilation to avoid HW FPU instructions
7244 when compiled for soft-float.
7245
f29865c5
JJ
72462001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7247
7248 * Makefile.am: Add check for ln failing when creating libg.a
7249 so that cp gets used as a backup.
7250 * Makefile.in: Regenerated.
7251
9e2a4ef8
JJ
72522001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7253
7254 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
7255 No longer include time.h. Add struct __tm to use for
7256 _localtime_buf in the reentrant structure. Add a
7257 _NULL definition to use in initializing the reentrant struct.
7258 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
7259 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
7260 <sys/_types.h>.
7261 * libc/include/sys/unistd.h: Include <sys/_types.h>.
7262 * libc/time/lcltime.c (localtime): Cast the reentrant struct
7263 _localtime_buf to be struct tm *.
7264
1ae900d6
JR
7265Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
7266
7267 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
7268 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
7269 __ctors_end.
7270 * libc/sys/h8300hms/syscalls.c: Include errno.h.
7271 (_unlink): New stub function.
7272
8e26d5b5
CF
7273Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
7274
7275 * libc/include/sys/errno.h: Add a cautionary comment.
7276
e8267664
JJ
72772001-08-21 Jeff Johnston <jjohnstn@redhat.com>
7278
7279 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
7280 for SIZE_SZ so that alignment ends up a minimum of 8.
7281
4acf3edf
CF
7282Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
7283
7284 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
7285 arguments.
7286
7287 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
7288 Cygwin.
7289
52c80be8
JJ
72902001-08-13 Jeff Johnston <jjohnstn@redhat.com>
7291
7292 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
7293 macro constants for mallopt options.
7294 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
7295
a7061f7f
JJ
72962001-08-02 Jeff Johnston <jjohnstn@redhat.com>
7297
7298 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
7299 otherwise default.
7300
0b4bfdd5
AH
73012001-07-12 Aldy Hernandez <aldyh@redhat.com>
7302
7303 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
7304
2b6b730c
NC
73052001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
7306
7307 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
7308 Define for little endian ARMs.
7309
7310 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
7311 __IEEE_BYTES_LITTLE_ENDIAN is defined.
7312
25842b68
JJ
73132001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
7314
7315 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
7316
371b76ef
JJ
73172001-06-11 Egor Duda <deo@logos-m.ru>
7318
7319 * libc/ctype/ctype_.c: When compiled with gcc on platforms
7320 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
7321 initialized memory region. Platform can define COMPACT_CTYPE
7322 to avoid allocation of the additional 128 bytes of data.
7323 Add pointer to _ctype_ array. Always initialize all _ctype_
7324 array elements.
7325
43b44bc5
JL
73262001-06-08 Jonathan Larmour <jlarmour@redhat.com>
7327
7328 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
7329 NULL pointer.
7330
188bc140
NC
73312001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
7332
7333 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
7334
2ce88418
NC
73352001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
7336
7337 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
7338 matching, non-word alignment, and the length is <= 4 but more than
7339 enough to move them over a word boundary.
7340 Add comments explaining what each instruction does.
7341
ca60ed47
CF
7342Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
7343
7344 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 7345 * libc/include/sys/unistd.h: Ditto.
ca60ed47 7346
8b3bcfba
JJ
73472001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
7348
7349 * libc/string/strrchr.c: Use strchr for the speed improvements.
7350
b09e3cf8
JJ
73512001-05-01 Jeff Johnston <jjohnstn@redhat.com>
7352
7353 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
7354 real file systems, let __smakebuf() determine if line buffering
7355 should be used for stdout.
7356
0ca66974
JJ
73572001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7358
7359 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
7360
7cb7017a
JJ
73612001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7362
7363 * libc/include/stdlib.h: Add prototype for _strtod_r.
7364
a874cd21
JJ
73652001-04-24 Charles Wilson <cwilson@ece.gatech.edu
7366
7367 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
7368 * libc/stdio/vprintf.c (_vprintf_r): new function
7369 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
7370 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
7371 _DEFUN, and call _vfprintf_r, not vfprintf.
7372 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
7373 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
7374 _DEFUN, and call _vfprintf_r, not vfprintf.
7375
cb4cc283
CF
73762001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
7377
7378 * libc/include/sys/unistd.h [X_OK]: Use better protection against
7379 Cygwin X_OK definitions in sys/file.h.
7380
8c9df1d5
CF
7381Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
7382
7383 * libc/include/sys/time.h: Define timercmp and other macros for
7384 __CYGWIN__, too.
7385
3ac6f3a7
JJ
73862001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7387
7388 * acinclude.m4: Added --enable-malloc-debugging configure flag.
7389 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
7390 --enable-malloc-debugging selected.
7391 * aclocal.m4 configure: Regenerated.
7392 libm/aclocal.m4 libm/configure: Ditto.
7393 * libc/aclocal.m4 libc/configure: Ditto.
7394 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
7395 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
7396 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
7397 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
7398 * doc/aclocal.m4 doc/configure: Ditto.
7399
52cb9e69
JJ
74002001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7401
7402 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
7403 into one list.
7404 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
7405 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
7406 function prototypes.
7407 (_fscanf_r, _sscanf_r): Ditto.
7408 * libc/include/stdlib.h: Added _strtod_r prototype.
7409 * libc/stdio/Makefile.am: Add new v*scanf functions.
7410 * libc/stdio/Makefile.in: Regenerate.
7411 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
7412 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
7413 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
7414 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
7415 (sscanf): Changed to call __svfscanf_r with _REENT argument.
7416 (_sscanf_r): New routine.
7417 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
7418 with __svfscanf_r prototype.
7419 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
7420 routines.
7421 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
7422 structure as argument as calls reentrant versions of helper functions
7423 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
7424 to _strtol_r and _strtod_r respectively.
7425 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
7426 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
7427 _REENT argument.
7428 * libc/stdio/vscanf.c: New file.
7429 * libc/stdio/vsscanf.c: Ditto.
7430
ee9f39fb
JJ
74312001-04-19 Robert Collins <rbtcollins@hotmail.com>
7432
7433 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
7434 Define daylight to _daylight if it is not defined
7435 Prepare a variable export of timezone based on timezonevariable.
7436 (Cannot be used with the timezone() function.)
7437
273861e3
JJ
74382001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
7439
7440 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
7441 Correct the numerical values.
7442
a25b8414
CF
74432001-04-13 Robert Collins <rbtcollins@hotmail.com>
7444
7445 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
7446
b8a8c59d
CV
7447Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
7448
7449 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
7450 on case insensitve file systems.
7451
74f8cc63
CF
74522001-04-12 Robert Collins <rbtcollins@hotmail.com>
7453
7454 * libc/include/sys/features.h: Add appropriate defines for Cygwin
7455 pthread support.
7456 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
7457 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
7458 types. Include <cygwin/types.h> for the cygwin specific typedefs.
7459
16740220
RS
74602001-04-04 Richard Sandiford <rsandifo@redhat.com>
7461
7462 * libc/include/machine/ieeefp.h: Comment about new configuration
7463 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
7464 * libm/common/fdlib.h: Define new macros for testing floats.
7465 * libm/common/sf_*: Use them.
7466 * libm/math/ef_*: Likewise.
7467 * libm/math/sf_*: Likewise.
7468
0694d8d3
JJ
74692001-03-29 Jeff Johnston <jjohnstn@redhat.com>
7470
7471 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
7472 prolog to by-pass possible assembler error.
7473
4833b38c
JJ
74742001-03-21 Egor Duda <deo@logos-m.ru>
7475
7476 Allow building internal stubs for non-reentrant syscalls
7477 if target provides its own malloc
7478 * libc/reent/reent.c (errno): Move definition here.
7479 * libc/reent/sbrkr.c: From here.
7480
d17d6d42
CF
74812001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
7482
7483 * libc/include/sys/types.h (BSD int typedefs): Guard with
7484 _BSDTYPES_DEFINED rather than _WINSOCK_H.
7485 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
7486 _SYS_TYPES_FD_SET.
7487 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
7488 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
7489
c7ee75cd
CV
7490Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
7491
7492 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7493 _PC_POSIX_SECURITY constants for Cygwin.
7494
63dc5d80
CV
7495Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
7496
7497 * libc/sys/cygwin/crt0.c: Add copyright hint.
7498 * libc/sys/cygwin/sys/dirent.h: Ditto.
7499 * libc/sys/cygwin/sys/param.h: Ditto.
7500 * libc/sys/cygwin/sys/utime.h: Ditto.
7501 * libc/sys/cygwin/sys/utmp.h: Ditto.
7502
6f637037
AO
75032001-03-13 Alexandre Oliva <aoliva@redhat.com>
7504
7505 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
7506 equivalent to LONGINT.
7507
e69b6f73
JJ
75082001-03-08 Richard Sandiford <rsandifo@redhat.com>
7509
7510 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
7511 jmpbuf on MIPS64 targets.
7512 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
7513
6198dece
CF
7514Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
7515
e69b6f73
JJ
7516 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
7517 declarations.
6198dece 7518
cfc05d96
JJ
7519Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
7520
7521 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
7522 For RTEMS, define to be ssize_t. Default to int if not defined.
7523 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
7524 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
7525 * libc/stdio/local.h (__sread, __swrite): Likewise.
7526 * libc/include/sys/reent.h (_read, _write): Likewise.
7527 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
7528 * libc/syscalls/sysread.c (read): Likewise.
7529 * libc/syscalls/syswrite.c (write): Likewise.
7530
6249353a
JJ
75312001-03-05 Jeff Johnston <jjohnstn@redhat.com>
7532
7533 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
7534
658b5db9
CF
7535Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
7536
7537 * libc/include/sys/stat.h: Use special defines for executable stat bits
7538 when compiling for Cygwin.
7539 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
7540 for Cygwin.
7541
19ca46d5
JJ
75422001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7543
7544 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
7545 of strtok_r is always defined.
7546
b73ed85e
JJ
75472001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7548
7549 * libc/include/machine/ansi.h: New dummy header file.
7550
ee37ede1
JJ
75512001-02-22 Jeff Johnston <jjohnstn@redhat.com>
7552
7553 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
7554 changed the copyright information to allow free modification of the
7555 file with no reference to "copying.dj".
7556 * libc/include/sys/stat-dj.h: Ditto.
7557 * libc/machine/i386/setjmp.S: Ditto.
7558 * libc/sys/h8300hms/sys/file.h: Ditto.
7559 * libc/sys/sysmec/access.c: Ditto.
7560 * libc/sys/sysnecv850/access.c: Ditto.
7561 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
7562 * libc/stdlib/getenv_r.c: Ditto.
7563 * libc/stdlib/putenv_r.c: Ditto.
7564 * libc/stdlib/setenv_r.c: Ditto.
7565 * libc/stdlib/getenv.c: Removed DJ reference since any possible
7566 modifications will now be in the _r version of this file.
7567 * libc/stdlib/putenv.c: Ditto.
7568 * libc/stdlib/setenv.c: Ditto.
7569 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
7570 valid. Added a reference to DJ's web page that contains his address.
7571 * libc/sys/go32/*.s: Removed references to DJ's old address.
7572 * libc/sys/go32/*.c: Ditto.
7573 * libc/sys/go32/*.h: Ditto.
7574 * libc/sys/go32/*.S: Ditto.
7575 * libc/sys/go32/sys/*.h: Ditto.
7576
3a8fc0e4
JJ
75772001-02-21 Jeff Johnston <jjohnstn@redhat.com>
7578
7579 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
7580 HAVE_FCNTL flag check.
7581 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
7582 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
7583
b24ee749
CF
7584Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
7585
7586 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
7587
ab4745dc
JJ
75882001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7589
7590 * libc/include/stdlib.h: Add declarations of rand48 functions and
7591 their reentrant versions.
7592 * libc/include/sys/reent.h: Move macros from rand48.h. Add
7593 struct _rand48 for shared parameters of rand48 functions.
7594 (struct _reent): Add a variable _r48 of struct _rand48.
7595 (_REENT_INIT): Add _r48 initialization.
7596 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
7597 (CHEWOUT_FILES): Add rand48.def.
7598 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
7599 * libc/stdlib/Makefile.in: Regenerated.
7600 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
7601 NetBSD C library.
7602 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
7603 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
7604 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
7605 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
7606 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
7607 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
7608 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
7609 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
7610 * libc/stdlib/rand48.c (__dorand48): Ditto.
7611 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
7612 parameters into macros referring them in the reentrant structure.
7613
a34c461f
JJ
76142001-02-12 Jeff Johnston <jjohnstn@redhat.com>
7615
7616 * libc/include/sys/stat.h: Add mknod for Cygwin now that
7617 Cygwin definition has correct prototype.
7618
34f31ff2
JJ
76192001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7620
7621 * libc/include/sys/stat.h: Must revert change for mknod
7622 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
7623 prototype.
7624
5336d6de
JJ
76252001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7626
7627 * libc/include/stdio.h: Revert putw prototype.
7628
8915d10a
JJ
76292001-02-08 Edward M. Lee <tailbert@yahoo.com>
7630
7631 * libc/include/grp.h: add prototype for initgroups.
7632 * libc/include/stdio.h: fix prototype for putw.
7633 * libc/include/sys/signal.h: add prototype for killpg.
7634 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
7635 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
7636 vhangup and remove duplicate sysconf prototype.
7637
93ac4487
JJ
76382001-02-07 Jeff Johnston <jjohnstn@redhat.com>
7639
7640 * libc/sys/rtems/sys/types.h: Removed.
7641
31f5feea
JJ
76422001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
7643
7644 * libc/include/locale.h: add LC_MESSAGES definition
7645
b5139f59
AO
76462001-02-01 Alexandre Oliva <aoliva@redhat.com>
7647
7648 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
7649 SYS_get_argN):
7650 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
7651 __setup_argv_and_call_main): New.
7652
e29d8355
JJ
76532001-01-31 Jeff Johnston <jjohnstn@redhat.com>
7654
7655 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
7656 if defined.
7657 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
7658 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
7659 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
7660 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
7661
82ea92f3
CF
7662Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
7663
7664 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
7665 compiling under Cygwin.
7666
3aaa66f8
JJ
76672001-01-29 Jeff Johnston <jjohnstn@redhat.com>
7668
7669 * libc/include/math.h (signgam): Change to errno-like solution
7670 using a function to return the address of the real signgam.
7671 * libc/reent/signgam.c: New file containing __signgam().
7672 * libc/reent/Makefile.am: Added signgam.c to list of files.
7673 * libc/reent/Makefile.in: Regenerated.
7674
610b895a
AO
76752001-01-25 Alexandre Oliva <aoliva@redhat.com>
7676
b0913397
AO
7677 * libc/sys/sh/syscalls.c (_times): New.
7678
610b895a
AO
7679 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
7680 * libc/sys/sh/syscalls.c (_gettimeofday): New.
7681
3643210e
JJ
76822001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7683
7684 * libc/include/math.h (signgam): Regress previous fix as
7685 it does not handle programs with extern int signgam in them.
7686
841081c9
JJ
76872001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7688
7689 * libc/include/math.h (signgam): Changed to a macro refering to
7690 its location in the reentrant structure.
7691
e9cd87b8
JJ
76922001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7693
7694 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
7695 that suppressed . for %.0f, 0.1. Check now looks if there
7696 are padding zeroes (expt) in addition to any digits (ndig) to
7697 print.
7698
a302b48c
JJ
76992001-01-18 Jeff Johnston <jjohnstn@redhat.com>
7700
7701 * libc/sys/arc/Makefile.am: New file.
7702 * libc/sys/arc/Makefile.in: Ditto.
7703 * libc/sys/arc/aclocal.m4: Ditto.
7704 * libc/sys/arc/configure: Ditto.
7705 * libc/sys/arc/configure.in: Ditto.
7706 * libc/sys/arc/crt0.S: Ditto.
7707 * libc/sys/arc/isatty.c: Ditto.
7708 * libc/sys/arc/mem-layout.c: Ditto.
7709 * libc/sys/arc/sbrk.c: Ditto.
7710 * libc/sys/arc/syscalls.c: Ditto.
7711 * libc/sys/arc/sys/syscall.h: Ditto.
7712
d0319c3b
CF
7713Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
7714
7715 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
7716
e45ab890
CF
7717Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
7718
7719 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
7720
1376245a
DD
7721Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
7722
7723 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
7724
92b57543
NC
77252001-01-09 Nick Clifton <nickc@redhat.com>
7726
7727 * configure.host (v859): Remove unsupported compiler options.
7728
7d6d33d4
JJ
7729Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
7730
7731 * src/newlib/configure.host (*-*-rtems*): add printf long long
7732 support for RTEMS.
7733
602f8b5a 77342000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
7735
7736 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
7737
9c2b8183
JJ
7738Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7739
7740 * configure.host: Turn on long double I/O for Cygwin.
7741
804368d3
JJ
7742Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7743
7744 * MAINTAINERS: Removed Ranjith.
7745 * NEWS: Updated for 1.9.0.
7746 * README: Updated.
7747 * acinclude.m4: Updated to release 1.9.0.
7748 * aclocal.m4 configure
7749 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
7750 libc/machine/aclocal.m4 libc/machine/configure
7751 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
7752 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
7753 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
7754 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
7755 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
7756 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
7757 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
7758 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
7759 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
7760 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
7761 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
7762 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
7763 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
7764 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
7765 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
7766 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
7767 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
7768 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
7769 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
7770 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
7771 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7772 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7773 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7774 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
7775 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7776 libc/sys/aclocal.m4 libc/sys/configure
7777 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7778 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7779 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7780 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7781 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7782 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7783 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7784 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7785 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
7786 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7787 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7788 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7789 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7790 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7791 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7792 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7793 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7794 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7795 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7796 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7797 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7798 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7799 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7800 libm/aclocal.m4 libm/configure: Regenerated.
7801
0985d43f
CV
7802Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7803
7804 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
7805 when __CYGWIN__ is defined.
7806
b6182a09
JJ
78072000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7808
7809 * libc/stdlib/ldtoa.c (_ldcheck): New routine
7810 that categorizes a long double as NaN, Infinity, or other.
7811 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
7812 isinfl and isnanl static routines which were i386-specific. Changed
7813 calls to the two removed routines to a single _ldcheck call.
7814 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
7815
adbbb034
JJ
78162000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7817
7818 * Makefile.am: Fixed install-data-local target to use
7819 $(mkinstalldirs) for the installed header files to ensure
7820 the directories exist before copying.
7821 * Makefile.in: Regenerated.
7822
cbd19336
JJ
78232000-12-12 Jeff Johnston <jjohnstn@redhat.com>
7824
7825 * libc/include/sys/unistd.h: Restored Cygwin _SC
7826 constants and moved new constants appropriately
7827 so Cygwin will build.
7828
8fb37963
JJ
78292000-12-11 Joel Sherrill <joel@OARcorp.com>
7830
7831 * Merge RTEMS specific .h files into main libc/include.
7832 * libc/sys/rtems/include/signal.h: Removed.
7833 * libc/sys/rtems/include/time.h: Removed.
7834 * libc/sys/rtems/sys/features.h: Removed.
7835 * libc/sys/rtems/sys/sched.h: Removed.
7836 * libc/sys/rtems/sys/siginfo.h: Removed.
7837 * libc/sys/rtems/sys/signal.h: Removed.
7838 * libc/sys/rtems/sys/time.h: Removed.
7839 * libc/sys/rtems/sys/times.h: Removed.
7840 definitions for time_t and clock_t since these are
7841 no longer in time.h.
7842 * libc/include/pthread.h: New file.
7843 * libc/include/sys/sched.h: New file.
7844 * libc/include/sys/features.h: New file.
7845 * libc/include/time.h: Removed duplicate definition of clock_t
7846 and time_t, get them from <sys/types.h> instead. Add prototypes
7847 for POSIX clock and timer functionality.
7848 * libc/sys/linux/sys/types.h: Changed to include
7849 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
7850 * libc/include/sys/signal.h: Add more complete set of POSIX
7851 signal functionality including real-time and threaded signals.
7852 * libc/include/sys/types.h: Add clock_t, time_t, struct
7853 timespec, and struct itimerspec. Centralizing these makes
7854 things cleaner. RTEMS uses 64-bit dev_t.
7855 Added numerous primitive definitions
7856 for pthreads including macros, pthread_attr_t,
7857 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
7858 pthread_once_t, and pthread_t.
7859 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
7860 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
7861 Feature flags removed and moved to new file <sys/features.h>.
7862 Full set of POSIX sysconf() constants
7863
2efbc2a7
JJ
78642000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
7865
7866 * configure.host: Added x86 linux target.
7867 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
7868 definitions provided if not already defined.
7869 * libc/sys/linux/crt0.c: New file.
7870 * libc/sys/linux/Makefile.am: Ditto.
7871 * libc/sys/linux/Makefile.in: Ditto.
7872 * libc/sys/linux/aclocal.m4: Ditto.
7873 * libc/sys/linux/brk.c: Ditto.
7874 * libc/sys/linux/configure: Ditto.
7875 * libc/sys/linux/configure.in: Ditto.
7876 * libc/sys/linux/getoptlong.c: Ditto.
7877 * libc/sys/linux/ids.c: Ditto.
7878 * libc/sys/linux/inode.c: Ditto.
7879 * libc/sys/linux/io.c: Ditto.
7880 * libc/sys/linux/linux.c: Ditto.
7881 * libc/sys/linux/process.c: Ditto.
7882 * libc/sys/linux/realpath.c: Ditto.
7883 * libc/sys/linux/select.c: Ditto.
7884 * libc/sys/linux/signal.c: Ditto.
7885 * libc/sys/linux/systat.c: Ditto.
7886 * libc/sys/linux/termios.c: Ditto.
7887 * libc/sys/linux/time.c: Ditto.
7888 * libc/sys/linux/wait.c: Ditto.
7889 * libc/sys/linux/include/alloca.h: Ditto.
7890 * libc/sys/linux/include/getopt.h: Ditto.
7891 * libc/sys/linux/include/stdint.h: Ditto.
7892 * libc/sys/linux/include/unistd.h: Ditto.
7893 * libc/sys/linux/sys/cdefs.h: Ditto.
7894 * libc/sys/linux/sys/dirent.h: Ditto.
7895 * libc/sys/linux/sys/errno.h: Ditto.
7896 * libc/sys/linux/sys/fcntl.h: Ditto.
7897 * libc/sys/linux/sys/file.h: Ditto.
7898 * libc/sys/linux/sys/ioctl.h: Ditto.
7899 * libc/sys/linux/sys/resource.h: Ditto.
7900 * libc/sys/linux/sys/signal.h: Ditto.
7901 * libc/sys/linux/sys/stat.h: Ditto.
7902 * libc/sys/linux/sys/syscall.h: Ditto.
7903 * libc/sys/linux/sys/termios.h: Ditto.
7904 * libc/sys/linux/sys/time.h: Ditto.
7905 * libc/sys/linux/sys/types.h: Ditto.
7906 * libc/sys/linux/sys/utmp.h: Ditto.
7907 * libc/sys/linux/sys/utsname.h: Ditto.
7908 * libc/sys/linux/sys/wait.h: Ditto.
7909
a08c98bb
JJ
79102000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7911
7912 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
7913 can be a relative path to $(top_srcdir)/install.sh so ensure the
7914 autoconf detected settings are properly passed recursively.
7915 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
7916 properly to subdirectories.
7917 * Makefile.in: Regenerated.
7918
b294082c
JJ
79192000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
7920
7921 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
7922 a floating point register unless really printing a floating
7923 point number.
7924
2005ab6b
JJ
79252000-12-07 Jeff Johnston <jjohnstn@redhat.com>
7926
7927 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
7928 Also removed \r's.
7929 (asctoeg): Replaced alloca call with stack array and malloc
7930 when storage exceeds reasonable limit.
7931 (e53toe): Fixed einfin calls missing ldp parameter.
7932 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
7933
9f6e8f1b
JJ
79342000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7935
2005ab6b 7936
9f6e8f1b
JJ
7937 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
7938
6bdac416
JJ
79392000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7940
7941 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
7942 * libc/stdlib/Makefile.in: Regenerated.
7943 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
7944 * libc/stdio/vfieeefp.h: Added long double bit structures.
7945 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
7946 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
7947 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
7948 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
7949 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
7950 _strtold routines used for conversions between character
7951 and long double.
7952
ec270d31
CV
7953Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7954
7955 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
7956
db2d9549
JJ
79572000-12-04 Joel Sherrill <joel@OARcorp.com>
7958
7959 * libc/include/machine/time.h: RTEMS systems can configure clock
7960 tick rate so use sysconf() to ask.
7961
6ba54a15
JJ
79622000-12-04 Joel Sherrill <joel@OARcorp.com>
7963
7964 * libc/include/sys/times.h: Add reference to POSIX standard.
7965
8677b819
JJ
79662000-12-04 Joel Sherrill <joel@OARcorp.com>
7967
7968 * libc/include/sys/time.h: Added BSD timer manipulation macros
7969 used by RTEMS code.
7970
1b61a706
JJ
79712000-12-04 Joel Sherrill <joel@OARcorp.com>
7972
7973 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
7974 referenced by code generated by gcc 2.8.1.
7975 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
7976 satisfy gcc.
7977
f5e7c124
JJ
79782000-12-04 Joel Sherrill <joel@OARcorp.com>
7979
7980 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
7981
768abc9c
JJ
79822000-12-04 Joel Sherrill <joel@OARcorp.com>
7983
7984 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
7985
9e5dd5ea
JJ
79862000-12-04 Joel Sherrill <joel@OARcorp.com>
7987
7988 * configure.host (or16, or32): New entries for OpenCores
7989 OpenRisc CPUs.
7990 (*-*-rtems*): Add -DNO_EXEC.
7991
768abc9c 79922000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
7993
7994 * libc/include/sys/errno.h: Added comments on many error numbers.
7995 * libc/string/strerror.c: Added some more strings.
7996
b273323f
JJ
79972000-11-30 Jeff Johnston <jjohnstn@redhat.com>
7998
7999 * libc/sys/sh/syscalls.c (_link): New stub.
8000
0ffc3b94
NC
80012000-11-29 Nick Clifton <nickc@redhat.com>
8002
8003 * configure.host: Add xscale target.
8004 * libc/machine/xscale: New directory.
8005 * libc/machine/xscale/Makefile.am: New file.
8006 * libc/machine/xscale/Makefile.in: New file.
8007 * libc/machine/xscale/aclocal.m4: New file.
8008 * libc/machine/xscale/configure: New file.
8009 * libc/machine/xscale/configure.in: New file.
8010 * libc/machine/xscale/memchr.S: New file.
8011 * libc/machine/xscale/memcmp.S: New file.
8012 * libc/machine/xscale/memcpy.S: New file.
8013 * libc/machine/xscale/memmove.S: New file.
8014 * libc/machine/xscale/memset.S: New file.
8015 * libc/machine/xscale/strchr.S: New file.
8016 * libc/machine/xscale/strcmp.S: New file.
8017 * libc/machine/xscale/strcpy.S: New file.
8018 * libc/machine/xscale/strlen.S: New file.
8019
cbbf0f96
CV
8020Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8021
8022 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
8023 avoid compiler warnings.
8024
73dea790
MM
80252000-11-22 Michael Meissner <meissner@redhat.com>
8026
8027 * libc/posix/execl.c (execl): Don't reference environ directly,
8028 reference it only via a static pointer to avoid problems with some
8029 shared library systems and with different uses of small data where
8030 the user specifies his own version of environ.
8031 * libc/posix/execv.c (execv): Ditto.
8032 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
8033 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
8034 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
8035
8036 * libc/stdlib/getenv.c (environ): Delete unused reference to
8037 environ.
8038
8039 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
8040 colorization.
8041 * libc/stdlib/system.c: Ditto.
8042
08eac2ae
CF
8043Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
8044
8045 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
8046 including windows headers.
8047
5478bf37
JJ
80482000-11-20 Jeff Johnston <jjohnstn@redhat.com>
8049
8050 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
8051 * libc/include/dirent.h: Added definition of MAXNAMLEN if
8052 not defined by sys/dirent.h.
8053 * libc/posix/execvp.c: Added include of dirent.h to get
8054 MAXNAMLEN value which used to be in unistd.h.
8055
3a760728
CV
8056Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8057
8058 * libc/include/sys/types.h: Change type of i to `size_t' in
8059 FD_ZERO macro to avoid compiler warnings.
8060
86fff69f
CF
8061Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
8062
8063 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
8064 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
8065
ba9e88d2
CV
8066Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8067
8068 * libc/include/sys/unistd.h: Add defines for sysconf values
8069 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
8070 _SC_AVPHYS_PAGES.
8071
a8018ef3
CF
8072Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
8073
8074 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
8075 declarations for __CYGWIN__.
8076
b944c6f6
GK
80772000-09-19 Geoffrey Keating <geoffk@cygnus.com>
8078
8079 * libc/signal/signal.c (__sigtramp_r): ISO C requires
8080 case labels to be integral constant expressions, so
8081 use an if/else tree instead.
8082 (_raise_r): Likewise.
8083
7f18fcb4
JJ
80842000-09-13 Jeff Johnston <jjohnstn@redhat.com>
8085
8086 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
8087 clipping patch from e-mail reader.
8088
242361df
JJ
80892000-09-13 Will Cohen <wcohen@redhat.com>
8090
8091 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
8092 Added return value 0.
8093 (_longjmp): Allow longjmp to return value of second argument
8094 passed to it.
8095
8a8c59b9
JJ
80962000-09-06 Jeff Johnston <jjohnstn@redhat.com>
8097
8098 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
8099 inline code to prevent having to include another header file.
8100
a385ae75
CF
8101Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
8102
8103 * Makefile.am: Fix space vs. tab problem in install-data-local.
8104 * Makefile.in: Regenerate.
8105
8106Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
8107
8108 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
8109 (_EXPARM): New macro for defining a function parameter.
8110 * libc/include/stdlib.h: Use _EXPARM.
8111 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
8112
a36cd013
JJ
81132000-09-05 Manfred Hollstein <manfredh@redhat.com>
8114
8115 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
8116 required, as documented in the gnu coding standards.
8117 * Makefile.in: Regenerate.
8118
f825dfda
JJ
81192000-09-05 Jeff Johnston <jjohnstn@redhat.com>
8120
8121 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
8122 make O_NDELAY and O_NONBLOCK have the same value.
8123
4ba9aab7
JJ
81242000-08-30 Kazu Hirata <kazu@hxi.com>
8125
8126 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
8127
db7acc38
JJ
81282000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
8129
8130 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
8131 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
8132 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
8133 everywhere else.
8134
44e36af4
GK
81352000-08-30 Geoffrey Keating <geoffk@cygnus.com>
8136
8137 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
8138 * libc/include/string.h: Don't include <sys/types.h>,
8139 as it causes really bad namespace pollution. Don't declare
8140 swab(), it is properly declared in unistd.h.
8141
00a2f168
JJ
81422000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
8143
8144 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
8145 (broken) support for non-existent /etc/passwd field "comment".
8146
6beeb240
JJ
81472000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8148
8149 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
8150 only if _DIRENT_HAVE_D_NAMLEN is defined.
8151 (alphasort): aligned prototype with
8152 libc/sys/cygwin/sys/dirent.h and simplified function body.
8153 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
8154 long telldir (DIR *) as mentioned in annex B of POSIX.1
8155
ef44da42
JJ
81562000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8157
8158 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
8159 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
8160 Added __CLI and __STI macros (controlled via
8161 _I386MACH_ALLOW_HW_INTERRUPTS macro).
8162 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
8163 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
8164 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
8165 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
8166 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
8167 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
8168 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
8169 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
8170 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
8171 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
8172 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
8173 for all global entry points.
8174 * libc/machine/i386/setjmp.S: removed code replicated in
8175 libc/machine/i386/i386mach.h and included i386mach.h instead;
8176 Use __CLI and __STI instead of cli and sti.
8177
14d3488d
DD
81782000-08-25 DJ Delorie <dj@redhat.com>
8179
8180 * libc/include/sys/unistd.h (environ): this one isn't from the
8181 DLL, no __IMPORT
8182
c9ca4412
CF
8183Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
8184
8185 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
8186 environ when compiling under cygwin since it is already declared in
8187 unistd.h.
8188
2d5862de
JJ
81892000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8190
8191 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
8192 like x << y-z to the equivalent x << (y-z).
8193 (d2b): changed if statements with assignment to perform the
8194 assignment prior to the if check.
8195 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
8196 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
8197 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
8198 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
8199 precedence.
8200 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
8201 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
8202 execve.c).
8203 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
8204 precedence.
8205 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
8206 clarify && and || precendence (and to remove pascalism).
8207 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
8208 * libm/math/s_infconst.c: added another pair of braces to all
8209 initializers for __infinity (need three: for __infinity[1] array,
8210 for union __dmath, and for i[2]).
8211
0888fedd
JJ
82122000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8213
199359f0
JJ
8214 * libc/stdlib/abort.c: changed description: uses "raise" instead of
8215 "getpid" and "kill"; added: uses "write" and "_exit".
8216 Also included unistd.h for "_exit" prototype.
8217 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
8218 reent.h for "_fork_r" and "_wait_r" prototypes.
8219 (do_system): changed extern char *environ[] to POSIX-friendly
8220 extern char **environ.
8221 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
8222 prototypes.
8223 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
8224 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
8225 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
8226 * libc/reent/openr.c: included fcntl.h for "open" prototype.
8227 * libc/reent/signalr.c: included signal.h for "kill" prototype,
8228 unistd.h for "getpid" prototype.
8229 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
8230 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
8231 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
8232 prototype. Also included stdlib.h for "abort", string.h for
8233 "strdup" and "strncmp" prototypes.
8234 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
8235 "strncpy", unistd.h for "read" and "close" prototypes.
8236 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
8237 "strcat" prototypes.
8238
82392000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
8240
0888fedd
JJ
8241 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
8242 used later (ifdef __SCLE)
8243 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
8244 used later (ifdef MB_CAPABLE)
8245 * libc/string/memset.c (memset): removed unused variables "count"
8246 and "unaligned_addr"
8247 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
8248 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
8249 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
8250 and "gid"
8251
a334e5ef
JJ
82522000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8253
8254 * libc/stdlib/envlock.c: changed documented "__env_lock" and
8255 "__env_unlock" prototype from "void *" or "char *" to
8256 "struct _reent *" to match real function. Also added include
8257 of envlock.h.
8258 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
8259 "__malloc_unlock" prototype from "void *" or "char *" to
8260 "struct _reent *" to match real function.
8261 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
8262 prototypes (for getenv_r.c and setenv_r.c).
8263
644b7f26
DD
82642000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
8265
8266 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
8267 and prototype in cygwin's utmp.h
8268
5bacbf10
JJ
82692000-08-16 Eric Fifer <efifer@sanwaint.com>
8270
8271 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
8272
38a6bf98
NC
82732000-08-09 Nick Clifton <nickc@cygnus.com>
8274
8275 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
8276 epilogue and to allow the functions to be used in a Thumb based
8277 toolchain.
8278
befe0fb3
JJ
82792000-08-08 Jeff Johnston <jjohnstn@redhat.com>
8280
8281 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
8282 so size of 0 results in nothing being written to string.
8283 Also fixed code so that when size is non-zero, there is only
8284 a maximum of size - 1 characters written to the array and
8285 a nul terminator is appended at the end.
8286 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
8287
749d9bcd
DD
82882000-08-01 DJ Delorie <dj@redhat.com>
8289
8290 * libc/include/sys/config.h: define __IMPORT appropriately
8291 * libc/include/ctype.h (_ctype_): use __IMPORT
8292 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
8293 * libc/include/math.h (__mb_cur_max): ditto
8294 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
8295 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
8296 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
8297 * libc/include/unistd.h (environ): ditto
8298
7c110b17
MM
82992000-07-28 Michael Meissner <meissner@redhat.com>
8300
8301 * libc/include/math.h (__infinity): Declare as an array without
8302 bounds to get around small data support. Rewrite Cygwin support
8303 to be more general.
8304 * libm/math/s_infconst.c (__infinity): Ditto.
8305 * libm/mathfp/s_infconst.c (__infinity): Ditto.
8306
bf7be721
CF
8307Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
8308
8309 * libc/include/math.h: Use appropriate dll import linkage for
8310 __infinity under Cygwin.
8311
91a8d90b
DD
83122000-07-13 DJ Delorie <dj@cygnus.com>
8313
8314 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
8315
ba2048d3
JJ
8316Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
8317
8318 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
8319 to argument list for AngelSWI_Reason_GetCmdLine.
8320
4634da64
JJ
8321Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8322
8323 * configure.host: Add support for AVR target.
8324 * libc/include/machine/ieeefp.h: Likewise.
8325 * libc/include/sys/config.h: Likewise.
8326
b19f72a2
RK
8327Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8328
8329 * README: Newlib 1.8.2 must be built in a separate directory
8330 than the sources.
8331
a704d94a
JJ
8332Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8333
8334 * libc/include/sys/reent.h (_rand_next): Added __extension__
8335 qualifier as long long type is not strict ANSI.
8336 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
8337 to long long constant.
8338
b585720b
CV
8339Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
8340
8341 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
8342 `setegid' provided by Cygwin.
8343
01c327ba
CV
8344Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
8345
8346 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
8347 account for Cygwin.
8348
46a43a99
JJ
8349Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8350
8351 * libc/include/sys/reent.h (_rand_next): Changed to
8352 unsigned long long and moved to end of _reent struct in _new union.
8353 (_REENT_INIT): Changed to move _rand_next initialization.
8354 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
8355 linear congruential algorithm that is used by DJGPP.
8356
a68078cb
RK
8357Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8358
8359 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
8360 * libc/include/sys/config.h: Define __RAND_MAX.
8361
518882f3
JJ
8362Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8363
8364 * libc/stdlib/rand_r.c: New algorithm that meets minimal
8365 standard.
8366
d51d968a
CF
8367Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
8368
8369 * libc/include/string.h: Work around problem with strsignal and gdb.
8370
d2dd5765
CF
8371Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
8372
8373 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
8374 * libc/include/malloc.h: Ditto.
8375 * libc/include/process.h: Ditto.
8376 * libc/include/stdio.h: Ditto.
8377 * libc/include/stdlib.h: Ditto.
8378 * libc/include/time.h: Ditto.
8379 * libc/include/machine/setjmp.h: Ditto.
8380 * libc/include/sys/errno.h: Ditto.
8381 * libc/include/sys/signal.h: Ditto.
8382 * libc/include/sys/stat.h: Ditto.
8383 * libc/include/sys/time.h: Ditto.
8384 * libc/include/sys/unistd.h: Ditto.
8385 * libc/include/string.h: Ditto. strsignal should return a const char *.
8386
88870218
JJ
83872000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
8388
8389 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
8390 * libm/common/s_log1p.c (log1p): Likewise.
8391 * libm/common/s_scalbn.c (scalbn): Likewise.
8392 * libm/math/e_log.c: Likewise.
8393 * libm/math/e_asin.c: Likewise.
8394 * libm/math/ef_asin.c: Likewise.
8395 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
8396 * libm/math/e_j1.c (pone, qone): Likewise.
8397 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
8398 * libm/math/ef_j1.c (ponef, qonef): Likewise.
8399 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
8400 * libm/mathfp/e_j1.c (pone, qone): Likewise.
8401 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
8402 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
8403
c4e1aa01
DD
84042000-05-19 DJ Delorie <dj@cygnus.com>
8405
8406 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
8407 (__sread): always read in binary mode
8408 (__swrite): always write in binary mode
8409 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
8410 compatibility issues with different dll versions
8411 * libc/stdio/fopen.c: use __stextmode
8412 * libc/stdio/fdopen.c: ditto
8413 * libc/stdio/freopen.c: ditto
8414 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
8415 * libc/stdio/local.h: declare __stextmode
8416
f4393261
DD
84172000-05-18 DJ Delorie <dj@cygnus.com>
8418
8419 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
8420
2b533fac
JJ
8421Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8422
8423 * libc/include/ctype.h: Changed tolower and toupper macros
8424 to use __extension__ to prevent pedantic warnings.
8425
75362a76
RK
8426Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
8427
8428 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
8429 structures.
8430
ec463fc7
JW
8431Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
8432
8433 * libc/include/machine/ieeefp.h: Add ia64 support.
8434 * configure.host: Likewise.
8435
f35ceefa
JJ
8436Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
8437
8438 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
8439 month is now padded with space, not zero. This now conforms to
8440 ANSI standard.
8441
b96fca8c
CV
8442Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
8443
8444 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
8445 host or network path") used by cygwin. Add some comments.
8446
49d64538
JJ
8447Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
8448
8449 * libc/include/stdio.h (FILE): define __SCLE for "convert line
8450 endings" for Cygwin.
8451 (__sgetc): convert line endings if needed
8452 (__sputc): ditto
8453 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
8454 * libc/stdio/fopen.c (_fopen_r): ditto
8455 * libc/stdio/freopen.c (freopen): ditto
8456 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
8457 * libc/stdio/fvwrite.c (__sfvwrite): ditto
8458
91fb1e7f
AO
8459Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
8460
8461 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
8462 post-increment when it is worth it, spacewise.
8463
c87be3e4
JJ
8464Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8465
8466 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
8467 * libc/stdio/findfp.c (std): Added declaration of flags and file.
8468 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
8469 return type.
8470 * libc/stdio/putchar.c (putchar): Added return statement.
8471 * libc/stdio/refill.c (lflush): Added correct parentheses.
8472 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
8473 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
8474 prints long value to use l qualifier.
8475 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
8476 messages and initialized local values: ilim, ilim1, and spec_case.
8477 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
8478 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
8479 * libc/stdlib/mprec.c: Ditto.
8480 * libc/stdlib/setenv_r.c: Ditto.
8481 * libc/stdlib/strtod.c: Ditto.
8482 * libc/stdlib/strtol.c: Ditto.
8483 * libc/stdlib/strtoul.c: Ditto.
8484 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
8485 * libm/common/sf_log1p.c: Ditto.
8486 * libm/common/sf_scalbn.c: Ditto.
8487 * libm/math/ef_log.c: Ditto.
8488
11f5b065
CV
8489Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
8490
8491 * libc/posix/execvp.c (execvp): Check path for
8492 trailing slash.
8493
796e3b20
CV
8494Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
8495
8496 * libc/include/sys/unistd.h: Add prototypes for
8497 fchmod, fchown, lchown.
8498
b489803a
JJ
8499Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8500
8501 * acinclude.m4: Changed release to 1.8.2.
8502 * aclocal.m4 configure doc/aclocal.m4 doc/configure
8503 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
8504 libc/machine/configure libc/machine/a29k/aclocal.m4
8505 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8506 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8507 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8508 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8509 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
8510 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8511 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8512 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8513 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8514 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8515 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8516 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8517 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8518 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8519 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8520 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8521 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8522 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8523 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8524 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8525 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8526 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8527 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
8528 libc/machine/z8k/configure libc/sys/aclocal.m4
8529 libc/sys/aclocal.m4 libc/sys/configure
8530 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8531 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8532 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8533 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8534 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8535 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8536 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8537 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8538 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8539 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8540 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8541 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8542 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8543 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8544 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8545 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8546 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8547 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8548 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8549 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8550 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8551 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8552 libm/aclocal.m4 libm/configure: Regenerated.
8553
79908d67
NC
85542000-03-24 Nick Clifton <nickc@cygnus.com>
8555
8556 * libc/sys/arm/syscalls.c: Fix compile time warnings.
8557 (do_AngelSWI): Add "cc" to list o registers clobbered.
8558
7684ddaf
FN
8559Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8560
8561 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
8562 information to be clobbered by an Angel C library support syscall.
8563
b8ec20c8
JJ
8564Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8565
8566 * libc/stdlib/envlock.c: Fixed comment typo.
8567
fae4c299
JJ
8568Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8569
8570 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
8571 code to update nread as each character is processed instead
8572 of using buffer contents which throw away leading zeroes.
8573
dc98804b
RK
8574Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
8575
8576 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
8577
5ed2f523
JJ
8578Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
8579
8580 * libc/include/string.h: Include <sys/types.h>.
8581
1cf0ee34
AO
8582Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8583
8584 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
8585 with XSH5, not SVID.
8586
e9c94978
JJ
8587Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8588
8589 * libc/include/string.h: Changed last argument back to ssize_t
8590 to make it compatible with XPG4 definition which is
8591 defined in <unistd.h>. There is a conflict in the SVID 3
8592 and XPG4 definitions and newlib will settle with XPG4.
8593 * libc/string/swab.c: Ditto.
8594
3072163c
JJ
8595Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8596
8597 * libc/include/string.h: Changed last argument to size_t.
8598 * libc/string/swab.c: Changed last argument to size_t.
8599
f205ea7a
AO
8600Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8601
8602 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
8603 (CHEWOUT_FILES): Added unlinkr.def.
8604 * libc/reent/Makefile.in: Rebuilt.
8605 * libc/sys.tex: Include unlinkr.def.
8606 * libc/reent/linkr.c (_unlink_r): Moved to...
8607 * libc/reent/unlinkr.c: ... new file.
8608
85dd2e5b
AO
8609Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8610
8611 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
8612 (CHEWOUT_FILES): Added swab.def.
8613 * libc/string/Makefile.in: Rebuilt.
8614 * libc/string/string.tex: Include swab.def.
8615 * libc/include/string.h (swab): Declare.
8616 * libc/string/swab.c: New file.
8617
c5053058
AO
8618Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8619
8620 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
8621 (CHEWOUT_FILES): Added getw.def and putw.def.
8622 * libc/stdio/Makefile.in: Rebuilt.
8623 * libc/stdio/stdio.tex: Include getw.def and putw.def.
8624 * libc/stdio/getw.c: New file.
8625 * libc/stdio/putw.c: New file.
8626
dbaf37cf
JJ
8627Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8628
8629 * libc/stdio/flags.c (__sflags): Added check that mode[1]
8630 is non-null before looking at mode[2].
8631
bc019ef2
RK
8632Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8633
8634 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
8635 * libm/mathfp/sf_atan.c: Ditto.
8636
8637Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
8638
8639 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
8640
cd641b2d
RK
8641Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8642
8643 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
8644 _DOUBLE_IS_32BITS.
8645
b0ba0ac2
JJ
8646Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8647
8648 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
8649 call prior to calling _VFPRINTF_R so reentrant data area is set.
8650 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
8651
8a0efa53
CF
8652Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8653
8654 * libc/stdio/vfscanf.c (limits.h): #include.
8655 (MAX_LONG_LEN): #define.
8656 (__svfscanf): Handle floating point numbers with arbitrary amounts
8657 of leading zeroes.
8658
86592000-02-15 Nick Clifton <nickc@cygnus.com>
8660
8661 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
8662 zero. Set the blocksize to 1024/
8663
8664Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8665
8666 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
8667 with line buffering.
8668
8669Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8670
8671 * acinclude.m4: Changed include directory for winsup headers.
8672 * aclocal.m4 configure libc/aclocal.m4
8673 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
8674 libc/locale/Makefile.in libc/machine/aclocal.m4
8675 libc/machine/configure libc/machine/a29k/aclocal.m4
8676 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8677 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8678 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8679 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8680 libc/machine/fr30/configure
8681 libc/machine/h8300/aclocal.m4
8682 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8683 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8684 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8685 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8686 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8687 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8688 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8689 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8690 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8691 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8692 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8693 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8694 libc/machine/powerpc/configure
8695 libc/machine/sh/aclocal.m4
8696 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8697 libc/machine/sparc/configure
8698 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8699 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8700 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8701 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8702 libc/misc/Makefile.in libc/posix/Makefile.in
8703 libc/reent/Makefile.in
8704 libc/signal/Makefile.in
8705 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
8706 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8707 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
8708 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
8709 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
8710 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8711 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8712 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8713 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8714 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8715 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8716 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8717 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8718 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
8719 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
8720 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
8721 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
8722 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
8723 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
8724 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
8725 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
8726 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
8727 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
8728 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
8729 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
8730 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
8731 libm/configure: Regenerated.
8732
8733Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
8734
8735 * libc/stdlib/putenv_r.c (_putenv_r): New file.
8736 * libc/stdlib/strdup_r.c (_strdup_r): New file.
8737 * libc/include/string.h: Added _strdup_r.
8738 * libc/stdlib/putenv.c: Added call to reentrant version.
8739 * libc/stdlib/strdup.c: Ditto.
8740 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
8741 * libc/include/stdlib.h: Ditto.
8742 * libc/stdlib/Makefile.in: Regenerated.
8743 * libc/string/Makefile.in: Regenerated.
8744 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
8745 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
8746 management calls to reentrant versions.
8747 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
8748 * libc/stdlib/wctomb.c: Ditto.
8749 * libc/stdlib/mblen.c: Ditto.
8750 * libc/stdlib/mbstowcs.c: Ditto.
8751 * libc/stdlib/mbtowc.c: Ditto.
8752 * libc/stdlib/getenv.c: Ditto.
8753 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
8754 and _strdup_r.
8755
8756Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
8757
8758 patch from Corinna Vinschen <corinna@vinschen.de>
8759 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
8760
bc019ef2 8761Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
8762
8763 * libm/mathfp/s_atangent.c: Fix exponent calculation.
8764 * libm/mathfp/s_ldexp.c: Ditto.
8765 * libm/mathfp/sf_atangent.c: Ditto.
8766 * libm/mathfp/sf_ldexp.c: Ditto.
8767
8768Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8769
8770 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
8771 * libc/include/locale.h: define NULL to be 0.
8772
8773Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
8774
8775 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
8776 function.
8777
8778Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
8779
8780 * libc/machine/mn10300/setjmp.S: Handle am33.
8781
87821999-11-26 Nick Clifton <nickc@cygnus.com>
8783
8784 * libc/sys/arm/syscalls.c: Add function prototypes.
8785 (stack_ptr): Move declaration before function definitions.
8786
8787Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8788
8789 * NEWS: Updated version information.
8790 * README: Ditto.
8791
8792Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
8793
8794 * libc/machine/i386/strchr.S: Fixed alignment test.
8795
8796Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
8797
8798 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
8799
8800Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
8801
8802 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
8803 ensuring that there is space between the two.
8804
8805Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
8806
8807 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
8808 only.
8809
88101999-10-08 Vadim Egorov <egorovv@1c.ru>
8811
8812 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
8813 section
8814
8815Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8816
8817 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
8818 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
8819
8820Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
8821 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
8822 per POSIX 1003.1b.
8823 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
8824 per POSIX 1003.1b.
8825
88261999-09-13 DJ Delorie <dj@cygnus.com>
8827
8828 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
8829 also.
8830
8831Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8832
8833 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
8834 also note BUFSIZ as its size.
8835
8836Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
8837
8838 * configure.host: Corrected feature defines for RTEMS.
8839 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
8840 * libc/include/sys/stat.h: mkfifo() should take const path arg.
8841 * libc/include/sys/unistd.h: pathconf() should take const path arg.
8842 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
8843 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
8844 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
8845 _PC_PRIO_IO, and _PC_SYNC_IO.
8846 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
8847 * libc/machine/m68k/Makefile.in: Regenerated.
8848 * libc/machine/m68k/strcpy.c: New file.
8849 * libc/machine/m68k/strlen.c: New file.
8850 * libc/stdio/tmpnam.c: Always make the returned name usable.
8851 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
8852 * libc/sys/rtems/sys/dirent.h: New file.
8853 * libc/sys/rtems/sys/types.h: Added dev_t.
8854
8855Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
8856
8857 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
8858
8859Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
8860
8861 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
8862 my patch.
8863
8864Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
8865
8866 patch from Jeff Johnston <jjohnstn@cygnus.com>
8867 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
8868 buffer is not in a useful state.
8869
88701999-09-01 Nick Clifton <nickc@cygnus.com>
8871
8872 * libc/sys/arm/syscalls.c (_link): Add stub.
8873
8874Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8875
8876 * ftell.c (ftell): Use actual position within buffer for text mode.
8877 * findfp.c (std): Initialize ptr->_bf._size.
8878
8879Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
8880
8881 * libc/include/sys/unistd.h: Add nice() declaration.
8882
88831999-08-09 Nick Clifton <nickc@cygnus.com>
8884
8885 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
8886 declare as a thumb function so that the disassembler will see the
8887 mode change.
8888
8889Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8890
8891 * libc/reent/reent.tex: Updated list of reentrant functions.
8892
88931999-07-09 Michael Meissner <meissner@cygnus.com>
8894
8895 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
8896
8897Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
8898
8899 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
8900 separate file.
8901 * libc/stdio/snprintf.c: New file.
8902 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
8903 separate file.
8904 * libc/stdio/vsnprintf.c: New file.
8905 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
8906 * libc/stdio/Makefile.in: Regenerated.
8907
8908Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
8909
8910 Patch submitted by Egor Duda <deo@logos-m.ru>:
8911 * libc/include/stdio.h: Add declarations for *nprintf.
8912 * libc/stdio/sprintf.c (snprintf): New function.
8913 (_snprintf_r): New function.
8914 * libc/stdio/vsprintf.c (vsnprintf): New function.
8915 (_vnsprintf_r): New function.
8916
8917Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8918
8919 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
8920 * libm/Makefile.am (stmp-targetdep): Ditto.
8921 * libc/Makefile.in: Regenerated.
8922 * libm/Makefile.in: Ditto.
8923
8924Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8925
8926 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
8927 * libm/Makefile.am (stmp-targetdep): Ditto.
8928 * libc/Makefile.in: Regenerated.
8929 * libm/Makefile.in: Ditto.
8930
8931Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8932
8933 * Makefile.am: Removed dependencies on all-recursive and added "."
8934 to the SUBDIRS list to prevent infinite recursion from occurring.
8935 Also removed any references to EXTRA_DATA.
8936 * libc/Makefile.am: Ditto.
8937 * libc/machine/Makefile.am: Ditto.
8938 * libc/machine/i386/Makefile.am: Ditto.
8939 * libm/Makefile.am: Ditto.
8940 * libc/sys/Makefile.am: Ditto.
8941 * Makefile.in: Regenerated.
8942 * aclocal.m4: Ditto.
8943 * configure: Ditto.
8944 * doc/Makefile.in: Ditto.
8945 * doc/aclocal.m4: Ditto.
8946 * doc/configure: Ditto.
8947 * libc/Makefile.in: Ditto.
8948 * libc/aclocal.m4: Ditto.
8949 * libc/configure: Ditto.
8950 * libc/machine/Makefile.in: Ditto.
8951 * libc/machine/aclocal.m4: Ditto.
8952 * libc/machine/configure: Ditto.
8953 * libc/machine/mn10300/Makefile.in: Ditto.
8954 * libc/machine/mn10300/aclocal.m4: Ditto.
8955 * libc/machine/mn10300/configure: Ditto.
8956 * libc/sys/Makefile.in: Ditto.
8957 * libc/sys/aclocal.m4: Ditto.
8958 * libc/sys/configure: Ditto.
8959 * libm/Makefile.in: Ditto.
8960 * libm/aclocal.m4: Ditto.
8961 * libm/configure: Ditto.
8962
8963Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8964
8965 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
8966
8967Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8968
8969 * libc/include/stdlib.h: Add reentrant routines.
8970 * libc/stdlib/Makefile.am: Add reentrant routines.
8971 * libc/stdlib/Makefile.in: Ditto.
8972 * libc/stdlib/envlock.c: New file.
8973 * libc/stdlib/envlock.h: New file.
8974 * libc/stdlib/getenv.c: Modify to call reentrant routine.
8975 * libc/stdlib/getenv_r.c: New file.
8976 * libc/stdlib/mblen.c: Modify to call reentrant routine.
8977 * libc/stdlib/mblen_r.c: New file.
8978 * libc/stdlib/setenv.c: Modify to call reentrant routine.
8979 * libc/stdlib/setenv_r.c: New file.
8980 * libc/stdlib/stdlib.tex: Add reentrant routines.
8981
8982Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
8983
8984 * libc/include/sys/types.h: Define __MS_types__ whenever
8985 cygwin or win32.
8986
8987Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
8988
8989 * libc/include/machine/ieeefp.h: Always default to little
8990 endian if Windows, regardless of architecture.
8991 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
8992 regardless of architecture.
8993
8994Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
8995
8996 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
8997 _WIN32 isn't defined.
8998
8999Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
9000
9001 * libm/common/s_rint.c (rint): Add volatile qualifier for
9002 intermediate value w.
9003 * libm/common/sf_rint.c (rintf): Ditto.
9004
9005Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9006
9007 * libc/sys/arm/syscalls.c (remap_handle): Added check to
9008 ensure that std streams are initialized before being referenced.
9009
90101999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
9011
9012 * README: Update reference to newlib@cygnus.com new
9013 newlib@sourceware.cygnus.com address.
9014
9015Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
9016
9017 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
9018 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
9019 defined, even if _WIN32 isn't defined.
9020
9021Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
9022
9023 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
9024
9025Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9026
9027 * libc/include/sys/reent.h: Change Long and ULong to __Long and
9028 __ULong.
9029 * libc/stdlib/dtoa.c: Ditto.
9030 * libc/stdlib/mprec.c: Ditto.
9031 * libc/stdlib/mprec.h: Ditto.
9032 * libc/stdlib/strtod.c: Ditto.
9033
90341999-04-21 Nick Clifton <nickc@cygnus.com>
9035
9036 * configure.host (mcore): Remove mcore machine directory.
9037
90381999-04-18 Nick Clifton <nickc@cygnus.com>
9039
9040 * libc/include/machine/ieeefp.h: Add support for mcore target.
9041 * libc/include/machine/setjmp.h: Add support for mcore target.
9042 * configure.host: Add support for mcore target.
9043
90441999-04-13 Mark Salter <msalter@cygnus.com>
9045
9046 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
9047 * libc/sys/arm/syscalls.c: Added isatty.
9048
9049Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9050
9051 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
9052 insert zeroes after significant digits.
9053
9054Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9055
9056 * libc/stdio/vfprintf.c (cvt): Changed floating point
9057 cvt routine to use union used by dtoa to properly determine
9058 if the sign bit is on or not.
9059 * libc/stdio/vfieeefp.h: New file
9060
9061Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9062
9063 * aclocal.m4: Regenerated.
9064 * configure: Regenerated.
9065
9066Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9067
9068 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
9069 f_tanf reference.
9070 * libc/machine/i386/Makefile.in: Regenerated.
9071
9072Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
9073
9074 * acinclude.m4: Changed to work with new automake.
9075 * configure: Regenerated.
9076 * libc/machine/i386/aclocal.m4: Regenerated.
9077 * libc/machine/i386/configure: Regenerated.
9078
9079Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
9080
9081 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
9082 for telldir() and seekdir(). Rename unused structure element
9083 for use with these two routines.
9084
9085Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
9086
9087 * libc/time/mktime.c (validate_structure): Multiple fixes to
9088 code to handle cases where input fields are outside valid ranges.
9089 * libc/stdlib/div.c (div): Modified invalid rounding check.
9090 * libc/stdlib/ldiv.c (ldiv): Ditto.
9091
9092Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
9093
9094 * libc/machine/i386/memcpy.S: Performance rewrite.
9095 * libc/machine/i386/memmove.S: Ditto.
9096 * libc/machine/i386/i386mach.h: Added more register definitions.
9097 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
9098 option used.
9099 * libc/include/machine/fastmath.h: Add definitions for x86
9100 fast-math routines.
9101
9102Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9103
9104 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
9105
9106Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
9107
9108 Adjust newlib headers for new Cygwin Win32 API header files:
9109 * libc/include/sys/time.h: Check _WINSOCK_H rather than
9110 _GNU_H_WINDOWS32_SOCKETS.
9111 * libc/include/sys/types.h: Ditto.
9112
9113Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9114
9115 *include/sys/reent.h: Add checks for size of Bigint element Long.
9116 *libc/dtoa.c: Change routines to use generic Long type.
9117 *libc/mprec.c: Change routines to use generic Long type.
9118 *libc/mprec.h: Change routines to use generic Long type.
9119
9120Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
9121
9122 * libc/Makefile.am: Add .def files.
9123 * libc/Makefile.in: Regenerate.
9124 * libc/e_acosh.c: Documentation update.
9125 * libc/e_atanh.c: Documentation update.
9126 * libc/e_hypot.c: Documentation update.
9127 * libc/e_remainder.c: Documentation update.
9128 * libc/er_lgamma.c: Documentation update.
9129 * libc/mathfp.tex: Documentation update.
9130 * libc/s_acos.c: Documentation update.
9131 * libc/s_atan.c: Documentation update.
9132 * libc/s_atan2.c: Documentation update.
9133 * libc/s_cosh.c: Documentation update.
9134 * libc/s_fmod.c: Documentation update.
9135 * libc/s_isnan.c: Documentation update.
9136 * libc/s_log10.c: Documentation update.
9137 * libc/s_pow.c: Documentation update.
9138 * libc/w_jn.c: Documentation update.
9139
9140Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
9141
9142 * aclocal.m4: Regenerate.
9143 * configure: Regenerate.
9144
9145Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
9146
9147 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
9148 to return 1 if user specified return code is 0.
9149 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
9150
9151Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
9152
9153 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
9154 to save the return address. Fixed longjmp to return to the original
9155 calling address of setjmp and to return the user specified return code
9156 rather than default to 1.
9157 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
9158
9159Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
9160
9161 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
9162
91631999-02-10 Nick Clifton <nickc@cygnus.com>
9164
9165 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
9166 volatile so that its assignments will not be discarded.
9167
9168Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
9169
9170 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
9171 be __STRICT_ANSI__ which is generated by compiler.
9172 * libc/include/ctype.h: Ditto.
9173 * libc/include/math.h: Ditto.
9174 * libc/include/stdio.h: Ditto.
9175 * libc/include/stdlib.h: Ditto.
9176 * libc/include/string.h: Ditto.
9177 * libc/include/sys/signal.h: Ditto.
9178
91791999-02-08 Nick Clifton <nickc@cygnus.com>
9180
9181 * configure.host: Add support for StrongARM target.
9182
9183Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
9184
9185 * libc/string/strncpy.c (strncpy): Removed redundant code
9186 that was copying bytes if data unaligned.
9187
91881999-02-02 Brendan Kehoe <brendan@cygnus.com>
9189
9190 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
9191 mbstowcs.def, and wcstombs.def.
9192
9193Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
9194
9195 * libc/include/sys/errno.h: Add Cygwin errno.
9196 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
9197 is specified.
9198
91991999-01-29 Nick Clifton <nickc@cygnus.com>
9200
9201 * libc/sys/arm/syscalls.c: Move C library functions into seperate
9202 file.
9203
9204 * libc/sys/arm/libcfunc.c: New file containing C library functions
9205 from syscalls.c
9206
9207 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
9208 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
9209
9210
92111999-01-27 Michael Meissner <meissner@cygnus.com>
9212
9213 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
9214 type, and cut size in half so that the jmp_buf array is guaranteed
9215 to be aligned on a 64-bit boundary.
9216
9217Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
9218
9219 * libc/string/strings.tex: Added information about
9220 strcasecmp and strncasecmp.
9221 * libc/stdlib/stdlib.tex: Added missing information
9222 about mblen, mbstowcs, and wcstombs.
9223 * libc/string/strchr.c: Changed how mask is built to use
9224 shift operators so register will be used instead of storage.
9225
92261999-01-22 DJ Delorie <dj@cygnus.com>
9227
9228 * libc/include/stdlib.h: don't use dllimport if we're building
9229 newlib, since it's inside cygwin.dll
9230
9231Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
9232
9233 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
9234 _ctype_ under cygwin.
9235
9236Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
9237
9238 * include/stdlib.h: Fix typo from previous checkin.
9239
9240Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
9241
9242 * include/ctype.h: Use __declspec(dllimport) method for exporting
9243 variable from cygwin DLL.
9244 * include/time.h: Ditto.
9245 * sys/errno.h: Ditto.
9246 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
9247 * libc/locale/locale.c: Use __declspec(dllexport) method for
9248 exporting variable from cygwin DLL.
9249
9250Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
9251
9252 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
9253 access of bogus pointer will result in SIGSEGV.
9254
92551999-01-07 Nick Clifton <nickc@cygnus.com>
9256
9257 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
9258 of an underscore prefix to function names.
9259
9260Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
9261
9262 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
9263 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
9264
92651998-12-31 Michael Meissner <meissner@cygnus.com>
9266
9267 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
9268 to `%' if not already defined.
9269
92701998-12-30 Michael Meissner <meissner@cygnus.com>
9271
9272 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
9273 arguments const char *, not char *.
9274 * libc/include/stdio.h (_tempnam_r): Ditto.
9275
9276 * libc/include/sys/reent.h (struct _reent): The _sig_func type
9277 points to a function taking an integer, not void.
9278
9279Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
9280
9281 * configure.host: Add a define for Cygwin builds.
9282 * libc/include/ctype.h: Don't use dll imported variables in newlib.
9283
9284Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
9285
9286 * libc/include/ctype.h: Define _ctype_ as dll imported variable
9287 for use with Cygwin.
9288 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
9289 dll imported variables for use with Cygwin.
9290 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
9291 as a dll imported variable for Cygwin.
9292
9293Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
9294
9295 * libc/include/sys/unistd.h: Add proto for getpass.
9296
9297Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
9298
9299 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
9300 alphasort.
9301
9302Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
9303
9304 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
9305 not posix_path_list_p.
9306
93071998-12-15 Nick Clifton <nickc@cygnus.com>
9308
9309 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
9310 a signed int.
9311
93121998-12-13 Nick Clifton <nickc@cygnus.com>
9313
9314 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
9315
93161998-12-12 Nick Clifton <nickc@cygnus.com>
9317
9318 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
9319 <msalter@cygnus.com>
9320 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
9321 * libc/machine/fr30/Makefile.in: Regenerated.
9322
93231998-12-11 Nick Clifton <nickc@cygnus.com>
9324
9325 * configure.host: Remove use of libc/sys for FR30 port.
9326 * libc/sys/fr30: Remove directory (replaced by libgloss).
9327
93281998-12-10 Ken Raeburn <raeburn@cygnus.com>
9329
9330 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
9331 * libc/string/strncat.c (ALIGNED): Ditto.
9332
9333Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
9334
9335 * libc/include/sys/time.h: include sys/types.h
9336
9337Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
9338
9339 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
9340 comparison found when checking word at a time.
9341
93421998-12-04 Nick Clifton <nickc@cygnus.com>
9343
9344 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
9345
93461998-12-03 Nick Clifton <nickc@cygnus.com>
9347
9348 * libc/sys/fr30/syscalls.c (_times): New function stub.
9349
9350Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9351
9352 * configure.host (mach_add_setjmp): Replaced mach_add_objs
9353 with mach_add_setjmp flag which indicates if setjmp should
9354 be added to the machine directory objects.
9355 * acinclude.m4: Removed reference to mach_add_objs.
9356 * aclocal.m4: Regenerated.
9357 * Makefile.in: Regenerated.
9358 * configure: Regenerated.
9359 * libc/aclocal.m4: Regenerated.
9360 * libc/Makefile.in: Regenerated.
9361 * libc/configure: Regenerated.
9362 * libc/machine/aclocal.m4: Regenerated.
9363 * libc/machine/Makefile.in: Regenerated.
9364 * libc/machine/configure: Regenerated.
9365 * libc/machine/i386/aclocal.m4: Regenerated.
9366 * libc/machine/i386/Makefile.am: Altered to selectively add
9367 setjmp.S to the src files list.
9368 * libc/machine/i386/Makefile.in: Regenerated.
9369 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
9370 * libc/machine/i386/configure: Regenerated.
9371
93721998-12-02 Nick Clifton <nickc@cygnus.com>
9373
9374 * libc/sys/fr30/crt0.s (_start): Fix function names.
9375
9376 * libc/machine/fr30: New directory
9377 * libc/machine/fr30/Makefile.am: New file.
9378 * libc/machine/fr30/Makefile.in: New generated file.
9379 * libc/machine/fr30/configure.in: New file.
9380 * libc/machine/fr30/configure: New generated file.
9381 * libc/machine/fr30/aclocal.m4: New generated file.
9382 * libc/sys/fr30/Makefile.am: New file.
9383 * libc/sys/fr30/Makefile.in: New generated file.
9384 * libc/sys/fr30/configure.in: New file.
9385 * libc/sys/fr30/configure: New generated file.
9386 * libc/sys/fr30/syscalls.c: New file.
9387
9388Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
9389
9390 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
9391
93921998-12-01 Ken Raeburn <raeburn@cygnus.com>
9393
9394 * libc/time/strftime.c (strftime): Also handle %y for years before
9395 1900.
9396
9397Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
9398
9399 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
9400 UNIX convention. Perform tolower on characters before comparing
9401 them rather than use toupper.
9402 * libc/string/strncasecmp.c (strncasecmp): Ditto.
9403
9404Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9405
9406 * configure.host: Added using i386 machine directory
9407 for all x86 cross-compiler and configuring
9408 which added object files to use via new "mach_add_objs" variable.
9409 * configure: Regenerated.
9410 * libc/configure: Regenerated.
9411 * libc/Makefile.in: Regenerated.
9412 * libc/aclocal.m4: Regenerated.
9413 * libc/ctype/Makefile.in: Regenerated.
9414 * libc/errno/Makefile.in: Regenerated.
9415 * libc/locale/Makefile.in: Regenerated.
9416 * libc/machine/Makefile.in: Regenerated.
9417 * libc/machine/aclocal.m4: Regenerated.
9418 * libc/machine/configure: Regenerated.
9419 * libc/posix/Makefile.in: Regenerated.
9420 * libc/reent/Makefile.in: Regenerated.
9421 * libc/signal/Makefile.in: Regenerated.
9422 * libc/stdio/Makefile.in: Regenerated.
9423 * libc/stdlib/Makefile.in: Regenerated.
9424 * libc/string/Makefile.in: Regenerated.
9425 * libc/string/memmove.c: Optimized code to use memcpy
9426 logic when performing a non-destructive copy.
9427 * libc/string/strncmp.c: Altered code to allow building
9428 optimized for size or speed.
9429 * libc/syscalls/Makefile.in: Regenerated.
9430 * libc/time/Makefile.in: Regenerated.
9431 * libc/unix/Makefile.in: Regenerated.
9432 * libc/machine/i386/Makefile.am: Added new files and reference
9433 to "mach_add_objs" to indicate optional object files.
9434 * libc/machine/i386/Makefile.in: Regenerated.
9435 * libc/machine/i386/aclocal.m4: Regenerated.
9436 * libc/machine/i386/configure: Regenerated.
9437 * libc/machine/i386/memchr.S: New file that implements
9438 function in Intel assembler.
9439 * libc/machine/i386/memcmp.S: ditto.
9440 * libc/machine/i386/memcpy.S: ditto.
9441 * libc/machine/i386/memmove.S: ditto.
9442 * libc/machine/i386/memset.S: ditto.
9443 * libc/machine/i386/strchr.S: ditto.
9444 * libc/machine/i386/strlen.S: ditto.
9445 * libc/machine/i386/f_atan2.S: New file that implements
9446 fast version of math function to be used by compiler when
9447 --ffast_math compile option is used.
9448 * libc/machine/i386/f_atan2f.S: ditto.
9449 * libc/machine/i386/f_exp.c: ditto.
9450 * libc/machine/i386/f_expf.c: ditto.
9451 * libc/machine/i386/f_frexp.S: ditto.
9452 * libc/machine/i386/f_frexpf.S: ditto.
9453 * libc/machine/i386/f_ldexp.S: ditto.
9454 * libc/machine/i386/f_ldexpf.S: ditto.
9455 * libc/machine/i386/f_log.S: ditto.
9456 * libc/machine/i386/f_logf.S: ditto.
9457 * libc/machine/i386/f_log10.S: ditto.
9458 * libc/machine/i386/f_log10f.S: ditto.
9459 * libc/machine/i386/f_math.h: New file.
9460 * libc/machine/i386/f_pow.c: ditto.
9461 * libc/machine/i386/f_powf.S: ditto.
9462 * libc/machine/i386/f_tan.S: ditto.
9463 * libc/machine/i386/f_tan.S: ditto.
9464 * libc/machine/i386/i386mach.h: New file.
9465
9466Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
9467
9468 patch from Mumit Khan <khan@xraylith.wisc.edu>
9469 * libc/include/stdio.h (tempnam): Add prototype.
9470 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
9471 (tempnam): Adhere to prototype.
9472
9473Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
9474
9475 * Makefile.am: Add default for AR_FLAGS.
9476 * Makefile.in: Regenerate.
9477
9478Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
9479
9480 * libc/include/time.h: move __cplusplus wrapper after includes
9481 * libc/include/sys/time.h: ditto. If Cygwin, include
9482 sys/select.h.
9483 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
9484
94851998-11-23 Ken Raeburn <raeburn@cygnus.com>
9486
9487 * libc/time/strftime.c (strftime): Handle %y after year 2000.
9488
9489Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
9490
9491 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
9492 abnormnal end-of-crt0 marker.
9493
9494Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
9495
9496 * libc/sys/fr30/crt0.s: New file/directory.
9497 * libc/include/machine/setjmp.h: Add FR30 target.
9498 * libc/include/machine/ieeefp.h: Add FR30 target.
9499 * configure.host: Add FR30 target.
9500
9501Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9502
9503 * libm/math: Files that are duplicated in common directory removed.
9504 * libm/math/fdlibm.h: Removed.
9505 * libm/math/s_cbrt.c: Removed.
9506 * libm/math/s_copysign.c: Removed.
9507 * libm/math/s_expm1.c: Removed.
9508 * libm/math/s_finite.c: Removed.
9509 * libm/math/s_ilogb.c: Removed.
9510 * libm/math/s_infinity.c: Removed.
9511 * libm/math/s_lib_ver.c: Removed.
9512 * libm/math/s_log1p.c: Removed.
9513 * libm/math/s_logb.c: Removed.
9514 * libm/math/s_matherr.c: Removed.
9515 * libm/math/s_modf.c: Removed.
9516 * libm/math/s_nan.c: Removed.
9517 * libm/math/s_nextafter.c: Removed.
9518 * libm/math/s_rint.c: Removed.
9519 * libm/math/s_scalbn.c: Removed.
9520 * libm/math/sf_cbrt.c: Removed.
9521 * libm/math/sf_copysign.c: Removed.
9522 * libm/math/sf_expm1.c: Removed.
9523 * libm/math/sf_finite.c: Removed.
9524 * libm/math/sf_ilogb.c: Removed.
9525 * libm/math/sf_infinity.c: Removed.
9526 * libm/math/sf_log1p.c: Removed.
9527 * libm/math/sf_logb.c: Removed.
9528 * libm/math/sf_modf.c: Removed.
9529 * libm/math/sf_nan.c: Removed.
9530 * libm/math/sf_nextafter.c: Removed.
9531 * libm/math/sf_rint.c: Removed.
9532 * libm/math/sf_scalbn.c: Removed.
9533 * libm/math/Makefile.am: Removed references to deleted files (above).
9534 * libm/math/Makefile.in: Regenerated.
9535 * libm/Makefile.am: Added common directory to math.
9536 * libm/Makefile.in: Regenerated.
9537
9538Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9539
9540 * libm/mathfp: Add non-ANSI functions.
9541 * libm/mathfp/e_acosh.c acosh(): New file.
9542 * libm/mathfp/e_atanh.c atanh(): New file.
9543 * libm/mathfp/e_hypot.c hypot(): New file.
9544 * libm/mathfp/e_j0.c j0(): New file.
9545 * libm/mathfp/e_j1.c j1(): New file.
9546 * libm/mathfp/e_remainder.c remainder(): New file.
9547 * libm/mathfp/e_scalb.c scalb(): New file.
9548 * libm/mathfp/ef_acosh.c acoshf(): New file.
9549 * libm/mathfp/ef_atanh.c atanhf(): New file.
9550 * libm/mathfp/ef_hypot.c hypotf(): New file.
9551 * libm/mathfp/ef_j0.c j0f(): New file.
9552 * libm/mathfp/ef_j1.c j1f(): New file.
9553 * libm/mathfp/ef_remainder.c remainderf(): New file.
9554 * libm/mathfp/ef_scalb.c scalbf(): New file.
9555 * libm/mathfp/er_gamma.c gamma_r: New file.
9556 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
9557 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
9558 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
9559 * libm/mathfp/w_cabs.c cabs(): New file.
9560 * libm/mathfp/w_drem.c drem(): New file.
9561 * libm/mathfp/w_jn.c jn(): New file.
9562 * libm/mathfp/wf_cabs.c cabsf(): New file.
9563 * libm/mathfp/wf_drem.c dremf(): New file.
9564 * libm/mathfp/wf_jn.c jnf(): New file.
9565
9566Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
9567
9568 * libc/sys/cygwin32: remove directory and contents
9569 * libc/sys/cygwin: and add back, losing the "32".
9570 * configure.host: check for cygwin* instead of cygwin32.
9571 * acinclude.m4: ditto.
9572 * aclocal.m4: regenerate with aclocal
9573 * configure: regenerate with autoconf
9574
9575Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
9576
9577 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
9578 for length
9579
9580Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9581
9582 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
9583 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
9584 to make rand/srand, strtok, asctime, localtime, w_gamma,
9585 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
9586 time.h to bring in struct tm definition.
9587 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
9588 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
9589 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
9590 instead of static variable.
9591 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
9592 struct reent instead of static variable.
9593 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
9594 struct reent instead of static variable.
9595 * libm/math/Makefile.am: Removed s_signgam.o.
9596 * libm/math/Makefile.in: Regenerated.
9597 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
9598 struct reent instead of global variable 'signgam'.
9599 * libm/math/w_lgamma.c (lgamma): Likewise.
9600 * libm/math/wf_gamma.c (gammaf): Likewise.
9601 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9602 * libm/math/s_signgam.c: Removed.
9603 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
9604 to be const.
9605 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
9606 to be const.
9607 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
9608 libc/include/reent.h.
9609 * libc/reent/Makefile.in: Regenerated.
9610 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
9611 to be const.
9612 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
9613 'JIS_action_table' to be const.
9614 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
9615
9616Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
9617
9618 * acinclude.m4: $with_target_subdir should default to '.'
9619 or confusion results when configuring in same directory as sources.
9620 * Regenerate all aclocal.m4 and configure files.
9621
9622Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
9623
9624 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
9625 can be set by defining MALLOC_ALIGNMENT=16. Also added support
9626 for platforms where sizeof(size_t) < sizeof(long) via
9627 SIZE_T_SMALLER_THAN_LONG macro.
9628
9629Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
9630
9631 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
9632 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
9633 which sets _CLOCKS_PER_SEC_ for selected machines.
9634 * libc/include/machine/time.h: New file.
9635
9636Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9637
9638 * libc/syscalls/sysexecve.c: New file.
9639 * libc/syscalls/sysgettod.c: New file.
9640 * libc/syscalls/systimes.c: New file.
9641 * libc/syscalls/Makefile.am: Added new objects.
9642 * libc/syscalls/Makefile.in: Regenerated.
9643 * libc/include/_syslist.h (_execve): Moved define in file.
9644 * libc/include/reent.h: Added _execve_r declaration.
9645 * libc/Makefile.in: Regenerated.
9646 * libc/ctype/Makefile.in: Regenerated.
9647 * libc/errno/Makefile.in: Regenerated.
9648 * libc/locale/Makefile.in: Regenerated.
9649 * libc/machine/Makefile.in: Regenerated.
9650 * libc/misc/Makefile.in: Regenerated.
9651 * libc/posix/Makefile.in: Regenerated.
9652 * libc/reent/Makefile.in: Regenerated.
9653 * libc/reent/execr.c (_execve_r): Added _execve_r function.
9654 * libc/signal/Makefile.in: Regenerated.
9655 * libc/stdio/Makefile.in: Regenerated.
9656 * libc/time/Makefile.in: Regenerated.
9657 * libc/unix/Makefile.in: Regenerated.
9658 * libm/mathfp/Makefile.in: Regenerated.
9659
9660Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9661
9662 * libc/string/Makefile.in: Regenerated.
9663 * libc/string/memchr.c (memchr): Moved code to reduce object size.
9664 * libc/string/memcpy.c (memcpy): Ditto.
9665 * libc/string/memcmp.c (memcmp): Ditto.
9666 * libc/string/memset.c (memset): Ditto.
9667 * libc/string/strchr.c (strchr): Ditto.
9668 * libc/string/strcmp.c (strcmp): Ditto.
9669 * libc/string/strcpy.c (strcpy): Ditto.
9670 * libc/string/strlen.c (strlen): Ditto.
9671
9672Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9673
9674 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
9675 to generate aclocal.m4.
9676 * libm/Makefile.in: Regenerated.
9677 * libm/aclocal.m4: Regenerated.
9678 * libm/configure: Regenerated.
9679 * libm/math/Makefile.in: Regenerated.
9680 * libm/mathfp/Makefile.in: Regenerated.
9681
96821998-09-25 Mark Salter <msalter@cygnus.com>
9683
9684 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
9685 by adding leading and trailing underscores to symbol names.
9686
9687Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
9688
9689 * Makefile.in: Add default for AR_FLAGS.
9690
9691Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
9692
9693 patch from ian@airs.com (Ian Taylor):
9694 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
9695 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
9696 is needed for detecting the build machine. Required for
9697 cygwin native builds.
9698
9699 * Regenerate all aclocal.m4 and configure files.
9700
9701Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
9702
9703 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
9704 used to start with LC.
9705
9706Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9707
9708 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
9709 (longjmp): Likewise.
9710
9711Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9712
9713 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
9714 the test for small number of bytes.
9715
9716Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9717
9718 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
9719 math library that uses floating point algorithms instead of the old
9720 libm.
9721 * Makefile.in: Regenerate with automake version 1.3b.
9722 * configure: Rebuild.
9723 * libm/Makefile.in: Regenerate with automake version 1.3b.
9724 * libm/aclocal.m4: Regenerate.
9725 * libm/configure: Rebuild.
9726 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
9727 * libm/acinclude.m4: Define macros for configure.in.
9728 * libm/config.h.in: Generate.
9729 * libm/mathfp/Makefile.am: New file.
9730 * libm/mathfp/Makefile.in: Generate.
9731 * libm/mathfp/s_acos.c (acos): New file.
9732 * libm/mathfp/s_asin.c (asin): New file.
9733 * libm/mathfp/s_asine.c (asine): New file.
9734 * libm/mathfp/s_atan.c (atan): New file.
9735 * libm/mathfp/s_atan2.c (atan2): New file.
9736 * libm/mathfp/s_atangent.c (atangent): New file.
9737 * libm/mathfp/s_ceil.c (ceil): New file.
9738 * libm/mathfp/s_copysign.c (copysign): New file.
9739 * libm/mathfp/s_cos.c (cos): New file.
9740 * libm/mathfp/s_cosh.c (cosh): New file.
9741 * libm/mathfp/s_exp.c (exp): New file.
9742 * libm/mathfp/s_fabs.c (fabs): New file.
9743 * libm/mathfp/s_finite.c (finite): New file.
9744 * libm/mathfp/s_floor.c (floor): New file.
9745 * libm/mathfp/s_fmod.c (fmod): New file.
9746 * libm/mathfp/s_frexp.c (frexp): New file.
9747 * libm/mathfp/s_infconst.c: New file.
9748 * libm/mathfp/s_isinf (isinf).c: New file.
9749 * libm/mathfp/s_isnan.c (isnan): New file.
9750 * libm/mathfp/s_ispos.c (ispos): New file.
9751 * libm/mathfp/s_ldexp.c (ldexp): New file.
9752 * libm/mathfp/s_log.c (log): New file.
9753 * libm/mathfp/s_log10.c (log10): New file.
9754 * libm/mathfp/s_logarithm.c (logarithm): New file.
9755 * libm/mathfp/s_mathcnst.c: New file.
9756 * libm/mathfp/s_modf (modf).c: New file.
9757 * libm/mathfp/s_numtest.c (numtest): New file.
9758 * libm/mathfp/s_pow.c (pow): New file.
9759 * libm/mathfp/s_scalbn.c (scalbn): New file.
9760 * libm/mathfp/s_sin (sin).c: New file.
9761 * libm/mathfp/s_sine.c (sine): New file.
9762 * libm/mathfp/s_sineh.c (sineh): New file.
9763 * libm/mathfp/s_sinf.c (sinf): New file.
9764 * libm/mathfp/s_sinh.c (sinh): New file.
9765 * libm/mathfp/s_sqrt.c (sqrt): New file.
9766 * libm/mathfp/s_tan.c (tan): New file.
9767 * libm/mathfp/s_tanh.c (tanh): New file.
9768 * libm/mathfp/sf_acos.c (acosf): New file.
9769 * libm/mathfp/sf_asin.c (asinf): New file.
9770 * libm/mathfp/sf_asine.c (asinef): New file.
9771 * libm/mathfp/sf_atan.c (atanf): New file.
9772 * libm/mathfp/sf_atan2.c (atan2f): New file.
9773 * libm/mathfp/sf_atangent.c (atangent): New file.
9774 * libm/mathfp/sf_ceil.c (ceilf): New file.
9775 * libm/mathfp/sf_copysign.c (copysignf): New file.
9776 * libm/mathfp/sf_cos.c (cosf): New file.
9777 * libm/mathfp/sf_cosh.c (coshf): New file.
9778 * libm/mathfp/sf_exp.c (expf): New file.
9779 * libm/mathfp/sf_fabs.c (fabsf): New file.
9780 * libm/mathfp/sf_finite.c (finitef): New file.
9781 * libm/mathfp/sf_floor.c (floorf): New file.
9782 * libm/mathfp/sf_fmod.c (fmodf): New file.
9783 * libm/mathfp/sf_frexp.c (frexpf): New file.
9784 * libm/mathfp/sf_isinf.c (isinff): New file.
9785 * libm/mathfp/sf_isnan.c (isnanf): New file.
9786 * libm/mathfp/sf_ispos.c (isposf): New file.
9787 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
9788 * libm/mathfp/sf_log.c (logf): New file.
9789 * libm/mathfp/sf_log10.c (log10f): New file.
9790 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
9791 * libm/mathfp/sf_modf.c (modff): New file.
9792 * libm/mathfp/sf_numtest.c (numtestf): New file.
9793 * libm/mathfp/sf_pow.c (powf): New file.
9794 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
9795 * libm/mathfp/sf_sin.c (sinf): New file.
9796 * libm/mathfp/sf_sine.c (sinef): New file.
9797 * libm/mathfp/sf_sineh.c (sinehf): New file.
9798 * libm/mathfp/sf_sinh.c (sinhf): New file.
9799 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
9800 * libm/mathfp/sf_tan.c (tanf): New file.
9801 * libm/mathfp/sf_tanh.c (tanhf): New file.
9802 * libm/mathfp/zmath.h: New file.
9803
9804Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9805
9806 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
9807 exit if it has been overwritten by pre-fetching in delay slot.
9808
98091998-09-01 Michael Meissner <meissner@cygnus.com>
9810
9811 * Makefile.am (tooldir): Add in host_alias, so that multilib
9812 libraries are installed in the directory the compiler looks in.
9813 * Makefile.in: Regenerate.
9814
9815 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
9816
9817Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
9818
9819 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
9820 ahead of test for number of bytes being moved.
9821
9822Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
9823
9824 * libc/include/sys/unistd.h: Nothing special needed for
9825 _exit under cygwin.
9826
9827Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
9828
9829 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
9830 conform to user label naming conventions.
9831
9832Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
9833
9834 * libc/sys/cygwin32/sys/utime.h: variable names in
9835 protos should start with two leading underscores
9836 * libc/include/string.h: ditto
9837 * libc/include/sys/signal.h: ditto
9838 * libc/include/sys/stat.h: ditto
9839 * libc/include/sys/time.h: ditto
9840 * libc/include/sys/unistd.h: ditto
9841 * libc/include/ctype.h: ditto
9842 * libc/include/stdlib.h: ditto
9843 * libc/include/sys/reent.h: struct _atexit function ptr takes a
9844 void, same with _sig_func.
9845
9846Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
9847
9848 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
9849 for MB_CAPABLE to reduce code size when newlib is not configured
9850 with --enable-newlib-mb.
9851 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
9852 mbtowc_r.o to minimize size.
9853 * libc/stdlib/Makefile.in: Rebuild.
9854
9855Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
9856
9857 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
9858 to -DREENT.
9859 * libc/sys/sparc64/Makefile.in: Rebuild.
9860
9861Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
9862
9863 * Makefile.am (MAKEOVERRIDES): Define.
9864 * Makefile.in: Rebuild.
9865
9866Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
9867
9868 * libc/sys/sparc64/sys/stat.h (stat): Add const.
9869
9870Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
9871
9872 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
9873 newlib_cflags when looking for targ-include.
9874 * */aclocal.m4, */configure: Rebuild.
9875
9876Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
9877
9878 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
9879 to "_end".
9880
9881Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
9882
9883 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
9884 on SPARCs with little-endian data.
9885 * libc/include/machine/ieeefp.h: Ditto.
9886
9887Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
9888
9889 * acinclude.m4: Handle a relative srcdir correctly when setting
9890 newlib_cflags.
9891 * */aclocal.m4, */configure: Rebuild.
9892
9893Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
9894
9895 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
9896 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
9897 * libm/math/wrf_gamma.c (gammaf_r): ditto
9898 * libm/math/wr_lgamma.c (lgamma_r): ditto
9899 * libm/math/wr_gamma.c (gamma_r): ditto
9900 * libm/math/wf_sqrt.c (sqrtf): ditto
9901 * libm/math/wf_sinh.c (sinhf): ditto
9902 * libm/math/wf_scalb.c (scalbf): ditto
9903 * libm/math/wf_remainder.c (remainderf): ditto
9904 * libm/math/wf_pow.c (powf): ditto
9905 * libm/math/wf_log10.c (log10f): ditto
9906 * libm/math/wf_log.c (logf): ditto
9907 * libm/math/wf_lgamma.c (lgammaf): ditto
9908 * libm/math/wf_jn.c (jnf, ynf): ditto
9909 * libm/math/wf_j1.c (j1f, y1f): ditto
9910 * libm/math/wf_j0.c (j0f, y0f): ditto
9911 * libm/math/wf_hypot.c (hypotf): ditto
9912 * libm/math/wf_gamma.c (gammaf): ditto
9913 * libm/math/wf_fmod.c (fmodf): ditto
9914 * libm/math/wf_exp.c (expf): ditto
9915 * libm/math/wf_cosh.c (coshf): ditto
9916 * libm/math/wf_atanh.c (atanhf): ditto
9917 * libm/math/wf_atan2f.c (atan2f): ditto
9918 * libm/math/wf_asin.c (asinf): ditto
9919 * libm/math/wf_acosh.c (acoshf): ditto
9920 * libm/math/wf_acos.c (acosf): ditto
9921 * libm/math/w_sqrt.c (sqrt): ditto
9922 * libm/math/w_sinh.c (sinh): ditto
9923 * libm/math/w_scalb.c (scalb): ditto
9924 * libm/math/w_remainder.c (remainder): ditto
9925 * libm/math/w_pow.c (pow): ditto
9926 * libm/math/w_log10.c (log10): ditto
9927 * libm/math/w_log.c (log): ditto
9928 * libm/math/w_lgamma.c (lgamma): ditto
9929 * libm/math/w_jn.c (jn, yn): ditto
9930 * libm/math/w_j1.c (j1, y1): ditto
9931 * libm/math/w_j0.c (j0, y0): ditto
9932 * libm/math/w_hypot.c (hypot): ditto
9933 * libm/math/w_gamma.c (gamma): ditto
9934 * libm/math/w_fmod.c (fmod): ditto
9935 * libm/math/w_exp.c (exp): ditto
9936 * libm/math/w_cosh.c (cosh): ditto
9937 * libm/math/w_atanh.c (atanh): ditto
9938 * libm/math/w_atan2f.c (atan2): ditto
9939 * libm/math/w_asin.c (asin): ditto
9940 * libm/math/w_acosh.c (acosh): ditto
9941 * libm/math/w_acos.c (acos): ditto
9942
9943Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
9944
9945 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
9946 (fsrc): Add wf_cabs.c and wf_drem.c.
9947 * libm/math/Makefile.in: Rebuild.
9948
9949 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
9950 unused directory variables. Remove duplicate CFLAGS.
9951 * Makefile.in: Rebuild.
9952
9953 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
9954 with $(CC_FOR_BUILD).
9955 (makedoc.o): Likewise.
9956 * doc/Makefile.in: Rebuild.
9957
9958 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
9959 force a definition of COMPILE.
9960 (libfoo_a_SOURCES): Define.
9961 * libc/sys/cygwin32/Makefile.in: Rebuild.
9962 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
9963 force a definition of COMPILE.
9964 (libfoo_a_SOURCES): Define.
9965 * libc/sys/tic80/Makefile.in: Rebuild.
9966
9967Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
9968
9969 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
9970 flag.
9971
9972Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
9973
9974 * Build using autoconf and automake. Added many Makefile.am and
9975 configure.in files, plus generated files. Old configure.in files
9976 and all old Makefile.in files completely replaced. Removed
9977 host/any. Added acinclude.m4 and configure.host.
9978
9979Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
9980
9981 * libc/stdio/vfprintf.c: enable long long support, sometimes.
9982 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
9983
9984Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9985
9986 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
9987 * libc/machine/sh/Makefile.in: Add rules for new files.
9988
9989Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9990
9991 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
9992 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
9993 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
9994
9995Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
9996
9997 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
9998 code is ignored.
9999
10000Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
10001
10002 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
10003 internal static buffer when s is NULL, as prescribed by ANSI.
10004
100051998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
10006
10007 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
10008 removed.
10009 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
10010 libc/stdlib will be used for h8300hms.
10011
10012Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10013
10014 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
10015 version that can be built either for speed or size.
10016 * libc/machine/mn10300/memset.S (_memset): ditto
10017 * libc/machine/mn10300/memchr.S (_memchr): ditto
10018 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
10019 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
10020 * libc/machine/mn10300/strchr.S (_strchr): ditto
10021 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
10022 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
10023 * libc/machine/mn10300/Makefile.in: Added entries for
10024 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
10025 strcmp.o, strcpy.o, and strlen.o.
10026
10027Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
10028
10029 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
10030 been replaced with libgloss/mn10200.
10031
10032Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
10033
10034 * libc/string/strchr.c (strchr): Make s a constant pointer to
10035 avoid warning.
10036
10037Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
10038
10039 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
10040 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
10041 board SWIs instead of Demon board SWIs).
10042
10043Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
10044
10045 * libc/string/strncat.c (strncat): Make -Os act the same as
10046 PREFER_SIZE_OVER_SPEED being defined.
10047
10048Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
10049
10050 * libc/string/memchr.c (memchr): Make -Os act the same as
10051 PREFER_SIZE_OVER_SPEED being defined.
10052 * libc/string/memcmp.c (memcmp): Ditto.
10053 * libc/string/memcpy.c (memcpy): Ditto.
10054 * libc/string/memset.c (memset): Ditto.
10055 * libc/string/strcat.c (strcat): Ditto.
10056 * libc/string/strchr.c (strchr): Ditto.
10057 * libc/string/strcmp.c (strcmp): Ditto.
10058 * libc/string/strcpy.c (strcpy): Ditto.
10059 * libc/string/strlen.c (strlen): Ditto.
10060 * libc/string/strncat.c (strncat): Ditto.
10061 * libc/string/strncmp.c (strncmp): Ditto.
10062 * libc/string/strncpy.c (strncpy): Ditto.
10063
10064Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
10065
10066 * libc/include/sys/itimer.h: remove
10067 * libc/include/sys/time.h: itimer stuff should be here
10068
10069Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
10070
10071 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
10072 bit instead of comparing to 0 so -0.0 can be printed correctly.
10073
10074Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10075
10076 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
10077
10078Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
10079
10080 * libc/include/sys/unistd.h: fix sync() proto
10081 * libc/include/sys/fcntl.h: remove _close which is already
10082 defined in unistd.h.
10083 * libc/include/sys/time.h: add getitimer proto
10084
10085Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
10086
10087 * libc/string/strchr.c: convert arg to unsigned char
10088 * libc/include/stdlib.h: add protos for random, srandom
10089 * libc/include/sys/stat.h: add lstat proto
10090 * libc/include/sys/time.h: add setitimer proto
10091 * libc/include/sys/unistd.h: add readlink, symlink protos
10092 * libc/include/process.h: instead of including windows.h and using
10093 HANDLEs in sexec protos, just use void *s. Need to include
10094 sys/types.h.
10095
10096Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
10097
10098 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
10099
10100Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
10101
10102 * libc/include/process.h: add secure exec protos
10103
10104Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
10105
10106 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
10107 which are accessed as both doubles and integers.
10108 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
10109 * libc/stdlib/strtod.c (_strtod_r): Likewise.
10110 * libc/stdlib/mprec.h: Add "union double_union" and change
10111 word0/word1 macros to use it.
10112
10113Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
10114
10115 * libc/include/sys/signal.h: add __cplusplus wrapper
10116
10117Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
10118
10119 * libc/include/sys/utime.h: new generic file that gets replaced by
10120 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
10121 function.
10122 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
10123 * libc/include/time.h: remove duplicate utime proto
10124 * libc/include/utime.h: add comment
10125
10126Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
10127
10128 * libc/include/sys/time.h: Add missing include to
10129 allow use of _EXFUN. Remove times function that is
10130 already defined in times.h.
10131
10132Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
10133
10134 * libc/include/time.h: Fix typo in tzset.
10135
10136Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
10137
10138 * libc/include/sys/time.h: add missing Cygwin32 function protos
10139 * libc/include/sys/unistd.h: ditto
10140 * libc/include/time.h: ditto
10141
10142Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
10143
10144 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
10145 FIXME.
10146 * libc/include/sys/types.h: add a new __MS_types__ section
10147 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
10148 __BIT_TYPES_DEFINED__.
10149
10150Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
10151
10152 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
10153 since it overrides the one in libc/include/sys. Also, start
10154 including types.h.
10155
10156Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
10157
10158 * libm/math/Makefile.in: add s_signgam.o to obj list
10159
10160Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
10161
10162 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
10163
10164Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
10165
10166 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
10167 so don't use defines.
10168
10169Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
10170
10171 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
10172
10173Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
10174
10175 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
10176 _current_locale as default locale.
10177
10178Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
10179
10180 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
10181 insufficient space in a chunk.
10182
10183Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
10184
10185 * configure.in (links): Added check for --enable-newlib-mb configure
10186 option which defines the MB_CAPABLE macro.
10187 * libc/locale/locale.c (_setlocale_r): Added support for setting
10188 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
10189 defined.
10190 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
10191 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
10192 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
10193 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
10194 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
10195 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
10196 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
10197 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
10198 * libc/stdlib/Makefile.in: Added new multibyte
10199 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
10200 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
10201 _mbstowcs_r(), and _wcstombs_r().
10202 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
10203 for JIS, SJIS, and EUC-JP characters.
10204 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
10205 MB_CAPABLE defined.
10206 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
10207 MB_CAPABLE defined.
10208 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
10209 MB_CAPABLE defined.
10210 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
10211 if MB_CAPABLE defined.
10212 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
10213 if MB_CAPABLE defined.
10214 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
10215 to the format string processing when MB_CAPABLE.
10216 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
10217 call _mbtowc_r().
10218
10219Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
10220
10221 The following modifications are courtesy of Anthony Thompson,
10222 athompson@cambridge.arm.com:
10223 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
10224 boith RDI and RDP monitors.
10225 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
10226 RDI and RDP monitors.
10227
10228Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
10229
10230 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
10231 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
10232 (_swiopen): Fixed open flags to treat write with append as just append.
10233 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
10234 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
10235
10236Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10237
10238 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
10239 When needing to transfer an initial 2-byte-word, store as
10240 two single bytes.
10241
10242Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10243
10244 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
10245 __SH3E__ .
10246 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
10247 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
10248
10249Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
10250
10251 * configure.in (target_cflags): If --enable-target-optspace, use
10252 -Os to compile newlib rather than -O2. Default to using -Os for
10253 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
10254 used.
10255
10256Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
10257
10258 * libc/include/machine/setjmp.h: change sigsetjmp and
10259 siglongjmp definitions to use an array instead of a struct
10260 for __CYGWIN32__
10261
10262Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
10263
10264 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
10265
10266Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
10267
10268 * libc/string/strxfrm.c: fix to get correct return value
10269
10270Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
10271
10272 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
10273 builds. Make mode change labels global so that they will be seen
10274 by the debugger.
10275
10276Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
10277
10278 * configure.in (links): Do not use ARM debiugging protocols for PE
10279 builds.
10280
10281 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
10282 message.
10283
10284Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10285
10286 * libc/stdio/findfp.c (__sinit): Made stdout default to
10287 line buffered mode as defined by ANSI.
10288
10289Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
10290
10291 * libc/include/sys/itimer.h: New file.
10292
10293 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
10294
10295Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10296
10297 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
10298 failure.
10299
10300Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
10301
10302 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
10303 insns.
10304
10305Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
10306
10307 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
10308
10309Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
10310
10311 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
10312 support.
10313
10314 * libc/include/machine/setjmp.h: Add D30V support.
10315
10316 * configure.in (d30v-*): Add d30v machine directory.
10317
10318Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
10319
10320 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
10321 been replaced with libgloss/mn10300.
10322
10323Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
10324
10325 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
10326 it is no longer needed.
10327
10328Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10329
10330 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
10331
10332Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
10333
10334 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
10335 the file when O_APPEND is set, wherever the EOF happens to be at
10336 that time.
10337
10338Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
10339
10340 patch from cgf@bbc.com (Christopher Faylor):
10341 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
10342 convention of closing fp prior to attempting to open the file
10343 argument. This allows correct operation when reopening
10344 stdin/stdout/stderr. Replaces last freopen.c patch.
10345
10346Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
10347
10348 patch from cgf@bbc.com (Christopher Faylor):
10349 * libc/stdio/freopen.c: freopen was not preserving the fd
10350 of the stream being operated on. This confuses programs that
10351 expect that the handles for stdout and stderr will be 1 and 2.
10352
10353Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
10354
10355 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
10356
10357Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
10358
10359 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
10360
10361Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
10362
10363 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
10364 altered to not use a branch. Also added hint that last
10365 bclr in longjmp will likely result in branch.
10366
10367
10368Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
10369
10370 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
10371
10372Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
10373
10374 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
10375 v850 builds.
10376
10377 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
10378
10379Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
10380
10381 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
10382 that loads FR14 to specify offset of 8 rather than 4
10383 so it loads from offset 96 (where setjmp stored it).
10384
10385Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10386
10387 * libc/machine/sh/memcpy.S: (_memcpy): Update to
10388 latest version supplied by customer.
10389 * libc/machine/sh/memset.S (_memset): Ditto.
10390
10391Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
10392
10393 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
10394 PR14730).
10395
10396Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
10397
10398 * libc/include/string.h: remove redefinition of ffs
10399
10400Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
10401
10402 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
10403 defined
10404
10405Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10406
10407 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
10408 TI Libraries to link to libc.a
10409
10410Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
10411
10412 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
10413 * libc/include/sys/stat.h (_{,f}stat): Ditto.
10414 * libc/include/sys/wait.h (_wait): Ditto.
10415 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
10416 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
10417
10418Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
10419
10420 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
10421 minded stabs so function name shows up when running the simulator
10422 with -t.
10423 * libc/sys/d10v/{crt0,trap}.S: Ditto.
10424
10425Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
10426
10427 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
10428 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
10429 Use R5 where we used to use R3.
10430
10431Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
10432
10433 * libc/stdlib/getopt.c (getopt): replaced __progname
10434 with nargv[0] to improve portability to imbedded systems.
10435
10436Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
10437
10438 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
10439 patch supplied by Tont.Thompson@arm.com to fix the creation of the
10440 stdout file.
10441
10442Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
10443
10444 * libc/stdio/tmpnam.c (worker): Generate a different file name
10445 each time.
10446
10447 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
10448 fails, try an execlp for sh.
10449
10450 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
10451 option for the winsup include directory.
10452
10453Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
10454
10455 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
10456 debugging interface from Tony.Thompson@arm.com.
10457
10458 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
10459 * libc/sys/arm/swi.h: ditto.
10460
10461Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10462
10463 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
10464 DIR struct used for readdir hashes.
10465
10466Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
10467
10468 * libc/string/strchr.c: Use "unsigned chars" as necessary.
10469
10470Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
10471
10472 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
10473 integer targets.
10474
10475Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
10476
10477 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
10478 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
10479 * libc/include/malloc.h: Add extern "C" if __cplusplus.
10480 (__malloc_copy): Declare.
10481
10482Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
10483
10484 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
10485 <sys/config.h>.
10486 (POINTER_UINT): Define.
10487 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
10488 (MALLOC_ALIGNMENT): Don't define if already defined.
10489 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
10490 long.
10491
10492Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10493
10494 * libc/string/memset.c (memset): Fiddle with code so that the long
10495 value being stored is not a stack value. Unroll storing longs 4
10496 times.
10497
10498Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
10499
10500 * Reduce code size for libm modules.
10501 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
10502 and simply move code into sqrt.
10503 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
10504 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
10505 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
10506 * libm/math/wr_gamma.c (gamma_r): Likewise.
10507 * libm/math/wf_sinh.c (sinfh): Likewise.
10508 * libm/math/w_sinh.c (sinh): Likewise.
10509 * libm/math/wf_scalb.c (scalbf): Likewise.
10510 * libm/math/w_scalb.c (scalb): Likewise.
10511 * libm/math/wf_remainder.c (remainderf): Likewise.
10512 * libm/math/w_remainder.c (remainder): Likewise.
10513 * libm/math/wf_pow.c (powf): Likewise.
10514 * libm/math/w_pow.c (pow): Likewise.
10515 * libm/math/wf_log10.c (log10f): Likewise.
10516 * libm/math/w_log10.c (log10): Likewise.
10517 * libm/math/wf_log.c (logf): Likewise.
10518 * libm/math/w_log.c (log): Likewise.
10519 * libm/math/w_lgamma.c (lgamma): Likewise.
10520 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10521 * libm/math/wf_jn.c (jnf): Likewise.
10522 * libm/math/w_jn.c (jn): Likewise.
10523 * libm/math/wf_j1.c (j1f): Likewise.
10524 * libm/math/w_j1.c (j1): Likewise.
10525 * libm/math/wf_j0.c (j0f): Likewise.
10526 * libm/math/w_j0.c (j0): Likewise.
10527 * libm/math/wf_hypot.c (hypotf): Likewise.
10528 * libm/math/w_hypot.c (hypot): Likewise.
10529 * libm/math/wf_gamma.c (gammaf): Likewise.
10530 * libm/math/w_gamma.c (gamma): Likewise.
10531 * libm/math/wf_fmod.c (fmodf): Likewise.
10532 * libm/math/w_fmod.c (fmod): Likewise.
10533 * libm/math/wf_exp.c (expf): Likewise.
10534 * libm/math/w_exp.c (exp): Likewise.
10535 * libm/math/wf_cosh.c (coshf): Likewise.
10536 * libm/math/w_cosh.c (cosh): Likewise.
10537 * libm/math/wf_atanh.c (atanhf): Likewise.
10538 * libm/math/w_atanh.c (atanh): Likewise.
10539 * libm/math/wf_atan2.c (atan2f): Likewise.
10540 * libm/math/w_atan2.c (atan2): Likewise.
10541 * libm/math/wf_asin.c (asinf): Likewise.
10542 * libm/math/w_asin.c (asin): Likewise.
10543 * libm/math/wf_acosh.c (acoshf): Likewise.
10544 * libm/math/w_acosh.c (acosh): Likewise.
10545 * libm/math/wf_acos.c (asocf): Likewise.
10546 * libm/math/w_acos.c (acos): Likewise.
10547 * libm/math/wf_sqrt.c (sqrtf): Likewise.
10548 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
10549 for embedded systems.
10550
10551Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
10552
10553 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
10554 Lea in case of a foreign sbrk.
10555
10556Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
10557
10558 Incorporate Doug Lea's malloc:
10559 * libc/stdlib/mallocr.c: Completely replaced.
10560 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
10561 (realloc): Remove.
10562 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
10563 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
10564 mallopt.
10565 (mallinfo, malloc_stats, mallopt): New functions.
10566 (_mstats_r): Just call _malloc_stats_r.
10567 * libc/stdlib/malign.c: New file.
10568 * libc/stdlib/mlock.c: New file.
10569 * libc/stdlib/msize.c: New file.
10570 * libc/stdlib/mtrim.c: New file.
10571 * libc/stdlib/realloc.c: New file.
10572 * libc/stdlib/valloc.c: New file.
10573 * libc/stdlib/malloc.h: Remove.
10574 * libc/stdlib/callocr.c: Remove.
10575 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
10576 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
10577 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
10578 reallocr.o, valloc.o, vallocr.o.
10579 (CHEWOUT_FILES): Add mlock.def, mstats.def.
10580 (MALLOC_CFLAGS): New variable.
10581 (mallocr.o): New target, build from mallocr.c.
10582 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
10583 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
10584 (msizer.o, malloptr.o): Likewise.
10585 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
10586 (valloc.o): New target.
10587 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
10588 * libc/include/malloc.h: Declare struct mallinfo, and new
10589 routines.
10590 * libc/include/stdlib.h (cfree): Correct declaration.
10591
10592Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
10593
10594 * libc/include/machine/setjmp.h: Add support for Thumb target.
10595
10596 * libc/include/machine/ieeefp.h: Add support for Thumb target.
10597
10598 * configure.in (links): Add support for Thumb target.
10599
10600Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
10601
10602 * libc/sys/arm/setjmp.S: Updated with version from branch.
10603
10604Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
10605
10606 * libc/include/stdio.h: add POSIX-required define L_ctermid
10607 for ctermid
10608
10609Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
10610
10611 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
10612 addition to MISSING_SYSCALL_NAMES.
10613
10614Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10615
10616 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
10617
10618Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
10619
10620 * libc/include/string.h: change strsignal proto to return
10621 a char *. This eliminates compile problems in gdb resulting
10622 from gdb's definition of strsignal in defs.h.
10623
10624Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
10625
10626 * libc/sys/cygwin32/sys/utime.h: new (moved here from
10627 winsup/include) so as not to conflict with the one in
10628 libc/include.
10629 * libc/include/string.h: add protos for strsignal, strtosigno
10630
10631Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
10632
10633 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
10634
10635 * configure.in (d30v-*-*): Add configuration.
10636
10637Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
10638
10639 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
10640 to select which kind of debug monitor is in use for an ARM target.
10641
10642 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
10643 Angel and Demon debug monitors. Part of this code was supplied by
10644 Tony Thompson at ARM: athompso@arm.com.
10645
10646Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
10647
10648 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
10649 semantics when the count is greater than the length of the second
10650 source string.
10651
10652Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
10653
10654 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
10655 * libc/include/sys/unistd.h: add protos for usleep, truncate,
10656 truncate and ftruncate take off_t, not size_t
10657
10658Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
10659
10660 * libc/string/strcat.c (strcat): Add missing comment end.
10661 * libc/string/strncat.c (strncat): Likewise.
10662
10663Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
10664
10665 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
10666 targets.
10667 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
10668 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
10669 defined.
10670 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10671 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10672 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10673
10674Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
10675
10676 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
10677 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
10678
10679Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
10680
10681 * libc/machine/i386/setjmp.S: New file.
10682 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
10683 (OFILES): Add setjmp.o.
10684 (setjmp.o): Add rule for.
10685 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
10686
10687Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
10688 Jeffrey A Law (law@cygnus.com)
10689
10690 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
10691 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10692 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10693 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10694
10695Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
10696
10697 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
10698 rules.
10699
10700 * libc/include/sys/config.h: Use __v850 to select v850
10701 endianness.
10702
10703 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
10704 buffer size.
10705
10706 * libc/include/machine/ieeefp.h: Use __v850 to select v850
10707 endianness.
10708
10709Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
10710
10711 * libc/stdlib/setenv.c: change unsetenv definition to match
10712 style of setenv (with _DEFUN). The string should be a const.
10713 * libc/include/stdlib.h: unsetenv proto should return void.
10714
10715Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
10716
10717 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
10718
10719Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
10720
10721 * libc/stdio/glue.h: remove.
10722 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
10723 * libc/stdio/Makefile.in: remove glue.h dependencies
10724
10725Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
10726
10727 * libc/sys/sysnecv850/crt0.S: Created V850e version.
10728
10729Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
10730
10731 * configure.in (target_cpu): Add `arc'.
10732
10733Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
10734
10735 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
10736 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
10737 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
10738 * newlib/libc/reent/reent.c: Add _wrapup_reent.
10739 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
10740
10741Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
10742
10743 * libc/machine/mips/setjmp.S: Handle mips16 builds.
10744
10745Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
10746
10747 * libc/include/stdio.h (siprintf): Declare.
10748
10749Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
10750
10751 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
10752 TARGET_CFLAGS and NEWLIB_FLAGS.
10753
10754Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10755
10756 * configure.in (links): Add support for v850ea target.
10757
10758Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10759
10760 * configure.in (links): Add support for v850e target.
10761
10762Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
10763
10764 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
10765
10766Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
10767
10768 * configure.in (arc-*-*): Add support for.
10769 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
10770
10771Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10772
10773 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
10774
10775Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
10776
10777 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
10778 comparison which accesses invalid memory when the key is
10779 larger than the last member of the array.
10780 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
10781 for CYGWIN32
10782 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
10783
10784Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
10785
10786 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
10787 not _STRICT_ANSI.
10788
10789Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
10790
10791 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
10792 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
10793
10794Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
10795
10796 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
10797 to load/store memory.
10798
10799Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
10800
10801 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
10802 underscores if _WIN32.
10803
10804Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
10805
10806 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
10807 support ifdef _USE_WRITE missed in last change.
10808 From Anders Blomdell <anders.blomdell@control.lth.se>.
10809
10810Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
10811
10812 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
10813 (_tmpnam_r, _tempnam_r): Update.
10814
10815Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
10816
10817 * libc/machine/sparc/setjmp.S: New file.
10818 * libc/machine/sparc/Makefile.in: Add setjmp.
10819 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
10820
10821Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
10822
10823 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
10824
10825Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
10826
10827 From Joel Sherrill <joel@oarcorp.com>.
10828 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
10829
10830 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
10831 * configure.in: Recognize *-*-rtems*.
10832 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
10833 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
10834 time.h,times.h,types.h}: New files.
10835 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
10836
10837Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
10838
10839 patch from sos@prospect.com.ru (Sergey Okhapkin):
10840 * include/sys/wait.h: correct operator precidence bug
10841 in WIFSIGNALED
10842
10843Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
10844
10845 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
10846 with newlib's unsetenv function
10847 * libc/sys/cygwin32/sys: new directory for includes
10848 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
10849 here from winsup/include/sys
10850
10851Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
10852
10853 * libc/include/sys/unistd.h: _exit should only be
10854 labelled noreturn when not __CYGWIN32__
10855 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
10856 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
10857 increment NSIG
10858
10859Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
10860
10861 * libc/include/sys/time.h: Only define timeval and timezone if
10862 _GNU_H_WINDOWS32_SOCKETS is not defined.
10863 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
10864
10865Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
10866
10867 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
10868 * libc/machine/mn10300/setjmp.S: Likewise.
10869
10870 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
10871 the mn10300 (more relaxing opportunities).
10872
10873Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
10874
10875 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
10876 Build libraries with -mstrict-align.
10877
10878Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
10879
10880 * libc/string/strlwr.c: New file.
10881 * libc/string/strupr.c: New file.
10882 * libc/include/string.h: Declare strlwr and strupr.
10883 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
10884 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
10885 (strlwr.o, strupr.o): New targets.
10886 * libc/string/strings.tex: Include strlwr and strupr docs.
10887
10888 * libc/include/sys/types.h: Don't define u_char, et. al., if
10889 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
10890 et. al. Make FD_SETSIZE default 64 rather than 60. Define
10891 _types_fd_set rather than fd_set, and define fd_set as a macro.
10892
10893 * libc/include/malloc.h: New file.
10894
10895 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
10896 strnicmp if they are not already defined.
10897
10898 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
10899 _timezone, _daylight, and _tzname.
10900
10901Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
10902
10903 * configure.in: Sort all configuration tables.
10904
10905 From Joel Sherrill <joel@oarcorp.com>
10906 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
10907
10908Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
10909
10910 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
10911 use int when declaring kill.
10912
10913 * libc/include/sys/timeb.h: New file.
10914
10915Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
10916
10917 * libc/include/sys/time.h: add itimer support for Cygwin32
10918
10919Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
10920
10921 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
10922 out a message that abort was called to stderr.
10923
10924Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
10925
10926 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
10927 so that libio doesn't freak.
10928
10929 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
10930 int.
10931
10932 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
10933 memory sizes, not int.
10934
10935Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
10936
10937 * libm/math/ef_hypot.c: Use long constants where
10938 appropriate.
10939 * libm/math/ef_sqrt.c: Ditto.
10940
10941 * libc/sys/sysmec/times.c(_times): Change to times.
10942
10943 * libc/sys/sysmec/read.c(_read): The third argument is
10944 size_t.
10945 * libc/sys/sysmec/write.c (_write): Ditto.
10946
10947 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
10948 (_lseek): It's off_t for the second argument.
10949
10950Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
10951
10952 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
10953 as well as machine/ieeefp.h.
10954
10955Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
10956
10957 * libc/include/sys/signal.h: add signal protos for winsup
10958 functions (when __CYGWIN32__), include types.h
10959 * libc/include/sys/types.h: Change __go32_types__ internal
10960 define to __MS_types__ since it's used for more than just
10961 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
10962 defined.
10963 * libc/include/sys/unistd.h: add ftruncate proto for
10964 winsup functions (when __CYGWIN32__)
10965
10966Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
10967
10968 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
10969
10970Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
10971
10972 * libc/include/machine/setjmp.h: Add tic80 support.
10973 * libc/machine/tic80/setjmp.S: Likewise.
10974
10975Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
10976
10977 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
10978 link programs from libraries only (such as in the X11
10979 distribution)
10980
10981Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
10982
10983 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
10984 supplied elsewhere in newlib.
10985
10986Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
10987
10988 * Makefile.in (INSTALL): Change install.sh to install-sh.
10989
10990Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
10991
10992 * README: update WWW address for on-line documentation.
10993
10994Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
10995
10996 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
10997 increment NSIG
10998
10999Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
11000
11001 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
11002 mn10300.
11003 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
11004
11005Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
11006
11007 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
11008 * libc/sys/d10v/syscalls.c: Likewise.
11009 * libc/sys/h8300hms/sbrk.c: Likewise.
11010 * libc/sys/h8500hms/syscalls.c: Likewise.
11011 * libc/sys/m88kbug/syscalls.c: Likewise.
11012 * libc/sys/sh/syscalls.c: Likewise.
11013 * libc/sys/sysmec/sbrk.c: Likewise.
11014 * libc/sys/sysnecv850/sbrk.c: Likewise.
11015 * libc/sys/w65/syscalls.c: Likewise.
11016 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
11017
11018Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
11019
11020 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
11021 emulated syscall instead of "trap".
11022
11023Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
11024
11025 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
11026 not trap 0.
11027
11028Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
11029
11030 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
11031
11032Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
11033
11034 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
11035 not "sh".
11036 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
11037 not "d10v".
11038 * libc/sys/tic80/crt0.c: New file for TIc80.
11039 * libc/sys/tic80/Makefile.in: New file for TIc80.
11040 * libc/machine/tic80/Makefile.in: New file for TIc80.
11041
11042Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
11043
11044 * libc/machine/sh/memcpy.S: New file.
11045 * libc/machine/sh/memset.S: New file.
11046 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
11047
11048Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
11049
11050 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
11051 for TIc80.
11052
11053Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
11054
11055 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
11056 the mn10200.
11057
11058Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
11059
11060 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
11061 (patch from andrew@pogo.WV.TEK.COM).
11062
11063Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
11064
11065 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
11066 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
11067
11068Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
11069
11070 * configure.in: Add cases for "tic80" to set machine_dir,
11071 sys_dir, and syscall_dir.
11072
11073Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
11074
11075 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
11076
11077Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
11078
11079 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
11080
11081Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
11082
11083 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
11084 Use proper constant prefix.
11085
11086Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
11087
11088 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
11089 that loses on the mn10200 where ints and pointers are different
11090 sizes.
11091
11092Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
11093
11094 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
11095 target as signal is provided in winsup.
11096
11097Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
11098
11099 * libc/include/sys/process.h: Corrected const definitions
11100 in spawn functions. Added cwait.
11101
11102Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
11103
11104 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
11105 doubles.
11106 * libc/include/sys/config.h: Similarly.
11107
11108Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11109
11110 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
11111 target_cflags.
11112 (i[3456]86-*-sco*): Ditto.
11113
11114 * libc/signal/Makefile.in (OFILES): Add signal.o.
11115 (CFILES): Add signal.c.
11116
11117 * libc/signal/raise.c (_raise_r): Only compile code if
11118 SIGNAL_PROVIDED is defined.
11119
11120 * libc/signal/signal.c: Redo whole file so that it works with
11121 current newlib. Use _kill_r if no signal handler provided.
11122
11123 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
11124 signal stubs.
11125 * libc/sys/sysvnecv70/Makefile.in: Ditto.
11126 * libc/sys/sysnecv850/Makefile.in: Ditto.
11127
11128 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
11129 * libc/sys/sysmec/{raise,signal}.c: Ditto.
11130 * libc/sys/sysvnecv70/signal.s: Ditto.
11131 * libc/sys/sysnecv850/raise.c: Ditto.
11132
11133 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
11134 simulator and debugger can tell the difference between a signal
11135 being raised and an exit system call.
11136
11137 * NEWS: Document software signals being provided.
11138
11139Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11140
11141 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
11142 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
11143 include/sys/config.h.
11144 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
11145 Change from 'inpure_data'.
11146 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
11147 &impure_data, not &inpure_data.
11148
11149 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
11150 and and System V ABI, define so that _impure_ptr lives in the
11151 .sdata section.
11152
11153Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11154
11155 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
11156 nothing if not defined.
11157 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
11158 its attributes.
11159
11160 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
11161
11162Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
11163
11164 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
11165 * libc/sys/sysmec/trap.s: Handle mn10200 too.
11166 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
11167
11168Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
11169
11170 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
11171
11172Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
11173
11174 * libc/include/sys/errno.h: Added net errno's.
11175
11176Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11177
11178 * libc/misc/ffs.c: New file to support ffs function for GCC test
11179 gcc.c-torture/execute/960909-1.c.
11180
11181 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
11182
11183Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
11184
11185 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
11186 * libc/sys/sysmec/trap.S: Likewise.
11187
11188Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
11189
11190 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
11191 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
11192
11193Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
11194
11195 * libc/sys/sysmec/signal.c: Dummy file.
11196 * libc/sys/sysmec/Makefile.in: Build it.
11197
11198Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
11199
11200 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
11201 mips16.
11202
11203Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
11204
11205 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
11206 c-startup and simulator traps.
11207
11208
11209 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
11210 * libc/sys/sysmec/trap0.S: Likewise.
11211
11212Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11213
11214 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
11215 round to double word alignment.
11216 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
11217 byte alignment.
11218
11219 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
11220
11221 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
11222 out of memory.
11223
11224Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
11225
11226 * configure.in: Handle mn10200 and mn10300.
11227 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
11228 * libc/include/sys/config.h: Likewise.
11229 * libc/sys/sysmec: New directory for mec stuff.
11230 * libc/machine/mn10300: New directory for mn10300 stuff.
11231 * libc/machine/mn10200: Similarly for mn10200 stuff.
11232
11233Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
11234
11235 * libc/sys/arm/crt0.S: Use .text, not .section .text.
11236 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
11237
11238 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
11239 (nlink_t): Change type from unsigned int to unsigned short.
11240 (mode_t): Ensure size is 32 bits even if int is 16.
11241 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
11242 (st_spare[123]): Change type from int to long.
11243
11244Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11245
11246 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
11247 byte boundary.
11248
11249 * configure.in (d10v*): Define SMALL_MEMORY.
11250
11251Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11252
11253 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
11254 -mrelocatable-lib and -mno-eabi flags.
11255
11256Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
11257
11258 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
11259 Fix handling of mis-aligned source operand when both the
11260 destination & length are properly aligned.
11261
11262Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
11263
11264 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
11265 times.o, time.o and gettime.o
11266 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
11267 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
11268 SYS_gettimeofday.
11269
11270Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
11271
11272 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
11273 * libc/sys/sysnecv850/access.c: New file.
11274
11275Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
11276
11277 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
11278
11279 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
11280 long.
11281
11282Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
11283
11284 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
11285
11286Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
11287
11288 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
11289 * libc/include/sys/config.h: Add m32r support.
11290
11291Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
11292
11293 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
11294 here.
11295
11296Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
11297
11298 * libc/include/machine/setjmp.h: Add D10v support.
11299
11300Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
11301
11302 * configure.in: Configure the "libc/syscalls" directory for
11303 the v850.
11304
11305 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
11306 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
11307 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
11308 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
11309 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
11310
11311Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
11312
11313 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
11314 stack for args for main and other routines. Zero out args for
11315 main.
11316
11317 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
11318 correctly.
11319
11320Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11321
11322 * libc/stdio/findfp.c (std): Remove extraneous ';' after
11323 function.
11324
11325 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
11326
11327 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
11328 real system calls now.
11329
11330 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
11331 before casting them to int.
11332 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
11333
11334 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
11335 aligning pointer.
11336 * libc/string/memset.c (memset): Ditto.
11337
11338 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
11339 first convert ints to _POINTER_INT to eliminate GCC warning.
11340
11341 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
11342 processing %p.
11343
11344 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
11345 from 65000 if ints are only 16 bits.
11346
11347 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
11348 from 50000 if ints are only 16 bits.
11349
11350 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
11351 int type that is the same size as a pointer.
11352
11353 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
11354 processing %p.
11355 (get_number): Explicitly cast number to long before shifting by 16
11356 or 24, in case ints are short.
11357
11358 * libc/include/sys/config.h (_POINTER_INT): Define as short.
11359
11360Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
11361
11362 * libc/string.h: Added ffs, removed swab.
11363 * libc/sys/errno.h: Added EOPNOTSUPP.
11364 * libc/sys/unistd.h: Added swab.
11365
11366Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
11367
11368 * libc/include/sys/stat.h: Added fchmod.
11369 * libc/include/sys/unistd.h: Added fsync.
11370
11371Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
11372
11373 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
11374 and ECONNRESET (104) for cygwin32.
11375
11376Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
11377
11378 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
11379 do the static destructors.
11380
11381Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
11382
11383 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
11384
11385Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
11386
11387 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
11388 * configure.in: Recognize m32r-*-*.
11389
11390Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
11391
11392 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
11393 __rt_stkovf_split_small): Added default software stack overflow
11394 handlers, which just call SWI_Exit.
11395 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
11396 limit initialisation.
11397
11398Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
11399
11400 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
11401
11402Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
11403
11404 * libc/include/sys/types.h: Added ssize_t definition.
11405
11406Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11407
11408 * libc/machine/d10v/setjmp.S: Use ';' for comments.
11409 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
11410
11411 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
11412 branch around a single ldi instruction.
11413
11414 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
11415 Call exit, instead of just issuing a stop instruction.
11416
11417Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11418
11419 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
11420
11421Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11422
11423 * libc/stdlib/mprec.h: Explicitly declare all large constants as
11424 longs, and then cast them to __uint32_t.
11425
11426 * libc/include/sys/config.h: Protect against multiple inclusions.
11427
11428Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
11429
11430 * configure.in (d10v*): Set syscall_dir.
11431
11432Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
11433
11434 * libc/sys/d10v/crt0.S: Set stack pointer.
11435
11436Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
11437
11438 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
11439 in assembly for efficiency. Change calling convention to allow
11440 long ints to be returned.
11441
11442Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11443
11444 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
11445
11446Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
11447
11448 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
11449 Handle empty entries in $PATH.
11450
11451Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
11452
11453 * libc/machine/d10v/setjmp.S: Make it really work.
11454
11455Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
11456
11457 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
11458 the .stack section.
11459
11460Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
11461
11462 * sys/sysnecv850/sys/file.h: Remove.
11463 * sys/sysnecv850/sys/syscall.h: New file.
11464 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
11465 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
11466 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
11467 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
11468 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
11469 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
11470 * sys/sysnec850/trap.S: New file.
11471 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
11472 syscalls.
11473 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
11474 * sys/sysnec850/sbrk.c: New version.
11475
11476Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
11477
11478 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
11479 as long as r6 is less than r7.
11480
11481Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
11482
11483 * Makefile.in (mostlyclean): Separate from clean target. Don't
11484 remove *.a or targ-include.
11485 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
11486
11487Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11488
11489 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
11490 d10v.
11491 (__SMALL_BITFIELDS): Ditto.
11492
11493 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
11494
11495Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
11496
11497 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
11498 prefix.
11499
11500 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
11501 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
11502 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
11503 * libc/sys/sysnecv850/write.c (write): Likewise.
11504
11505 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
11506 .bss.
11507
11508Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11509
11510 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
11511 appropriately for D10V, depending on -mint16/-mint32.
11512
11513Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
11514
11515 * configure.in: Add cases for D10V.
11516
11517Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11518
11519 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
11520
11521Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
11522
11523 * libc/include/machine/ieeefp.h: Fix typo.
11524
11525Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
11526
11527 * libc/sys/d10v: New directory for D10V stuff.
11528 * libc/include/machine/ieeefp.h: Add D10V defines.
11529
11530Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
11531
11532 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
11533 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
11534 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
11535 * libc/string/strerror.c (strerror): Add them.
11536
11537Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
11538
11539 * libc/sys/sysnecv850: New directory for v850 stuff.
11540
11541 * libc/machine/v850: New directory for v850 stuff.
11542 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
11543
11544 * configure.in: Add support for the v850.
11545
11546 * libc/include/machine/ieeefp.h: Add v850 defines.
11547 * libc/include/machine/setjmp.h: Likewise.
11548 * libc/include/sys/config.h: Add v850 defines.
11549
11550Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
11551
11552 * libc/include/machine/ieeefp.h
11553 * libc/include/machine/setjmp.h
11554 * libc/include/sys/fcntl.h
11555 * libc/include/sys/signal.h
11556 * libc/include/sys/types.h
11557 * libc/stdlib/system.c:
11558 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
11559 API availability, __CYGWIN32__ for cygwin32 environment specific).
11560
11561Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
11562
11563 * libc/include/stdlib.h: add multibyte character functions. Add
11564 __eprintf for assert.
11565
11566Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11567
11568 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
11569 arithmetic or __alignof__ to properly get the alignment, instead
11570 of hardwiring it to 4.
11571
11572Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
11573
11574 * libc/stdio/fseek.c: add fflush call to adjust seek offset
11575 on append stream (fix from NetBSD sources), adjust curoff offset
11576 for ungetc's benefit.
11577 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
11578 * libc/stdio/rewind.c: replace code with up to date NetBSD
11579 code to undo hacks made to work around above problem of not
11580 having fflush call mentioned above
11581
11582Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11583
11584 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
11585 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
11586 Partially revert last changes. The thread specific errno is set
11587 iff if the underlying syscall fails and the global errno is not
11588 zero.
11589
11590Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11591
11592 * libc/reent/filer.c: Removed files, all functions have split out
11593 into their own files.
11594 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
11595 New files containing functions formally in filer.c
11596 * libc/reent/Makefile.in: Updated for above change.
11597
11598 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
11599 syscall fails, not if errno is changed.
11600 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
11601 _write_r): Likewise.
11602 * libc/reent/fstatr.c (_fstat_r): Likewise.
11603 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
11604 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
11605 * libc/reent/signalr.c (_kill_r): Likewise.
11606 * libc/reent/statr.c (_stat_r): Likewise.
11607 * libc/reent/timer.c (_gettimeofday_r): Likewise.
11608
11609 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
11610 signalr.c, statr.c, timer.c} (errno): declare extern rather
11611 than as a common.
11612
11613 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
11614 instead of calling vfprintf so that i*printf will not require
11615 floating point support code.
11616
11617Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
11618
11619 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
11620 path delimiter.
11621 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
11622 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
11623
11624Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
11625
11626 * libc/include/signal.h: _sig_func_ptr function takes an int
11627 * libc/include/sys/signal.h: sa_handler function takes an int
11628
11629Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
11630
11631 * libc/include/machine/ieeefp.h: Simplify H8/S support.
11632 * libc/include/sys/config.h: Add missing H8/S conditional.
11633
11634Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
11635
11636 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
11637
11638Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
11639
11640 * libc/include/machine/setjmp.h: Handle H8/S.
11641 * libc/include/machine/ieeefp.h: Likewise.
11642 * libc/include/sys/config.h: Likewise.
11643 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
11644 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
11645 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
11646 * libc/sys/h8300hms/crt0.S: Likewise.
11647
11648Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11649
11650 * Makefile.in (datadir): Set to $(prefix)/share.
11651 (oldincludedir, docdir): Removed.
11652 * doc/Makefile.in (datadir): Set to $(prefix)/share.
11653 (oldincludedir, docdir): Removed.
11654 * libc/Makefile.in (datadir): Set to $(prefix)/share.
11655 (oldincludedir, docdir): Removed.
11656 * libm/Makefile.in (datadir): Set to $(prefix)/share.
11657 (oldincludedir, docdir): Removed.
11658
11659Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
11660
11661 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
11662 _reent struct.
11663
11664Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
11665
11666 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
11667 fetch current path rules with sysconf and handler posix/win32
11668 appropriately.
11669
11670 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
11671
11672 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
11673 (WAIT_CHILD): Always define.
11674
11675Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
11676
11677 * libc/stdlib/eprintf.c: New file.
11678 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
11679 (eprintf.o): New target.
11680
11681Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
11682
11683 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
11684 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
11685
11686Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
11687
11688 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
11689 NT in PowerPC endianess cases.
11690
11691Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11692
11693 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
11694
11695Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11696
11697 * libc/string/strtok.c: Fix doc typo.
11698
11699Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11700
11701 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
11702 _next, _scanpoint, _signgam fields.
11703
11704 * libc/include/stdlib.h (rand_r): Added new declaration.
11705 (_rand_r, _srand_r): Removed declarations.
11706 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
11707 have been made obsolete by rand_r.
11708 * libc/stdlib/rand_r.c: New file, rand_r function as specified
11709 by POSIX.1c.
11710
11711 * libc/string/strtok.c: Update documentation to describe
11712 strtok_r().
11713
11714Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
11715
11716 * libc/include/sys/stat.h (stat structure): Use the expanded stat
11717 structure on Solaris, and PowerPC systems even though __svr4__ is
11718 defined.
11719
11720Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
11721
11722 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
11723
11724Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
11725
11726 * host/any: Use ../.. rather than .. to get to the main build
11727 directory. This matches the current layout of the build
11728 directory.
11729
11730Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
11731
11732 * libc/machine/h8300/__main.S: Delete. No longer needed.
11733 * libc/machine/h8300/Makefile.in: Corresponding changes.
11734 * libc/sys/h8300hms/crt1.c: New file.
11735 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
11736 * libc/sys/h8300hms/crt0.s: Call __main.
11737
11738 * libc/sys/h8300hms/crt0.S: Use temporary label names
11739 for branch targets.
11740
11741Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
11742
11743 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
11744
11745Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11746
11747 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
11748 .sdata on the PowerPC so that we can link newlib with code
11749 compiled with -msdata.
11750
11751Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
11752
11753 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
11754
11755Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
11756
11757 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
11758 exception handler to __cygwin_exception_handler.
11759
11760Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
11761
11762 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
11763
11764Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
11765
11766 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
11767 SunOS VPATH.
11768 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
11769 wcstombs.o): Likewise.
11770
11771Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
11772
11773 * libc/stdlib/environ.c (initial_env): New static local.
11774 (environ): Point to `initial_env'.
11775
11776 * libc/include/machine/setjmp.h: Clean up.
11777 (__H8300H__,__PPC__): Define _JBTYPE.
11778 (__arm__): Provide entry for.
11779 (sigjmp_buf): Delete.
11780 (jmp_buf): Use _JBTYPE if defined, otherwise int.
11781
11782Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
11783
11784 * libc/machine/h8300/strcmp.S: Sign extend the result to
11785 32bits so we don't lose with -mint32.
11786
11787Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
11788
11789 * libc/sys/go32/sys/errno.h: New file.
11790 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
11791 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
11792 errno's address (make compatible with rest of newlib).
11793 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
11794 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
11795
11796Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
11797
11798 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
11799 * libc/machine/sparc/Makefile.in: Build them.
11800 * libc/machine/sparc/machine/sparclet.h: New file.
11801
11802Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11803
11804 * libc/machine/sh/asm.h: New file.
11805 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
11806 support for SH3e's FP registers. Use asm.h.
11807
11808Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
11809
11810 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
11811 as first argument. Call _dtoa_r and pass the reent structure
11812 instead of calling __dtoa.
11813
11814Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
11815
11816 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
11817 the h8300, h8500, and others. Add comments for some rather
11818 dubious code.
11819
11820Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
11821
11822 * Makefile.in (check): Check that testsuite exists before cd.
11823
11824Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11825
11826 * libc/include/string.h (strsep): Correct prototype.
11827
11828Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
11829
11830 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
11831 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
11832 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
11833
11834Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
11835
11836 * libc/posix/{creat.c,isatty.c}: New files.
11837 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
11838
11839 * libc/sys/sparc64/crt0.S (environ): Delete.
11840 (.LHaveBias): Renamed from HaveBias.
11841
11842Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
11843
11844 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
11845 (_morecore_r): Delete SBRK_IS_ALLOC support.
11846
11847Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11848
11849 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
11850 module rather than touch, so we don't get warning messages when
11851 all of the libraries are combined into libc.a.
11852
11853Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
11854
11855 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
11856 crt0.s replaced by version in libgloss.
11857
11858Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11859
11860 * libc/reent/Makefile.in (OFILES): Add impure.o.
11861 * libc/reent/impure.o: New file, define initial reentrancy struct.
11862 * libc/reent/reent.c: Remove above definition.
11863
11864 * libm/math/sf_asinh.c: Fix typo.
11865
11866 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
11867 srf_ldexp.o.
11868
11869 * libm/libm.texinfo: Change documentation to reflect changes
11870 in reentrancy model.
11871 * libm/math/w_gamma.c: Likewise.
11872
11873Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
11874
11875 * configure.in (*-*-cygwin32): New.
11876 (*-*-win32): Deleted.
11877 * libc/sys/win32 renamed libc/sys/cygwin32.
11878
11879Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11880
11881 * libc/include/sys/file.h: New include file.
11882
11883Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
11884
11885 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
11886
11887Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
11888
11889 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
11890
11891Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11892
11893 * doc/makedoc.c (realloc): Declare at file scope.
11894 (catchar): Not here.
11895
11896Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
11897
11898 * Makefile.in (VERSION): Update to 1.7.0.
11899 * {libc,libm}/Makefile.in (VERSION): Likewise.
11900 * configure.in: Minor clean up of multilib stuff.
11901
11902 From David Johnson <davidj@ICSI.Berkeley.EDU>
11903 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
11904
11905 * libc/stdlib/environ.c: New file.
11906 * libc/stdlib/Makefile.in (OFILES): Build it.
11907 * libc/sys/h8500hms/crt0.c (environ): Deleted.
11908 * libc/sys/m88kbug/crt0.c (environ): Deleted.
11909 * libc/sys/z8ksim/crt0.c (environ): Deleted.
11910 * libc/sys/netware/environ.c: Deleted.
11911
11912Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
11913
11914 * configure.in (links): set sys_dir, posix_dir, syscall_dir
11915
11916Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11917
11918 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
11919 declaration out to external scope and declare it PTR, not char *.
11920
11921Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
11922
11923 * libc/include/sys/unistd.h (getpagesize): New declaration.
11924 (_SC_PAGESIZE): New definition.
11925 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
11926 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
11927
11928Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
11929
11930 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
11931 addressing. System call returns size, not (last address + 1).
11932
11933Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11934
11935 * libm/math/*.c: Removed _foo_r() reentrancy API.
11936 * libc/include/math.h: Removed _foo_r prototypes and macros.
11937
11938 * libm/math/*.c: On systems with IEEE single precision "doubles"
11939 move foo() -> foof() wrapper code from the files that implement
11940 the standard IEEE double precision functions to the files that
11941 implement IEEE single precision functions. (ie. On those systems
11942 sin is moved from s_sin.c to sf_sin.c). There should eventually
11943 be use of a C extension (like gcc's alias attribute) so that the
11944 wrappers are not needed at all.
11945
11946 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
11947 strict NEC V810 compiler.
11948 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
11949 for same reason.
11950
11951Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11952
11953 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
11954 from NetBSD C library.
11955 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
11956
11957 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
11958 and adapted from implementation I wrote for NetBSD C library.
11959 The difference is __assert doesn't take a format argument,
11960 so that there won't be multiple copies of the same string
11961 constant in the executable if assertions are enabled in
11962 more than one source module.
11963 * libc/include/assert.h (assert): Changed to call __assert.
11964
11965Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11966
11967 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
11968 word1 on systems with 32 bit doubles.
11969 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
11970 so that we can do arithmetic on them.
11971 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
11972 compilers.
11973
11974Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
11975
11976 * libc/sys/arm/crt0.S: Zero bss.
11977
11978Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
11979
11980 * libc/include/unctrl.h: New file.
11981 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
11982 * configure.in (subdirs): Add libc/misc.
11983 * libc/Makefile.in (SUBDIRS): Add misc.
11984 (SUBLIBS): Add misc/lib.a.
11985
11986 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
11987
11988Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
11989
11990 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
11991 (_vfprintf_r): Call CHECK_INIT.
11992
11993Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
11994
11995 * Makefile.in (MULTITOP): Delete.
11996 (MULTISRCTOP, MULTIBUILDTOP): Add.
11997 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
11998 instead of cfg-ml-pos.in.
11999
12000Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12001
12002 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
12003 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
12004 presence.
12005
12006Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12007
12008 * libc/string/strtok.c: Include string.h to pick up strtok_r
12009 prototype.
12010
12011Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12012
12013 * libc/string/strtok.c: include <_ansi.h>.
12014 * libc/time/asctime_r.c: `reresult' -> `result'.
12015
12016Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12017
12018 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
12019 in #ifndef _REENT_ONLY ... #endif conditional.
12020
12021 * libc/include/string.h (_strtok_r): Remove declaration.
12022 * libc/include/time.h (_asctime_r): Remove declaration.
12023 * libc/string/strtok.c (_strtok_r): Removed.
12024 * libc/time/asctime.c (_asctime_r): Removed.
12025
12026 * libc/string/Makefile.in (OFILES): Add new object.
12027 * libc/string/strtok_r.c: New file. strtok_r function as
12028 specified by POSIX.1c, adapted from strtok implementation
12029 from NetBSD C library.
12030 * libc/string/strtok.c (strtok): Reimplemented in terms of
12031 strtok_r.
12032
12033 * libc/time/Makefile.in (OFILES): Add new objects.
12034 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
12035 New files, reentrant time functions specified by POSIX.1c.
12036 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
12037 reentrant time functions re-written in terms of reentrant
12038 functions.
12039 * libc/time/lcltime.c: Renamed from localtime.c
12040
12041 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
12042 gmtime_r, and localtime_r.
12043
12044Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
12045
12046 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
12047 * libc/include/sys/unistd.h (getlogin): Revert change of
12048 Oct 19.
12049 * libc/include/sys/signal.h (sigprocmask): Change prototype
12050 so it compiles with c++.
12051
12052Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
12053
12054 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
12055 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
12056 to give some room in case we need to align the jmp_buf.
12057
12058 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
12059 the new ppc-asm.h include file the compiler provides to specify
12060 function prologue/epilogue. Eliminate saves of the xer and ctr
12061 registers, which are volatile. Before starting to save registers,
12062 align to 8 byte boundary.
12063
12064Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12065
12066 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
12067 referenced by standard libraries.
12068
12069Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
12070
12071 * libc/unix/Makefile.in, libc/string/Makefile.in,
12072 libc/stdio/Makefile.in, libc/reent/Makefile.in,
12073 libc/posix/Makefile.in:
12074 Remove tabs from otherwise empty line. Confuses some
12075 older non-GNU versions of "make".
12076
12077Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
12078
12079 * libc/sys/unistd.h (getlogin): Returns const char *.
12080
12081Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
12082
12083 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
12084 * libc/include/errno.h: Moved into and include...
12085 * libc/include/sys/errno.h: New file.
12086 * libc/include/sys/wait.h: New file.
12087 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
12088 * libc/sys/win32/*: Moved out.
12089 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
12090 * configure.in (i[345]86-*-win32): HAVE_RENAME
12091
12092Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
12093
12094 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
12095 avoid macro expansion for these two names.
12096
12097Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
12098
12099 * libc/machine/h8500/psi.S: r6 renamed to fp.
12100
12101Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12102
12103 * configure.in (powerpc*): No longer need to define
12104 NO_LONGLONG_POINTERS to supress warnings.
12105
12106Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12107
12108 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
12109 through PTR instead of directly.
12110
12111 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
12112 non-standard constructor support.
12113
12114Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12115
12116 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
12117 address of the Bigint instead of the address of its _x field,
12118 as the size the result buffer was calculated accordingly.
12119 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
12120
12121 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
12122 from NetBSD C library. No longer special cases division by
12123 zero (which needs to be done by the application anyway), but
12124 it doesn't need to call abs() (or labs()) four times either.
12125
12126 * libc/stdlib/qsort.c: Replaced with implementation from
12127 NetBSD C library.
12128
12129Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12130
12131 * libc/stdio/vfprintf.c: Replaced with implementation from
12132 NetBSD C library (which is derived from the 4.4BSD C library).
12133 * libc/stdio/cvt.c: Removed.
12134 * libc/stdio/Makefile: Updated.
12135
12136Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
12137
12138 * libc/sys/win32/syscalls.c (rename): New.
12139 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
12140
12141Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12142
12143 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
12144 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
12145
12146 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
12147 (setjmp.o): Delete rule to build setjmp.o.
12148 * libc/sys/sh/setjmp.S: Delete file.
12149
12150Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12151
12152 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
12153 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
12154 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
12155 pow5mult and s2b to identifiers with leading underscores.
12156 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
12157 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
12158
12159Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
12160
12161 * libc/sys/posix/popen.c (sys/types.h): Include.
12162
12163Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
12164
12165 * libc/sys/win32/syscalls.h (fhandler): New struct.
12166 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
12167 (__fhandler_normal): Declare.
12168 (hinfo): New member op_handlers.
12169 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
12170 (__write): Likewise.
12171 (_read, _write, _open, _close, _lseek): Validate fd here.
12172 Move file type specific stuff to foo_normal.
12173 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
12174 New functions.
12175 (__lookup_fhandler): New function.
12176 (__lookup_fhandler_hook, __fhandler_normal): New variables.
12177
12178 From anders.blomdell@control.lth.se (Anders Blomdell)
12179 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
12180 Don't touch standard handles.
12181 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
12182 (_execve): Only create __FD_TABLE__ if necessary.
12183 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
12184
12185Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
12186
12187 * libc/sys/win32/sys/termios.h (FLUSHO): New.
12188 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
12189 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
12190 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
12191 without a handler is received.
12192 * libc/sys/win32/Makefile.in: Remove --nodelete.
12193 * libc/sys/win32/resouce.c (gettimeofday): New.
12194 * libc/sys/win32/syscalls.c (path_to_real_path): New.
12195 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
12196
12197Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
12198
12199 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
12200 Don't append "/*" to search pattern if trailing '/' already there,
12201 append "*".
12202 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
12203 like /'s, convert them to \'s. Handle //<drive>/ path names.
12204 Add space for quoted \'s in arg string. Print translated prog name
12205 and original prog name.
12206 (_execve): Handle parent doing exec a teensy bit better.
12207 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
12208 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
12209 path needs conversion, handle both cases. Delete `const' from result.
12210 (hash_path_name): New function.
12211 (_open): Call it.
12212 (_stat): Likewise. Fill in more fields for directories.
12213 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
12214 (wait_for_any): Fix trace message.
12215 (waitpid): Explicitly test for intpid == 0.
12216
12217 From anders.blomdell@control.lth.se (Anders Blomdell)
12218 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
12219 so `next' is valid.
12220
12221Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
12222
12223 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
12224 complicated.
12225
12226Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12227
12228 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
12229 at all, not just == 1.
12230 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
12231
12232Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12233
12234 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
12235 * libc/sys/win32/include/wintypes.h: include <winnt.h>
12236 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
12237 file.
12238
12239Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12240
12241 * libc/sys/syscalls.c (getcwd): Fix off by one error.
12242
12243 * libc/sys/signal.c (sleep): Fill it in.
12244 * libc/sys/termios.c (tcflush): Use PurgeComm
12245 (tcsetattr): Set some more of the bits.
12246 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
12247
12248Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
12249
12250 * libc/sys/arm/crt0.S (fp): Initialize to 0.
12251 Conditionally include .idata$3 stuff ifdef __pe__.
12252
12253Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12254
12255 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
12256 * libc/sys/win32/pipe.c (pipe): Ditto.
12257 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
12258 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
12259 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
12260 (tcgetattr): Contents are new.
12261 * libc/sys/win32/include/winkernel.h (DCB): New.
12262 (GetCommState, SetCommState): New.
12263
12264Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
12265
12266 * libc/sys/arm/crt0.S (_start): Define.
12267
12268Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
12269
12270 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
12271 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
12272
12273 * libc/sys/win32/sysconf.c: New
12274 * libc/sys/win32/sys/winadvapi.h: New
12275 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
12276 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
12277 * libc/sys/win32/pipe.c (pipe): Ditto.
12278 * libc/sys/win32/signal.c (_raise): New.
12279 (_kill): Moved from spawn.c
12280 * libc/sys/win32/spawn.c (kill): Moved to signal.c
12281 * libc/sys/win32/syscalls.c (__read): Use new fields.
12282 (_open): Ditto.
12283 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
12284 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
12285 * libc/include/sys/unistd.h (rmdir): Takes const path.
12286 * libc/include/sys/stat.h (mkdir): Takes const path.
12287 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
12288
12289Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
12290
12291 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
12292
12293 Add support for specifying paths as //<drive>/foo/bar.
12294 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
12295 (__path_to_real_path): Declare.
12296 (PATH_TO_REAL_PATH): New macro.
12297 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
12298 (__path_needs_conversion_p, __path_to_real_path): New functions.
12299 (_open): Fix test for error return from CreateFileA.
12300 Handle new path syntax.
12301 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
12302 * libc/sys/win32/dirsearch.c (opendir): Likewise.
12303
12304Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
12305
12306 * libc/sys/win32/include/*.h: Reorganized
12307 * libc/sys/win32/include/WINREADME: New.
12308 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
12309 * libc/sys/win32/*.c: Fix for new include scheme.
12310 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
12311 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
12312 * libc/sys/win32/passwd.c (*): Fix.
12313 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
12314 (_stat): Get directory owner and permissions right.
12315 * libc/sys/win32/syscalls.h (uinfo): New.
12316 * libc/sys/win32/version.def: Remove leading underscores.
12317
12318Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12319
12320 * libc/sys/win32/key.c: include "include/wincon.h".
12321
12322Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
12323
12324 * libc/sys/win32/{key, stubs}.c: New.
12325 * libc/sys/win32/Makefile: Adjust to cope.
12326 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
12327 (environ_init): Change env names to upper case.
12328 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
12329 * libc/sys/win32/passwd.c (*): Fill in the functions.
12330 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
12331 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
12332 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
12333 (_open): Initialze hmap->execable_p too.
12334 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
12335 (_fstat): Fill in permissions.
12336 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
12337
12338Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
12339
12340 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
12341 if defined.
12342 (cfg-ml-pos.in invocation): Likewise.
12343
12344Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12345
12346 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
12347 s_isnan.o and sf_isnan.o.
12348
12349Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
12350
12351 * All Makefile.in files: added maintainer-clean target as a
12352 synonym for realclean.
12353
12354Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
12355
12356 * libc/include/machine/setjmp.h: Add hppa support.
12357 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
12358 support.
12359 * libc/machine/hppa/Makefile.in: Related changes.
12360
12361Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
12362
12363 * configure.in (machine_dir): Don't set for v810-*-*.
12364
12365Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12366
12367 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
12368 conventions correctly.
12369
12370Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
12371
12372 * libc/stdio/puts.c: Update documentation of return value to match
12373 ANSI standard.
12374
12375Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
12376
12377 Fix file descriptor inheritance.
12378 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
12379 (NOT_OPEN_FD): Fix.
12380 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
12381 close-on-exec flag not set. Initialize child's entire fd table.
12382 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
12383 CHILD_P.
12384 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
12385 if CHILD_P. Initialize entire hmap entry.
12386 (dup): Only create new handle as inheritable if CHILD_P.
12387 (dup2): Likewise. Properly initialize hmap entry.
12388
12389 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
12390 _spawn.
12391 (_exit): Use CHILD_P.
12392 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
12393 (_stat): Likewise.
12394
12395Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12396
12397 * libc/sys/win32/crt0.c (passover): fix up the state table.
12398 * libc/posix/popen.c: Added.
12399 * libc/posix/Makefile.in: compile popen.c.
12400
12401Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
12402
12403 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
12404 h8/500 define _DOUBLE_IS_32BITS.
12405
12406Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
12407
12408 Get vfork/exec/spawn/cwait/wait working again.
12409 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
12410 (procinfo): New member vfork_level.
12411 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
12412 (vfork_init_first): Use GetCurrentProcessId to get pid.
12413 Initialize vfork_level.
12414 (vfork_init): Delete __PID__.
12415 (environ_init): New function. Undo patch of Aug 19, Posix says
12416 environment variables are case sensitive.
12417 (mainCRTStartup): Call it.
12418 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
12419 (my_longjump: Make static.
12420 (_spawn): New argument `h'. Delete setting of __PID__.
12421 Delete local `idx'. Look for chars that need quotes, rather than
12422 ones that don't. Set handle of created process in `h'.
12423 Result is process id if created task.
12424 (allocate_spawn_entry): New function.
12425 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
12426 (_execve): Set __FD_TABLE__ before spawning child.
12427 Scan our fd table when passing fds, not our parent's.
12428 Store handle and pid in procinfo entry.
12429 (vfork0): Ensure strace message always printed.
12430 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
12431 (vfork): Don't clobber result of vfork0.
12432 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
12433 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
12434
12435 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
12436 and `exit_code'.
12437 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
12438 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
12439 adding vfork level to pseudo-pid.
12440 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
12441 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
12442 (_exit): If child, set exit code.
12443 (__vfork_record_death): Only close process handle if valid.
12444 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
12445 didn't exec.
12446 (wait_for_any): Likewise. Start scan after root entry.
12447
12448Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12449
12450 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
12451 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
12452 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
12453 of actual file length.
12454
12455 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
12456 * libc/include/paths.h: _PATH_BSHELL added.
12457 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
12458 and STDERR_FILENO.
12459
12460Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12461
12462 * libc/include/ar.h: Added.
12463 * libc/include/sys/types.h: ino_t goes back to 32-bits.
12464 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
12465 * libc/sys/win32/syscalls.c (_open): compute .namehash based
12466 on filename.
12467 (_fstat): use .namehash for inode number of the fd.
12468
12469Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
12470
12471 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
12472 Change hinfo to __this_procinfo.
12473 * libc/sys/win32/crt0.c: Remove procinfo_list.
12474
12475Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12476
12477 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
12478 win32 environment.
12479
12480Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12481
12482 * libc/sys/win32/include/grp.h: Removed.
12483 * libc/sys/include/grp.h: Added.
12484 * libc/sys/win32/grp.c: Include <grp.h>.
12485
12486Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
12487
12488 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
12489 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
12490 Defined for all but strict ANSI.
12491 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
12492 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12493 * libc/signal/signal.c (_signal_r): Changed from using
12494 _MAX_SIGNALS to NSIG.
12495 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
12496 __hmap): Deleted.
12497 (__strace, __vfork_next_pid): New.
12498 (__exe_suffix): Default to 1.
12499 (passover, table): Understand quoted arguments.
12500 (vfork_init_first): New.
12501 (vfork_init): Initialize new process structure.
12502 (mainCRTStartup): Pass environ to main.
12503 * exceptions.c (__sig_mask): New
12504 (ehandler3): Ignore signals in mask.
12505 (really_exit): Remove CHILD_P test.
12506 * pipe.c (pipe, dup, dup2): Use new process and file structure.
12507 * resource.c (getrusage): Ditto.
12508 * signal.c (sigprocmask): New.
12509 * spawn.c (*): Rewritten.
12510 * syscalls.c (*): Use new process and file structure.
12511 (find_unused_handle): New.
12512 * syscalls.h (MAX_HANDLES): Deleted.
12513 (hinfo): Removed child_created_p.
12514 (MAX_CHILDREN): Deleted.
12515 (vfork_jmp_info, procinfo): New.
12516 * wait.c (*): Mostly new.
12517 * sys/strace.h (_STRACE_PARANOID): New.
12518 * sys/param.h: New file.
12519
12520Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12521
12522 * libc/include/sys/stat.h: add S_BLKSIZE.
12523 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
12524 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
12525 types under win32.
12526 (mode_t): add a #else to avoid multiple definitons.
12527
12528 * libc/sys/win32/Makefile.in: add grp.c.
12529 * libc/sys/win32/grp.c: include grp.h correctly.
12530 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
12531 of the st structure with real information.
12532 * libc/sys/win32 (dirent): d_ino is of type ino_t.
12533
12534Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
12535
12536 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
12537 and (maybe) sparc64.
12538 (nlink_t): Provide typedef.
12539
12540Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12541
12542 * libc/sys/win32/grp.c: New file.
12543 * libc/sys/win32/include/grp.h: New file.
12544
12545Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12546
12547 * libc/include/machine/ieeefp.h: Added whitespace to make this
12548 file easier to maintain.
12549 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
12550 depending on the value of __LITTLE_ENDIAN__.
12551 On the sh3e, define _DOUBLE_IS_32BITS.
12552
12553Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
12554
12555 * libc/sys/vr4300/syscalls.c: Added missing support
12556 routines. _raise() and getpid().
12557
12558Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
12559
12560 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
12561
12562Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
12563
12564 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
12565 and VR4300 processor.
12566 * libc/sys/vr4300: Add directory.
12567 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
12568 monitor run-time support.
12569
12570Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12571
12572 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
12573 * libc/stdlib/stdlib.tex: Don't include atol.def.
12574
12575Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12576
12577 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
12578
12579Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
12580
12581 * libc/ctype/Makefile.in: Fill in _to* dependencies.
12582
12583Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
12584
12585 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
12586 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
12587 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
12588 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
12589 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
12590
12591Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12592
12593 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
12594
12595Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12596
12597 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
12598 * libc/stdlib/atoff.c: New file.
12599 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
12600 * libc/stdlib/atoi.c (atol): Removed.
12601 * libc/stdlib/atol.c: Removed duplicate documentation.
12602
12603 * libc/include/ctype.h (_tolower, _toupper): Moved inside
12604 #ifndef _STRICT_ANSI conditional.
12605 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
12606 * libc/ctype/_tolower.c: New file.
12607 * libc/ctype/_toupper.c: New file.
12608 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
12609 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
12610 * libc/ctype/toascii.c (_toascii): Removed.
12611
12612Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
12613
12614 * libc/sys/sparc64/sys/types.h: Deleted.
12615
12616Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12617
12618 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
12619 and recognize Windows_95 systems.
12620
12621Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12622
12623 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
12624 and passed fds should be opened in text mode.
12625
12626Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12627
12628 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
12629 in __hmap, set to binary mode by default.
12630
12631Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12632
12633 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
12634 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
12635 vector 34.
12636
12637Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
12638
12639 * Makefile.in (install): Install all libraries found in the
12640 top level. If there's a sys/<type>/include directory,
12641 install those headers into include.
12642
12643 * libc/sys/win32/kernel.def351: Delete
12644 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
12645 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
12646 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
12647 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
12648 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
12649 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
12650 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
12651 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
12652
12653 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
12654 * libc/sys/win32/crt0.c: Force all env names to upper case.
12655 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
12656 * libc/sys/win32/*.c: Headers have moved.
12657 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
12658 __vfork_child_idx is now __vfork_child_ptr.
12659
12660 * posix/execvp (execvp): Don't crash if no PATH envname.
12661
12662Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12663
12664 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
12665 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
12666 through the _freelist instead of through the _reclaim list.
12667 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
12668 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
12669 sources.
12670
12671Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12672
12673 * libc/machine/h8500/setjmp.S: New file.
12674 * libc/include/machine/setjmp.h: Updated for H8/500.
12675
12676Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
12677
12678 * libc/sys/win32/syscalls.c (_open): More stracing.
12679 (_stat): Open the file in O_BINARY.
12680
12681Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12682
12683 * libc/machine/h8300/setjmp.S: New file.
12684 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
12685
12686Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
12687
12688 * libc/sys/win32/crt0.c (__exe_suffix): New global.
12689 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
12690 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
12691 __exe_suffix. Free fd_tab after setting env variable.
12692 (spawnv,_execve): Update.
12693 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
12694 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
12695 (__small_vfprintf): New function.
12696 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
12697 * libc/sys/win32/wait.c (cwait): Validate argument.
12698
12699 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
12700 (process_deletion_queue): Likewise.
12701
12702 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
12703
12704Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
12705
12706 * libc/sys/win32: Copyrights and gratuitous indenting.
12707
12708Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
12709
12710 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
12711 (process_deletion_queue): Likewise.
12712 (__close_all_files): New function.
12713 (_close): Only queue file deletion if really a file.
12714 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
12715 _P_APPEND_EXE.
12716 (_exit): Call __close_all_files.
12717
12718 * libc/stdlib/system.c: #include <errno.h>.
12719 (_system_r): Fix results in -DNO_EXEC case.
12720
12721 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
12722 Reorganize structure.
12723 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
12724 if argument is valid. Save directory name in DIR. malloc space
12725 for dirent struct separately.
12726 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
12727
12728 * libc/include/errno.h (ENAMETOOLONG): Define.
12729 * libc/string/strerror.c (strerror): Reword ENFILE.
12730 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
12731
12732Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
12733
12734 * libc/sys/win32/crt0.c (__progname): New global.
12735 (mainCRTStartup): Support strace=bitmask,filename.
12736 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
12737 * libc/sys/win32/syscalls.c (_write): Print parent trace message
12738 if error.
12739 (getcwd): Handle len too small. Convert '\\' to '/'.
12740 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
12741 Add prototypes for open, creat, fcntl.
12742 (O_APPEND): Change value to conform to Microsoft's value.
12743 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
12744
12745 * libc/stdlib/getopt.c: New file.
12746 * libc/stdlib/Makefile.in: Build it.
12747
12748Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
12749
12750 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
12751 Fix scanning of $PATH.
12752 * libc/posix/exec*.c: Call _execve, not execve.
12753 * libc/posix/execve.c: New file.
12754 * libc/posix/Makefile.in (OFILES): Add execve.o.
12755
12756 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
12757 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
12758 (_STRACE): If level==0, always print. Handle new bit mask scheme.
12759 * libc/sys/win32/crt0.c: Update _STRACE calls.
12760 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
12761
12762 * libc/sys/win32/smallprint.c (rn): Fix digit list.
12763
12764 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
12765 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
12766 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
12767 Print __seterrno trace message first.
12768 (_execve): Renamed from execve.
12769 (vfork): Update __strace usage.
12770 (__vfork_child_pid): Deleted.
12771 (__vfork_children, __vfork_child_idx): New globals.
12772 (_spawnvp): New function.
12773 (spawnvp, spawnv, _execve): Call _spawnvp.
12774 (init_child): Record child in __vfork_children.
12775 (__vfork_get_entry, __vfork_record_death): New functions.
12776 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
12777 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
12778 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
12779 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
12780 (children): New typedef.
12781 (__vfork_children,__vfork_child_idx): Declare.
12782 (__vfork_get_entry,__vfork_record_death): Declare.
12783 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
12784 (waitpid): Handle pid == -1.
12785 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
12786 * configure.in (i386-win32): Add -DNO_FORK.
12787 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
12788 * libc/reent/execr.c (_fork_r): Likewise.
12789 * libc/stdlib/system.c (do_system): New function.
12790 If WIN32, try to get shell path from $SH_PATH, use vfork.
12791 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
12792 otherwise return 0.
12793
12794Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
12795
12796 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
12797 * libc/sys/win32/fcntl.h: Don't include self.
12798 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
12799 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
12800 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
12801 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
12802 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
12803 Correct prototypes.
12804 * libc/sys/win32/strace.c: New file.
12805 * libc/sys/win32/smallprint.c: New file.
12806 * libc/sys/win32/crt0.c (func): Delete.
12807 (mainCRTStartup): Fix alloca usage. Set handles explictly.
12808 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
12809 * libc/sys/win32/exceptions.c: Lint.
12810 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
12811 Clean up handle usage.
12812 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
12813 (open.c): Default file type is text.
12814 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
12815 * libc/sys/win32/advapi32.def: New
12816
12817Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
12818
12819 * configure.in (posix_dir, libc_posix_lib): New variables.
12820 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
12821 (i[345]86-*-win32): Define posix_dir.
12822 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
12823 (if unix_dir): Fix typo.
12824 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
12825 scandir,seekdir,telldir}: New files.
12826 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
12827 from libc/unix.
12828 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
12829 (SUBDIRS): Add posix.
12830 (SUBLIBS): Add $(LIBC_POSIX_LIB).
12831
12832 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
12833 (NSIG): Increase to 21.
12834 * libc/include/sys/unistd.h (pid_t): Move from here,
12835 * libc/include/sys/types.h (pid_t): to here.
12836
12837 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
12838 (__ptrace): Delete.
12839 (hinfo): New members close_exec_p, child_created_p.
12840 (struct exception_list): Define.
12841 (__hmap): Redefine as pointer to table.
12842 (__parent_hmap, __child_hmap): New globals.
12843 (__set_errno, __really_exit): Declare.
12844 (__vfork_child_pid): Declare.
12845 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
12846 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
12847 (__parent_hmap, __child_hmap): New globals.
12848 (__hmap): Redefine as pointer to active map.
12849 (__get_console): New function.
12850 (mainCRTStartup): Change leading '=' in environ vars to '!'.
12851 (env __FD_TABLE__): Watch for this and initialize our fd/handle
12852 mapping table from it if defined.
12853 (argv, envp): Dump if __strace >= 4.
12854 (main): Call here.
12855 * libc/sys/win32/exceptions.c (myp): Redefine.
12856 (__syscalls_b): Delete.
12857 (__stack_trace): New function.
12858 (ehandler3): Update to use _STRACE. Print stack trace.
12859 Call __really_exit instead of exit.
12860 (init_exceptions): Delete args argc,argv. New arg mine.
12861 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
12862 FindFirstFileA, FindNextFileA, GetComputerNameA,
12863 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
12864 * libc/sys/win32/signal.c (signal): Validate arg.
12865 (alarm, sleep): Define as stubs for now.
12866 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
12867 (__syscalls_b, errno): Delete.
12868 (__vfork_child_pid, __vfork_jmp_buf): New globals.
12869 (__seterrno): Handle more errors.
12870 (__sys_printf): Renamed from _ptrace.
12871 (__really_exit): New function.
12872 (queue_file_deletion, process_deletion_queue): New functions.
12873 (__resume_parent): New function.
12874 (_unlink): Handle trying to delete open file.
12875 (__totime_t): Renamed from totime_t.
12876 (setsid, __read, __write): New functions.
12877 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
12878 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
12879 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
12880 * libc/sys/win32/console.c: Update to new definition of __hmap.
12881 * libc/sys/win32/Makefile.in: Build new files.
12882 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
12883 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
12884 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
12885 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
12886
12887Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
12888
12889 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
12890
12891Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12892
12893 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
12894 have been made to the master dtoa.c sources (from netlib.att.com)
12895 since they were integrated into newlib in early 1992. Fixes
12896 problems with storage leaks and handling of numbers with very
12897 negative exponents.
12898
12899Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12900
12901 * Makefile.in (all): set rootpre and srcrootpre before calling
12902 sub-makes.
12903
12904Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
12905
12906 * libc/sys/win32/crt0.c: Change __hmap usage.
12907 * libc/sys/win32/exceptions.c: Use _ptrace call.
12908 * libc/sys/win32/syscalls.c: Use _ptrace call.
12909 (read, write): Cope with DOS style CRLF when in TEXT mode.
12910 * libc/sys/win32/syscalls.h: Declare hinfo struct.
12911 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
12912 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
12913 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
12914 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
12915
12916Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12917
12918 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
12919
12920 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
12921 wrappers for hypot() and remainder() for BSD libm compatibility.
12922 These are public domain implementations written by me for the
12923 NetBSD libm some time ago. Note cabs() is required by ucbtest.
12924 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
12925 (fobj): Added wf_cabs.o and wf_drem.o.
12926
12927Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12928
12929 * libc/sys/h8500hms/misc.c: New file.
12930 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
12931
12932Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12933
12934 * libc/time/localtime.c (localtime): Fix problem with leap year
12935 handling. Stole algorithm from Arthur David Olson's tz code.
12936
12937Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
12938
12939 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
12940
12941 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
12942 (_exit): Use argument.
12943
12944Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
12945
12946 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
12947
12948Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
12949
12950 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
12951
12952Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12953
12954 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
12955 target_cflags.
12956
12957Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
12958
12959 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
12960 ptrace with case insensitivity
12961 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
12962 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
12963 New files.
12964
12965Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
12966
12967 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
12968 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
12969 (all, install, *clean): Use new multilib support.
12970 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
12971
12972Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
12973
12974 * libc/include/sys/signal.h (__WIN32__): New.
12975
12976 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
12977
12978 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
12979 (ulp, b2d): Handle 32 bit doubles.
12980 * libc/stdlib/mprec.h: Handle 32 bit doubles.
12981 * libc/stdlib/strtod.c (_strtod_r): Ditto.
12982
12983Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
12984
12985 from medp@primag.co.uk:
12986 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
12987 dynamically allocated buffers.
12988
12989Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
12990
12991 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
12992 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
12993
12994Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12995
12996 * configure.in (powerpc): Fix previous fix.
12997
12998Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12999
13000 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
13001 directories for this target.
13002
13003Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13004
13005 * configure.in (hppa): Add machine_dir definition.
13006 * libc/machine/hppa: New directory with PA specific implementations
13007 of the basic memory/string functions.
13008
13009Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13010
13011 * configure.in: Update current PowerPC multilib directories.
13012 Split big and little endian configurations.
13013
13014Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
13015
13016 * configure.in: Add --enable-single-float option to configure to
13017 control use of MIPS single-float directories. Default to yes.
13018
13019 * Makefile.in (all): Don't recurse into multilib directory if it
13020 does not exist.
13021
13022Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13023
13024 * libc/sys/sh/syscalls.c: Fix typo.
13025
13026Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
13027
13028 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
13029 Pass down DLLTOOL.
13030 * libc/include/process.h: Define WAIT_CHILD.
13031 * libc/include/types.h: Get sizes right for win32.
13032 * configure.in (i386-*-pe): Becomes i386-win32.
13033 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13034 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
13035 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
13036 is defined.
13037
13038Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
13039
13040 * configure.in (i[345]86-*-pe): New target (NT).
13041 * host/any: DLLTOOL new.
13042 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13043 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
13044 WIN32 (just enough to cross host the comp-tools).
13045
13046Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
13047
13048 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
13049 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
13050
13051Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
13052
13053 * libc/include/machine/ieeefp.h (arm): Change to always be
13054 __IEEE_BIG_ENDIAN (even on little endian ARM's).
13055
13056Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
13057
13058 * libc/sys/crt0.S: Initialze sp, and call exit after main.
13059 * libc/sys/syscalls.c (abort): New.
13060 * configure.in (arm): Define ABORT_PROVIDED.
13061
13062Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13063
13064 * configure.in (powerpc): Define multidirs.
13065
13066Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
13067
13068 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
13069
13070Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
13071
13072 * configure.in (sparclite): Delete target_cflags. Define multidirs.
13073
13074Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
13075
13076 * configure.in, libc/include/machine/ieeefp.h: Modified
13077 for arm:
13078 libc/machine/arm/*, libc/sys/arm/*: New
13079
13080Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13081
13082 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
13083 __powerpc__ when determining endianness.
13084
13085Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13086
13087 * configure.in (m68*): Add multidir for the m68332.
13088
13089 * host/any (CC): Fix typo in last change.
13090
13091Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
13092
13093 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
13094 when determining endianness.
13095 * libc/include/machine/ieeefp.h: Ditto.
13096 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
13097 operands.
13098
13099Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
13100
13101 * libc/include/errno.h (ENOTEMPTY): Define.
13102
13103Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13104
13105 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
13106 target_cflags.
13107
13108 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
13109 and umultiply.o.
13110
13111 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
13112 instead of only when open succeeds. ANSI requires that multiple
13113 calls to tmpnam() result in different files.
13114
13115 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
13116 objects pulled in from /lib/libc.a that must be renamed before
13117 being pulled into newlib. /lib/libc.a's div.o conflicted with
13118 newlib's file with the same name.
13119
13120 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
13121
13122 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
13123 the build tree will only be used if the executables are present
13124 (instead of just the Makefiles).
13125
13126 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
13127 wcstombs): Define.
13128 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
13129 versions of these functions that I orignally wrote for the
13130 NetBSD C library.
13131 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
13132 versions I wrote for NetBSD.
13133
13134Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
13135
13136 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
13137 * libc/sys/sparclite/crt0.s: ditto.
13138
13139Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
13140
13141 * configure.in: Add soft-float for proelf.
13142
13143Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
13144
13145 * libc/stdlib/mprec.h (Bcopy): Copy the right number
13146 of bytes.
13147
13148Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
13149
13150 * Makefile.in (all): Depend on `force'.
13151 * configure.in (syscall_dir): Renamed from fake_sys_dir.
13152 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
13153 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
13154 * libc/Makefile.in: Likewise.
13155 * libc/include/reent.h: Update syscall references.
13156 (_fcntl_r): Add prototype.
13157 * libc/syscalls/*.c #include <reent.h>.
13158 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
13159
13160Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
13161
13162 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
13163 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
13164 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
13165 (time.h, sys/types.h): Always include (even if MSDOS).
13166 (stat): Fix prototype.
13167
13168Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
13169
13170 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
13171
13172Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13173
13174 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
13175
13176Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
13177
13178 * libc/include/regdef.h: New file.
13179 * libc/machine/mips/machine/regdef.h: New file.
13180
13181Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
13182
13183 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
13184
13185Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
13186
13187 * libc/sys/sh/crt0.S: Pass main's return to exit.
13188 * libc/sys/sh/trap.S: Put errno in the right place.
13189
13190Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13191
13192 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
13193 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
13194 * libm/math/ef_rem_pio2.c: Likewise.
13195 * libm/math/e_log10.c: Remove unused static one.
13196 * libm/math/ef_log10.c: Likewise.
13197 * libm/math/s_frexp.c: Likewise.
13198 * libm/math/sf_frexp.c: Likewise.
13199
13200Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
13201
13202 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
13203 longjmp.S: Upgraded.
13204 * libc/sys/go32/sys/setjmp.h: Upgraded.
13205 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
13206
13207Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13208
13209 * configure.in: Add many entries to multidirs for mips targets.
13210
13211Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13212
13213 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
13214 5.2 which fixes bug where jn(-1,x) is three times larger than
13215 the actual answer.
13216 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
13217
13218Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
13219
13220 * libc/sys/w65/sys/syscalls.h: New file
13221 * libc/include/machine/ieeefp.h: W65 support.
13222 * libc/include/sys/config.h: Ditto.
13223 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
13224 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
13225 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
13226
13227Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13228
13229 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
13230
13231Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
13232
13233 * Makefile.in, configure.in: Remove any references to the old
13234 "stub" dir.
13235
13236Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13237
13238 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
13239 uses ... in prototype.
13240
13241
13242Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
13243
13244 * libc/sys/a29khif/sys/libconfig.h: Remove.
13245 * libc/sys/go32/sys/libconfig.h: Remove.
13246 * libc/sys/sun4/sys/libconfig.h: Remove.
13247 * libc/sys/sysvi386/sys/libconfig.h: Remove.
13248 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
13249 * libc/sys/sparc64/sys/libconfig.h: Remove.
13250
13251 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
13252 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
13253 * libc/include/math.h: Change all uses of _FLOAT_RET and
13254 _FLOAT_ARG to float.
13255 * libm/test/math.c: Likewise.
13256 * testsuite/libm.sac/math.c: Likewise.
13257 * testsuite/libm.sac/working/math.c: Likewise.
13258
13259Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13260
13261 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
13262 gcc calls gas with endian option.
13263 * configure.in (sh): Build little endian version too.
13264
13265Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13266
13267 * configure.in: Configure big and little endian versions for MIPS
13268 targets.
13269
13270Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
13271
13272 * libc/include/limits.h: Deleted.
13273 * libc/include/machine/limits.h: Deleted.
13274
13275Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
13276
13277 * ChangeLog: Remove stub directory. This has all been rewritten
13278 and moved to devo/libgloss.
13279
13280Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13281
13282 * Makefile.in (dvi): Add to info target, use $@ in sub make.
13283 (docs): Merge into info target.
13284 * libm/Makefile.in (dvi): Add $(srcdir).
13285 * libm/math/Makefile.in (chobjs): Remove underscores from file
13286 names. Texinfo doesn't like them.
13287 (wacos.def, ...): Add explicit targets for all .def files.
13288 * libm/math/math.tex: Remove underscores from @include file names.
13289 * doc/Makefile.in (dvi): Add dummy target.
13290 * testsuite/Makefile.in (dvi): Add dummy target.
13291
13292Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
13293
13294 * Makefile.in (VERSION): Define. For net newlib releases.
13295
13296Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
13297
13298 * README: New file.
13299
13300Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13301
13302 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
13303
13304Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13305
13306 * libc/stdlib/setenv.c (_findenv): Declare.
13307
13308 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
13309 fcntl to not use _EXFUN, and change string parameters to open and
13310 creat to be ``const char *''.
13311 * libc/sys/sparc64/sys/fcntl.h: Likewise.
13312 * libc/sys/sparc64/creat.c (creat): Make PATH const.
13313 * libc/syscalls/sysopen.c: Include <fcntl.h>.
13314 (open) Make _FILE const.
13315 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
13316 (_creat): Make PATH const.
13317 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
13318 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
13319 * libc/sys/m88kbug/syscalls.c (open): Likewise.
13320 * libc/sys/sh/syscalls.c (_open): Likewise.
13321 * stub/shared/glue.c (open): Make BUF const.
13322 * stub/ex93x/syscalls.c (open): Make FILENAME const.
13323
13324Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13325
13326 * libc/include/errno.h: Add ENMFILE
13327 * libc/include/sys/config.h: Support Z8000.
13328 * libc/include/sys/signal.h: New signals for go32.
13329 * libc/machine/h8500/psi.S (__addpsir0r0): New function
13330 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
13331 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
13332 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
13333 size is variable, depending upon CHUNK_POWER.
13334 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
13335
13336Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13337
13338 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
13339
13340Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13341
13342 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
13343
13344Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13345
13346 * configure.in: Change i[34]86 to i[345]86.
13347
13348 * libc/include/math.h: Don't define HUGE_VAL if it is already
13349 defined.
13350
13351Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13352
13353 * testsuite/libm.sac/test_erfc.c: Correct some result values.
13354 * testsuite/libm.sac/test_gammaf.c: Likewise.
13355 * testsuite/libm.sac/test_sin.c: Likewise.
13356 * testsuite/libm.sac/test_tanh.c: Likewise.
13357
13358Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13359
13360 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
13361 already set. Define typedefs __int32_t and __uint32_t.
13362 * libc/include/math.h: Include <machine/ieeefp.h>.
13363 (union __dmath): Use __uint32_t.
13364 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
13365 instead of int and unsigned int.
13366
13367Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13368
13369 Replace the math library with the SunPRO fdlibm package.
13370 * libm/math: Completely changed all files.
13371 * libm/ieeefp: Remove contents and directory.
13372 * libm/Makefile.in (LIBM_FP_LIB): Remove.
13373 (SUBDIRS): Just set to math/lib.a.
13374 * libm/libm.texinfo: Updated for new library.
13375 * libc/include/math.h: Extensive changes for new math library.
13376 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
13377 from _FLOAT_ARG to float.
13378 (maxpowtwo, maxpowtwof): Don't declare.
13379 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
13380 (libm_fp_lib): Removed.
13381 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
13382 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
13383 argument to ${RUNTEST}.
13384 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
13385 (.c.o): New rule.
13386 (RUNTESTFLAGS): Set CC and CFLAGS.
13387 (TESTS): Remove test_log2 and test_log2f.
13388 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
13389 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
13390 _FLOAT_ARG, for single precision argument type.
13391 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
13392 expected failure. Close the input pipe.
13393 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
13394 Correct misspelling of inaccurate.
13395 (test_mok): Use ``inaccurate'', not ``wrong''.
13396 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
13397 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
13398 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
13399 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
13400 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
13401 test_yn.c): Correct many result values. Many are still wrong.
13402
13403 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
13404 just copy the string.
13405 (_gcvt): Always return the buffer.
13406
13407Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13408
13409 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
13410
13411Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
13412
13413 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
13414 structure.
13415 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
13416 (_reclaim_reent): declare new entry point.
13417 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
13418 functions.
13419
13420 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
13421 ever allocated, so that we can later reclaim them all.
13422 (pow5mult): make reentrant.
13423
13424 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
13425 so that when given NULL as a buffer, return a pointer to static
13426 space in the rent structure. This is not documented behaviour;
13427 it's only to support ecvt and fcvt, which aren't ANSI anyway.
13428 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
13429 therefore become reentrant).
13430
13431 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
13432
13433Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13434
13435 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
13436
13437Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13438
13439 * Makefile.in: Make link to libg.a after libc.a; this is needed
13440 for the testsuites to build executables when everything comes
13441 from the tree.
13442
13443Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
13444
13445 * libc/Makefile.in: Add a VERSION variable so we can keep track.
13446 * libm/Makefile.in: Add a VERSION variable so we can keep track.
13447
13448Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13449
13450 * libc/include/stdio.h: Use __VALIST, not va_list.
13451
13452Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
13453
13454 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
13455 testsuite/libm.sac/execute.exp:
13456 Replace error proc calls with perror calls.
13457
13458Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
13459
13460 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
13461 * libc/include/time.h: #define NULL as 0L.
13462
13463Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
13464
13465 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
13466 care of it.
13467
13468Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13469
13470 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
13471 not __unix__.
13472
13473Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
13474
13475 * configure.in (TARGET_CFLAGS): Set -O2 as default.
13476 (z8k-*-*): Use syscalls fake sys dir.
13477 * libc/sys/z8k/glue.c: Rename syscalls.
13478 * libc/sys/go32/Makefile.in: Use new routines.
13479 * libc/machine/Makefile.in: Fix typo in ln stuff.
13480
13481Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13482
13483 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
13484 * libc/Makefile.in (crt0.o): Likewise.
13485 * libc/machine/Makefile.in (lib.a): Likewise.
13486 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
13487
13488 All Makefile.in files: Added mostlyclean, realclean and distclean
13489 targets.
13490
13491 * Makefile.in: Don't bother to unexport XTRAFLAGS or
13492 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13493 the top level Makefile.
13494
13495Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
13496
13497 * libc/sys/sparc64/sys/stat.h: New file.
13498 * libc/sys/sparc64/sys/time.h: New file.
13499 * libc/sys/sparc64/sys/types.h: New file.
13500
13501Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
13502
13503 * stub/ex93x/crt0.s (start): Add code to clear bss.
13504
13505Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
13506
13507 * libc/include/sys/types.h (time_t): Properly protect inside
13508 #ifndef __time_t_defined.
13509
13510 * libc/stdio/fileno.c: New file.
13511 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
13512 (fileno.o): Add dependency.
13513 * libc/include/stdio.h (__sgetc): Rename never to _never.
13514 (fileno macro): Disable, needs to do CHECK_INIT first.
13515
13516Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
13517
13518 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
13519 goal.
13520
13521 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
13522 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
13523 runtest.
13524 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
13525 runtest.
13526
13527Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
13528
13529 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
13530 of the various constants.
13531
13532Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
13533
13534 * libc/include/math.h: #ifndef __math_68881 around things which
13535 conflict with the (gcc-provided) inline functions in
13536 gcc/ginclude/math-68881.h.
13537
13538Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
13539
13540 * libc/include/_syslist.h (_gettimeofday): Define.
13541 (_times): Ditto.
13542 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
13543 (struct tms, timeval, timezone): Declare.
13544 (_gettimeofday_r, _times_r): Declare.
13545 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
13546 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13547 (time_t): Add multiple definition protection, __time_t_defined.
13548 * libc/include/sys/time.h: Don't #include <time.h>.
13549 Always define struct timezone (remove #ifndef _TIME_H_).
13550 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
13551 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13552 * libc/reent/Makefile.in (OFILES): Add timer.o.
13553 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
13554 * libc/reent/timer.c: New file.
13555 * libc/time/clock.c: #include <reent.h>.
13556 (clock): Call _times_r instead of times.
13557 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
13558 HAVE_GET_TIME_OF_DAY.
13559 Add comment regarding supporting OS routine(s) required (for docs).
13560 #include <reent.h>.
13561 (time): Call _gettimeofday_r instead of gettimeofday.
13562 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
13563 * libc/time/ctime.c: Ditto.
13564 * libc/time/strftime.c: Ditto.
13565 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
13566 (TEMPLATE_SFILES_R): Define here. Also define times.
13567 Add times_r.o/times.S dependence.
13568 (time2.c, junk.c): Deleted.
13569 * libc/sys/sparc64/time2.c: Deleted.
13570 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
13571
13572 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
13573 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
13574 * libc/sys/sparc64/junk.c: Deleted.
13575
13576Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
13577
13578 * libc/sys/sparc64/Makefile.in: Add times syscall.
13579 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
13580 be used with and without it. Add comment clarifying Medium/Anywhere
13581 model requirements.
13582 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
13583 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
13584 even if obsolete.
13585
13586Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
13587
13588 * configure.in (target_cflags): Move init.
13589 (sparc64-*-*): Define HAVE_BLKSIZE.
13590
13591Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
13592
13593 * libc/include/sys/_types.h: New file.
13594 * libc/include/reent.h: #include it.
13595 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
13596 MISSING_SYSCALL_NAMES.
13597 Sort syscalls.
13598 * libc/include/_syslist.h: Remove _raise.
13599 * libc/reent/signalr.c: New file.
13600 * libc/reent/Makefile.in: Compile it.
13601 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
13602 Add doc for raise and _raise_r.
13603 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
13604 (raise): Call _raise_r.
13605 (_raise_r): Call _getpid_r and _kill_r.
13606 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
13607 (abort): Loop forever calling raise and _exit.
13608
13609Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13610
13611 * configure.in: Remove extraneous echo.
13612
13613Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
13614
13615 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
13616 collision with unistd.h, and fix for svr4.
13617
13618Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
13619
13620 * libc/stdio/local.h (_llicvt): Declare.
13621 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
13622 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
13623 (_llicvt): Define.
13624 (_sicvt): Fix function header (`value' is short).
13625 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
13626 Add printing of long long's support.
13627 Add printing of 8 byte pointer support.
13628
13629Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
13630
13631 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
13632 stat, chmod): New hooks.
13633 (sbrk): Abort if stack and heap collide.
13634 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
13635 shortcut when given small args.
13636 * libc/machine/sh/setjmp.s: Rewritten.
13637 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
13638 of cmp/str instruction.
13639
13640Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13641
13642 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
13643 and machine_dir powerpc.
13644 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
13645 Add cases for __powerpc__.
13646 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
13647 New files.
13648
13649 * libc/include/stdio.h (_iprintf_r): Declare correctly.
13650
13651Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
13652
13653 * libc/stdlib/callocr.c: New file with _calloc_r in it.
13654 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
13655
13656Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
13657
13658 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
13659 (print_e): More comments to describe args, etc.
13660 "type" arg may now be 'g' or 'G' for %g/G format --> remove
13661 trailing blanks.
13662 (_gcvt): Remove locals decpt, sign, end, p, done.
13663 More comments for print_e invocation.
13664 Pass "type" to print_e as is (g/G).
13665
13666Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
13667
13668 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
13669 stock m68000.
13670
13671Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
13672
13673 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
13674 works with any sized pointer, including ones bigger than ints and
13675 longs.
13676
13677Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
13678
13679 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
13680
13681Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13682
13683 * libc/include/stdlib.h (_calloc_r): Add prototype.
13684 * libc/machine/h8500/negsi2.c: New file.
13685 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
13686 large unsigned numbers.
13687 * libc/machine/h8500/cmpsi.c: Add cmppsi.
13688 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
13689 works when sizeof(size_t) != sizeof(char *).
13690 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
13691 get play area
13692 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
13693
13694Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
13695
13696 * libc/include/assert.h (assert): Handle -traditional.
13697
13698Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
13699
13700 * Makefile.in: added ; after every "fi" and "done" that wasn't at
13701 the end of a line (ie. anything before a backslash continuation)
13702 so that bash handles them.
13703
13704Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13705
13706 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
13707 stat to lstat
13708
13709Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
13710
13711 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
13712 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
13713 libc/machine/sh/udivsi3.s: Use new calling convention.
13714
13715Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
13716
13717 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
13718 chmod, access, chdir, chown by making _path const. Also fix _amode
13719 param of access.
13720
13721Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
13722
13723 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
13724 _khif_tmpnam, because it doesn't comply with ANSI but may be
13725 useful anyway. Real tmpnam was already in libc/stdio, and was
13726 colliding with this one (pr 2176.)
13727 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
13728 the wrong idea anyhow.
13729
13730Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
13731
13732 * configure.in: Remove h8300h, we have multilib now.
13733
13734Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
13735
13736 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
13737 functions, to get preference over the ones in libiberty (since we
13738 provide correct declarations in <string.h>.
13739 * libc/string/Makefile.in: add support for strncasecmp,
13740 strcasecmp.
13741
13742Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
13743
13744 * Change netware config not to look for cpu explicitly.
13745
13746Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
13747
13748 * libc/sys/sparc64/{creat.c,junk.c}: New files.
13749 * libc/sys/sparc64/Makefile.in: Add dependencies.
13750
13751Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
13752
13753 * configure.in: Clean up v9 a bit, new "os" aoutv8.
13754
13755Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
13756
13757 * libc/include/sys/reent.h: make structure smaller by allocating
13758 some stuff when needed.
13759 * libc/signal/signal.c: allocate as needed
13760 * libc/stdio/findfp.c,stdio/local.h: ditto
13761 * libc/stdlib/mprec.c: ditto
13762
13763 * libc/time/localtime.c: don't return a dangling stack ptr.
13764
13765Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
13766
13767 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
13768
13769Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13770
13771 * libc/include/stdio.h (__sputc): comment out static inline which
13772 confuses coff toolchains.
13773
13774Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
13775
13776 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
13777 _write.s, getpid.c, kill.c, read.s}:
13778 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
13779 through the syscalls directory.
13780
13781Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
13782
13783 * configure.in: fixed double quote gotcha.
13784
13785Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
13786
13787 * stub/ex931: stub library for sparclite board.
13788 * stub/idp: Renamed from mc68ec. Added contructor table
13789 stuff to linker script.
13790 * stub/mvme135: Renamed from m68kmvme. Added contructor table
13791 stuff to linker script.
13792
13793Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13794
13795 * configure.in: Configure testsuites only if they exist.
13796
13797Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13798
13799 * configure.in: Don't set machine_dir for i386 until there is
13800 something in libc/machine/i386 to compile. For i[34]86-*-netware*
13801 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
13802 CLOCK_PROVIDED and MALLOC_PROVIDED.
13803
13804 * libc/sys/netware: New directory. Contains simplistic and
13805 probably incorrect stubs for NetWare. Should be enough to load
13806 the library.
13807 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
13808 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
13809 stub files.
13810
13811 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
13812 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
13813 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
13814 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
13815
13816Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
13817
13818 * testsuite/Makefile.in: add "docs" dummy target for consistency
13819 with rest of newlib; turn "info" and "install-info" into dummy
13820 targets, since they wouldn't have worked. (Depended on
13821 nonexistent "doc" subdir.)
13822
13823Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13824
13825 * configure.in: handle mips* instead of mips
13826
13827Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
13828
13829 * libc/include/sys/dirent.h: New file. If it is not overridden by
13830 a version of libc/sys/*/sys/dirent.h, it includes the next
13831 <dirent.h> file in case there is one lurking somewhere.
13832
13833Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13834
13835 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
13836 compliance, namely: Accept a minus sign. Consider a single 0 with
13837 a radix of 0 as being a conversion. Determine overflow correctly.
13838 If an overflow occurs, set *ptr to the end of the number, not the
13839 middle.
13840 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
13841
13842Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
13843
13844 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
13845
13846Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
13847
13848 * Makefile.in (INSTALL): Use $srcrootpre.
13849 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
13850 can't handle it.
13851 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
13852 it.
13853 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
13854 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
13855 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
13856 * libm/math/Makefile.in (matherr.o): Ditto.
13857
13858Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13859
13860 * configure.in: Build multidirs for z8k.
13861 * libc/include/stdlib.h (_strtoul_r): add prototype.
13862 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
13863 * libc/include/machine/setjmp.h: Add for z8k.
13864 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
13865 * libc/sys/z8ksim/glue.c: tidy up.
13866
13867Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
13868
13869 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
13870 New files. Requires execve system call.
13871 * libc/unix/Makefile.in: Use them.
13872 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
13873 Deleted, moved to libc/unix.
13874 * libc/sys/sparc64/Makefile.in: Remove them.
13875
13876Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
13877
13878 * libc/sys/sparc64/{template.S template_r.S}: New files.
13879 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
13880 from templates.
13881 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
13882 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
13883 umask.S unlink.S wait4.S write.S}: Removed, now built from
13884 templates.
13885
13886Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
13887
13888 * libc/time/time.c: #include <_ansi.h>.
13889
13890Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
13891
13892 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
13893
13894Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13895
13896 * configure.in: match m8* rather than m88k so that m88110 is
13897 recognized as well.
13898
13899Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
13900
13901 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
13902 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
13903 misc.c: New file.
13904
13905 * configure.in: Add multilib support to h8300.
13906
13907Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
13908
13909 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
13910 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
13911 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
13912
13913Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13914
13915 * configure.in: Corrected multidirs for sparc target.
13916
13917Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13918
13919 Support for building newlib multiple times with different
13920 compilation flags.
13921 * configure.in: Only configure doc at top level. Set multidirs
13922 when appropriate for target, unless not at top level. If
13923 multidirs is set, independently configure each subdirectory.
13924 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
13925 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
13926 automagically set by configure.in.
13927 (all): If MULTIDIRS is set, build multiple copies of libraries.
13928 (install): If MULTIDIRS is set, install multiple copies of
13929 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
13930 MULTISUBDIR is set, don't bother to install header files.
13931 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
13932 ${srcrootpre}.
13933 * stub/configure.in: Set MULTISUBDIR appropriately.
13934 * stub/Makefile.in (install): Install in
13935 $(tooldir)/lib/$(MULTISUBDIR).
13936 * All Makefile.in files: Define SRCTOP as well as TOP.
13937
13938Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
13939
13940 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
13941 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
13942
13943Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
13944
13945 * libc/sys/h8300hms/exit.c (_exit): New function.
13946
13947Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13948
13949 * configure.in: recognize m88110.
13950
13951Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13952
13953 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
13954 prototype main and call with args.
13955
13956Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
13957
13958 First real try at system traps for m88k-bug.
13959 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
13960 to real trap calls.
13961 * libc/sys/m88kbug/sys/systraps.h: new file.
13962
13963Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13964
13965 Patches to fix info building when target does not use sys
13966 directory.
13967 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
13968 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
13969 libc/sys.tex.
13970 * libc/sys/Makefile.in (doc): do nothing.
13971
13972Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13973
13974 * libc/Makefile.in (CRT0): new macro.
13975 (all): depend on $(CRT0) rather than crt0.o.
13976
13977 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
13978 do not default crt0, instead, set crt0 and crt0_dir based on
13979 sys_dir and stub_dir.
13980
13981 * Makefile.in (CRT0_DIR): new macro.
13982 (all): depend on $(CRT0) rather than crt0.o which may not exist.
13983 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
13984 $(CRT0).
13985 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
13986
13987Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13988
13989 * testsuite/lib/libm.exp:
13990 added code to support compiling and linking of tests for
13991 libm.sac (paranoia to be added next) and processing the
13992 pass or failure of the tests.
13993
13994 * testsuite/config/unix-libm.exp:
13995 platform specific proc's for dealing with compiler, linker
13996 and the way we execute and process the test results.
13997
13998 * testsuite/libm.sac/execute.exp:
13999 generic framework for the sac tests. the config and lib
14000 expect code for specific platforms tie it all together.
14001
14002 * testsuite/libm.sac/test_is.c:
14003 changed the output of the test to be consistant with the
14004 other tests. parsing of pass nad fail messages is now fixed.
14005
14006Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
14007
14008 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
14009 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
14010 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
14011 #ifdef __cplusplus, surround by extern ""C { ... }.
14012 * libc/include/assert.h: Do *not* protect assert.h against
14013 multiple inclusion! Also, #undef it before #define, to allow
14014 redefinition.
14015 * libc/include/stdio.h (getlogin, cuserid): Removed. These
14016 should be only in unistd.h.
14017
14018 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
14019 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
14020 ... }.
14021
14022Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
14023
14024 * libc/machine/sparc/Makefile.in: Must create a library, even
14025 if empty.
14026
14027Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14028
14029 * configure.in: set machine_dir for m88k. edit crt0 definition
14030 into makefiles.
14031
14032 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
14033
14034 * libc/Makefile.in (all): also build crt0.o.
14035
14036 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
14037 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
14038 to remove CRT0.
14039
14040 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
14041 (all): reworked to build in place.
14042 (clean): remove lib.a
14043 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
14044
14045 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
14046 (_start): key off edata rather than _start_bss.
14047
14048Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
14049
14050 * libc/include/sys/unistd.h, libc/include/reent.h,
14051 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
14052
14053Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14054
14055 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
14056
14057 * Makefile.in (libc.a): break into two rules, one for libc.a and
14058 one for libc/libc.a. Force subdirs current before rebuilding
14059 library.
14060 (libm.a): break into two rules, one for libm.a and one for
14061 libm/libm.a. Force subdirs current before rebuilding library.
14062
14063 * libc/Makefile.in (SUBLIBS): fix typo.
14064
14065 * libc/sys/Makefile.in (all): force descent into subdirs, then
14066 rebuild library iff out of of date.
14067
14068Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14069
14070 Rework so that library is built and then finished rather than
14071 being built on each invocation of make.
14072
14073 * host/any (machine_dir, sys_dir, signal_dir): these are not
14074 shared and have been moved to their associated Makefile.in's.
14075 (AR_FLAGS): switch to qc which is faster.
14076 * configure.in: no longer assign machine_dir for m88k. set
14077 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
14078 stub_dir set, then add to configdirs. add comment about silly
14079 configuration.
14080 (configdirs): drop stub. It will be added only
14081 when needed.
14082 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
14083 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
14084 stub_lib, crt0): new variables for tailoring lower level
14085 makefiles. Assign accordingly and edit into makefiles.
14086 * libm/Makefile.in: updated copyright.
14087 (TARGETLIB): removed.
14088 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
14089 (SUBDIRS): removed TARGETDEP_DIRS.
14090 (LIBM_FP_LIB, SUBLIBS): new macros.
14091 (all): reworked.
14092 (force): new target to force rebuilds.
14093 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14094 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
14095 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
14096 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
14097 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
14098 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
14099 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
14100 stub/m68kmvme/Makefile.in: updated copyright.
14101 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
14102 (all): reworked. made this the default rule.
14103 (clean): also remove lib.a.
14104 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14105 * stub/Makefile.in: updated copyright.
14106 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
14107 (stub_lib): new macro.
14108 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
14109 RANLIB.
14110 (all): reworked.
14111 (clean, install): assume stub_dir exists.
14112 (Makefile): depend on configure.in. call $(SHELL) rather than
14113 sh. drop redundant ./
14114 * stub/configure.in (stublib): new macro, assign it, edit it into
14115 makefiles.
14116 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
14117 updated copyright.
14118 (all): reworked.
14119 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14120 * libc/Makefile.in (TARGETCRT0): removed.
14121 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
14122 TARGETCRT0.
14123 (SUBDIRS): drop TARGETDEP_DIRS.
14124 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
14125 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
14126 (force): new target to force rebuilds.
14127 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
14128 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
14129 removed.
14130 (clean): assume sys_dir always exists.
14131 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
14132 drop redundant ./
14133 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
14134 libc/locale/Makefile.in, libc/machine/Makefile.in,
14135 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
14136 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
14137 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
14138 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
14139 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
14140 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
14141 libc/signal/Makefile.in, libc/stdio/Makefile.in,
14142 libc/stdlib/Makefile.in, libc/string/Makefile.in,
14143 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
14144 libc/time/Makefile.in, libc/unix/Makefile.in,
14145 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
14146 (TARGETLIB): removed.
14147 (all): reworked.
14148 (clean): also remove lib.a.
14149 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14150 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
14151 new macros.
14152 (SUBDIRS): moved to follow frag inclusion, change stub to
14153 stub_dir.
14154 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
14155 are now set in the libc Makefile.
14156 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
14157 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
14158 TARGETCRT0.
14159 (force): new target to force rebuilds.
14160 * stub/configure.in: determine and set stub_lib for for Makefile.
14161
14162Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
14163
14164 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
14165 crt0.s renamed to crt0.S.
14166 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
14167
14168 * libc/machine/h8300/Makefile.in: Make `all' the default target.
14169 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
14170 h8300h.
14171 * libc/machine/h8300/defines.h: Add macros to handle pointers for
14172 h8300 (16 bits) and h8300h (32 bits).
14173 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
14174 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
14175
14176Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
14177
14178 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
14179 implementation of setjmp and longjmp for the m88k.
14180 * libc/include/machine/setjmp.h: Added __m88000__ case.
14181
14182Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
14183
14184 * configure.in: Recognize h8300h as variant of h8300.
14185
14186Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14187
14188 * libc/include/sys/unistd.h (read, write): get prototypes right.
14189 (sbrk): New prototype.
14190 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
14191 * libc/stdio/local.h: Include unistd.h.
14192 * libc/machine/h8300/syscalls.c: Names have changed.
14193
14194Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
14195
14196 * configure.in: add sys_dir assignment for m88k-bug.
14197
14198Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
14199
14200 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
14201 a.out or elf.
14202 * libc/sys/sparc64: all *.S files: Use new macros.
14203 * libc/sys/sparc64/isatty.c: New file.
14204 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
14205 functions beyond what newlib provides.
14206
14207Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
14208
14209 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
14210 svr4.
14211
14212Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
14213
14214 * libc/include/machine/ieeefp.h: Add support for h8/300h.
14215
14216Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
14217
14218 * configure.in: add m88k.
14219 * libc/include/machine/ieeefp.h: add case for m88k. Also add
14220 sanity check so no one else need ever chase what I did to find
14221 this.
14222
14223 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
14224
14225Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
14226
14227 * doc/makedoc.c: Include <ctype.h>.
14228
14229Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
14230
14231 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14232 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14233 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14234
14235 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
14236
14237Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
14238
14239 * libc/include/errno.h (ENOSYS): Added.
14240
14241 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
14242
14243Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14244
14245 * libc/stdio/fflush.c (fflush): Check for reent struct
14246 initialization.
14247 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
14248
14249Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
14250
14251 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
14252 out of dtoa.c so it doesn't pollute the namespace.
14253 * libc/include/_syslist.h: new file -- mappings from _function to
14254 function, for systems where we can't win (by default, all of them,
14255 until we start updating system calls.)
14256 * libc/syscalls: new directory -- stubs for exporting _function
14257 names as unmodified function names.
14258 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
14259 _syslist.h on all platforms by default, but put hooks in for
14260 fake_sys_dir so we can include it when we've renamed the system
14261 calls.
14262 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
14263 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
14264 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
14265 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
14266 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
14267 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
14268 non ANSI functions to call _function.
14269
14270Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
14271
14272 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
14273 when base 16 is specified. Don't accept non-digits if radix > 10.
14274
14275Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
14276
14277 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
14278
14279Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14280
14281 * libc/include/sys/stat.h: Surround text after #endif with
14282 comments.
14283
14284Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
14285
14286 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
14287 _malloc_r, _realloc_r, and free_r call the corresponding
14288 non-reentrant functions.
14289
14290 * libm/math/modf.c (modf): We now take the address of ipart, so
14291 don't make it a register variable.
14292
14293Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
14294
14295 * libm/math/*: Rename all xxx_r fns to _xxx_r.
14296
14297Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
14298
14299 * libc/libc.texinfo and embedded docn throughout: formatting
14300 improvements, minor rephrasing for clarity, and improved
14301 reentrancy docn.
14302
14303Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14304
14305 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
14306
14307 * libc/stdio/cvt.c (_licvt): Print the right value on machines
14308 where sizeof(int) != sizeof(long).
14309
14310Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14311
14312 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
14313 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
14314 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
14315 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
14316 libm/math/matherr.c: changes for better docn formatting (info).
14317
14318 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
14319 libc/reent/reent.tex, libc/signal/signal.tex,
14320 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
14321 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
14322 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
14323 makeinfo node defaulting to get better Info file node structure.
14324 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
14325 Also include a few formerly missing sections (subroutines).
14326
14327 * doc/doc.str: delete fossil expansion for "func"
14328
14329 * default.menu, no-signal.menu: delete.
14330
14331 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
14332 method used to adjust doc for missing "signals" chapter when
14333 signal_dir is empty.
14334
14335Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14336
14337 * configure.in: added testsuite/libm.sac
14338
14339Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
14340
14341 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
14342 code model).
14343
14344Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
14345
14346 * libm/Makefile.in: Use $(MAKE) rather than make, and define
14347 MAKEOVERRIDES to be empty.
14348
14349Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
14350
14351 * configure.in: Don't build mips-*-* with -msoft-float, since that
14352 makes it incompatible with hard floating point.
14353
14354Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14355
14356 * Makefile.in: added recursive 'make check'
14357
14358Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14359
14360 * configure.in: added ./testsuite ./testsuite/libm.paranoia
14361 * ./testsuite/Makefile.in: created
14362 * ./testsuite/libm.paranoia: paranoia tests added
14363
14364Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
14365
14366 * configure.in: For mips-*-* set machine_dir to mips.
14367
14368 * libc/machine/mips: New directory.
14369 * libc/machine/mips/Makefile.in: New file.
14370 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
14371 setjmp and longjmp.
14372 * libc/include/machine/setjmp.h: Added __mips__ case.
14373
14374 * libc/machine/lmips: Removed unused and useless directory.
14375
14376Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
14377
14378 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
14379
14380Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
14381
14382 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
14383 start up).
14384
14385Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
14386
14387 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
14388 SETJMP_H.
14389
14390Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
14391
14392 * libm/test/convert.c: structure member errno -> errno_val.
14393 Must include <errno.h> to use errno, it's a macro now.
14394 * libm/test/math.c: Ditto.
14395 * libm/test/math2.c: Include errno.h.
14396 * libm/test/string.c: Ditto.
14397 * libm/test/test.h: structure member errno -> errno_val.
14398 Remove extern int errno decl.
14399
14400Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
14401
14402 * libc/stdio/Makefile.in: Added dependencies on local header
14403 files.
14404 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
14405 files.
14406
14407Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
14408
14409 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
14410
14411Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
14412
14413 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
14414 Initialize _data.
14415
14416 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
14417 * libc/stdio/local.h: Add prototype for _licvt.
14418
14419 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
14420 instead of malloc,reealloc.
14421
14422 * libc/stdlib/local.h: New file.
14423 * libc/stdlib/efgcvt.c: #include local.h.
14424 (gcvt): Fix call to _gcvt.
14425 * libc/stdlib/ecvtbuf.c: #include local.h.
14426
14427 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
14428 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
14429 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
14430
14431 * libc/stdlib/atexit.c: moved global data to struct _reent.
14432 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
14433
14434 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
14435
14436Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
14437
14438 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
14439 here from ../reent.h.
14440
14441Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
14442
14443 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
14444 should be provided in both libc.a and libm.a.
14445 (libc.a): Depend on targ-include and libm.a. Copy
14446 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
14447 (libm.a): Depend on targ-include.
14448 * configure.in (subdirs): Removed libc/math.
14449
14450Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14451
14452 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
14453
14454Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
14455
14456 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
14457 sys/reent.h instead of reent.h.
14458 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
14459 headers moved to sys/reent.h.
14460 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
14461 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
14462 __need__MAX_SIGNALS defined.
14463 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
14464 std{in,out,err} refer to new _std{in,out,err} members.
14465
14466Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
14467
14468 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
14469 case.
14470
14471Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
14472
14473 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
14474 rather than whatever macro seterrno() has.
14475
14476Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
14477
14478 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
14479 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14480
14481 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
14482 __STDC__.
14483
14484 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
14485 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
14486 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14487
14488 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
14489 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14490
14491 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
14492 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14493 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14494 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
14495 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
14496 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
14497 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
14498 renamed to _xxx_r. struct reent_struct renamed to struct _reent
14499 for ANSI. structure members given leading "_" for ANSI. Use
14500 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14501
14502 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
14503 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
14504 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
14505 reent_struct renamed to struct _reent for ANSI.
14506 Structure members given leading "_" for ANSI.
14507 _CONST --> const in prototypes.
14508 Use _HAVE_STDC instead of __STDC__.
14509
14510 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
14511 _xxx_r.
14512 struct reent_struct renamed to struct _reent for ANSI.
14513 Structure members given leading "_" for ANSI.
14514
14515 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
14516 _xxx_r.
14517 struct reent_struct renamed to struct _reent for ANSI.
14518
14519 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
14520 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
14521 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
14522 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
14523 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
14524
14525 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
14526 signal.h, stdio.h, stdlib.h, string.h, time.h}:
14527 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14528 #ifndef _STRICT_ANSI non-ANSI routines.
14529 Reentrant routines renamed from _r_xxx to _xxx_r.
14530 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
14531 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
14532 Clean up namespace (structure members have leading "_").
14533 struct reent_struct renamed to struct _reent for ANSI compliance.
14534 _CONST --> const in function prototypes.
14535
14536 * libc/include/string.h: Add NULL and size_t.
14537
14538 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
14539 unlink, wait, wait4. Reentrant syscall routines close, fork,
14540 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
14541 write.
14542 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
14543 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
14544 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
14545 write.S}: Define reentrant versions.
14546 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
14547 reentrant syscalls.
14548
14549 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
14550
14551 * libc/include/stdlib.h (RAND_MAX): Fix value.
14552
14553Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
14554
14555 * libc/sys/a29khif/_main.c: Removed unnecessary file.
14556 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
14557 VPATH support targets after all: target.
14558
14559 * stub/mvme135/mvme.S: Renamed exceptionhandler to
14560 exceptionHandler, which is what mvme135-stub.c expects.
14561
14562Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
14563
14564 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
14565
14566 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
14567 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
14568 compliant).
14569
14570Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
14571
14572 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
14573 first.
14574 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
14575 _r_write): Ditto.
14576 libc/reent/fstatr.c (_r_fstat): Ditto.
14577 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
14578 libc/reent/sbrkr.c (_r_sbrk): Ditto.
14579 libc/reent/statr.c (_r_stat): Ditto.
14580
14581 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
14582 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
14583 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
14584 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
14585 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
14586 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
14587 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
14588 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
14589 (__swrite): Ditto for _r_lseek, _r_write.
14590 (__sseek): Ditto for _r_lseek.
14591 (__close): Ditto for _r_close.
14592 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
14593
14594 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
14595 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
14596
14597 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
14598 to make reent_struct the first argument (and thus consistent with
14599 the rest of newlib).
14600
14601 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
14602 reference to __STDC__.
14603
14604Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
14605
14606 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
14607 global __cleanup.
14608
14609Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
14610
14611 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
14612 first.
14613 libc/stdio/fclose.c (fclose): Ditto.
14614
14615Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
14616
14617 * Run through indent and rename reentrant routines for ANSI.
14618 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
14619 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
14620 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
14621 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
14622 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
14623 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
14624 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
14625 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
14626 vsprintf.c wbuf.c wsetup.c local.h}
14627
14628 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
14629
14630 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
14631 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
14632 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
14633 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
14634 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
14635 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
14636
14637 * Run through indent.
14638 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
14639 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
14640 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
14641 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
14642 strxfrm.c}
14643
14644 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
14645 localtime.c mktime.c strftime.c time.c}:
14646 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
14647
14648 * Reformatting + renaming (for ANSI, GNU style, consistency).
14649 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
14650 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
14651 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
14652
14653Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
14654
14655 * libc/include/stdio.h (stdin_r): Fix.
14656
14657Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
14658
14659 * Makefile.in: Unexport some variables to keep GNU make from
14660 putting them in the environment and using up needed ARG_MAX space
14661 (a hack is used to let this work with older makes as well).
14662
14663Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
14664
14665 * Makefile.in: Use $(MAKE) rather than make.
14666 (MAKEOVERRIDES): Define to be empty.
14667 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14668 (libc.a, libm.a): Depend on targ-include.
14669 * host/any (LD): Don't define.
14670 (INCLUDES): Use targ-include.
14671 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
14672 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14673 * libc/Makefile.in: Use $(MAKE) rather than make.
14674 (MAKEOVERRIDES): Define to be empty.
14675 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14676 (all): Rewrote to be slightly smaller.
14677 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
14678 Define to be empty.
14679 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14680 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
14681
14682Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
14683
14684 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
14685 with errno/errno.c.
14686
14687Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
14688
14689 * Changes for reentrancy.
14690 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
14691 Use ptr->_errno, not errno.
14692 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
14693 libc/stdio/remove.c (remove_r): New function.
14694 libc/stdio/rename.c (rename_r): New function.
14695 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14696 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
14697 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
14698 reentrant versions of system calls.
14699 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
14700 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
14701 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
14702 libc/stdio/findfp.c: Include <string.h>.
14703 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
14704 "local.h".
14705 libc/stdio/wbuf.c: Include "fvwrite.h"
14706
14707 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
14708 <string.h>.
14709 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
14710 (NULL): Don't define if already defined.
14711 libc/stdlib/system.c: Call reentrant versions of system calls.
14712 (system_r): New function.
14713
14714 * Changes for reentrancy.
14715 libc/include/_ansi.h (_PARAMS): New macro.
14716 libc/include/errno.h: Define errno as a macro that calls __errno.
14717 (__errno_r): New macro for reentrant code.
14718 libc/include/math.h: Include reent.h. Declare many reentrant
14719 functions.
14720 (signgam): Now a macro, not a variable.
14721 (struct exception): Added err field.
14722 libc/include/reent.h: Don't declare __sglue. Added function
14723 declarations.
14724 (struct reent_struct): Moved errno to beginning. Added _signgam.
14725 libc/include/stdio.h, libc/include/stdlib.h: Added function
14726 declarations.
14727
14728 * More reentrancy hacking.
14729 libc/errno/errno.c (__errno): New function.
14730 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
14731 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
14732 files.
14733
14734 * Added many new reentrant functions to libm/math/*.
14735 libm/math/error.c (__matherror): Added reent_struct pointer
14736 argument. Changed all callers.
14737 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
14738 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
14739 libm/math/tan.h: Removed obsolete unused header files.
14740
14741 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
14742
14743 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
14744
14745Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14746
14747 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
14748 delay slots.
14749
14750Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14751
14752 * libc/libc.texinfo: comment out reentrancy chapter (duh)
14753
14754Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14755
14756 * libc/reent/reent.tex: New file. (text from
14757 newlib/libc/libc.texinfo)
14758 * libc/stdio/tmpnam.c: fixed doc typo
14759 * libc/stdlib/rand.c: fixed doc typo
14760
14761Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14762
14763 * libc/reent/reent.tex: New file. (text from
14764 newlib/libc/libc.texinfo)
14765
14766Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14767
14768 support for reentrancy
14769 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
14770 new files
14771 * libc/errno/errno.c, libc/include/ieeefp.h,
14772 libc/include/locale.h, libc/include/reent.h,
14773 libc/include/signal.h, libc/include/stdio.h,
14774 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
14775 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
14776 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
14777 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
14778 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14779 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
14780 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
14781 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
14782 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
14783 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
14784 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
14785 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
14786 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
14787 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
14788 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
14789 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
14790 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
14791 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
14792 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
14793 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
14794 libc/time/strftime.c: modify to provide reentracy.
14795
14796 new routines:
14797 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
14798 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
14799 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
14800 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
14801 mstats_r, realloc_r, localeconv_r, setlocale_r
14802
14803Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
14804
14805 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
14806 libc/include/sys/config.h, libc/include/sys/signal.h,
14807 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
14808 provided macros (such as m68000), use the ansi version
14809 (__m68000__) so that the library can be used with code compiled
14810 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
14811 and sparc.
14812
14813Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14814
14815 * configure.in (sparc*): Don't set -fsoft-float for sparc
14816 configurations. Do set -fsoft-float for sparclite configurations.
14817
14818Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14819
14820 * default.menu, no-signal.menu: alternate forms of libc main menu
14821 (in newlib rather than newlib/libc due to configuration restrictions)
14822
14823 * configure.in: select one of the two menus above, link to
14824 libc.menu
14825
14826 * libc/libc.texinfo: include menu from separate file
14827
14828Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
14829
14830 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
14831 (info): Split long shell command in half.
14832 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
14833 sub-makes, just CHEW and TARGETDOC.
14834 (targetdep.tex): Removed now special handling of sys and machine
14835 subdirectories, made obsolete some time ago.
14836 * libc/machine/Makefile.in (doc): Don't pass everything to
14837 sub-make, just CHEW and TARGETDOC.
14838 (Makefile): New target.
14839 * libc/sys/Makefile.in (Makefile): New target.
14840
14841Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
14842
14843 * Makefile.in (here and most subdirectories): Only pass down CHEW
14844 and TARGETDOC when making info, not for other targets.
14845
14846 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
14847 $(AR_FLAGS) rather than $(ARUPDATE).
14848
14849Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
14850
14851 * Try to reduce command line length:
14852 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
14853 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
14854 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
14855 (info): Pass CHEW to other subdirs.
14856
14857Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
14858
14859 * configure.in: add signal_dir, like unix_dir, but by default it
14860 is set to "signal" so that a29khif can turn it off (since a29khif
14861 has raise() as part of machine-specific signal.s.)
14862
14863Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14864
14865 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
14866 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
14867 correctly.
14868 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
14869 libc/stdio/vfprintf: type lint.
14870 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
14871 initialzation code.
14872 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
14873
14874Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
14875
14876 * stub/mvme135/mvme135-asm.S: new file.
14877 stub/mvme135mvme135-stub.c: moved all assembler routines into
14878 mvme135-asm.S.
14879 stub/mvme135/Makefile.in: build mvme135-stub.o.
14880
14881Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
14882
14883 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
14884 sub-Makefiles instead, to try to avoid line length limitations.
14885
14886Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
14887
14888 * libc/include/unistd.h (read, write): Use void* instead of
14889 char*.
14890
14891Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
14892
14893 * stub/go32/resetpc: sample script to send a reset packet to the
14894 stub
14895
14896 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
14897 DOS environment, which compiles with Turbo C.
14898
14899 * stub/go32/DSER32.LNK: new file, linker commands for serial
14900 remote stub.
14901
14902 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
14903 start up message to identify version; call set_debug_traps.
14904
14905 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
14906 keyboard interaction); call handle_exception() in go_til_stop,
14907 rather than return, so that the remote stub gets control.
14908
14909 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
14910 rename, rather than mv), set flags that work with current Turbo C,
14911 including using the /3 flag; also, add commands to build dser32.
14912
14913 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
14914 default Turbo C installation (\tc rather than \usr)
14915
14916 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
14917 "&..."
14918
14919Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14920
14921 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
14922
14923Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14924
14925 * libc/stdio/cvt.c (licvt): new function to convert ints when
14926 sizeof(int) != sizeof(long).
14927
14928 * libc/include/stdio.h: added prototype for iprintf.
14929 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
14930
14931Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
14932
14933 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
14934 __REGISTER_PREFIX__.
14935
14936Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
14937
14938 * libc/sys/m68kbare: moved into stub directory.
14939
14940Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
14941
14942 * configure.in, Makefile.in: created new directory stub, to hold
14943 sample code for specific targets.
14944
14945Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
14946
14947 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
14948 in the unified libc/include/sys/fcntl.h.
14949
14950Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
14951
14952 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
14953 printed .01, not 0.01.
14954
14955Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
14956
14957 * configure.in: compile with -m68000 for m68* targets.
14958
14959Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
14960
14961 * libm/math/remainder.c (remainder): document the svr4 and sunos
14962 references used to construct the function.
14963
14964Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
14965
14966 * libm/math/remainder.c (rint, remainder): fix old typos.
14967 * libm/math/Makefile.in: actually build remainder.c (functions
14968 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
14969 page.)
14970
14971Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
14972
14973 * libc/string/bcopy.c: BSD version works on overlapping strings,
14974 so ours should too.
14975
14976 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
14977 ("SHELL").
14978
14979Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
14980
14981 * Makefile.in (docs): new target.
14982
14983Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
14984
14985 * libc/include/sys/times.h: define clock_t as required by POSIX.
14986 libc/include/time.h: protect clock_t from multiple definitions.
14987
14988Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14989
14990 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
14991 does not need more than the original three iterations to get
14992 within 1 ulp. (Paranoia tests for rounding to better than that,
14993 but further iterations *don't* help, only more subtle changes
14994 can.)
14995
14996Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
14997
14998 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
14999 were doing nothing useful.
15000
15001Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
15002
15003 * configure.in: define MALLOC_PROVIDED for vxworks targets;
15004 removed sys_dir settings of vxworks68 and vxworks960.
15005 host/any: don't pass -nostdinc to gcc, since newlib no longer
15006 provides all required header files.
15007
15008 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
15009 is not defined; this provides a hook for VxWorks.
15010
15011Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15012
15013 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
15014 buffer if buf is NULL, don't do it here -- it is already being
15015 done by makebuf elsewhere in stdio.
15016
15017Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
15018
15019 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
15020 that C programs can call functions without using initial
15021 underscores.
15022
15023Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
15024
15025 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
15026
15027Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
15028
15029 * configure.in: set TARGET_CFLAGS for certain CPU types to
15030 -msoft-float.
15031
15032Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15033
15034 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
15035
15036Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
15037
15038 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
15039 m68k*-unknown-coff.
15040
15041Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
15042
15043 * libc/include/stdio.h: define __need___va_list before including
15044 <stdarg.h>, to avoid defining va_arg, et. al.
15045
15046Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
15047
15048 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
15049 (don't cd to the user's home directory).
15050
15051 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
15052 In general this is the wrong thing to do, but I can't get around
15053 GNU make's insistence on passing command line arguments any other
15054 way.
15055
15056Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
15057
15058 * configure.in: always configure the libc/sys directory, since it
15059 now provides a required documentation file.
15060
15061 * Makefile.in: replaced all instances of $(MAKE) with make. In
15062 general this is the wrong thing to do, but I can't get around GNU
15063 make's insistence on passing command line arguments any other way.
15064
15065Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
15066
15067 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
15068 terminated.
15069
15070 * libc/stdio/local.h: include <stdarg.h> to define va_list.
15071 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
15072
15073 * libc/include/float.h, libc/include/stdarg.h,
15074 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
15075 versions instead.
15076 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
15077 <stdarg.h>, not from <machine/types.h>. Protect definition of
15078 NULL.
15079 libc/include/time.h: get size_t from stddef.h. Protect definition
15080 of NULL.
15081 libc/include/machine/limits.h: override gcc <limits.h> by defining
15082 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
15083 get correct INT_MIN and LONG_LONG values.
15084 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
15085 size_t or va_list at all; they're now gotten from stddef.h
15086 instead.
15087 libc/include/machine/varargs.h: removed; use gcc version instead.
15088 libc/include/sys/types.h: explicitly include <machine/types.h>.
15089
15090 * libm/math/sqrt.h: using the fp-bit routines appears to require
15091 more iterations.
15092
15093 * Makefile.in, host/any: let system include files override machine
15094 include files.
15095
15096Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15097
15098 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
15099 override _*_T_ definitions defaulted here.
15100
15101Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
15102
15103 * Makefile.in (install): install the include files in
15104 $(tooldir)/include, not $(exec_prefix)/include.
15105
15106Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
15107
15108 * Makefile.in (install): fixed typo, and changed install to not
15109 force rebuild of libc.a and libm.a.
15110
15111Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
15112
15113 * libc/sys/a29khif/*: Changed all .include's to include
15114 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
15115 that they will be installed for the user.
15116
15117 * Makefile.in (all): create targ-include, a directory holding the
15118 machine and system specific header files during the build.
15119 (install): fixed installation of machine and system specific
15120 header files.
15121
15122 * Makefile.in: fixed comment.
15123 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
15124 we can pass $(INCLUDES) to it.
15125
15126Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
15127
15128 * libc/include/sys/param.h: new generic file, which may be
15129 overridden for specific systems.
15130
15131 * libc/include/sys/signal.h: define all ANSI signal names, and
15132 NSIG (which is not ANSI) for a29k.
15133
15134Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
15135
15136 * Makefile.in: don't pass down arguments the lower level makes
15137 will not need.
15138 * libc/Makefile.in: recurse directly, rather than using subdir_do,
15139 in hopes of avoiding argument length limits.
15140 * libm/Makefile.in: recurse directly, rather using subdir_do, in
15141 hopes of avoiding argument length limits.
15142
15143Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
15144
15145 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
15146 mode_t is defined.
15147
15148Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
15149
15150 * Fixed make info and make install-info for newlib, changing most
15151 Makefile.in and several *.tex files. Moved doc directory from
15152 libc to top level.
15153
15154 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
15155 Should be rewritten.
15156
15157 * libc/string/strings.tex: renamed node index to node index
15158 function, so that it does not conflict with the top level index
15159 node.
15160
15161 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
15162
15163Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
15164
15165 * Overhauled general configuration for newlib. Eliminated all
15166 target dependent Makefile fragments. Create libraries in newlib
15167 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
15168 than CROSS_CC, et. al. Broke make docs; will fix later.
15169
15170 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
15171 Should be rewritten.
15172
15173Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
15174
15175 * libc/configure.in: cleaned up somewhat; switch on ${target}
15176 rather than ${target_alias}.
15177 * libm/configure.in: cleaned up somewhat; switch on ${target}
15178 rather than ${target_alias}.
15179
15180 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
15181 * libc/include/ctype.h: marked _ctype_ as _CONST.
15182
15183 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
15184 _CONST.
15185
15186 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
15187 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
15188 libc/stdio/gets.c (gets): removed non-ANSI warning message.
15189 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
15190
15191 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
15192 bigtens, tinytens): marked arrays _CONST.
15193 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
15194 rather than a static variable.
15195
15196 * libc/time/asctime.c (asctime), libc/time/localtime.c
15197 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
15198 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
15199 mname_len, mname): Marked static arrays _CONST.
15200
15201 * libm/math/gamma.h: made local variables non-static.
15202
15203 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
15204 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
15205 _CONST.
15206
15207 * libm/math/constants.c: removed file, because the constants it
15208 defined were never referenced.
15209 libm/math/Makefile.in: removed references to constants.c.
15210 libm/math/mathimpl.h: removed declarations of constants.
15211
15212Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
15213
15214 * libc/include/machine/varargs.h: only call __builtin_saveregs if
15215 it is sensibly defined in libgcc2. Checks preprocessor defines,
15216 which is not a good solution.
15217
15218 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
15219
15220 * libm/frexp.c: handle denormalized numbers as arguments.
15221
15222 * libm/math/Makefile.in: added some dependencies for .c files
15223 which include local .h files.
15224
15225Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
15226
15227 * libc/configure.in: set target_alias for OSE*. Replace
15228 target_makefile_frag if it is blank.
15229
15230 * libc/Makefile.in: make sure everything is passed to subsidiary
15231 makes; create all directories when installing.
15232
15233 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
15234 CROSS_ARUPDATE instead of AR.
15235
15236 * libm/configure.in: set target_alias for OSE*. Replace
15237 target_makefile_frag if it is blank.
15238
15239 * libm/Makefile.in: make sure everything is passed to subsidiary
15240 makes; create all directories when installing.
15241
15242Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
15243
15244 * add following change from libc copy.
15245
15246Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15247
15248 * libc/libc.texinfo: make copyright disclaimers appear on back of
15249 title page; make format of same slightly less ugly; avoid using
15250 underbars in section headings (avoids nasty texinfo bug in table
15251 of contents).
15252
15253 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
15254 comments only) avoid using underbars in section headings
15255
15256 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15257 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
15258 changes in comments only): shorten headings ieeefp/infinity.c,
15259 ieeefp/isnan.c: (doc, comments only) more informative headings
15260
15261 * libc/math/bessel.c: (doc, comments only) shorten heading
15262
15263 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
15264 (doc, comments only) shorten headings
15265
15266 * libc/time/localtime.c (doc, comments only): shorten headings
15267
15268 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15269 isnan
15270 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
15271 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
15272 headings
15273 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
15274 only) more informative headings
15275 * libm/math/bessel.c: (doc, comments only) shorten heading
15276
15277Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15278
15279 * .../Makefile.in: use CROSS_ARUPDATE consistently.
15280 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
15281 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
15282 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
15283 defined, the one from the .mt file will be correct.
15284 * libc/include/machine, libc/include/sys: created, and populated
15285 with common files from machine/*/machine. ifdefs were used for
15286 most, typically by handling exceptions first and then filling in
15287 defaults. Files with D.J. Delorie copyright #included rather than
15288 copied. Most files in include/sys really were the same in the
15289 original.
15290 * libc/include/...: cleaned up use of _EXFUN.
15291 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
15292 it with double quotes, not angles.
15293
15294Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
15295
15296 * libc/Makefile.in: always create installation directories.
15297
15298Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15299
15300 * libc/configure.in: handle host properly (using canonical
15301 triples), better error message for the case of target not found
15302
15303Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
15304
15305 * libc/Makefile.in (insincdir): Ensure this directory exists
15306 before attempting installation.
15307
15308Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15309
15310 * libc/stdlib/assert.c: now calls abort like it should
15311 * libc/sys/a29khif: many many patches for 29khif work
15312 * libc/machine/i386: gnulib2 expanded there.
15313
15314Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15315
15316 Added accurate fp conversion routines to stdlib, moved dcvt from
15317 stdio to stdlib and called it ecvtbuf:
15318 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
15319 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
15320 routines
15321 * libc/libc.texinfo: Modifed to include the copyright info from
15322 the mprec files
15323 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
15324 * libc/test/ : many vector which tested for the implementation
15325 defined returns of strange conversion requests have been updated
15326 to relflect the new implementation
15327
15328Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15329
15330 * libc/libc.texinfo: new chapter on variable arg lists
15331 (stdarg.h/varargs.h)
15332 * libc/libc.texinfo: new title
15333 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
15334 (doc only) shorter headings for better formatting.
15335
15336Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15337
15338 * libc/libc.texinfo: three more info menu entries
15339 * libc/locale/locale.tex: new chapter
15340 * libc/locale/locale.c: new doc for setlocale, localeconv
15341 * libc/locale/Makefile.in: use new locale doc
15342 * libc/signal/signal.tex: new chapter
15343 * libc/signal/raise.c, libc/signal/signal.c: new doc
15344 * libc/signal/Makefile.in: use new doc
15345 * libc/time/time.tex: new chapter
15346 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
15347 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
15348 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
15349 * libc/time/Makefile.in: use new doc
15350
15351Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15352
15353 * libm/math/log1p.c: split to use the new function way of float
15354 function definition. math/log1p.h deleted
15355 * libm/math/scalb.c: obsolete and deleted
15356 * libm/math/scalbn.c: created from part log1p.c
15357 * libm/math/Makefile.in: know about log1p and scalbn
15358
15359Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15360
15361 * libc/ctype/isupper.c: revise doc;
15362 libc/ctype/ctype.tex: use doc from isupper.c
15363
15364 * libc/string/bzero.c: new doc
15365
15366Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15367
15368 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
15369 new doc
15370 * libc/stdlib/Makefile.in: extract new doc
15371 * libc/stdlib/stdlib.tex: use new doc
15372
15373 * libc/string/strerror.c: expanded doc.
15374
15375 * libc/stdio/Makefile.in: extract doc from more files
15376 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
15377 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
15378 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
15379 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
15380 libc/stdio/vsprintf.c: new doc
15381 * libc/stdio/stdio.tex: use new doc
15382
15383Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15384
15385 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
15386 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
15387 finitef functions.
15388 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
15389 time ago.
15390
15391 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
15392 * libc/stdio/setbuf.c: added ansi style definition.
15393 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
15394 buffer if none provided.
15395 * libc/stdio/tmpfile.c: lint
15396 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
15397 rather than using static, also make sure file isn't already
15398 present. Uses P_tmpdir. (tempnam): rewritten to use new
15399 subroutine, and uses P_tmpdir.
15400 * libc/stdio/siprintf.c: created
15401
15402Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15403
15404 Release 1.03 for NEC, major mods. Main differences from release
15405 1.02::
15406
15407 More tests in test/:
15408 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
15409 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
15410 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
15411 get/set mask, get/set sticky and get/set roundtoi. Tests
15412 that setting the bits changes the way arithmetic is done.
15413 * string.c: added test to make sure memcmp does it with unsigned
15414 chars.
15415 * test.c: cleaned up and removed lint.
15416 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
15417 dvec.c: tests for string to value conversions, sprintf, scanf,
15418 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
15419 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
15420 rounding in sprintf too.
15421 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
15422 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
15423 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
15424 and function form.
15425 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
15426 powf
15427
15428 In the library:
15429 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
15430 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
15431 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
15432 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
15433 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
15434 than sprintf.
15435 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
15436 * Method of producting float versions of double functions has
15437 changed, functions will be modified gradually. So far:
15438 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
15439 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
15440 altered
15441 * libc/string/memcmp.c: now uses unsigned chars
15442 * libc/string/bcmp.c, libc/string/strcpy.c,
15443 libc/stsring/strxfrm.c: fixed doc
15444 * libc/sys/sysvnecv70.tex: fix example of sbrk code
15445\f
15446Local Variables:
15447version-control: never
15448End:
This page took 1.814143 seconds and 5 git commands to generate.