]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
gas/
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
b1da33a0
CF
12005-12-05 Christopher Faylor <cgf@timesys.com>
2
3 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
4 file. Declare unsetenv and _unsetenv_r when not cygwin.
5
6b1a6ec6
JJ
62005-11-18 Jeff Johnston <jjohnstn@redhat.com>
7
8 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
9 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
10
d7d477b7
CF
112005-11-18 Christopher Faylor <cgf@timesys.com>
12
13 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
14
c1534dbe
CF
152005-11-18 Christopher Faylor <cgf@timesys.com>
16
17 * include/time.h: Remove more cygwin-specific stuff.
18
d3e81bda
CF
192005-11-18 Christopher Faylor <cgf@timesys.com>
20
21 * include/time.h: Move cygwin declarations to cygwin-specific header.
22 * include/sys/time.h: Rename cygwin include to "sys_time.h".
23
1396951b
JJ
242005-11-17 Jeff Johnston <jjohnstn@redhat.com>
25
26 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
27 in libc/sys/linux/include.
28 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
29 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
30 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
31 in libc/sys/linux/dl.
32
37bd11ed
CF
332005-11-11 Christopher Faylor <cgf@timesys.com>
34
35 * libc/include/sys/time.h: For cygwin, use general header rather than
36 specific "sys/select.h".
37
b397593c
JJ
382005-11-08 Tom Walsh <tom@openhardware.net>
39
40 * libc/time/tzvars.c: New file.
41 * libc/time/tzset_r.c: Moved globals into tzvars.c
42 so other time functions needn't link in __tzset_r and its
43 dependencies.
44 * libc/time/Makefile.am: Add the new file.
45 * libc/time/Makefile.in: Regenerated.
46
86c6c421
CF
472005-11-08 Christopher Faylor <cgf@timesys.com>
48
49 * libc/include/string.h: Add cygwin-specific function declaration.
50
ef1206e4
CV
512005-11-07 Corinna Vinschen <corinna@vinschen.de>
52
53 * libc/include/ieeefp.h: Add C++ guards.
54
15eaca1c
JJ
552005-11-03 Jeff Johnston <jjohnstn@redhat.com>
56
57 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
58 * libc/unix/getlogin.c: Ditto.
59 * libc/unix/getpass.c: Ditto.
60 * libc/unix/getut.c: Ditto.
61 * libc/unix/ttyname.c: Ditto.
62
d31a8623
JJ
632005-11-03 Shaun Jackman <sjackman@gmail.com>
64
65 * libc/include/sys/unistd.h (readlink, symlink): Provide these
66 prototypes by default.
67 * libc/sys/linux/include/unistd.h (readlink): Remove this
68 prototype.
69 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
70 prototypes.
71
ef1206e4 72>>>>>>> 1.843
71ac53ee
JJ
732005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
74
75 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
76
dc1b6289
JJ
772005-10-31 Darin Johnson <darin@usa.net>
78
79 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
80 correct for constants.
81
884c0ff0
JJ
822005-10-28 Bob Wilson <bob.wilson@acm.org>
83
84 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
85 * libc/stdio/siscanf.c: Likewise.
86 * libc/stdio/sprintf.c: Likewise.
87 * libc/stdio/sscanf.c: Likewise.
88 * libc/stdio/vfprintf.c: Likewise.
89 * libc/stdio/vfscanf.c: Likewise.
90 * libc/stdio/viprintf.c: Likewise.
91 * libc/stdio/viscanf.c: Likewise.
92
a9c15f6f
JJ
932005-10-28 Bob Wilson <bob.wilson@acm.org>
94
95 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
96 example to use "_end" symbol instead of "end". Change write example
97 to use "outbyte" instead of "writechar".
98
a306ebc9
JJ
992005-10-28 Bob Wilson <bob.wilson@acm.org>
100
101 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
102 * libc/ctype/islower.c: Likewise.
103 * libc/ctype/isupper.c: Likewise.
104 * libc/ctype/iswalnum.c: Likewise.
105 * libc/ctype/iswalpha.c: Likewise.
106 * libc/ctype/iswblank.c: Likewise.
107 * libc/ctype/iswcntrl.c: Likewise.
108 * libc/ctype/iswdigit.c: Likewise.
109 * libc/ctype/iswgraph.c: Likewise.
110 * libc/ctype/iswlower.c: Likewise.
111 * libc/ctype/iswprint.c: Likewise.
112 * libc/ctype/iswpunct.c: Likewise.
113 * libc/ctype/iswspace.c: Likewise.
114 * libc/ctype/iswupper.c: Likewise.
115 * libc/ctype/iswxdigit.c: Likewise.
116 * libc/ctype/tolower.c: Likewise.
117 * libc/ctype/toupper.c: Likewise.
118 * libc/ctype/towctrans.c: Likewise.
119 * libc/ctype/towlower.c: Likewise.
120 * libc/ctype/towupper.c: Likewise.
121 * libc/string/strcasecmp.c: Likewise.
122 * libc/string/strcoll.c: Likewise.
123 * libc/string/strings.tex: Likewise.
124 * libc/string/strlwr.c: Likewise.
125 * libc/string/strncasecmp.c: Likewise.
126 * libc/string/strupr.c: Likewise.
127 * libc/string/wcscoll.c: Likewise.
128 * libc/string/wcslcat.c: Likewise.
129 * libc/string/wcslcpy.c: Likewise.
130 * libc/string/wcsnlen.c: Likewise.
131 * libc/string/wcsstr.c: Likewise.
132 * libc/string/wcstrings.tex: Likewise.
133 * libc/string/wmemchr.c: Likewise.
134 * libc/string/wmemcmp.c: Likewise.
135 * libc/string/wmemcpy.c: Likewise.
136 * libc/string/wmemmove.c: Likewise.
137 * libc/string/wmemset.c: Likewise.
138
239c2bf9
JJ
1392005-10-28 Bob Wilson <bob.wilson@acm.org>
140
141 * libc/misc/unctrl.c: Replace FUNCTION description.
142 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
143 * libc/stdio/getdelim.c: Fix spelling errors.
144 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
145 * libc/stdio/putw.c: Likewise.
146 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
147 documentation.
148 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
149 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
150 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
151 * libc/stdlib/mlock.c: Likewise.
152 * libc/stdlib/mstats.c: Likewise.
153 * libc/time/tzlock.c: Likewise.
154 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
155 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
156 and hyphenate "pseudo-random".
157 * libc/string/bcmp.c: Remove extra blank lines in documentation.
158 * libc/string/strncat.c: Likewise.
159 * libc/string/memchr.c: Remove extra ">" character in documentation.
160 * libc/string/strcspn.c: Use "characters" instead of "chars".
161 * libc/string/strpbrk.c: Likewise.
162 * libc/string/strerror_r.c: Capitalize "GNU".
163 * libc/string/strnlen.c: Likewise.
164 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
165 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
166 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
167 * libc/string/wcschr.c: Likewise.
168 * libc/string/wcscmp.c: Likewise.
169 * libc/string/wcscpy.c: Likewise.
170 * libc/string/wcscspn.c: Likewise.
171 * libc/string/wcslen.c: Likewise.
172 * libc/string/wcsncat.c: Likewise.
173 * libc/string/wcsncmp.c: Likewise.
174 * libc/string/wcsncpy.c: Likewise.
175 * libc/string/wcsnlen.c: Likewise.
176 * libc/string/wcspbrk.c: Likewise.
177 * libc/string/wcsrchr.c: Likewise.
178 * libc/string/wcsspn.c: Likewise.
179 * libc/string/wmemchr.c: Likewise.
180 * libc/string/wmemcmp.c: Likewise.
181 * libc/string/wmemcpy.c: Likewise.
182 * libc/string/wmemset.c: Likewise.
183 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
184 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
185 * libc/string/wcwidth.c: Likewise.
186 * libm/common/s_modf.c: Remove extra period from documentation.
187 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
188 documentation.
189 * libm/mathfp/s_isnan.c: Likewise.
190 * libm/math/s_ldexp.c: Fix punctuation.
191 * libm/mathfp/s_ldexp.c: Likewise.
192 * libm/math/w_log.c: Likewise.
193 * libm/mathfp/s_logarithm.c: Likewise.
194 * libm/math/w_j0.c: Add spaces to FUNCTION description.
195 * libm/mathfp/w_jn.c: Likewise.
196
2556eb8d
JJ
1972005-10-26 Shaun Jackman <sjackman@gmail.com>
198
199 * libc/posix/scandir.c (scandir): Update the function
200 prototype to match the header.
201 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
202 extraneous #endif.
203 * libc/sys/linux/sys/lock.h: Do not include
204 machine/weakalias.h, since it's not used by this file.
205
c9d71a8d
JJ
2062005-10-26 Jeff Johnston <jjohnstn@redhat.com>
207
208 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
209 directories can override properly.
210
09968b6d
JJ
2112005-10-20 Jeff Johnston <jjohnstn@redhat.com>
212
213 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
214 gcc is 3.3 or greater, use special gcc builtins.
215
c70571bd
CV
2162005-10-20 Corinna Vinschen <corinna@vinschen.de>
217
218 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
219
a92822b7
CV
2202005-10-18 Corinna Vinschen <corinna@vinschen.de>
221
222 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
223
d2c2c132
JJ
2242005-10-14 Jeff Johnston <jjohnstn@redhat.com>
225
226 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
227 * libm/common/Makefile.am: Add s_infconst.c support.
228 * libm/common/Makefile.in: Regenerated.
229 * libm/common/s_infconst.c: New file with float and
230 long double infinity support added.
231 * libm/math/Makefile.am: Remove s_infconst.c support.
232 * libm/math/Makefile.in: Regenerated.
233 * libm/math/s_infconst.c: Moved to common directory.
234 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
235 * libm/mathfp/Makefile.in: Regenerated.
236 * libm/mathfp/s_infconst.c: Moved to common directory.
237
4d57c1ed
JJ
2382005-10-14 Jeff Johnston <jjohnstn@redhat.com>
239
240 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
241 dbgprintf to prevent conflict with new dprintf function.
242
1012585f
JJ
2432005-10-14 Jeff Johnston <jjohnstn@redhat.com>
244
245 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
246 "nan" processing for systems that have long double support.
247
e9154015
JJ
2482005-10-14 Jeff Johnston <jjohnstn@redhat.com>
249
250 * libc/sys/linux/sys/types.h (int8_t): Add type.
251
1a869698
JJ
2522005-10-14 Bob Wilson <bob.wilson@acm.org>
253
254 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
255 * libm/common/Makefile.in: Regenerate.
256 * libm/common/common.tex: Delete file.
257 * libm/math/math.tex: Include .def files from common/.
258 * libm/mathfp/mathfp.tex: Likewise.
259
e0811fb3
JJ
2602005-10-14 Bob Wilson <bob.wilson@acm.org>
261
262 * libc/libc.texinfo (Top): Surround this node with @ifnottex
263 instead of @ifinfo. Update menu to add Introduction and match
264 SUBDIRS order.
265 (Introduction): New section.
266
e63c98c6
JJ
2672005-10-14 Bob Wilson <bob.wilson@acm.org>
268
269 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
270 with "Red Hat newlib C Library".
271 * libc/sys.tex (Stubs): Likewise.
272 * libm/math/math.tex (Math): Likewise.
273 * libm/mathfp/mathfp.tex (Math): Likewise.
274
339195bf
JJ
2752005-10-11 Shaun Jackman <sjackman@gmail.com>
276
277 * libc/include/stdio.h (dprintf): New declaration.
278 (vdprintf): Ditto.
279 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
280 and vdprintf.c.
281 * libc/stdio/Makefile.in: Regenerate.
282 * libc/stdio/dprintf.c: New file.
283 * libc/stdio/vdprintf.c: New file.
284 * libc/stdio/stdio.tex (dprintf): New entry.
285
da71e518
JJ
2862005-10-11 David Weatherford <weath@tensilica.com>
287
288 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
289 Print "inf" and "nan" in lowercase for e/f/g formats and in
290 uppercase for E/F/G formats.
291
f011605a
JJ
2922005-10-07 Bob Wilson <bob.wilson@acm.org>
293
294 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
295 to ENOMEM on failure.
296
bc037f3a
JJ
2972005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
298
299 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
300
c7e20979
JJ
3012005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
302
303 * libc/include/stdint.h: Move magic to set __have_long* to the
304 beginning. Use #if __have* instead of #if defined(__have*).
305 Minor typo fixes.
306
58e78add
JJ
3072005-10-04 James E Wilson <wilson@specifix.com>
308
309 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
310 #error.
311
8afb8202
JJ
3122005-10-03 Jeff Johnston <jjohnstn@redhat.com>
313
314 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
315 incorporate Ralf's change below.
316
14491fd0
JJ
3172005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
318
319 * libc/include/stdint.h:
320 Use __INTMAX_TYPE__ to derive intmax_t.
321 Use __UINTMAX_TYPE__ to derive uintmax_t.
322 Fix minor typo.
323
ee694aea
JJ
3242005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
325
326 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
327 handling GCC >= 4.
328
9f1926f2
JJ
3292005-09-20 Jeff Johnston <jjohnstn@redhat.com>
330
331 * libc/sys/linux/include/stdint.h: Update to match functionality
332 of generic newlib stdint.h.
333
0ce4fcef
JJ
3342005-09-20 Jeff Johnston <jjohnstn@redhat.com>
335
336 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
337 and do not #undef the macro after it is used. Fix typos.
338 Also change 64-bit constants to use the __have_long64 and
339 __have_longlong64 flags to determine if long or long long
340 constants should be used.
341 * libc/include/inttypes.h: Include stddef.h to get wchar_t
342 type defined.
343
17060817
JJ
3442005-09-20 Shaun Jackman <sjackman@gmail.com>
345
346 * libc/include/stdint.h: Fix typo in names of
347 LEAST macros.
348
1e1d1d3d
JJ
3492005-09-20 Jeff Johnston <jjohnstn@redhat.com>
350
351 * libc/sys/rtems/include/inttypes.h: Moved to...
352 * libc/include/inttypes.h: ...here.
353
cddfc170
JJ
3542005-09-19 Jeff Johnston <jjohnstn@redhat.com>
355
356 * libc/sys/rtems/include/stdint.h: Moved to...
357 * libc/include/stdint.h: ...here.
358
b10ab725
JJ
3592005-09-08 Jeff Johnston <jjohnstn@redhat.com>
360
361 * Makefile.am: Add include files under bits sub-directory.
362 * Makefile.in: Regenerated.
363 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
364 actual value of 1 to be compatible with newer glibc headers.
365 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
366 glibc headers.
367 * libc/sys/linux/sys/dirent.h: Ditto.
368 * libc/sys/linux/argp/argp-xinl.c: Ditto.
369 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
370 profile_fixup routines are marked used so they won't be
371 optimized away.
372 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
373 to mark functions as weak.
374 * libc/sys/linux/dl/dl-open.c: Ditto.
375 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
376 rules about lvalues.
377 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
378 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
379 weak_extern macro to mark functions as weak. Instead always
380 use #pragma weak.
381 * iconvdata/jis0208.h: Fix to work with gcc4.
382 * libc/sys/linux/dl/dl-load.c: Ditto.
383 * libc/sys/linux/dl/dl-reloc.c: Ditto.
384 * libc/sys/linux/dl/do-rel.h: Ditto.
385 * libc/sys/linux/dl/dynamic-link.h: Ditto.
386 * libc/sys/linux/include/ltdl.h: Ditto.
387 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
388 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
389 * libc/sys/linux/net/ns_ntoa.c: Ditto.
390 * libc/sys/linux/bits/initspin.h: New file.
391 * libc/sys/linux/bits/libc-lock.h: Ditto.
392 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
393 * libc/sys/linux/bits/typesizes.h: Ditto.
394
7b786e48
JJ
3952005-09-08 Eric Blake <ebb9@byu.net>
396
397 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
398 before is NULL.
399
32b09d75
JJ
4002005-09-08 Brian Dessent <brian@dessent.net>
401
402 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
403 mantissa.
404 * s_lrint.c: Ditto.
405
8f36ef2f
JJ
4062005-09-02 Jeff Johnston <jjohnstn@redhat.com>
407
408 * libc/include/stdio.h: Add prototype for viprintf.
409
cebe43dd
JJ
4102005-09-01 Jeff Johnston <jjohnstn@redhat.com>
411
412 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
413 any positive power results in 0.
414 * libm/mathfp/sf_pow.c (powf): Ditto.
415
45c8bb8f
JJ
4162005-08-31 Paul Brook <paul@codesourcery.com>
417
418 * configure.host: Set have_crt0 to no for Arm targts when not
419 providing syscalls. Set sys_dir=arm unconditionally.
420 Default have_crt0 based on sys_dir.
421 * configure.in: Use have_crt0.
422 * libc/configure.in: Ditto.
423 * libc/sys/configure.in: Ditto.
424 * configure: Regenerate.
425 * libc/configure: Regenerate.
426 * libc/sys/configure: Regenerate.
427 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
428 Only build other files when providing syscalls.
429 * libc/sys/arm/Makefile.in: Regenerate.
430 * libc/sys/arm/aeabi_atexit.c: New file.
431
dbeee890
CF
4322005-08-26 Christopher Faylor <cgf@timesys.com>
433
434 * libc/include/string.h: Revert previous change.
435
377d3ea0
CF
4362005-08-25 Christopher Faylor <cgf@timesys.com>
437
438 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
439
4797a77c
JJ
4402005-08-22 Shaun Jackman <sjackman@gmail.com>
441
442 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
443 define _opendir as opendir, _readdir as readdir, and
444 _closedir as closedir so that the implementations in
445 libc/posix will be used.
446
2e73582e
DD
4472005-08-10 DJ Delorie <dj@redhat.com>
448
449 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
450
234cf97f
JJ
4512005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
452
453 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
454 * libm/common/s_max.c: Ditto.
455 * libm/common/sf_fmin.c: Ditto.
456 * libm/common/s_min.c: Ditto.
457
56448afa
JJ
4582005-08-10 DJ Delorie <dj@redhat.com>
459
460 * configure.host: Add m32c support.
461 * libc/include/machine/ieeefp.h: Likewise.
462 * libc/include/machine/setjmp.h: Likewise.
463 * libc/include/sys/config.h: Likewise.
464 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
465 * libc/machine/m32c/aclocal.m4: New file.
466 * libc/machine/m32c/configure: Ditto.
467 * libc/machine/m32c/configure.in: Ditto.
468 * libc/machine/m32c/Makefile.am: Ditto.
469 * libc/machine/m32c/Makefile.in: Ditto.
470 * libc/machine/m32c/setjmp.S: Ditto.
471
0c5c6c23
JJ
4722005-08-02 Bob Wilson <bob.wilson@acm.org>
473
56448afa
JJ
474 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
475 to the value for 2^126.
0c5c6c23 476
12499c7a
HPN
4772005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
478
479 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
480 used.
481
395a327d
JJ
4822005-07-20 Bob Wilson <bob.wilson@acm.org>
483 Darin Petkov <darin@tensilica.com>
484
485 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
486
108d7dd8
JJ
4872005-07-19 Paul Brook <paul@codesourcery.com>
488
489 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
490
b776efc5
JJ
4912005-07-18 Joseph S. Myers <joseph@codesourcery.com>
492
493 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
494 names after PASS and FAIL which do not depend on source directory
495 name or on whether test passed or failed.
496 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
497
88540e24
JJ
4982005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
499
500 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
501
85d62190 5022005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 503
88540e24 504 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
505 twice for the same directory. _closedir calls free, and freeing
506 the same pointer twice may cause a crash.
507
dee9edd9
AH
5082005-07-06 Aldy Hernandez <aldyh@redhat.com>
509
510 * configure.host: Added entry for ms1*.
511 * libc/include/machine/ieeefp.h: Handle ms1.
512 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
513 * libc/machine/ms1/aclocal.m4: New.
514 * libc/machine/ms1/configure: New.
515 * libc/machine/ms1/configure.in: New.
516 * libc/machine/ms1/Makefile.am: New.
517 * libc/machine/ms1/Makefile.in: New.
518 * libc/machine/ms1/setjmp.S: New.
519
cec1d3b4
JJ
5202005-07-04 Mark Mitchell <mark@codesourcery.com>
521
522 * Makefile.am (site.exp): Set tmpdir.
523 * Makefile.in: Regenerated.
524 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
525 executables in $tmpdir.
526 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
527 libgloss version if not running in the build directory.
528 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
529 $tmpdir.
530 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
531 in $tmpdir.
532
25d209f1
JJ
5332005-06-28 Dave Korn <dave.korn@artimi.com>
534
535 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
536 and miscalculation caused by fp representation of zero.
537 * libm/common/sf_lrint.c (lrintf): Likewise.
538
68cdbb18
JJ
5392005-06-16 Christopher Faylor <cgf@timesys.com>
540
541 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
542 determine characteristics of long double. Use a union instead.
543 * ldtoa.c (_ldtoa_r): Ditto.
544 (_ldcheck): Ditto.
545 (_strtold): Ditto.
546 (union uconv): New union.
547
15c04fd1
JJ
5482005-06-03 Jeff Johnston <jjohnstn@redhat.com>
549
550 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
551 instead of memcpy.
552
cf55bf5e
JJ
5532005-05-12 Jeff Johnston <jjohnstn@redhat.com>
554
555 * configure.host (mn10300-*): Add long long I/O support by default.
556
b6e654c4
JJ
5572005-05-12 Jeff Johnston <jjohnstn@redhat.com>
558
559 * libc/sys/linux/getpwuid.c: Removed.
560 * libc/sys/linux/getpwnam.c: Removed.
561 * libc/sys/linux/getpwent.c: New file containing logic
562 from files removed above. This allows overriding of file
563 in libc/unix.
564 * libc/sys/linux/Makefile.am: Support changes above.
565 * libc/sys/linux/Makefile.in: Regenerated.
566
5456408b
JJ
5672005-04-28 Jeff Johnston <jjohnstn@redhat.com>
568
569 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
570 when checking for multiple flags.
571
1c74754f
HPN
5722005-04-18 Hans-Peter Nilsson <hp@axis.com>
573
574 * configure.host <cris-*-* | crisv32-*-*>: Set
575 default_newlib_io_long_long="yes".
576
6e75bff6
JJ
5772005-04-08 Jeff Johnston <jjohnstn@redhat.com>
578
579 * libc/include/libgen.h: New file.
580
5812005-04-08 Shaun Jackman <sjackman@gmail.com>
582
583 * libc/unix/Makefile.am: Add support for basename and dirname.
584 * libc/unix/Makefile.in: Regenerated.
585 * libc/unix/basename.c: New file.
586 * libc/unix/dirname.c: New file.
587
95c136c4
JJ
5882005-04-07 Shaun Jackman <sjackman@gmail.com>
589
590 * libc/sys/linux/inode.c (lchown): New function.
591
9ae26f7e
JJ
5922005-04-07 Shaun Jackman <sjackman@gmail.com>
593
594 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
595 ELIX level is defined.
596 * libc/unix/Makefile.in: Regenerated.
597
85da7039
JJ
5982005-04-05 Dave Korn <dave.korn@artimi.com>
599
600 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
601 something that looks like a "NaN", put back the characters processed.
602
fefc73a0
CV
6032005-04-01 Corinna Vinschen <corinna@vinschen.de>
604
605 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
606
e633fde1
CF
6072005-03-23 Christopher Faylor <cgf@timesys.com>
608
609 * configure.host: For cygwin, redefine CC with cygwin include directory
610 first to mimic the behavior of the top-level configury. Move include
611 directory out of newlib_cflags.
612
859c94e8
JJ
6132005-03-22 Jeff Johnston <jjohnstn@redhat.com>
614
615 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
616 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
617 than errno.
618
7e3fd32b
CF
6192005-03-22 Christopher Faylor <cgf@timesys.com>
620
621 * libc/include/machine/_types.h: Make trivial change to comment to
622 avoid a spurious warning from gcc.
623
d4eb8920
JJ
6242005-03-21 Nicholas Wourms <nwourms@netscape.net>
625
626 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
627 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
628 reent.h include.
629
45030958
JJ
6302005-03-18 Hans-Peter Nilsson <hp@axis.com>
631 Corinna Vinschen <corinna@vinschen.de>
632
633 * libc/include/ctype.h: Remove invalid +1 offset from
634 ctype macro references to __ctype_ptr.
635 (_ctype_): Move declaration outside #ifndef __cplusplus.
636
5c9b5ac7
CV
6372005-03-18 Corinna Vinschen <corinna@vinschen.de>
638
639 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
640 evaluate first parameter only once.
641 (siglongjmp): Ditto.
642
dd801fda
JJ
6432005-03-17 Jeff Johnston <jjohnstn@redhat.com>
644
645 * configure.in: Add new check to see if compiler supports
646 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
647 * configure: Regenerated.
648 * Makefile.in: Ditto.
649 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
650 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
651 aliasing the _ctype_ array to _ctype_b.
652 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
653 _ctype_ as deprecated.
654
333eabc6
HPN
6552005-03-17 Hans-Peter Nilsson <hp@axis.com>
656
657 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
658 -DCOMPACT_CTYPE.
659
df5a5b35
JJ
6602005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
661
662 * libc/sys/rtems/include/inttypes.h: New file.
663 * libc/sys/rtems/include/stdint.h: Ditto.
664
9d385fb0
JJ
6652005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
666
667 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
668
2e7d9bf9
JJ
6692005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
670
671 * libc/include/machine/_types.h: New file.
672 * libc/include/sys/types.h: Do not check for __rtems__
673 when including <machine/_types.h>. Remove some redundant
674 declarations now that <machine/_types.h> is included.
675 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
676 shared header file.
677
92a7e06e
JJ
6782005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
679
680 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
681 L qualifier for these long constants.
682
1139537a
JJ
6832005-02-25 Eric Blake <ebb9@byu.net>
684
685 * libc/include/time.h (__tzrule_struct): Make offset long, since
686 a 16-bit int overflows on a 12-hour offset.
687 * libc/sys/linux/include/time.h: Ditto.
688 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
689 * libc/time/mktm_r.c: Ditto.
690 * libc/time/gettzinfo.c: Ditto.
691 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
692 years. Fix '%z' to use long, not int.
693
f4fd7b4c
JJ
6942005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
695
696 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
697 manipulate float values in integer form.
698 * libm/common/sf_round.c: Ditto.
699
f2f8a9a2
JJ
7002005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
701
702 * libc/include/sys/types.h [__rtems__]: Include new
703 header file machine/_types.h.
704 * libc/include/machine/types.h: Ditto.
705 * libc/sys/rtems/machine/_types.h: New file.
706
39fd43d7
CV
7072005-02-23 Corinna Vinschen <corinna@vinschen.de>
708
709 * libc/include/time.h (_timezone): Change to long also for Cygwin.
710 (timezone): Drop cast from definition.
711
6b9a74f9
JJ
7122005-02-23 Jeff Johnston <jjohnstn@redhat.com>
713
714 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
715 (__tzrule_type, __tzinfo_type): New types.
716 (__gettzinfo): New function.
717 * libc/sys/linux/include/time.h: Ditto.
718 * libc/time/Makefile.am: Add gettzinfo.c.
719 * libc/time/Makefile.in: Regenerated.
720 * libc/time/local.h: Moved __tzrule_type to time.h.
721 * libc/time/mktime.c: Call __gettzinfo to reference
722 __tznorth, __tzyear, and __tzrule array.
723 * libc/time/mktm_r.c: Ditto.
724 * libc/time/strftime.c: Ditto.
725 * libc/time/tzset_r.c: Ditto. Also remove definition
726 of __tzrule which is now in gettzinfo.c. Change _timezone
727 references to not cast to time_t.
728 * libc/time/gettzinfo.c: New file.
729
6015cf9f
CV
7302005-02-23 Corinna Vinschen <corinna@vinschen.de>
731
732 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
733
5e4c05da
CV
7342005-02-22 Corinna Vinschen <corinna@vinschen.de>
735
736 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
737
f1d439fc
JJ
7382005-02-16 Eric Blake <ebb9@byu.net>
739
740 * libc/time/time.tex: Improve the documentation.
741 * libc/time/strftime.c: Improve the documentation.
742 (iso_year_adjust): New helper function.
743 (strftime): Simplify '%E' and '%O'. Change '%c' to use
744 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
745 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
746 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
747 Avoid core dumps on valid inputs (maxsize == 0, or
748 tim_p->tm_isdst > 1).
749
18d3a03b
CV
7502005-02-08 Corinna Vinschen <corinna@vinschen.de>
751
752 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
753 members to uid_t and gid_t according to SUSv3.
754 * libc/include/sys/time.h (utimes): Change second parameter
755 to const according to SUSv3.
756
1159e0fd
JJ
7572005-02-07 Antony King <antony.king@st.com>
758
759 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
760 called before _flockfile to prevent lock object use before
761 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
762 take a struct _reent * instead of a FILE *.
763 * libc/stdio/fclose.c (_fclose_r): Ditto.
764 * libc/stdio/feof.c (feof): Ditto.
765 * libc/stdio/ferror.c (ferror): Ditto.
766 * libc/stdio/fflush.c (fflush): Ditto.
767 * libc/stdio/fgetc.c (fgetc): Ditto.
768 * libc/stdio/fgets.c (fgets): Ditto.
769 * libc/stdio/fileno.c (fileno): Ditto.
770 * libc/stdio/fputc.c (fputc): Ditto.
771 * libc/stdio/fputs.c (fputs): Ditto.
772 * libc/stdio/fread.c (fread): Ditto.
773 * libc/stdio/freopen.c (_freopen_r): Ditto.
774 * libc/stdio/fseek.c (_fseek_r): Ditto.
775 * libc/stdio/ftell.c (_ftell_r): Ditto.
776 * libc/stdio/fwrite.c (fwrite): Ditto.
777 * libc/stdio/getc.c (getc): Ditto.
778 * libc/stdio/getdelim.c (__getdelim): Ditto.
779 * libc/stdio/putc.c (putc): Ditto.
780 * libc/stdio/setvbuf.c (setvbuf): Ditto.
781 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
782 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
783 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
784 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
785 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
786 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
787 _reent * instead of a FILE * and so replace incorrect use of
788 _REENT with argument.
789 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
790 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
791 CHECK_INIT() take a struct _reent * instead of a FILE *.
792 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
793 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
794 * libc/stdio/perror.c (perror): Ditto.
795 * libc/stdio/printf.c (printf, _printf_r): Ditto.
796 * libc/stdio/putchar.c (putchar): Ditto.
797 * libc/stdio/puts.c (puts): Ditto.
798 * libc/stdio/refill.c (__srefill): Ditto.
799 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
800 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
801 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
802 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
803 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
804 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
805 * libc/stdio/wbuf.c (__swbuf): Ditto.
806 * libc/stdio/wsetup.c (__swsetup): Ditto.
807 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
808 * libc/stdlib/mstats.c (_mstats_r): Ditto.
809 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
810 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
811 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
812 to _flockfile and _funlockfile; rely on locking in _ftell_r.
813 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
814 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
815 initialision of _data field in FILE structure.
816 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
817
3d915670
JJ
8182005-02-07 Jeff Johnston <jjohnstn@redhat.com>
819
820 * libc/stdio/findfp.c (__sinit): Protect with new lock.
821 (__sinit_lock): New lock.
822 (__sinit_lock_acquire, __sinit_lock_release): New functions.
823 * libc/stdio/local.h: Add reference to new __sinit locking
824 functions.
825
b59cab1e
JJ
8262005-02-07 Jeff Johnston <jjohnstn@redhat.com>
827
828 * libc/include/math.h (isfinite, isnormal, isunordered): Change
829 input variable names to avoid mixups with nesting macros.
830
1815fdea
JJ
8312005-01-27 Hans-Peter Nilsson <hp@axis.com>
832
833 * configure.host: Add support for cris-*-* and crisv32-*-*.
834 * libc/include/machine/ieeefp.h: Ditto.
835 * libc/include/machine/setjmp.h: Ditto.
836 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
837 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
838 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
839 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
840 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
841 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
842 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
843 files.
844
f7d4d41a
JJ
8452005-01-27 Hans-Peter Nilsson <hp@axis.com>
846
847 * testsuite/newlib.string/memmove1.c: New test.
848
1319dec6
JJ
8492005-01-27 Hans-Peter Nilsson <hp@axis.com>
850
851 * testsuite/include/check.h: Include stdlib.h.
852
b45e65b0
JJ
8532005-01-27 Hans-Peter Nilsson <hp@axis.com>
854
855 * Makefile.am (stmp-targ-include): Support include header files
856 from machine directories.
e9743354 857 (install-data-local): Ditto.
b45e65b0
JJ
858 * Makefile.in: Regenerate.
859
dbfa92dd
JJ
8602005-01-24 Jeff Johnston <jjohnstn@redhat.com>
861
862 * libc/include/string.h: Remove Linux-specific declaration of
863 strsignal and add #include <sys/string.h>.
864 * libc/include/sys/string.h: New file.
865 * libc/include/sys/linux/sys/string.h: New file with strsignal
866 declaration deleted above.
867
6cb0c055
JJ
8682005-01-20 Jeff Johnston <jjohnstn@redhat.com>
869
870 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
871 to POSIX standard for "C" locale. Allow %E and %O modifiers
872 to be ignored as long as they precede valid specifiers according
873 to POSIX.
874
52429807
JJ
8752005-01-19 Shaun Jackman <sjackman@gmail.com>
876
877 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
878 environment variable is set.
879
f693170a
JJ
8802005-01-19 Shaun Jackman <sjackman@gmail.com>
881
882 * tzset_r.c (_tzname): Add a comma.
883
464d01bf
AH
8842005-01-18 Aldy Hernandez <aldyh@redhat.com>
885
886 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
887 _VFPRINTF_R.
888
f7a74742
JJ
8892005-01-07 Paul Brook <paul@codesourcery.com>
890
891 * configure.in: Add test for .init_array.
892 * configure: Regenerate.
893 * newlib.hin: Add HAVE_INITFINI_ARRAY.
894 * libc/misc/Makefile.am: Add init.c
895 * libc/misc/Makefile.in: Regenerate.
896 * libc/misc/init.c: New file.
897 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
898 _init/_fini if they exist.
899
8fa6cb9a
JJ
9002005-01-06 Jeff Johnston <jjohnstn@redhat.com>
901
902 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
903 * (strtof): Ditto.
904 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
905 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
906 functions for use by strtod and strtof.
907 * Makefile.in: Regenerated.
908
034a3909
JJ
9092005-01-06 Hans-Peter Nilsson <hp@axis.com>
910
911 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
912 bit-test in combination with NULL test.
913
9918ea2d
JJ
9142005-01-06 Hans-Peter Nilsson <hp@axis.com>
915
916 * README: Fix typo of LGPL. Change "license" to "copyright".
917
5cc3f592
JJ
9182004-12-17 Jeff Johnston <jjohnstn@redhat.com>
919
920 * NEWS: Update with 1.13.0 info.
921 * README: Ditto.
922 * acinclude.m4: Change version number to 1.13.0.
923 * aclocal.m4: Regenerated.
924 * configure: Ditto.
925 * doc/aclocal.m4: Ditto.
926 * doc/configure: Ditto.
927 * libc/*/aclocal.m4: Ditto.
928 * libc/*/configure: Ditto.
929 * libc/libc.texinfo: Ditto.
930 * libm/*/aclocal.m4: Ditto.
931 * libm/*/configure: Ditto.
932 * libm/libm.texinfo: Ditto.
933 * libc/sys/linux/shared.ld: Add VERS_1.13.
934
d8ae996c
JJ
9352004-12-17 Christian Groessler <chris@groessler.org>
936
937 * libc/machine/z8k/memcmp.S: New file.
938 * libc/machine/z8k/memcpy.S: Ditto.
939 * libc/machine/z8k/memmove.S: Ditto.
940 * libc/machine/z8k/memset.S: Ditto.
941 * libc/machine/z8k/Makefile.am: Add new files.
942 * libc/machine/z8k/Makefile.in: Regenerated.
943 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
944 part. Implement Z8002 stdcall version.
945
82673116
JJ
9462004-12-13 Jeff Johnston <jjohnstn@redhat.com>
947
948 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
949 a low-level read if we don't get the full amount of bytes so
950 EOF or error flags will be set.
951
0082d4cf
JJ
9522004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
953
954 * libc/time/tzset_r (_tzset_r): Properly skip over
955 '/' when it is detected.
956
3b54b74f
JJ
9572004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
958
959 * libc/time/tzset_r (_tzset_r): Fix loop.
960
4b30e154
JJ
9612004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
962
963 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
964 m_day.
965 (__tzcalc_limits): Fix reference to month array to be zero-based.
966
465eab2e
JJ
9672004-12-07 Jeff Johnston <jjohnstn@redhat.com>
968
969 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
970 and usleep.
971
a2b1a849
JJ
9722004-12-03 Jeff Johnston <jjohnstn@redhat.com>
973
974 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
975 libgcc dependencies.
976 (libm_la_LDFLAGS): Ditto.
977 * Makefile.in: Regenerated.
978
c80a1731
JJ
9792004-12-03 Shaun Jackman <sjackman@gmail.com>
980
981 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
982 our link to use readlink so as to preserve any relative link created
983 by install-toollibLIBRARIES.
984 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
985
70e9da42
JJ
9862004-12-02 Shaun Jackman <sjackman@gmail.com>
987
988 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
989 time_t before including sys/stat.h, which uses it.
990 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
991 <linux/time.h> just prior to definition of __KERNEL__ so as to
992 allow building on Debian Linux where otherwise, mktime would
993 be redefined.
994
a330d85a
JJ
9952004-11-26 Paul Brook <paul@codesourcery.com>
996
997 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
998
c41a1cb7
JJ
9992004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1000
1001 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 1002 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
1003 * libc/stdlib/putenv.c: Ditto.
1004 * libc/stdlib/putenv_r.c: Ditto.
1005
16ac96ee
JJ
10062004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1007
1008 * libc/stdio/Makefile.am: Fix missing vfscanf.
1009 * libc/stdio/Makefile.in: Regenerated.
1010
3bf09147
JJ
10112004-11-23 Jeff Johnston <jjohnstn@redhat.com>
1012
1013 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
1014 do some reordering.
1015 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
1016 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
1017 family functions.
1018 * libc/stdio/Makefile.in: Regenerated.
1019 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
1020 * libc/stdio/iprintf.c: Ditto.
1021 * libc/stdio/local.h (__svfiscanf_r): New prototype.
1022 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
1023 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
1024 * libc/stdio/stdio.tex: Add new functions.
1025 * libc/stdio/vfscanf.c: Split out __sccl function to separate
1026 file and add special name defines so this file can be used
1027 to build vfiscanf.o.
1028 * libc/stdio/asiprintf.c: New file.
1029 * libc/stdio/fiscanf.c: Ditto.
1030 * libc/stdio/iscanf.c: Ditto.
1031 * libc/stdio/sccl.c: Ditto.
1032 * libc/stdio/siscanf.c: Ditto.
1033 * libc/stdio/vasiprintf.c: Ditto.
1034 * libc/stdio/viprintf.c: Ditto.
1035 * libc/stdio/viscanf.c: Ditto.
1036 * libc/stdio/vsiprintf.c: Ditto.
1037 * libc/stdio/vsiscanf.c: Ditto.
1038 * libc/stdio/vsniprintf.c: Ditto.
1039
0f0fcb04
JJ
10402004-11-19 Shaun Jackman <sjackman@gmail.com>
1041
1042 * libc/include/stdio.h: Add sniprintf.
1043 * libc/stdio/Makefile.am: Add sniprintf.c.
1044 * libc/stdio/Makefile.in: Regenerated.
1045 * libc/stdio/sniprintf.c: New file.
1046 * libc/stdio/stdio.tex: Add sniprintf.
1047
1f8f7e2d
CF
10482004-11-17 Christopher Faylor <cgf@timesys.com>
1049
1050 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
1051 EOF flag if successful.
1052
b08d08c7
CF
10532004-10-28 Christopher Faylor <cgf@timesys.com>
1054
1055 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 1056 so that all relevant definitions have been performed for use in the
b08d08c7
CF
1057 include.
1058
65b1964f
JJ
10592004-10-26 Jason Tishler <jason@tishler.net>
1060
1061 * libc/stdio/fread.c (fread): Fix return value for unbuffered
1062 fread.
1063
6382b7e3 10642004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
1065
1066 * libc/include/machine/setjmp.h: Add AVR support.
1067 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
1068
73131c2d
JJ
10692004-10-08 Jeff Johnston <jjohnstn@redhat.com>
1070
1071 * libc/include/sys/signal.h: If <signal.h> didn't include
1072 this header file, include <signal.h> to account for
1073 applications that take advantage that the two header
1074 files are the same in glibc.
1075
1185687a
JJ
10762004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
1077
1078 * configure.host: Add support for crx.
1079 * libc/include/machine/ieeefp.h: Ditto.
1080 * libc/include/machine/setjmp.h: Ditto.
1081 * libc/machine/crx/Makefile.am: New file.
1082 * libc/machine/crx/configure.in: Ditto.
1083 * libc/machine/crx/setjmp.S: Ditto.
1084 * libc/machine/crx/getenv.c: Ditto.
1085 * libc/machine/crx/aclocal.m4: Generate.
1086 * libc/machine/crx/configure: Ditto.
1087 * libc/machine/crx/Makefile.in: Ditto.
1088 * libc/machine/crx/sys/asm.h: New file.
1089 * libc/machine/crx/sys/libh.h: Ditto.
1090 * libc/machine/crx/sys/syscall.h: Ditto.
1091
423152ed
JJ
10922004-10-05 Jeff Johnston <jjohnstn@redhat.com>
1093
1094 * Makefile.am (stmp-targ-include): Support sys header files
1095 from machine directories.
1096 * Makefile.in: Regenerated.
1097
3ea9de76
JJ
10982004-10-04 Jeff Johnston <jjohnstn@redhat.com>
1099
1100 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
1101 count skipped zero characters as part of the nread count for %n.
1102 * libc/machine/powerpc/vfscanf.c: Ditto.
1103
2a6e1223
JJ
11042004-09-24 Jeff Johnston <jjohnstn@redhat.com>
1105
1106 * libc/stdio/local.h: Include <stdlib.h>.
1107
d163f2fc
CV
11082004-09-24 Corinna Vinschen <corinna@vinschen.de>
1109
1110 * libc/stdio/fread.c (fread): Include <malloc.h>.
1111
602de582
JJ
11122004-09-22 Jeff Johnston <jjohnstn@redhat.com>
1113
1114 * libc/stdio/fread.c (fread): For non-space-optimized case,
1115 add special code for unbuffered files to use user buffer and
1116 only require one low-level system read.
1117
32e73f4d
ILT
11182004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
1119
1120 * libc/machine/xscale/setjmp.S: New file, copied from
1121 libc/machine/arm/setjmp.S.
1122 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
1123 * libc/machine/xscale/Makefile.in: Regenerate.
1124
ed6859b8
JJ
11252004-09-16 Antony King <antony.king@st.com>
1126
1127 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
1128 with locking API.
1129 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
1130 check for__SSTR in _flags and if set, skip lock request.
1131 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1132 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
1133 not NULL.
1134 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
1135 initialisation of _file to -1 in local FILE.
1136 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
1137 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
1138 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
1139 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1140 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
1141 _flags in local FILE to prevent locking.
1142 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1143
7a0f6966
JJ
11442004-09-16 Antony King <antony.king@st.com>
1145
1146 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
1147 and only walk the reentrancy parameter.
1148 (_fwalk_reent): Ditto.
1149 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
1150
c77672c0
JJ
11512004-09-16 Antony King <antony.king@st.com>
1152
1153 * libc/stdio64/freopen64.c: Remove casting of fp lock to
1154 _LOCK_RECURSIVE_T.
1155
5c44c2e5
JJ
11562004-09-16 Antony King <antony.king@st.com>
1157
1158 * libc/time/tzlock.c: Add default stubs that use generic
1159 locking code.
1160
14613e5e
JJ
11612004-09-16 Antony King <antony.king@st.com>
1162
1163 * libc/ctype/ctype.tex: Added missing documentation.
1164 * libc/stdio/stdio.tex Ditto.
1165 * libc/stdlib/stdlib.tex Ditto.
1166 * libc/string/strings.tex Ditto.
1167 * libc/time/time.tex: Ditto.
1168 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
1169
181cb051
JJ
11702004-09-15 Corinna Vinschen <vinschen@redhat.com>
1171
1172 * libc/reent/impure.c (reent_data): Define as alias to impure_data
1173 when building for Cygwin.
1174 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
1175 _global_impure_ptr.
1176
51d4a7ea
JJ
11772004-09-15 Jeff Johnston <jjohnstn@redhat.com>
1178
1179 * configure.host: Reverting 2004-09-14 change as fix has occurred on
1180 Cygwin side.
1181 * configure.in: Ditto.
1182 * libc/configure.in: Ditto.
1183 * libc/sys/configure.in: Ditto.
1184 * configure: Ditto.
1185 * libc/configure: Ditto.
1186 * libc/sys/configure: Ditto.
1187 * libc/include/sys/reent.h: Ditto.
1188 * libc/stdlib/__atexit.c: Ditto.
1189 * libc/stdlib/__call_atexit.c: Ditto.
1190 * libc/stdlib/cxa_atexit.c: Ditto.
1191 * libc/stdlib/cxa_finalize.c: Ditto.
1192 * libc/sys/cygwin/Makefile.am: Removed again.
1193 * libc/sys/cygwin/Makefile.in: Ditto.
1194 * libc/sys/cygwin/aclocal.m4: Ditto.
1195 * libc/sys/cygwin/configure: Ditto.
1196 * libc/sys/cygwin/configure.in: Ditto.
1197 * libc/sys/cygwin/dummy.c: Ditto.
1198 * libc/sys/cygwin/sys/reent.h: Ditto.
1199
98650d2f
JJ
12002004-09-14 Jeff Johnston <jjohnstn@redhat.com>
1201
1202 * configure.host: Add Cygwin sys directory.
1203 * configure.in: Do not set CRT0 for cygwin.
1204 * libc/configure.in: Ditto.
1205 * libc/sys/configure.in: Ditto.
1206 * configure: Regenerated.
1207 * libc/configure: Ditto.
1208 * libc/sys/configure: Ditto.
1209 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
1210 * libc/stdlib/__atexit.c: Keep cxa support protected by new
1211 __REENT_HAS_CXA_SUPPORT flag.
1212 * libc/stdlib/__call_atexit.c: Ditto.
1213 * libc/stdlib/cxa_atexit.c: Ditto.
1214 * libc/stdlib/cxa_finalize.c: Ditto.
1215 * libc/sys/cygwin/Makefile.am: New file.
1216 * libc/sys/cygwin/Makefile.in: Ditto.
1217 * libc/sys/cygwin/aclocal.m4: Ditto.
1218 * libc/sys/cygwin/configure: Ditto.
1219 * libc/sys/cygwin/configure.in: Ditto.
1220 * libc/sys/cygwin/dummy.c: Ditto.
1221 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
1222 version of reent.h.
1223
d4c8e53b
JJ
12242004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1225
1226 * libc/iconv/iconv.tex: Updated with new content.
1227 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
1228 instead of NLS_DEFAULT_NLSPATH.
1229 * libc/iconv/lib/iconvnls.h: Fix typo.
1230 * libc/include/sys/iconvnls.h: New file.
1231
0c8593cf
JJ
12322004-09-09 Paul Brook <paul@codesourcery.com>
1233
1234 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
1235 and _is_cxa.
1236 (struct _atexit): Add _next when _REENT_SMALL.
1237 (struct _reent): Add _atexit0 when _REENT_SMALL.
1238 (_REENT_INIT_PTR): Adjust.
1239 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
1240 __call_exit.c.
1241 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
1242 * libc/stdlib/Makefile.in: Regenerate.
1243 * libc/stdlib/__atexit.c: New file.
1244 * libc/stdlib/__call_atexit.c: New file.
1245 * libc/stdlib/atexit.h: Remove old definitions. Add new.
1246 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
1247 * libc/stdlib/cxa_atexit.c: New file.
1248 * libc/stdlib/cxa_finalize.c: New file.
1249 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
1250 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
1251 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
1252 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
1253 _on_exit_args_ptr.
1254
c6ed5a85
JJ
12552004-08-23 Jeff Johnston <jjohnstn@redhat.com>
1256
1257 * libc/include/sys/unistd.h (getpass): Change prototype to use
1258 const instead of __const.
1259
721a934c
JJ
12602004-08-16 Nathan Sidwell <nathan@codesourcery.com>
1261
1262 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
1263 #if.
1264
4e53fc28
JJ
12652004-08-12 Jeff Johnston <jjohnstn@redhat.com>
1266
1267 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
1268 on linux systems with glibc 2.3.3 installed.
1269 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
1270 profile_fixup so newlib can build on fc3 system.
1271
82045f12
AO
12722004-07-30 Alexandre Oliva <aoliva@redhat.com>
1273
1274 Introduce SH2a support.
1275 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
1276 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
1277 __SH2A_SINGLE_ONLY__, too.
1278 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
1279 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
1280 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
1281 2004-02-10 DJ Delorie <dj@redhat.com>
1282 * libc/sys/sh/crt0.S (start_l): Support sh2a.
1283
ad6b1d79
JJ
12842004-07-29 Jeff Johnston <jjohnstn@redhat.com>
1285
1286 * libc/time/strptime.c: Correct full-name of "March" typo.
1287
63b9dcc4
JJ
12882004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
1289
1290 * configure.host (h8300*-*-*): Default long long printing support.
1291
dbfd3394
JJ
12922004-07-16 Jeff Johnston <jjohnstn@redhat.com>
1293
1294 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
1295 calls, if realloc fails, free up buffer as it is no longer
1296 used.
1297
6edb3da9
JJ
12982004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1299
1300 * libc/iconv/iconv.tex: Updated to represent recent changes.
1301 * libc/iconv/lib/iconv.c: Documentation updated.
1302
578a3560
NC
13032004-07-07 Nick Clifton <nickc@redhat.com>
1304
1305 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
1306 for xStormy16.
1307
2bc257e3
JJ
13082004-07-06 Chris Demetriou <cgd@broadcom.com>
1309
1310 * configure.host (mips*-*-elf*): Default long long printing
1311 support.
1312
75e7ffaa
JJ
13132004-07-05 Jeff Johnston <jjohnstn@redhat.com>
1314
1315 * libc/Makefile.am (libc.dvi): Add target and specify
1316 same dependencies as libc.info.
1317 * libc/Makefile.in: Regenerated.
1318 * libm/Makefile.am (libm.dvi): Add target and specify
1319 same dependencies as libm.info.
1320 * libm/Makefile.in: Regenerated.
1321
76ce12c3
JJ
13222004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1323
1324 * acinclude.m4: Move --enable-newlib-iconv option back here.
1325 * configure.in: Remove --enable-newlib-iconv option. Don't
1326 tie iconv support to --enable-newlib-mb.
1327 * aclocal.m4: Regenerated.
1328 * configure: Ditto.
1329 * doc/aclocal.m4, doc/configure: Ditto.
1330 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
1331 * libm/*/aclocal.m4: Ditto.
1332 * libm/*/configure: Ditto.
1333 * libc/*/aclocal.m4: Ditto.
1334 * libc/*/configure: Ditto.
1335
660dade3
JJ
13362004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1337
1338 * acinclude.m4: Move iconv options into configure.in.
1339 * aclocal.m4: Regenerated.
1340 * configure: Ditto.
1341 * configure.in: Add iconv options.
1342 * newlib.hin: Add new iconv encodings and remove deleted ones.
1343 * doc/aclocal.m4: Regenerated.
1344 * doc/configure: Ditto.
1345 * iconvdata/aclocal.m4: Ditto.
1346 * iconvdata/configure: Ditto.
1347 * libc/iconv: Design change. New size-optimized ccs format.
1348 * libc/iconv/AUTHORS: Removed.
1349 * libc/iconv/COPYING: Ditto.
1350 * libc/iconv/README.ORIGINAL: Ditto.
1351 * libc/iconv/README.TODO: Ditto.
1352 * libc/iconv/charset.aliases: Ditto.
1353 * libc/iconv/encoding.aliases: New file.
1354 * libc/iconv/Makefile.am: Updated.
1355 * libc/iconv/Makefile.in: Regenerated.
1356 * libc/iconv/iconv.tex: Updated.
1357 * libc/iconv/ccs/Makefile.am: Ditto.
1358 * libc/iconv/ccs/Makefile.in: Regenerated.
1359 * libc/iconv/ccs/big5.c: Updated.
1360 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1361 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1362 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1363 * libc/iconv/ccs/cp775.c: Ditto.
1364 * libc/iconv/ccs/cp850.c: Ditto.
1365 * libc/iconv/ccs/cp852.c: Ditto.
1366 * libc/iconv/ccs/cp855.c: Ditto.
1367 * libc/iconv/ccs/cp866.c: Ditto.
1368 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1369 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
1370 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1371 * libc/iconv/ccs/iconv_mktbl: Ditto.
1372 * libc/iconv/ccs/jis_x0201.c: Ditto.
1373 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1374 * libc/iconv/ccs/shift_jis.c: Ditto.
1375 * libc/iconv/ccs/us_ascii.c: Ditto.
1376 * libc/iconv/ccs/ccs.h: New file.
1377 * libc/iconv/ccs/ccsbi.c: Ditto.
1378 * libc/iconv/ccs/ccsbi.h: Ditto.
1379 * libc/iconv/ccs/ccsnames.h: Ditto.
1380 * libc/iconv/ccs/iso_8859_10.c: Ditto.
1381 * libc/iconv/ccs/iso_8859_11.c: Ditto.
1382 * libc/iconv/ccs/iso_8859_13.c: Ditto.
1383 * libc/iconv/ccs/iso_8859_14.c: Ditto.
1384 * libc/iconv/ccs/iso_8859_3.c: Ditto.
1385 * libc/iconv/ccs/iso_8859_6.c: Ditto.
1386 * libc/iconv/ccs/iso_8859_7.c: Ditto.
1387 * libc/iconv/ccs/iso_8859_8.c: Ditto.
1388 * libc/iconv/ccs/iso_8859_9.c: Ditto.
1389 * libc/iconv/ccs/iso_ir_111.c: Ditto.
1390 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
1391 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
1392 * libc/iconv/ccs/koi8_ru.c: Ditto.
1393 * libc/iconv/ccs/koi8_uni.c: Ditto.
1394 * libc/iconv/ccs/mktbl.pl: Ditto.
1395 * libc/iconv/ccs/win_1250.c: Ditto.
1396 * libc/iconv/ccs/win_1251.c: Ditto.
1397 * libc/iconv/ccs/win_1252.c: Ditto.
1398 * libc/iconv/ccs/win_1253.c: Ditto.
1399 * libc/iconv/ccs/win_1254.c: Ditto.
1400 * libc/iconv/ccs/win_1255.c: Ditto.
1401 * libc/iconv/ccs/win_1256.c: Ditto.
1402 * libc/iconv/ccs/win_1257.c: Ditto.
1403 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
1404 * libc/iconv/ccs/iso_8859_15.c: Updated.
1405 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1406 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1407 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1408 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1409 * libc/iconv/ccs/koi8_r.c: Ditto.
1410 * libc/iconv/ccs/koi8_u.c: Ditto.
1411 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
1412 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
1413 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1414 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1415 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1416 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1417 * libc/iconv/ccs/binary/Makefile.am: Updated.
1418 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
1419 * libc/iconv/ccs/binary/big5.cct: Updated.
1420 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1421 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1422 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1423 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
1424 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
1425 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
1426 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
1427 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
1428 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1429 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1430 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1431 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1432 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1433 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1434 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1435 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1436 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1437 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
1438 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
1439 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
1440 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
1441 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
1442 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
1443 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
1444 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
1445 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
1446 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
1447 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
1448 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
1449 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
1450 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
1451 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
1452 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
1453 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
1454 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
1455 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
1456 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
1457 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
1458 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
1459 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
1460 * libc/iconv/ces/Makefile.am: Updated.
1461 * libc/iconv/ces/Makefile.in: Regenerated.
1462 * libc/iconv/ces/ucs-2-internal.c: Updated.
1463 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1464 * libc/iconv/ces/utf-16.c: Ditto.
1465 * libc/iconv/ces/utf-8.c: Ditto.
1466 * libc/iconv/ces/cesbi.c: New file.
1467 * libc/iconv/ces/cesbi.h: Ditto.
1468 * libc/iconv/ces/cesdeps.h: Ditto.
1469 * libc/iconv/ces/euc.c: Ditto.
1470 * libc/iconv/ces/mkdeps.pl: Ditto.
1471 * libc/iconv/ces/table-pcs.c: Ditto.
1472 * libc/iconv/ces/table.c: Ditto.
1473 * libc/iconv/ces/ucs-2.c: Ditto.
1474 * libc/iconv/ces/ucs-4.c: Ditto.
1475 * libc/iconv/ces/us-ascii.c: Ditto.
1476 * libc/iconv/ces/euc-jp.c: Removed.
1477 * libc/iconv/ces/euc-kr.c: Ditto.
1478 * libc/iconv/ces/euc-tw.c: Ditto.
1479 * libc/iconv/ces/gb2312.c: Ditto.
1480 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
1481 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1482 * libc/iconv/lib/Makefile.am: Updated.
1483 * libc/iconv/lib/Makefile.in: Regenerated.
1484 * libc/iconv/lib/endian.h: Updated.
1485 * libc/iconv/lib/iconv.c: Ditto.
1486 * libc/iconv/lib/local.h: Ditto.
1487 * libc/iconv/lib/aliases.c: Removed.
1488 * libc/iconv/lib/bialiasesi.c: Ditto.
1489 * libc/iconv/lib/biccs.c: Ditto.
1490 * libc/iconv/lib/bices.c: Ditto.
1491 * libc/iconv/lib/ccs.c: Ditto.
1492 * libc/iconv/lib/ces.c: Ditto.
1493 * libc/iconv/lib/ces_euc.c: Ditto.
1494 * libc/iconv/lib/ces_iso2022.c: Ditto.
1495 * libc/iconv/lib/ces_table.c: Ditto.
1496 * libc/iconv/lib/converter.c: Ditto.
1497 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
1498 * libc/iconv/lib/loaddata.c: Ditto.
1499 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
1500 * libc/iconv/lib/aliasesi.c: Ditto.
1501 * libc/iconv/lib/conv.h: Ditto.
1502 * libc/iconv/lib/encnames.h: Ditto.
1503 * libc/iconv/lib/encoding.deps: Ditto.
1504 * libc/iconv/lib/iconvnls.c: Ditto.
1505 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
1506 * libc/iconv/lib/nullconv.c: Ditto.
1507 * libc/iconv/lib/ucsconv.c: Ditto.
1508 * libc/iconv/lib/ucsconv.h: Ditto.
1509 * libc/include/iconv.h: Update copyright.
1510 * libc/*/aclocal.m4: Regenerated.
1511 * libc/*/configure: Ditto.
1512 * libm/*/aclocal.m4: Ditto.
1513 * libm/*/configure: Ditto.
1514
9a6831be
AO
15152004-06-22 Alexandre Oliva <aoliva@redhat.com>
1516
eb6a452a
AO
1517 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
1518 instead of typedefing jmp_buf.
1519
9a6831be
AO
1520 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
1521 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
1522 * libc/machine/h8300/defines.h (LEN): New macro.
1523 * libc/machine/h8300/memcpy.S: Add h8sx version.
1524 * libc/machine/h8300/memset.S: Likewise.
1525 * libc/machine/h8300/strcmp.S: Likewise.
1526 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
1527 * libc/machine/h8300/h8sx_strcpy.S: New file.
1528 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
1529 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
1530 __H8300SX__.
1531 * libc/include/machine/setjmp.h: Likewise.
1532 * libc/include/sys/config.h: Likewise.
1533 * libc/machine/h8300/defines.h: Likewise.
1534 * libc/machine/h8300/setjmp.S: Likewise.
1535 * libc/machine/h8300/strcmp.S: Likewise.
1536 * libc/sys/h8300hms/close.S: Likewise.
1537 * libc/sys/h8300hms/fstat.S: Likewise.
1538 * libc/sys/h8300hms/lseek.S: Likewise.
1539 * libc/sys/h8300hms/read.S: Likewise.
1540 * libc/sys/h8300hms/write.S: Likewise.
1541 * libc/sys/h8300hms/crt0.S: Likewise.
1542 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
1543 __H8300SX__ is defined.
1544 * libc/sys/h8300hms/setarch.h: Likewise.
1545
80dba41e
JJ
15462004-06-17 Jeff Johnston <jjohnstn@redhat.com>
1547
1548 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
1549 out change which set _GLOBAL_REENT to _global_impure_ptr until
1550 we understand why Cygwin breaks because of it.
1551
be910599
JJ
15522004-06-14 Jeff Johnston <jjohnstn@redhat.com>
1553
1554 * libc/sys/linux/machine/i386/syscall.h: For now, set up
1555 __syscall_return macro for systems with vsyscall.
1556
d0bd3e6f
JJ
15572004-06-11 Antony King <antony.king@st.com>
1558
1559 * libc/include/sys/_types.h: Include <sys/lock.h> and change
1560 _flock_t to be of type _LOCK_RECURSIVE_T.
1561 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
1562 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
1563 (_global_impure_ptr): New declaration.
1564 (_GLOBAL_REENT): Change to be _global_impure_ptr.
1565 * libc/include/sys/stdio.h: Include <sys/lock.h> and
1566 <sys/reent.h>.
1567 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
1568 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1569 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
1570 * libc/stdio/fclose.c: Remove casting of fp lock to
1571 _LOCK_RECURSIVE_T.
1572 * libc/stdio/findfp.c: Ditto.
1573 * libc/stdio/fopen.c: Ditto.
1574 * libc/stdio/freopen.c: Ditto.
1575 * libc/stdio/vfprintf.c: Ditto.
1576 * libc/stdio64/fopen64.c: Ditto.
1577 * libc/stdlib/envlock.c: Add default stubs that use generic
1578 locking code.
1579 * libc/stdlib/mlock.c: Ditto.
1580
1581 Jeff Johnston <jjohnstn@redhat.com>
1582 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
1583 (_flock_t): Change to be a struct containing a single member
1584 named mutex which is of type __flock_mutex_t.
1585
db7033a9
JJ
15862004-06-09 Jeff Johnston <jjohnstn@redhat.com>
1587
1588 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
1589 from /usr/include/asm/signal.h instead of kernel sources. Also
1590 default max to 32 if not found in header file.
1591 * libc/sys/linux/Makefile.in: Regenerated.
1592 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
1593 systems where __syscall_return is not defined.
1594 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
1595 systems to use syscall() function instead of assembler interrupt.
1596
a170abec
JJ
15972004-06-09 Toralf Lund <toralf@procaptura.com>
1598
1599 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
1600 files from libc/sys/arm to libc/machine/arm.
1601 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
1602 library build support for files moved from libc/sys/arm.
1603 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
1604 references to access and setjmp.
1605 * configure.host: Add checks for newlib_may_supply_syscalls to
1606 determine whether or not to use sys/arm directory and use
1607 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
1608
8b57e664
JJ
16092004-06-02 Jeff Johnston <jjohnstn@redhat.com>
1610
1611 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
1612 reset digit flags appropriately after we have discovered "0x".
1613 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1614
3f611058
JJ
16152004-05-27 Jeff Johnston <jjohnstn@redhat.com>
1616
1617 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
1618 from here ...
1619 (_VFPRINTF_R): ... to here so all I/O printf routines
1620 are covered.
1621
bb42a35c
JJ
16222004-05-26 Jeff Johnston <jjohnstn@redhat.com>
1623
1624 * libc/search/hash_buf.c: Protect MAX and MIN macros from
1625 redefinition.
1626 * libc/search/hash.c: Ditto.
1627
227e6ef6
JJ
16282004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1629
1630 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
1631 (_WANT_IO_LONG_LONG): Ditto.
1632 (_WANT_IO_LONG_DOUBLE): Ditto.
1633 * configure.in: Add new configuration options
1634 --enable-newlib-io-long-long and --enable-newlib-io-long-double
1635 which tie to new defines in newlib.hin.
1636 * configure: Regenerated.
1637 * configure.host: Add checks for new configuration options. Also
1638 fix up check for --enable-newlib-io-pos-args so configuration
1639 option will override any default for a given platform.
1640 Remove defining compiler flags for the _WANT_IO* options.
1641 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
1642 instead of looking for old compiler flags.
1643 * libc/stdio/vfscanf.c: Ditto.
1644 * libc/stdio/vfieeefp.h: Ditto.
1645 * libc/machine/powerpc/vfprintf.c: Ditto.
1646 * libc/machine/powerpc/vfscanf.c: Ditto.
1647
9178da95
JJ
16482004-05-25 Jeff Johnston <jjohnstn@redhat.com>
1649
1650 * testsuite/include/check.h: Add include of <stdio.h>.
1651
cf3aae91
CV
16522004-05-17 Corinna Vinschen <corinna@vinschen.de>
1653
1654 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
1655
5b4c8ae2
JJ
16562004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1657
1658 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
1659 of free.
1660
16612004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1662
1663 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
1664 list for reentrant pointer. Call _vfiprintf_r.
1665 * libc/stdio/siprintf.c (_siprintf_r): New function.
1666 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
1667 pointer argument. Change all callers. Call _VFPRINTF_R.
1668 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
1669 prototypes.
1670
631fbe65
JJ
16712004-05-07 Jeff Johnston <jjohnstn@redhat.com>
1672
1673 * libc/include/sys/param.h: Remove endian info and include
1674 <machine/endian.h> instead.
1675 * libc/include/machine/endian.h: New file.
1676 * libc/include/machine/param.h: Ditto.
1677 * libc/machine/arm/machine/endian.h: Ditto.
1678 * libc/machine/arm/machine/param.h: Ditto.
1679 * libc/sys/arm/sys/param.h: Removed.
1680 * libc/sys/sysvi386/sys/param.h: Ditto.
1681 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
1682
1af84bb7
JJ
16832004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1684
1685 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
1686 multibyte functions return failure for %C, %S, %lc, and %ls
1687 format specifiers.
1688
1c63798e
JJ
16892004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1690
1691 * testsuite/include/check.h (CHECK): Add flush of stdout.
1692
20b0251a
JJ
16932004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1694
1695 * libc/include/stdio.h (_ungetc_r): New prototype.
1696 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
1697 (__submore): Add reentrant struct pointer argument.
1698 (ungetc): Change to call _ungetc_r.
1699
6194cf4a
JJ
17002004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1701
1702 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
1703 function pointer argument.
1704 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
1705 to specify function pointer arguments.
1706 (__fwalk, __fwalk_reent): Ditto.
1707
b4ddf489
AH
17082004-04-26 Aldy Hernandez <aldyh@redhat.com>
1709
1710 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
1711 CT_INT case.
1712
f777e3a5
JJ
17132004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1714
1715 * configure.in: Define _MB_CAPABLE if mb supported.
1716 * configure: Regenerated.
1717 * configure.host: Remove manual setting of MB_CAPABLE compiler
1718 flag.
1719 * newlib.hin: Add _MB_CAPABLE flag.
1720 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
1721 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
1722 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
1723 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
1724 * libc/ctype/jp2uc.c: Ditto.
1725 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
1726 * libc/locale/locale.c: Ditto
1727 * libc/machine/powerpc/vfscanf.c: Ditto
1728 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
1729 * libc/stdlib/mblen.c: Ditto
1730 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
1731 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
1732 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
1733 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
1734 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
1735 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
1736 * libc/sys/linux/intl/explodename.c: Ditto
1737 * libc/sys/linux/intl/finddomain.c: Ditto
1738 * libc/sys/linux/intl/l10nflist.c: Ditto
1739 * libc/sys/linux/intl/loadmsgcat.c: Ditto
1740 * libc/sys/linux/intl/localealias.c: Ditto
1741
27c7566c
JJ
17422004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1743
1744 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
1745 (__svfscanf_r): In integer conversions, leave out leading zeroes
1746 which are not part of a base prefix.
1747 Keep track of width truncation to fit into buf, not counting left-out
1748 zeroes against width till the truncation has been compensated for.
1749 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
1750
c00f9719
JJ
17512004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1752
1753 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
1754
05b31577
JJ
17552004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1756
1757 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
1758 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
1759 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
1760 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
1761 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
1762 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
1763 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
1764 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
1765 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
1766 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
1767 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
1768 libc/stdio/getchar.c libc/stdio/getchar_u.c,
1769 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
1770 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
1771 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
1772 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
1773 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
1774 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
1775 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
1776 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
1777 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
1778 libc/stdio/siprintf.c libc/stdio/snprintf.c,
1779 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
1780 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
1781 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
1782 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
1783 libc/stdio/vprintf.c libc/stdio/vscanf.c,
1784 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
1785 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
1786 libc/stdio/wsetup.c: Perform minor formatting changes. Move
1787 copyright notices to top of file, ensure that <_ansi.h> is
1788 included, be consistent with open parentheses, use _DEFUN macro,
1789 include "local.h" where needed, and remove various compiler
1790 warnings.
1791
04e8fca1
JJ
17922004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
1793
1794 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
1795 (__svfscanf_r): In integer conversions, leave out leading zeroes
1796 which are not part of a base prefix.
1797 Keep track of width truncation to fit into buf, not counting left-out
1798 zeroes against width till the truncation has been compensated for.
1799
9090ec74
CV
18002004-04-20 Corinna Vinschen <corinna@vinschen.de>
1801
1802 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
1803
1c17deea
CV
18042004-04-20 Corinna Vinschen <corinna@vinschen.de>
1805
1806 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
1807
54c7940f
CV
18082004-04-10 Corinna Vinschen <corinna@vinschen.de>
1809
1810 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
1811 to SUSv3.
1812
47dcaf56
JJ
18132004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1814
1815 * libc/stdio/fclose.c (_fclose_r): New function.
1816 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
1817 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
1818 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
1819 * libc/include/stdio.h (_fclose_r): New prototype.
1820 * libc/stdio/fopen.c: Fix typo in comment.
1821
18222004-04-08 Jeff Johnston <jjohnstn@redhat.com>
1823
1824 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
1825 to handle _r reentrant functions.
1826
4121d8cf
JJ
18272004-04-08 Eric Christopher <echristo@redhat.com>
1828
1829 * libc/include/machine/setjmp.h: Fix endif locations.
1830
59c9f5f5
JJ
18312004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1832
1833 * libc/time/strptime.c: Add standard includes to avoid
1834 warning messages at compilation time.
1835
38f4f023
JJ
18362004-04-01 Jeff Johnston <jjohnstn@redhat.com>
1837
1838 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
1839 of file.
1840
18412004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
1842
1843 * libc/machine/h8300/Makefile.am: Reformat slightly.
1844 * libc/machine/h8300/Makefile.in: Regenerate.
1845
38f4f023 18462004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
1847
1848 * libc/stdio/findfp.c (__fp_lock_all): Add call to
1849 __sfp_lock_acquire.
1850 (__fp_unlock_all): Add call to __sfp_lock_release.
1851
10dcf7e7
JJ
18522004-03-25 Thomas Pfaff <tpfaff@gmx.net>
1853
1854 * libc/stdio/fclose.c (fclose): Protect file pointer list when
1855 releasing a file.
1856 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
1857 fwalk.
1858 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
1859 _flockfile/_funlockfile.
1860 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
1861 to recursive.
1862 Change __lock_acquire/__lock_release calls for __sfp_lock to
1863 __sfp_lock_acquire/__sfp_lock_release throughout.
1864 (std): Make sure that file lock is only initialized once.
1865 (__sfp): Move _file initialization. Initialize file lock.
1866 (__sfp_lock_acquire): New function.
1867 (__sfp_lock_release): Ditto.
1868 (__fp_lock_all): Remove __sfp_lock_acquire call.
1869 (__fp_unlock_all): Remove __sfp_lock_release call.
1870 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
1871 Add calls to _flockfile/_funlockfile. Remove
1872 __lock_init_recursive call.
1873 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
1874 * libc/stdio/fwalk.c (__fwalk): New static function.
1875 (_fwalk): Protect file pointer list. Use __fwalk to walk through
1876 file pointers.
1877 * libc/stdio/local.h: Add defines for
1878 __sfp_lock_acquire/__sfp_lock_release when
1879 single threaded. Add function prototypes otherwise.
1880 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
1881 _flockfile/_funlockfile.
1882 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
1883 Add calls to _flockfile/_funlockfile. Remove
1884 __lock_init_recursive call.
1885 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
1886 list.
1887
ec475b09
JJ
18882004-03-25 Jeff Johnston <jjohnstn@redhat.com>
1889
1890 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
1891 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
1892 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
1893 to be __LOCK_INIT_RECURSIVE.
1894
2c4ef10a
JJ
18952004-03-11 Kazu Hirata <kazu@cs.umass.edu>
1896
1897 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
1898 _exit.c with _exit.S.
1899 * libc/sys/h8300hms/Makefile.in: Regenerate.
1900 * libc/sys/h8300hms/_exit.c: Remove.
1901 * libc/sys/h8300hms/_exit.S: New.
1902
41c3da6a
JJ
19032004-03-09 Thomas Pfaff <tpfaff@gmx.net>
1904
1905 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
1906 Change __sfp_lock to static global.
1907 (__fp_lock): New static function.
1908 (__fp_unlock): Ditto.
1909 (__fp_lock_all): New function.
1910 (__fp_unlock_all): Ditto.
1911
0ccf5430
CF
19122004-02-10 Christopher Faylor <cgf@redhat.com>
1913
1914 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
1915 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
1916 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
1917 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
1918
3536f0fb
CF
19192004-02-09 Christopher Faylor <cgf@redhat.com>
1920
1921 * libc/include/time.h (TIMER_RELTIME): New define.
1922
6a6e493a
JJ
19232004-02-09 Jeff Johnston <jjohnstn@redhat.com>
1924
1925 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
1926 * libc/stdlib/Makefile.in: Regenerated.
1927
733309f5
CF
19282004-02-08 Christopher Faylor <cgf@redhat.com>
1929
1930 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
1931 * libc/include/sys/reent.h (__getreent): Protect against possibly being
1932 defined.
1933 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
1934
b4a84c66
JJ
19352004-02-05 Paul Brook <paul@codesourcery.com>
1936
1937 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
1938 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
1939
4669438f
JJ
19402004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1941
1942 * NEWS: Update with 1.12.0 info.
1943 * README: Ditto.
1944 * acinclude.m4: Change version number to 1.12.0.
1945 * aclocal.m4: Regenerated.
1946 * configure: Ditto.
1947 * doc/aclocal.m4: Ditto.
1948 * doc/configure: Ditto.
1949 * libc/*/aclocal.m4: Ditto.
1950 * libc/*/configure: Ditto.
1951 * libc/libc.texinfo: Ditto.
1952 * libm/*/aclocal.m4: Ditto.
1953 * libm/*/configure: Ditto.
1954 * libm/libm.texinfo: Ditto.
1955 * libc/sys/linux/shared.ld: Add VERS_1.12.
1956
94d61fcb
JJ
19572004-02-02 Joel Sherrill <joel@oarcorp.com>
1958
1959 * configure.host: Add support for tic4x.
1960 * libc/include/machine/ieeefp.h: Ditto.
1961 * libc/include/machine/setjmp.h: Ditto.
1962 * libc/machine/tic4x/Makefile.am: New file.
1963 * libc/machine/tic4x/configure.in: Ditto.
1964 * libc/machine/tic4x/setjmp.S: Ditto.
1965 * libc/machine/tic4x/aclocal.m4: Generated.
1966 * libc/machine/tic4x/configure: Ditto.
1967 * libc/machine/tic4x/Makefile.in: Ditto.
1968
c730e0e7
JJ
19692004-01-30 Jeff Johnston <jjohnstn@redhat.com>
1970
1971 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
1972 file chain on the passed in reentrancy struct if it
1973 is _GLOBAL_REENT.
1974
2892ec68
JJ
19752004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1976 Jeff Johnston <jjohnstn@redhat.com>
1977
1978 * libc/iconv/iconv.tex: Updated with more information.
1979
ff41498a
JJ
19802004-01-30 Thomas Pfaff <tpfaff@gmx.net>
1981 Jeff Johnston <jjohnstn@redhat.com>
1982
1983 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
1984 struct for std streams and traverse the global reeentrancy
1985 struct for all other streams.
1986
d5b6c234
JJ
19872004-01-27 Jeff Johnston <jjohnstn@redhat.com>
1988
1989 * libc/stdlib/atexit.c: Protect global atexit list with a
1990 lock when newlib is multithreaded.
1991
01e0a777
JJ
19922004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1993
1994 * configure.in: Add support to generate iconv converter flags
1995 for newlib.h
1996 * newlib.hin: Add iconv converter flags.
1997 * configure: Regenerated.
1998 * libc/Makefile.in: Ditto.
1999 * libc/configure.in: Moved iconv converter parsing logic to
2000 top level newlib configure.in.
2001 * libc/configure: Regenerated.
2002 * libc/iconv/Makefile.in: Ditto.
2003 * libc/iconv/README.TODO
2004 * libc/iconv/charset.aliases: Remove wrong BE aliases for
2005 UCS2/UCS4/UTF8.
2006 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
2007 newlib.h can be used.
2008 * libc/iconv/ces/Makefile.am: Ditto.
2009 * libc/iconv/lib/Makefile.am: Ditto.
2010 * libc/iconv/ccs/Makefile.in: Regenerated.
2011 * libc/iconv/ces/Makefile.in: Ditto.
2012 * libc/iconv/lib/Makefile.in: Ditto.
2013 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
2014 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
2015 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
2016 defined in newlib.h.
2017 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
2018 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
2019 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
2020 * libc/iconv/ccs/cp775.c: Ditto.
2021 * libc/iconv/ccs/cp850.c: Ditto.
2022 * libc/iconv/ccs/cp852.c: Ditto.
2023 * libc/iconv/ccs/cp855.c: Ditto.
2024 * libc/iconv/ccs/cp866.c: Ditto.
2025 * libc/iconv/ccs/gb_2312_80.c: Ditto.
2026 * libc/iconv/ccs/iso_8859_1.c: Ditto.
2027 * libc/iconv/ccs/iso_8859_15.c: Ditto.
2028 * libc/iconv/ccs/iso_8859_2.c: Ditto.
2029 * libc/iconv/ccs/iso_8859_4.c: Ditto.
2030 * libc/iconv/ccs/iso_8859_5.c: Ditto.
2031 * libc/iconv/ccs/jis_x0201.c: Ditto.
2032 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
2033 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
2034 * libc/iconv/ccs/koi8_r.c: Ditto.
2035 * libc/iconv/ccs/koi8_u.c: Ditto.
2036 * libc/iconv/ccs/ksx1001.c: Ditto.
2037 * libc/iconv/ccs/shift_jis.c: Ditto.
2038 * libc/iconv/ccs/us_ascii.c: Ditto.
2039 * libc/iconv/ccs/binary/big5.cct: Newly generated.
2040 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
2041 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
2042 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
2043 * libc/iconv/ccs/binary/cp775.cct: Ditto.
2044 * libc/iconv/ccs/binary/cp850.cct: Ditto.
2045 * libc/iconv/ccs/binary/cp852.cct: Ditto.
2046 * libc/iconv/ccs/binary/cp855.cct: Ditto.
2047 * libc/iconv/ccs/binary/cp866.cct: Ditto.
2048 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
2049 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
2050 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
2051 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
2052 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
2053 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
2054 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
2055 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
2056 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
2057 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
2058 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
2059 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
2060 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
2061 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
2062 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
2063 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
2064 * libc/iconv/ces/euc-kr.c: Ditto.
2065 * libc/iconv/ces/euc-tw.c: Ditto.
2066 * libc/iconv/ces/gb2312.c: Ditto.
2067 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
2068 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
2069 * libc/iconv/ces/ucs-2-internal.c: Ditto.
2070 * libc/iconv/ces/ucs-4-internal.c: Ditto.
2071 * libc/iconv/ces/utf-16.c: Ditto.
2072 * libc/iconv/ces/utf-8.c: Ditto.
2073 * libc/iconv/lib/aliases.c: Ditto.
2074 * libc/iconv/lib/biccs.c: Ditto.
2075 * libc/iconv/lib/bices.c: Ditto.
2076 * libc/iconv/lib/ccs.c: Ditto.
2077 * libc/iconv/lib/ces.c: Ditto.
2078 * libc/iconv/lib/ces_euc.c: Ditto.
2079 * libc/iconv/lib/ces_iso2022.c: Ditto.
2080 * libc/iconv/lib/ces_table.c: Ditto.
2081 * libc/iconv/lib/converter.c: Ditto.
2082 * libc/iconv/lib/deps.h: Ditto.
2083 * libc/iconv/lib/endian.h: Ditto.
2084 * libc/iconv/lib/iconv.c: Ditto.
2085 * libc/iconv/lib/loaddata.c: Ditto.
2086 * libc/iconv/lib/local.h: Include newlib.h.
2087 * libc/argz/Makefile.in: Regenerated.
2088 * libc/ctype/Makefile.in: Ditto.
2089 * libc/errno/Makefile.in: Ditto.
2090 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2091 * libc/locale/Makefile.in: Ditto.
2092 * libc/misc/Makefile.in: Ditto.
2093 * libc/posix/Makefile.in: Ditto.
2094 * libc/reent/Makefile.in: Ditto.
2095 * libc/search/Makefile.in: Ditto.
2096 * libc/signal/Makefile.in: Ditto.
2097 * libc/stdio/Makefile.in: Ditto.
2098 * libc/stdio64/Makefile.in: Ditto.
2099 * libc/stdlib/Makefile.in: Ditto.
2100 * libc/string/Makefile.in: Ditto.
2101 * libc/syscalls/Makefile.in: Ditto.
2102 * libc/time/Makefile.in: Ditto.
2103 * libc/unix/Makefile.in: Ditto.
2104 * testsuite/newlib.iconv/iconv.exp: New file.
2105 * testsuite/newlib.iconv/iconvjp.c: Ditto.
2106 * testsuite/newlib.iconv/iconvnm.c: Ditto.
2107 * testsuite/newlib.iconv/iconvru.c: Ditto.
2108
786ab12c
JJ
21092004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2110
2111 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
2112 (--enable-newlib-builtin-converters): Ditto.
2113 * configure.in: Add code to set _ICONV_ENABLED flag.
2114 Set _MB_LEN_MAX to 1 if not mb enabled.
2115 * configure: Regenerated.
2116 * aclocal.m4: Ditto.
2117 * Makefile.in: Ditto.
2118 * newlib.hin: Add _ICONV_ENABLED flag.
2119 * libc/Makefile.am: Add support for iconv.
2120 * libc/configure.in: Ditto.
2121 * libc/Makefile.in: Regenerated.
2122 * libc/aclocal.m4: Ditto.
2123 * libc/configure: Ditto.
2124 * libc/libc.texinfo: Add iconv documentation.
2125 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
2126 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
2127 libc/iconv/README.TODO, libc/iconv/charset.aliases,
2128 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
2129 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
2130 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
2131 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
2132 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
2133 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
2134 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
2135 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
2136 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
2137 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
2138 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
2139 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
2140 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
2141 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
2142 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
2143 libc/iconv/ccs/binary/big5.cct,
2144 libc/iconv/ccs/binary/cns11643_plane1.cct,
2145 libc/iconv/ccs/binary/cns11643_plane14.cct,
2146 libc/iconv/ccs/binary/cns11643_plane2.cct,
2147 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
2148 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
2149 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
2150 libc/iconv/ccs/binary/iso_8859_1.cct,
2151 libc/iconv/ccs/binary/iso_8859_15.cct,
2152 libc/iconv/ccs/binary/iso_8859_2.cct,
2153 libc/iconv/ccs/binary/iso_8859_4.cct,
2154 libc/iconv/ccs/binary/iso_8859_5.cct,
2155 libc/iconv/ccs/binary/jis_x0201.cct,
2156 libc/iconv/ccs/binary/jis_x0208_1983.cct,
2157 libc/iconv/ccs/binary/jis_x0212_1990.cct,
2158 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
2159 libc/iconv/ccs/binary/ksx1001.cct,
2160 libc/iconv/ccs/binary/shift_jis.cct,
2161 libc/iconv/ccs/binary/us_ascii.cct,
2162 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
2163 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
2164 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
2165 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
2166 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
2167 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
2168 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
2169 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
2170 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
2171 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
2172 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
2173 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
2174 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
2175 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
2176 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
2177 * libc/sys/linux/include/iconv.h: Ditto.
2178 * libc/include/sys/_types.h (_iconv_t): Added.
2179 * doc/aclocal.m4: Regenerated.
2180 * doc/configure: Ditto.
2181 * doc/Makefile.in: Ditto.
2182 * iconvdata/Makefile.in: Ditto.
2183 * iconvdata/aclocal.m4: Ditto.
2184 * iconvdata/configure: Ditto.
2185 * libc/*aclocal.m4: Ditto.
2186 * libc/*Makefile.in: Ditto.
2187 * libc/*configure: Ditto.
2188 * libm/*aclocal.m4: Ditto.
2189 * libm/*Makefile.in: Ditto.
2190 * libm/*configure: Ditto.
2191
ed1a95dc
JJ
21922004-01-22 Thomas Pfaff <tpfaff@gmx.net>
2193
2194 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
2195 by a lock when newlib is multithreaded.
2196
7d4be1ef
JJ
21972004-01-21 Jeff Johnston <jjohnstn@redhat.com>
2198
2199 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
2200 pointer to match C99 spec.
2201 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
2202 dst is NULL. Also fix to not alter src pointer when dst is NULL
2203 and call _mbrtowc_r instead of _mbtowc_r.
2204 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
2205 of _wctomb_r.
2206
403f752c
JJ
22072004-01-19 Thomas Pfaff <tpfaff@gmx.net>
2208
2209 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
2210 * libc/stdio/freopen.c (freopen): Ditto.
2211
85b6d63b
CF
22122004-01-16 Christopher Faylor <cgf@redhat.com>
2213
2214 * libc/stdio/vfprintf.c: Add sys/lock.h include.
2215
4af71a91
JJ
22162004-01-16 Thomas Pfaff <tpfaff@gmx.net>
2217
2218 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
2219 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
2220 Add calls to __lock_init_recursive and __lock_close_recursive
2221 instead.
2222
6a150987
JJ
22232004-01-15 Thomas Pfaff <tpfaff@gmx.net>
2224
2225 * libc/stdio/fclose.c: Include sys/lock.h.
2226 (fclose): Destroy lock when file is closed.
2227 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
2228 member.
2229 * libc/stdio/freopen.c: Include sys/lock.h.
2230 (_freopen_r): Destroy lock when file is closed.
2231 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
2232 _lock member.
2233
c9524c0c
JJ
22342004-01-08 Joel Sherrill <joel@oarcorp.com>
2235
2236 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
2237 Remove warnings.
2238
9f13ccb3
JJ
22392004-01-08 Joel Sherrill <joel@oarcorp.com>
2240
2241 * libc/sys/rtems/sys/queue.h: New file.
2242 * libc/include/sys/signal.h: Reflect renumbering of signals to
2243 fit into 32-bit mask.
2244 * libc/include/sys/unistd.h: Add fdatasync() prototype.
2245 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
2246 required. In particular, add the reentrant variants of libc calls.
2247 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
2248
9488c414
JJ
22492004-01-06 Mark Mitchell <mark@codesourcery.com>
2250
2251 * libc/sys/arm/syscalls.c (unistd.h): Include it.
2252 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
2253 Similarly for stdout and stderr.
2254
5125f919
JJ
22552004-01-06 Jeff Johnston <jjohnstn@redhat.com>
2256
2257 * libc/libc.texinfo: Correct escape character for @ sign
2258 so file will be processed by make info. Update copyright years.
2259 * libm/libm.texinfo: Ditto.
2260
9fc92ceb
JJ
22612003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2262
2263 * libc/include/sys/stat.h: No longer include stat-dj.h.
2264 * libc/include/sys/stat-dj.h: Removed.
2265
25c7dad1
JJ
22662003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2267
2268 * libc/include/wchar.h: Include <sys/reent.h>.
2269
576593dd
CF
22702003-12-05 Christopher Faylor <cgf@redhat.com>
2271
2272 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
2273 when defining _mbrtowc.
2274 * libc/stdlib/mbsinit.c: Ditto.
2275 * libc/stdlib/mbsrtowcs.c: Ditto.
2276 * libc/stdlib/wcrtomb.c: Ditto.
2277 * libc/stdlib/wcsrtombs.c: Ditto.
2278 * libc/stdlib/wctob.c: Ditto.
2279
22802003-12-05 Christopher Faylor <cgf@redhat.com>
2281
2282 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
2283 errors when defining _mbrtowc.
2284 * libc/stdlib/mbsinit.c: Ditto.
2285 * libc/stdlib/mbsrtowcs.c: Ditto.
2286
4c889d62
CF
22872003-12-05 Christopher Faylor <cgf@redhat.com>
2288
2289 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
2290 errors when defining _mbrtowc.
2291
5d109bde
JJ
22922003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2293
2294 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
2295 of mb routines for %lc and %ls support.
2296 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
2297 %ls, and %S support. Remove CYGNUS_NEC markers and
2298 code within.
2299
3aca0888
JJ
23002003-12-04 Jeff Johnston <jjohnstn@redhat.com>
2301
2302 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
2303 _wcrtomb_r, and _wcsrtombs_r.
2304
18dcb167
CV
23052003-12-01 Corinna Vinschen <corinna@vinschen.de>
2306
2307 * libc/include/sys/fcntl.h: Don't define struct flock when on
2308 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
2309
93f8e673
CF
23102003-11-28 Christopher Faylor <cgf@redhat.com>
2311
2312 * libc/include/sys/signal.h: Use system specific signal file when
2313 building on cygwin.
2314
cc2a11e0
JJ
23152003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2316
2317 * libc/include/stdlib.h (_atoi_r): New prototype.
2318 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
2319
83bf7d2f
JJ
23202003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2321
2322 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
2323 * libc/stdlib/atol.c (_atol_r): New reentrant function.
2324 * libc/stdlib/atoll.c (_atoll_r): Ditto.
2325
5d109bde 23262003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
2327 Jeff Johnston <jjohnstn@redhat.com>
2328
2329 * libc/include/stdlib.h (lldiv_t): New type.
2330 (atoll, llabs, lldiv): New prototypes.
2331 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
2332 * libc/stdlib/stdlib.tex: Ditto.
2333 * libc/stdlib/Makefile.in: Regenerated.
2334 * libc/stdlib/atoll.c: New file.
2335 * libc/stdlib/llabs.c: Ditto.
2336 * libc/stdlib/lldiv.c: Ditto.
2337
0a707c79
JJ
23382003-11-26 Corinna Vinschen <corinna@vinschen.de>
2339
2340 * libc/include/fcntl.h: Declare syscalls only when building newlib.
2341 * libc/include/unistd.h: Ditto.
2342 * libc/include/stat.h: Ditto. Also declare struct stat64.
2343
5d109bde 23442003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
2345
2346 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
2347 specifier to use ch instead of *fmt.
2348
5d109bde 23492003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
2350
2351 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
2352 code within checks for MB_CAPABLE. For non-mb-capable platforms,
2353 use simple byte logic.
2354
4f6149d6
JJ
23552003-11-21 Jeff Johnston <jjohnstn@redhat.com>
2356
2357 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
2358 _strtold routine for processing floats and doubles since it
2359 is not as fast as _strtod_r.
2360
7343eefb
JJ
23612003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2362
2363 * libc/machine/h8300/defines.h : Correct pointer register defines
2364 for normal mode.
2365 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
2366 for normal mode.
2367 * libc/machine/h8300/reg_memcpy.S : Likewise.
2368 * libc/machine/h8300/reg_memset.S : Likewise.
2369 * libc/machine/h8300/strcmp.S : Likewise.
2370
64cfc6f2
JJ
23712003-11-19 Nicholas Wourms <nwourms@netscape.net>
2372
2373 * configure.host: Enable positional arguments for printf
2374 family for Cygwin.
2375 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
2376 pointer reference for quad_ptr_t.
2377
e1dc8171
JJ
23782003-11-19 Jeff Johnston <jjohnstn@redhat.com>
2379
2380 * libc/stdio/scanf.c: Don't include local.h more than once.
2381
a472290f
JJ
23822003-11-18 Corinna Vinschen <corinna@vinschen.de>
2383
2384 * libc/include/sys/fcntl.h: Declare _open64.
2385 * libc/include/sys/stat.h: Declare _fstat64.
2386 * libc/include/sys/unistd.h: Declare _lseek64.
2387
a2f1155c
CV
23882003-11-17 Corinna Vinschen <corinna@vinschen.de>
2389
2390 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
2391 (setprogname): Ditto.
2392
030441fc
JJ
23932003-11-10 Jeff Johnston <jjohnstn@redhat.com>
2394
2395 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
2396 to use (Ebits + 1) which accounts for the sign-bit.
2397
fe359733
JJ
23982003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2399
2400 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
2401 x86 build.
2402 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
2403 and set up default flags to pass to aclocal.
2404 * iconvdata/Makefile.in: Regenerated.
2405 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
2406 and getpwuid routines.
2407 * libc/sys/linux/Makefile.in: Regenerated.
2408 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
2409 applications to link with newlib's shared libc library.
2410 * libc/sys/linux/getpwnam.c: Ditto.
2411 * libc/sys/linux/getpwuid.c: Ditto.
2412 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
2413 that were formerly supplied by /usr/include/linux/types.h with
2414 kernel types.
2415 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
2416 test _ELIX_LEVEL macro.
2417
2985521f
JJ
24182003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2419
2420 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
2421 referring to _NO_LONGLONG macro.
2422
dcad6a89
JJ
24232003-11-06 Jeff Johnston <jjohnstn@redhat.com>
2424
2425 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
2426 in LOG() macro so this will compile on gcc 3.4 and up.
2427 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2428 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2429 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2430 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2431 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2432 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2433 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2434 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2435 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2436 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2437 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2438 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2439 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2440 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2441 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2442 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2443 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2444 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2445 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2446 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2447 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2448 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2449 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2450 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2451 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2452 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2453 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2454 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2455 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2456 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2457 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2458 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2459 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2460 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2461 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2462 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2463
d2ffac09 24642003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 2465 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
2466
2467 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
2468 %ls, %S, %lc, and %C format specifiers.
2469 (get_arg): Ditto.
2470 * libc/stdio/sprintf.c: Add documentation regarding new
2471 format specifiers added in vfprintf.c.
2472
da2d1227
JJ
24732003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2474
2475 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
2476 to make code work as specified in standard.
2477
3ef05bac
JJ
24782003-10-23 Jeff Johnston <jjohnstn@redhat.com>
2479
2480 * configure.in: Use absolute newlib basedir when forming
2481 CC_FOR_NEWLIB include options.
2482 * configure: Regenerated.
2483
5d109bde 24842003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
2485
2486 * libc/string/wcsnlen.c: New file.
2487 * libc/include/wchar.h: Add wcsnlen prototype.
2488 * libc/string/Makefile.am: Add wcsnlen support.
2489 * libc/string/Makefile.in: Regenerated.
2490 * libc/string/wcstrings.tex: Add wcsnlen documentation.
2491
63a823f8
RS
24922003-10-22 Richard Sandiford <rsandifo@redhat.com>
2493
2494 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
2495
76a7df52
JJ
24962003-10-20 Bob Wilson <bob.wilson@acm.org>
2497
2498 * libc/locale/locale.c: Use double quotes in code.
2499 * libc/locale/locale.tex: Likewise.
2500 * libc/libc.texinfo: Hyphenate "floating-point".
2501 * libc/machine/necv70/necv70.tex: Likewise.
2502 * libc/stdio/sprintf.c: Likewise.
2503 * libc/stdio/sscanf.c: Likewise.
2504 * libc/stdlib/atof.c: Likewise.
2505 * libc/stdlib/ldtoa.c: Fix comment typo.
2506 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
2507 * libc/stdlib/ldiv.c: Likewise.
2508 * libm/common/s_expm1.c: Likewise.
2509 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
2510 * libm/common/s_infinity: Hyphenate "double- and single-precision".
2511 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
2512 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
2513 and "floating-point".
2514 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
2515 * libm/math/e_pow.c: Fix comment typo.
2516 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
2517 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
2518 * libm/math/s_atan.c: Likewise.
2519 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
2520 * libm/math/s_isnan.c: Hyphenate "single-precision" and
2521 "floating-point". Use "nonzero".
2522 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2523 * libm/math/w_acos.c: Likewise.
2524 * libm/math/w_acosh.c: Likewise.
2525 * libm/math/w_asin.c: Likewise.
2526 * libm/math/w_atan2.c: Likewise.
2527 * libm/math/w_atanh.c: Likewise.
2528 * libm/math/w_cosh.c: Likewise.
2529 * libm/math/w_exp.c: Likewise.
2530 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
2531 version of 2^x in the description.
2532 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
2533 * libm/math/w_gamma.c: Likewise.
2534 * libm/math/w_hypot.c: Likewise.
2535 * libm/math/w_j0.c: Likewise.
2536 * libm/math/w_sinh.c: Likewise.
2537 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
2538 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
2539 "floating-point".
2540 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
2541 * libm/mathfp/e_atanh.c: Likewise.
2542 * libm/mathfp/e_hypot.c: Likewise.
2543 * libm/mathfp/er_lgamma.c: Likewise.
2544 * libm/mathfp/s_acos.c: Likewise.
2545 * libm/mathfp/s_asine.c: Likewise.
2546 * libm/mathfp/s_asinh.c: Likewise.
2547 * libm/mathfp/s_atan.c: Likewise.
2548 * libm/mathfp/s_atan2.c: Likewise.
2549 * libm/mathfp/s_atangent.c: Likewise.
2550 * libm/mathfp/s_cosh.c: Likewise.
2551 * libm/mathfp/s_exp.c: Likewise.
2552 * libm/mathfp/s_fmod.c: Likewise.
2553 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
2554 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
2555 "floating-point". Use "nonzero".
2556 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2557 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2558 * libm/mathfp/s_sineh.c: Likewise.
2559 * libm/mathfp/w_jn.c: Likewise.
2560
b11926e7
JJ
25612003-10-15 Alexandre Oliva <aoliva@redhat.com>
2562
2563 * Makefile.am: Add $(MAKE) comments to multido and multiclean
2564 lines, to enable parallel make.
2565 * Makefile.in: Rebuilt.
2566
31271d5c
CF
25672003-10-14 Christopher Faylor <cgf@redhat.com>
2568
2569 * libc/time/clock.c: Clarify documentation of return value when no
2570 measurement is available.
2571
bc707cbd
JJ
25722003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
2573
2574 * libm/configure.in: Check libm_machine_dir, not machine_dir.
2575 * libm/configure: Regenerate.
2576 * libm/Makefile.in: Ditto.
2577
f4b10605
JR
25782003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
2579
2580 * libc/machine/sh/strncpy.S: New file.
2581 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
2582 * libc/machine/sh/Makefile.in: Regenerate.
2583
ce044d8f
JW
25842003-09-11 James E Wilson <wilson@specifixinc.com>
2585
2586 * MAINTAINERS: Update my e-mail address.
2587
080ef411
CV
25882003-09-10 Corinna Vinschen <corinna@vinschen.de>
2589
2590 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
2591
3a767b69
JJ
25922003-09-09 Jeff Johnston <jjohnstn@redhat.com>
2593
080ef411
CV
2594 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
2595 prototype.
2596 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
2597 _simdldcheck(). Also add unsigned cast for index variable in
2598 for loop using sizeof operators.
2599 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
2600 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
2601 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
2602 plus fix shift calculation for determining if there is a
2603 carry from word2.
3a767b69 2604
84154fcc
CV
26052003-09-09 Corinna Vinschen <corinna@vinschen.de>
2606
2607 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
2608 setgroupent for Cygwin.
2609
f1b15058
JJ
26102003-09-05 Jeff Johnston <jjohnstn@redhat.com>
2611
2612 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
2613 is different for _REENT_SMALL than when using regular reent
2614 struct.
2615
cf88c20f 26162003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 2617
b73263e4
BE
2618 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
2619 modern versions of GCC issue a warning.
2620
0a8fd4dc
BE
2621 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
2622 after continuation characters that induces a warning from modern
2623 versions of GCC.
2624
10a32423
BE
26252003-09-04 Ben Elliston <bje@wasabisystems.com>
2626
2627 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
2628 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2629
ed027a53
JJ
26302003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2631
2632 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
2633 * libc/stdlib/exit.c : Ditto.
2634 * libc/stdlib/on_exit.c: Ditto.
2635
880fa247
JJ
26362003-08-27 Corinna Vinschen <corinna@vinschen.de>
2637
2638 * libc/include/reent.h: Define stat64 as __stat64 when
2639 compiling newlib for Cygwin.
2640
54c1d7ea
JJ
26412003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2642
2643 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
2644 __stat64 when compiling newlib.
2645
0eca0750
JJ
26462003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2647
2648 * libc/include/stdio.h: Allow the io64 function prototypes for
2649 Cygwin when compiling newlib.
2650 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
2651 to expose the Cygwin struct __stat64 type.
2652 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
2653 pointer.
2654 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2655
9d4aef19
CF
26562003-08-23 Christopher Faylor <cgf@redhat.com>
2657
2658 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
2659 definition to fseeko64.
2660
9fc9e1c9
JJ
26612003-08-22 Jeff Johnston <jjohnstn@redhat.com>
2662
2663 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
2664 * libc/stdio: Globally remove/replace all references to fp->_data.
2665 Replace with _REENT or _GLOBAL_REENT where appropriate.
2666 * libc/stdio/asprintf.c: Ditto.
2667 * libc/stdio/fclose.c: Ditto.
2668 * libc/stdio/fvwrite.c: Ditto.
2669 * libc/stdio/makebuf.c: Ditto.
2670 * libc/stdio/refill.c: Ditto.
2671 * libc/stdio/local.h: Ditto.
2672 * libc/stdio/setvbuf.c: Ditto.
2673 * libc/stdio/sscanf.c: Ditto.
2674 * libc/stdio/stdio.c: Ditto.
2675 * libc/stdio/ungetc.c: Ditto.
2676 * libc/stdio/vfscanf.c: Ditto.
2677 * libc/stdio/vsscanf.c: Ditto.
2678 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
2679 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
2680 * libc/stdio/vsnprintf.c: Ditto.
2681 * libc/stdio/vsprintf.c: Ditto.
2682 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
2683 instead of _REENT to walk file list.
2684 * libc/stdio/fflush.c: Ditto.
2685 * libc/stdio/fgetpos.c: Add reentrant version and have regular
2686 version call reentrant version with _REENT argument.
2687 * libc/stdio/fsetpos.c: Ditto.
2688 * libc/stdio/fseek.c: Ditto.
2689 * libc/stdio/fseeko.c: Ditto.
2690 * libc/stdio/ftell.c: Ditto.
2691 * libc/stdio/ftello.c: Ditto.
2692 * libc/stdio/freopen.c: Ditto.
2693 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
2694 new files to chain. Also use _GLOBAL_REENT pointer for
2695 cleaning up.
2696 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
2697 * libc/stdio/siprintf.c: Ditto.
2698 * libc/stdio/iprintf.c: Ditto.
2699 * libc/stdio/fprintf.c: Ditto.
2700 * libc/stdio/printf.c: Ditto.
2701 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
2702 * libc/stdio/sprintf.c: Ditto.
2703 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
2704 * libc/stdio/rewind.c: Call _fseek_r directly.
2705 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
2706 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
2707 data pointer.
2708 (get_arg): Add extra struct _reent pointer argument.
2709 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
2710 to fp->_data.
2711 * libc/stdio64/fopen64.c: Ditto.
2712 * libc/stdio64/freopen64.c: Ditto.
2713 * libc/stdio64/fsetpos64.c: Ditto.
2714 * libc/stdio64/ftello64.c: Ditto.
2715 * libc/stdio64/local64.h: Ditto.
2716 * libc/stdio64/stdio64.c: Ditto.
2717 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
2718 _fstat64_r for the meantime.
2719
8f021114
JJ
27202003-08-19 Jeff Johnston <jjohnstn@redhat.com>
2721
2722 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
2723 overflow detection.
2724
db979bb4
JJ
27252003-08-13 Aldy Hernandez <aldyh@redhat.com>
2726
2727 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
2728 extern "C".
2729
6efbdc7d
JJ
27302003-08-13 Jeff Johnston <jjohnstn@redhat.com>
2731
2732 * libc/include/math.h: Add prototypes for __signbitf and
2733 __signbitd.
2734
e895fc20
JJ
27352003-07-31 Jeff Johnston <jjohnstn@redhat.com>
2736
2737 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
2738 correct type of conversion when dealing with EUCJP or SJIS.
2739 * libc/ctype/iswblank.c: Ditto.
2740 * libc/ctype/iswcntrl.c: Ditto.
2741 * libc/ctype/iswprint.c: Ditto.
2742 * libc/ctype/iswpunct.c: Ditto.
2743 * libc/ctype/iswspace.c: Ditto.
2744 * libc/ctype/towlower.c: Ditto.
2745 * libc/ctype/towupper.c: Ditto.
2746
0302dfe5
NC
27472003-07-31 Nick Clifton <nickc@redhat.com>
2748
2749 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
2750 before calling main, in case it saves its argument registers.
2751 Remove reference to deleted v850ea port.
2752 * configure.host: Remove reference to deleted v850ea port.
2753 Do not use -mv850 when building for v850e target. This
2754 prevents the ctbp system register from being initialised.
2755
42de5592
JJ
27562003-07-29 Honda Hiroki <hhonda@ipflex.com>
2757
2758 * libc/stdio/vfprintf.c: Set output size to 1 when
2759 we have %f format with precision 0 and # flag not specified.
2760
e5de27b6
AO
27612003-07-29 Alexandre Oliva <aoliva@redhat.com>
2762
2763 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
2764 .am33_2.
2765
3c98a593
CF
27662003-07-25 Christopher Faylor <cgf@redhat.com>
2767
2768 * libc/stdio64/fdopen64.c: Include sys/lock.h.
2769
e222bf67
CF
27702003-07-25 Christopher Faylor <cgf@redhat.com>
2771
2772 * configure.host: Find cygwin include directory, when appropriate.
2773
03536757
CF
27742003-07-24 Christopher Faylor <cgf@redhat.com>
2775
2776 * libc/stdio64/fdopen64.c: New file.
2777 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
2778 * libc/stdio64/Makefile.in: Regenerate.
2779 * libc/include/stdio.h (fdopen64): Define.
2780 * libc/include/stdio.h (_fdopen64_r): Ditto.
2781
18072a4f
AO
27822003-07-10 Alexandre Oliva <aoliva@redhat.com>
2783
2784 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2785 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
2786 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
2787 restore callee-saved FP registers.
2788
e0bec12f
JR
27892003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
2790
2791 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
2792 for __sh__.
2793 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
2794 truncate.c.
2795 * libc/sys/sh/Makefile.in: Regenerate.
2796 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
2797 * libc/sys/sh/ftruncate.c: New file.
2798 * libc/sys/sh/truncate.c: Likewise.
2799
03d65dd9
AO
28002003-07-09 Alexandre Oliva <aoliva@redhat.com>
2801
2802 * libc/include/math.h (nan, nanf): Update prototype to C99.
2803 * libm/common/s_nan.c (nan): Likewise.
2804 * libm/common/s_nanf.c (nanf, nan): Likewise.
2805 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
2806
74aa9d7d
JJ
28072003-07-07 Jeff Johnston <jjohnstn@redhat.com>
2808
2809 * libc/include/stdbool.h: Removed as this is defined by gcc.
2810
0a447ef3
JJ
28112003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
2812
2813 * libc/include/stdbool.h: New header file defined by C99.
2814
282eff9a
JJ
28152003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2816
2817 * libc/include/sys/types.h (int8_t): Make signed.
2818
4e989b11
JJ
28192003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2820
2821 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
2822
07b40cf8
JJ
28232003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
2824
2825 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
2826 on if we actually created the shared memory file exclusively.
2827
7daa7891
JJ
28282003-06-27 Joe Vornehm <joev@mitre.org>
2829
2830 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
2831 comparisons to account for unsigned internal value w.
2832
51fa7562
JJ
28332003-06-26 Jeff Johnston <jjohnstn@redhat.com>
2834
2835 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
2836 wrbuf for a non-creating open.
2837
b8f7ea5c
JJ
28382003-06-24 Kazu Hirata <kazu@cs.umass.edu>
2839
2840 * libc/machine/h8300/setarch.h: New.
2841 * libc/machine/h8300/memcpy.S: Use it.
2842 * libc/machine/h8300/memset.S: Likewise.
2843 * libc/machine/h8300/reg_memcpy.S: Likewise.
2844 * libc/machine/h8300/reg_memset.S: Likewise.
2845 * libc/machine/h8300/setjmp.S: Likewise.
2846 * libc/machine/h8300/strcmp.S: Likewise.
2847
6d7ea52a
RS
28482003-06-24 Richard Sandiford <rsandifo@redhat.com>
2849
2850 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
2851 to atexit().
2852
5a74f2aa
JJ
28532003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2854
2855 * configure.host (iq2000): Add tabs.
2856
8266e478
JJ
28572003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2858
2859 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
2860 to handle latest on_exit change.
2861 * libc/sys/linux/Makefile.am: Remove special compilation
2862 for malloc.c and mcheck.c.
2863 * libc/sys/linux/Makefile.in: Regenerated.
2864 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
2865 after including <features.h>.
2866 * libc/sys/linux/mcheck.c: Ditto.
2867 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
2868 for <features.h>.
2869 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
2870 add -DNOT_IN_libc to C flags.
2871 * libc/sys/linux/intl/Makefile.in: Regenerated.
2872 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
2873 * libc/sys/linux/linuxthreads/semaphore.h: Include
2874 <bits/pthreadtypes.h>.
2875 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
2876 including <features.h>.
2877 * libc/sys/linux/sys/lock.h: Ditto.
2878
0efe117b
NC
28792003-06-11 Nick Clifton <nickc@redhat.com>
2880
2881 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
2882 _on_exit_args_ptr.
2883
bfdfd7e6
AG
28842003-06-10 Stan Cox <scox@redhat.com>
2885 Anthony Green <green@redhat.com>
2886
2887 * configure.host: Add iq2000 support.
2888 * newlib/libc/include/machine/ieeefp.h: Ditto.
2889 * newlib/libc/include/machine/setjmp.h: Ditto.
2890 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
2891 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
2892 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
2893 libc/machine/iq2000/Makefile.in: New files.
2894
d9e4104b
RS
28952003-06-10 Richard Sandiford <rsandifo@redhat.com>
2896
2897 * libc/sys/h8300hms/setarch.h: New file.
2898 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
2899 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
2900 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
2901 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
2902
729d1ff9
JJ
29032003-06-06 Jeff Johnston <jjohnstn@redhat.com>
2904
2905 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
2906 definition.
2907 * libc/argz/argz_add_sep.c: Ditto.
2908 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
2909 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
2910 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
2911 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
2912 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
2913 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
2914 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
2915 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
2916 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
2917 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
2918 * libc/posix/execl.c libc/posix/execle.c: Ditto.
2919 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
2920 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
2921 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
2922 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
2923 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
2924 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
2925 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
2926 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
2927 * libc/search/twalk.c libc/signal/signal.c: Ditto.
2928
75d7d177
NC
29292003-06-05 Nick Clifton <nickc@redhat.com>
2930
2931 * libc/include/sys/reent.h (struct _on_exit_args): New
2932 structure containing fields used by the on_exit() function.
2933 (struct _atexit): Include struct _on_exit_args. For
2934 _REENT_SMALL do his via a pointer that is initialised when
2935 needed.
2936 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
2937 structure, if one has been allocated.
2938 * libc/stdlib/atexit.c (atexit): Update indirection to
2939 _fntypes field.
2940 * libc/stdlib/on_exit.c (on_exit): Indirect via the
2941 _on_exit_args structure. For _REENT_SMALL, allocate a
2942 structure if one does not exist.
2943 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
2944 structure.
2945
2129f283
JJ
29462003-06-04 Jeff Johnston <jjohnstn@redhat.com>
2947
2948 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
2949 * libc/sys/linux/net/Makefile.in: Regenerated.
2950
bf3bcac2
JJ
29512003-06-03 Jeff Johnston <jjohnstn@redhat.com>
2952
2953 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
2954 * libc/reent/fcntlr.c: Ditto.
2955 * libc/reent/fstat64r.c: Ditto.
2956 * libc/reent/linkr.c: Ditto.
2957 * libc/reent/lseek64r.c: Ditto.
2958 * libc/reent/lseekr.c: Ditto.
2959 * libc/reent/openr.c: Ditto.
2960 * libc/reent/readr.c: Ditto.
2961 * libc/reent/reent.c: Ditto.
2962 * libc/reent/sbrkr.c: Ditto.
2963 * libc/reent/signalr.c: Ditto.
2964 * libc/reent/signgam.c: Ditto.
2965 * libc/reent/statr.c: Ditto.
2966 * libc/reent/timer.c: Ditto.
2967 * libc/reent/unlinkr.c: Ditto.
2968 * libc/reent/writer.c: Ditto.
2969 * libc/syscalls/sysclose.c: Ditto.
2970 * libc/syscalls/sysexecve.c: Ditto.
2971 * libc/syscalls/sysfcntl.c: Ditto.
2972 * libc/syscalls/sysfork.c: Ditto.
2973 * libc/syscalls/sysfstat.c: Ditto.
2974 * libc/syscalls/sysgetpid.c: Ditto.
2975 * libc/syscalls/sysgettod.c: Ditto.
2976 * libc/syscalls/syskill.c: Ditto.
2977 * libc/syscalls/syslink.c: Ditto.
2978 * libc/syscalls/syslseek.c: Ditto.
2979 * libc/syscalls/sysopen.c: Ditto.
2980 * libc/syscalls/sysread.c: Ditto.
2981 * libc/syscalls/syssbrk.c: Ditto.
2982 * libc/syscalls/sysstat.c: Ditto.
2983 * libc/syscalls/systimes.c: Ditto.
2984 * libc/syscalls/sysunlink.c: Ditto.
2985 * libc/syscalls/syswait.c: Ditto.
2986 * libc/syscalls/syswrite.c: Ditto.
2987
702ceb23
JJ
29882003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
2989
2990 * libc/time/tzset_r.c: Change local variables that are
2991 set via sscanf using the %h format specifier to be unsigned short
2992 instead of int.
2993
102861c9
JJ
29942003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
2995
2996 * configure.host: Allow i[34567]86 variant.
2997 * configure.in: Likewise.
2998 * README: Likewise to the docs.
2999 * configure: Regenerated.
3000 * Makefile.in: Ditto.
3001
b359e82c
JJ
30022003-05-28 Jeff Johnston <jjohnstn@redhat.com>
3003 Tom Fitzsimmons <fitzsim@redhat.com>
3004
3005 * configure.in: Add iconvdata support for x86 linux.
3006 * configure: Regenerated.
3007 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
3008 library, iconv, and linuxthreads support.
3009 * libc/sys/linux/configure.in: Ditto.
3010 * libc/sys/linux/Makefile.in: Regenerated.
3011 * libc/sys/linux/configure: Ditto.
3012 * iconvdata/EUC-JP.irreversible: New file.
3013 * iconvdata/Makefile.am: Ditto.
3014 * iconvdata/Makefile.in: Ditto.
3015 * iconvdata/SJIS.irreversible: Ditto.
3016 * iconvdata/aclocal.m4: Ditto.
3017 * iconvdata/configure: Ditto.
3018 * iconvdata/configure.in: Ditto.
3019 * iconvdata/dummy.c: Ditto.
3020 * iconvdata/euc-jp.c: Ditto.
3021 * iconvdata/gconv-modules: Ditto.
3022 * iconvdata/jis0201.c: Ditto.
3023 * iconvdata/jis0201.h: Ditto.
3024 * iconvdata/jis0208.c: Ditto.
3025 * iconvdata/jis0208.h: Ditto.
3026 * iconvdata/jis0212.c: Ditto.
3027 * iconvdata/jis0212.h: Ditto.
3028 * iconvdata/sjis.c: Ditto.
3029 * libc/include/errno.h: Protect definition of error_t.
3030 * libc/sys/linux/gethostid.c: New file.
3031 * libc/sys/linux/sethostid.c: Ditto.
3032 * libc/sys/linux/dl/Makefile.am: Ditto.
3033 * libc/sys/linux/dl/Makefile.in: Ditto.
3034 * libc/sys/linux/dl/abi-tag.h: Ditto.
3035 * libc/sys/linux/dl/atomicity.h: Ditto.
3036 * libc/sys/linux/dl/dl-addr.c: Ditto.
3037 * libc/sys/linux/dl/dl-cache.c: Ditto.
3038 * libc/sys/linux/dl/dl-cache.h: Ditto.
3039 * libc/sys/linux/dl/dl-close.c: Ditto.
3040 * libc/sys/linux/dl/dl-debug.c: Ditto.
3041 * libc/sys/linux/dl/dl-deps.c: Ditto.
3042 * libc/sys/linux/dl/dl-dst.h: Ditto.
3043 * libc/sys/linux/dl/dl-error.c: Ditto.
3044 * libc/sys/linux/dl/dl-fini.c: Ditto.
3045 * libc/sys/linux/dl/dl-init.c: Ditto.
3046 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
3047 * libc/sys/linux/dl/dl-libc.c: Ditto.
3048 * libc/sys/linux/dl/dl-librecon.h: Ditto.
3049 * libc/sys/linux/dl/dl-load.c: Ditto.
3050 * libc/sys/linux/dl/dl-lookup.c: Ditto.
3051 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
3052 * libc/sys/linux/dl/dl-minimal.c: Ditto.
3053 * libc/sys/linux/dl/dl-misc.c: Ditto.
3054 * libc/sys/linux/dl/dl-object.c: Ditto.
3055 * libc/sys/linux/dl/dl-open.c: Ditto.
3056 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
3057 * libc/sys/linux/dl/dl-profile.c: Ditto.
3058 * libc/sys/linux/dl/dl-profstub.c: Ditto.
3059 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3060 * libc/sys/linux/dl/dl-runtime.c: Ditto.
3061 * libc/sys/linux/dl/dl-support.c: Ditto.
3062 * libc/sys/linux/dl/dl-sym.c: Ditto.
3063 * libc/sys/linux/dl/dl-version.c: Ditto.
3064 * libc/sys/linux/dl/dlfcn.h: Ditto.
3065 * libc/sys/linux/dl/do-lookup.h: Ditto.
3066 * libc/sys/linux/dl/do-rel.h: Ditto.
3067 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3068 * libc/sys/linux/dl/kernel-features.h: Ditto.
3069 * libc/sys/linux/dl/ldsodefs.h: Ditto.
3070 * libc/sys/linux/dl/libintl.h: Ditto.
3071 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
3072 * libc/sys/linux/dl/unsecvars.h: Ditto.
3073 * libc/sys/linux/iconv/Makefile.am: Ditto.
3074 * libc/sys/linux/iconv/Makefile.in: Ditto.
3075 * libc/sys/linux/iconv/categories.def: Ditto.
3076 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
3077 * libc/sys/linux/iconv/gconv.c: Ditto.
3078 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
3079 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
3080 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
3081 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
3082 * libc/sys/linux/iconv/gconv_close.c: Ditto.
3083 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
3084 * libc/sys/linux/iconv/gconv_db.c: Ditto.
3085 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
3086 * libc/sys/linux/iconv/gconv_int.h: Ditto.
3087 * libc/sys/linux/iconv/gconv_open.c: Ditto.
3088 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3089 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
3090 * libc/sys/linux/iconv/hash-string.h: Ditto.
3091 * libc/sys/linux/iconv/iconv.c: Ditto.
3092 * libc/sys/linux/iconv/iconv.h: Ditto.
3093 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
3094 * libc/sys/linux/iconv/iconv_close.c: Ditto.
3095 * libc/sys/linux/iconv/iconv_open.c: Ditto.
3096 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
3097 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
3098 * libc/sys/linux/iconv/loadinfo.h: Ditto.
3099 * libc/sys/linux/iconv/localeinfo.h: Ditto.
3100 * libc/sys/linux/iconv/loop.c: Ditto.
3101 * libc/sys/linux/iconv/skeleton.c: Ditto.
3102 * libc/sys/linux/iconv/strtab.c: Ditto.
3103 * libc/sys/linux/include/dl-hash.h: Ditto.
3104 * libc/sys/linux/include/dlfcn.h: Ditto.
3105 * libc/sys/linux/include/fnmatch.h: Ditto.
3106 * libc/sys/linux/include/gconv.h: Ditto.
3107 * libc/sys/linux/include/glob.h: Ditto.
3108 * libc/sys/linux/include/hesiod.h: Ditto.
3109 * libc/sys/linux/include/ifaddrs.h: Ditto.
3110 * libc/sys/linux/include/libc_private.h: Ditto.
3111 * libc/sys/linux/include/link.h: Ditto.
3112 * libc/sys/linux/include/namespace.h: Ditto.
3113 * libc/sys/linux/include/netconfig.h: Ditto.
3114 * libc/sys/linux/include/netdb.h: Ditto.
3115 * libc/sys/linux/include/nsswitch.h: Ditto.
3116 * libc/sys/linux/include/regex.h: Ditto.
3117 * libc/sys/linux/include/resolv.h: Ditto.
3118 * libc/sys/linux/include/rune.h: Ditto.
3119 * libc/sys/linux/include/runetype.h: Ditto.
3120 * libc/sys/linux/include/semaphore.h: Ditto.
3121 * libc/sys/linux/include/setlocale.h: Ditto.
3122 * libc/sys/linux/include/un-namespace.h: Ditto.
3123 * libc/sys/linux/include/wordexp.h: Ditto.
3124 * libc/sys/linux/include/arpa/ftp.h: Ditto.
3125 * libc/sys/linux/include/arpa/inet.h: Ditto.
3126 * libc/sys/linux/include/arpa/nameser.h: Ditto.
3127 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
3128 * libc/sys/linux/include/arpa/telnet.h: Ditto.
3129 * libc/sys/linux/include/arpa/tftp.h: Ditto.
3130 * libc/sys/linux/include/net/bpf.h: Ditto.
3131 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
3132 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
3133 * libc/sys/linux/include/net/bridge.h: Ditto.
3134 * libc/sys/linux/include/net/ethernet.h: Ditto.
3135 * libc/sys/linux/include/net/fddi.h: Ditto.
3136 * libc/sys/linux/include/net/if.h: Ditto.
3137 * libc/sys/linux/include/net/if_arc.h: Ditto.
3138 * libc/sys/linux/include/net/if_arp.h: Ditto.
3139 * libc/sys/linux/include/net/if_atm.h: Ditto.
3140 * libc/sys/linux/include/net/if_dl.h: Ditto.
3141 * libc/sys/linux/include/net/if_gif.h: Ditto.
3142 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
3143 * libc/sys/linux/include/net/if_llc.h: Ditto.
3144 * libc/sys/linux/include/net/if_media.h: Ditto.
3145 * libc/sys/linux/include/net/if_mib.h: Ditto.
3146 * libc/sys/linux/include/net/if_ppp.h: Ditto.
3147 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
3148 * libc/sys/linux/include/net/if_slvar.h: Ditto.
3149 * libc/sys/linux/include/net/if_sppp.h: Ditto.
3150 * libc/sys/linux/include/net/if_stf.h: Ditto.
3151 * libc/sys/linux/include/net/if_tap.h: Ditto.
3152 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
3153 * libc/sys/linux/include/net/if_tun.h: Ditto.
3154 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
3155 * libc/sys/linux/include/net/if_types.h: Ditto.
3156 * libc/sys/linux/include/net/if_var.h: Ditto.
3157 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
3158 * libc/sys/linux/include/net/intrq.h: Ditto.
3159 * libc/sys/linux/include/net/iso88025.h: Ditto.
3160 * libc/sys/linux/include/net/net_osdep.h: Ditto.
3161 * libc/sys/linux/include/net/netisr.h: Ditto.
3162 * libc/sys/linux/include/net/pfil.h: Ditto.
3163 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
3164 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
3165 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
3166 * libc/sys/linux/include/net/radix.h: Ditto.
3167 * libc/sys/linux/include/net/raw_cb.h: Ditto.
3168 * libc/sys/linux/include/net/route.h: Ditto.
3169 * libc/sys/linux/include/net/slcompress.h: Ditto.
3170 * libc/sys/linux/include/net/slip.h: Ditto.
3171 * libc/sys/linux/include/net/zlib.h: Ditto.
3172 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
3173 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
3174 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
3175 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
3176 * libc/sys/linux/include/netinet/igmp.h: Ditto.
3177 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
3178 * libc/sys/linux/include/netinet/in.h: Ditto.
3179 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
3180 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
3181 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
3182 * libc/sys/linux/include/netinet/in_var.h: Ditto.
3183 * libc/sys/linux/include/netinet/ip.h: Ditto.
3184 * libc/sys/linux/include/netinet/ip6.h: Ditto.
3185 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
3186 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
3187 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
3188 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
3189 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
3190 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
3191 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
3192 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
3193 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
3194 * libc/sys/linux/include/netinet/tcp.h: Ditto.
3195 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
3196 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
3197 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
3198 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
3199 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
3200 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
3201 * libc/sys/linux/include/netinet/udp.h: Ditto.
3202 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
3203 * libc/sys/linux/include/netinet6/ah.h: Ditto.
3204 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
3205 * libc/sys/linux/include/netinet6/esp.h: Ditto.
3206 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
3207 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
3208 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
3209 * libc/sys/linux/include/netinet6/in6.h: Ditto.
3210 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
3211 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
3212 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
3213 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
3214 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
3215 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
3216 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
3217 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
3218 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
3219 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
3220 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
3221 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
3222 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
3223 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
3224 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
3225 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
3226 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
3227 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
3228 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
3229 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
3230 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
3231 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
3232 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
3233 * libc/sys/linux/include/netns/idp.h: Ditto.
3234 * libc/sys/linux/include/netns/idp_var.h: Ditto.
3235 * libc/sys/linux/include/netns/ns.h: Ditto.
3236 * libc/sys/linux/include/netns/ns_error.h: Ditto.
3237 * libc/sys/linux/include/netns/ns_if.h: Ditto.
3238 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
3239 * libc/sys/linux/include/netns/sp.h: Ditto.
3240 * libc/sys/linux/include/netns/spidp.h: Ditto.
3241 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
3242 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
3243 * libc/sys/linux/include/netns/spp_var.h: Ditto.
3244 * libc/sys/linux/include/rpc/Makefile: Ditto.
3245 * libc/sys/linux/include/rpc/auth.h: Ditto.
3246 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
3247 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
3248 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
3249 * libc/sys/linux/include/rpc/clnt.h: Ditto.
3250 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
3251 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
3252 * libc/sys/linux/include/rpc/des.h: Ditto.
3253 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
3254 * libc/sys/linux/include/rpc/nettype.h: Ditto.
3255 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
3256 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
3257 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
3258 * libc/sys/linux/include/rpc/raw.h: Ditto.
3259 * libc/sys/linux/include/rpc/rpc.h: Ditto.
3260 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
3261 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
3262 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
3263 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
3264 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
3265 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
3266 * libc/sys/linux/include/rpc/svc.h: Ditto.
3267 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
3268 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
3269 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
3270 * libc/sys/linux/include/rpc/types.h: Ditto.
3271 * libc/sys/linux/include/rpc/xdr.h: Ditto.
3272 * libc/sys/linux/intl/Makefile.am: Ditto.
3273 * libc/sys/linux/intl/Makefile.in: Ditto.
3274 * libc/sys/linux/intl/bindtextdom.c: Ditto.
3275 * libc/sys/linux/intl/catgets.c: Ditto.
3276 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
3277 * libc/sys/linux/intl/config.h: Ditto.
3278 * libc/sys/linux/intl/dcgettext.c: Ditto.
3279 * libc/sys/linux/intl/dcigettext.c: Ditto.
3280 * libc/sys/linux/intl/dcngettext.c: Ditto.
3281 * libc/sys/linux/intl/dgettext.c: Ditto.
3282 * libc/sys/linux/intl/dngettext.c: Ditto.
3283 * libc/sys/linux/intl/explodename.c: Ditto.
3284 * libc/sys/linux/intl/finddomain.c: Ditto.
3285 * libc/sys/linux/intl/gettext.c: Ditto.
3286 * libc/sys/linux/intl/gettext.h: Ditto.
3287 * libc/sys/linux/intl/gettextP.h: Ditto.
3288 * libc/sys/linux/intl/hash-string.h: Ditto.
3289 * libc/sys/linux/intl/l10nflist.c: Ditto.
3290 * libc/sys/linux/intl/loadinfo.h: Ditto.
3291 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
3292 * libc/sys/linux/intl/locale.alias: Ditto.
3293 * libc/sys/linux/intl/localealias.c: Ditto.
3294 * libc/sys/linux/intl/ngettext.c: Ditto.
3295 * libc/sys/linux/intl/open_catalog.c: Ditto.
3296 * libc/sys/linux/intl/plural.c: Ditto.
3297 * libc/sys/linux/intl/plural.y: Ditto.
3298 * libc/sys/linux/intl/stpcpy.c: Ditto.
3299 * libc/sys/linux/intl/textdomain.c: Ditto.
3300 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
3301 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3302 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
3303 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
3304 * libc/sys/linux/linuxthreads/attr.c: Ditto.
3305 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
3306 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
3307 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
3308 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
3309 * libc/sys/linux/linuxthreads/config.h: Ditto.
3310 * libc/sys/linux/linuxthreads/configure: Ditto.
3311 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3312 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
3313 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
3314 * libc/sys/linux/linuxthreads/events.c: Ditto.
3315 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
3316 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
3317 * libc/sys/linux/linuxthreads/internals.h: Ditto.
3318 * libc/sys/linux/linuxthreads/join.c: Ditto.
3319 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
3320 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
3321 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
3322 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
3323 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
3324 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
3325 * libc/sys/linux/linuxthreads/manager.c: Ditto.
3326 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
3327 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
3328 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
3329 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
3330 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
3331 * libc/sys/linux/linuxthreads/prio.c: Ditto.
3332 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
3333 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
3334 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
3335 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
3336 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
3337 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
3338 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
3339 * libc/sys/linux/linuxthreads/queue.h: Ditto.
3340 * libc/sys/linux/linuxthreads/reent.c: Ditto.
3341 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
3342 * libc/sys/linux/linuxthreads/restart.h: Ditto.
3343 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
3344 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
3345 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
3346 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
3347 * libc/sys/linux/linuxthreads/signals.c: Ditto.
3348 * libc/sys/linux/linuxthreads/specific.c: Ditto.
3349 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
3350 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
3351 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
3352 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
3353 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
3354 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
3355 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
3356 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
3357 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
3358 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
3359 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
3360 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
3361 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
3362 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
3363 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
3364 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
3365 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
3366 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
3367 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
3368 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
3369 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
3370 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
3371 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
3372 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
3373 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
3374 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
3375 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
3376 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
3377 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
3378 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
3379 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
3380 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
3381 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
3382 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
3383 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
3384 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
3385 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
3386 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
3387 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
3388 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
3389 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
3390 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
3391 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
3392 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
3393 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
3394 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
3395 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
3396 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
3397 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
3398 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
3399 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
3400 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
3401 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
3402 * libc/sys/linux/linuxthreads/unload.c: Ditto.
3403 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
3404 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
3405 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
3406 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
3407 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
3408 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
3409 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
3410 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
3411 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
3412 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
3413 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
3414 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
3415 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
3416 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3417 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
3418 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3419 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
3420 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
3421 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
3422 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
3423 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
3424 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3425 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
3426 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
3427 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
3428 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
3429 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
3430 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
3431 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
3432 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
3433 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
3434 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3435 * libc/sys/linux/net/Makefile.am: Ditto.
3436 * libc/sys/linux/net/Makefile.in: Ditto.
3437 * libc/sys/linux/net/addr2ascii.3: Ditto.
3438 * libc/sys/linux/net/addr2ascii.c: Ditto.
3439 * libc/sys/linux/net/ascii2addr.c: Ditto.
3440 * libc/sys/linux/net/base64.c: Ditto.
3441 * libc/sys/linux/net/bindresvport.c: Ditto.
3442 * libc/sys/linux/net/byteorder.3: Ditto.
3443 * libc/sys/linux/net/ether_addr.c: Ditto.
3444 * libc/sys/linux/net/ethers.3: Ditto.
3445 * libc/sys/linux/net/getaddrinfo.3: Ditto.
3446 * libc/sys/linux/net/getaddrinfo.c: Ditto.
3447 * libc/sys/linux/net/gethostbydns.c: Ditto.
3448 * libc/sys/linux/net/gethostbyht.c: Ditto.
3449 * libc/sys/linux/net/gethostbyname.3: Ditto.
3450 * libc/sys/linux/net/gethostbynis.c: Ditto.
3451 * libc/sys/linux/net/gethostnamadr.c: Ditto.
3452 * libc/sys/linux/net/getifaddrs.3: Ditto.
3453 * libc/sys/linux/net/getifaddrs.c: Ditto.
3454 * libc/sys/linux/net/getipnodebyname.3: Ditto.
3455 * libc/sys/linux/net/getnameinfo.3: Ditto.
3456 * libc/sys/linux/net/getnameinfo.c: Ditto.
3457 * libc/sys/linux/net/getnetbydns.c: Ditto.
3458 * libc/sys/linux/net/getnetbyht.c: Ditto.
3459 * libc/sys/linux/net/getnetbynis.c: Ditto.
3460 * libc/sys/linux/net/getnetent.3: Ditto.
3461 * libc/sys/linux/net/getnetnamadr.c: Ditto.
3462 * libc/sys/linux/net/getproto.c: Ditto.
3463 * libc/sys/linux/net/getprotoent.3: Ditto.
3464 * libc/sys/linux/net/getprotoent.c: Ditto.
3465 * libc/sys/linux/net/getprotoname.c: Ditto.
3466 * libc/sys/linux/net/getservbyname.c: Ditto.
3467 * libc/sys/linux/net/getservbyport.c: Ditto.
3468 * libc/sys/linux/net/getservent.3: Ditto.
3469 * libc/sys/linux/net/getservent.c: Ditto.
3470 * libc/sys/linux/net/herror.c: Ditto.
3471 * libc/sys/linux/net/hesiod.3: Ditto.
3472 * libc/sys/linux/net/hesiod.c: Ditto.
3473 * libc/sys/linux/net/if_indextoname.3: Ditto.
3474 * libc/sys/linux/net/ifname.c: Ditto.
3475 * libc/sys/linux/net/inet.3: Ditto.
3476 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
3477 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
3478 * libc/sys/linux/net/inet_addr.c: Ditto.
3479 * libc/sys/linux/net/inet_lnaof.c: Ditto.
3480 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
3481 * libc/sys/linux/net/inet_net.3: Ditto.
3482 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
3483 * libc/sys/linux/net/inet_net_pton.c: Ditto.
3484 * libc/sys/linux/net/inet_neta.c: Ditto.
3485 * libc/sys/linux/net/inet_netof.c: Ditto.
3486 * libc/sys/linux/net/inet_network.c: Ditto.
3487 * libc/sys/linux/net/inet_ntoa.c: Ditto.
3488 * libc/sys/linux/net/inet_ntop.c: Ditto.
3489 * libc/sys/linux/net/inet_pton.c: Ditto.
3490 * libc/sys/linux/net/innetgr-stub.c: Ditto.
3491 * libc/sys/linux/net/ip6opt.c: Ditto.
3492 * libc/sys/linux/net/iso_addr.3: Ditto.
3493 * libc/sys/linux/net/iso_addr.c: Ditto.
3494 * libc/sys/linux/net/issetugid-stub.c: Ditto.
3495 * libc/sys/linux/net/linkaddr.3: Ditto.
3496 * libc/sys/linux/net/linkaddr.c: Ditto.
3497 * libc/sys/linux/net/map_v4v6.c: Ditto.
3498 * libc/sys/linux/net/name6.c: Ditto.
3499 * libc/sys/linux/net/namespace.h: Ditto.
3500 * libc/sys/linux/net/ns.3: Ditto.
3501 * libc/sys/linux/net/ns_addr.c: Ditto.
3502 * libc/sys/linux/net/ns_name.c: Ditto.
3503 * libc/sys/linux/net/ns_netint.c: Ditto.
3504 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3505 * libc/sys/linux/net/ns_parse.c: Ditto.
3506 * libc/sys/linux/net/ns_print.c: Ditto.
3507 * libc/sys/linux/net/ns_ttl.c: Ditto.
3508 * libc/sys/linux/net/nsap_addr.c: Ditto.
3509 * libc/sys/linux/net/nsdispatch.3: Ditto.
3510 * libc/sys/linux/net/nsdispatch.c: Ditto.
3511 * libc/sys/linux/net/nslexer.c: Ditto.
3512 * libc/sys/linux/net/nslexer.l: Ditto.
3513 * libc/sys/linux/net/nsparser.c: Ditto.
3514 * libc/sys/linux/net/nsparser.h: Ditto.
3515 * libc/sys/linux/net/nsparser.y: Ditto.
3516 * libc/sys/linux/net/rcmd.3: Ditto.
3517 * libc/sys/linux/net/rcmd.c: Ditto.
3518 * libc/sys/linux/net/rcmdsh.3: Ditto.
3519 * libc/sys/linux/net/rcmdsh.c: Ditto.
3520 * libc/sys/linux/net/recv.c: Ditto.
3521 * libc/sys/linux/net/res_comp.c: Ditto.
3522 * libc/sys/linux/net/res_config.h: Ditto.
3523 * libc/sys/linux/net/res_data.c: Ditto.
3524 * libc/sys/linux/net/res_debug.c: Ditto.
3525 * libc/sys/linux/net/res_init.c: Ditto.
3526 * libc/sys/linux/net/res_mkquery.c: Ditto.
3527 * libc/sys/linux/net/res_mkupdate.c: Ditto.
3528 * libc/sys/linux/net/res_query.c: Ditto.
3529 * libc/sys/linux/net/res_send.c: Ditto.
3530 * libc/sys/linux/net/res_update.c: Ditto.
3531 * libc/sys/linux/net/resolver.3: Ditto.
3532 * libc/sys/linux/net/rthdr.c: Ditto.
3533 * libc/sys/linux/net/send.c: Ditto.
3534 * libc/sys/linux/net/un-namespace.h: Ditto.
3535 * libc/sys/linux/net/vars.c: Ditto.
3536 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
3537 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3538 * libc/sys/linux/stdlib/Makefile.in: Ditto.
3539 * libc/sys/linux/stdlib/cclass.h: Ditto.
3540 * libc/sys/linux/stdlib/cname.h: Ditto.
3541 * libc/sys/linux/stdlib/collate.c: Ditto.
3542 * libc/sys/linux/stdlib/collate.h: Ditto.
3543 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3544 * libc/sys/linux/stdlib/engine.c: Ditto.
3545 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
3546 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3547 * libc/sys/linux/stdlib/glob.3: Ditto.
3548 * libc/sys/linux/stdlib/glob.c: Ditto.
3549 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3550 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3551 * libc/sys/linux/stdlib/regerror.c: Ditto.
3552 * libc/sys/linux/stdlib/regex.3: Ditto.
3553 * libc/sys/linux/stdlib/regex2.h: Ditto.
3554 * libc/sys/linux/stdlib/regexec.c: Ditto.
3555 * libc/sys/linux/stdlib/regfree.c: Ditto.
3556 * libc/sys/linux/stdlib/utils.h: Ditto.
3557 * libc/sys/linux/stdlib/wordexp.c: Ditto.
3558 * libc/sys/linux/stdlib/wordfree.c: Ditto.
3559 * libc/sys/linux/sys/dlfcn.h: Ditto.
3560 * libc/sys/linux/sys/elfclass.h: Ditto.
3561 * libc/sys/linux/sys/event.h: Ditto.
3562 * libc/sys/linux/sys/ioccom.h: Ditto.
3563 * libc/sys/linux/sys/libc-tsd.h: Ditto.
3564 * libc/sys/linux/sys/link.h: Ditto.
3565 * libc/sys/linux/sys/lock.h: Ditto.
3566 * libc/sys/linux/sys/param.h: Ditto.
3567 * libc/sys/linux/sys/socket.h: Ditto.
3568 * libc/sys/linux/sys/sockio.h: Ditto.
3569
82095e79
JJ
35702003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3571
3572 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
3573 normal mode
3574 * newlib/libc/machine/h8300/memset.S: Likewise
3575 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
3576 * newlib/lib/machine/h8300/reg_memset.S: Likewise
3577 * newlib/lib/machine/h8300/setjmp.S: Likewise
3578 * newlib/lib/machine/h8300/strcmp.S: Likewise
3579 * newlib/lib/sys/h8300hms/crt0.S: Likewise
3580
8a4b4764
CV
35812003-05-13 Corinna Vinschen <corinna@vinschen.de>
3582
3583 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
3584 * libc/include/stdio.h: Ditto.
3585 * libc/include/sys/config.h: Ditto.
3586 * libc/stdio/mktemp.c: Ditto.
3587
837e070f
CV
35882003-05-13 Corinna Vinschen <corinna@vinschen.de>
3589
3590 * libc/locale/ldpart.c (__part_load_locale): Substitute
3591 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
3592 * libc/search/hash.c (__hash_open): Ditto.
3593 (init_hash): Ditto.
3594 * libc/stdio/fseek.c (fseek): Ditto.
3595 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3596 * libc/stdio/mktemp.c (_gettemp): Ditto.
3597
b47fcdf0
CV
35982003-05-12 Corinna Vinschen <corinna@vinschen.de>
3599
3600 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
3601
11e3a520
CV
36022003-05-12 Corinna Vinschen <corinna@vinschen.de>
3603
3604 * configure.host: Accomodate removing the libc/sys/cygwin dir.
3605 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
3606 if __CYGWIN_USE_BIG_TYPES__ is set.
3607 * libc/search/hash.c (__hash_open): Ditto.
3608 (init_hash): Ditto.
3609 * libc/stdio/fseek.c (fseek): Ditto.
3610 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3611 * libc/stdio/mktemp.c (_gettemp): Ditto.
3612 * libc/sys/cygwin/Makefile.am: Remove.
3613 * libc/sys/cygwin/Makefile.in: Remove.
3614 * libc/sys/cygwin/aclocal.m4: Remove.
3615 * libc/sys/cygwin/configure: Remove.
3616 * libc/sys/cygwin/configure.in: Remove.
3617 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
3618 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
3619 directory.
3620 * libc/sys/cygwin/sys/param.h: Ditto.
3621 * libc/sys/cygwin/sys/utime.h: Ditto.
3622 * libc/sys/cygwin/sys/utmp.h: Ditto.
3623
d1b5e65b
CV
36242003-05-11 Corinna Vinschen <corinna@vinschen.de>
3625
3626 * libc/include/sys/types.h: Don't define key_t for Cygwin.
3627
ec48a953
CF
36282003-05-10 Christopher Faylor <cgf@redhat.com>
3629
3630 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
3631 64 bit inodes.
3632
a3cc5851
CV
36332003-05-09 Corinna Vinschen <corinna@vinschen.de>
3634
3635 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
3636 Include cygwin/config.h instead.
3637
57ff95d3
JJ
36382003-04-16 Jeff Johnston <jjohnstn@redhat.com>
3639
3640 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
3641 all code with #ifdef __SPE__ test.
3642 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
3643
cfd2c7be
CF
36442003-04-15 Chris January <chris@atomice.net>
3645
3646 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
3647 Cygwin.
3648
6f48c0ae
JR
36492003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
3650
3651 * libc/machine/sh/memset.S: Avoid clobbering volatile
3652 objects following a tiny to-be-set array in the same quadword.
3653
8f8d09c0
CV
36542001-04-09 Corinna Vinschen <corinna@vinschen.de>
3655
3656 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
3657 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
3658 * libc/string/Makefile.in: Regenerated.
3659 * libc/string/wcswidth.c: New file.
3660 * libc/string/wcwidth.c: New file.
3661 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
3662
40c3b2d0
JR
3663Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
3664
3665 * libc/machine/sh/memset.S: Fix problem with alloco region
3666 exceeding destination region for length >= 88 bytes, start
3667 & 0x16 == 0, end & 0x1f == 18.
3668
8ae6a3dd
CV
36692001-04-03 Corinna Vinschen <corinna@vinschen.de>
3670
3671 * libc/string/wcscoll.c: Fix comment.
3672
d122b1cc
CV
36732001-04-02 Corinna Vinschen <corinna@vinschen.de>
3674
3675 * libc/include/wchar.h: Add definition for wcscoll.
3676 * libc/string/Makefile.am: Add wcscoll.c.
3677 * libc/string/Makefile.in: Regenerated.
3678 * libc/string/wcscoll.c: New file.
3679 * libc/string/wcstrings.tex: Add wcscoll.
3680
31ee99a4
CV
36812003-04-01 Corinna Vinschen <corinna@vinschen.de>
3682
3683 * libc/stdio/sscanf.c: Update flags description.
3684 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
3685 type.
3686 (__svfscanf_r): Add 'hh' and 'll' handling.
3687
d78045ee
CV
36882003-04-01 Corinna Vinschen <corinna@vinschen.de>
3689
3690 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
3691 __d_position member to _off_t.
3692
e6bdc6c5
JJ
36932003-03-20 Jeff Johnston <jjohnstn@redhat.com>
3694
3695 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
3696 count all characters used to create number against maximum width.
3697 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3698
e65d559e
JJ
36992003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
3700
3701 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
3702 support.
3703 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
3704 flag to support simulator only extensions.
3705
6b3bb52b
JJ
37062003-03-17 Bob Cassels <bcassels@abinitio.com>
3707
3708 * libc/string/wcschr.c: (wcschr): Look for character first,
3709 then for end of string, so you can do wcschr(x, '\0').
3710
2a940c1a
CV
37112003-03-10 Corinna Vinschen <corinna@vinschen.de>
3712
3713 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
3714 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
3715 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
3716 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
3717 * libc/stdio/fseeko.c (fseeko): Ditto.
3718 * libc/stdio/ftello.c (ftello): Ditto.
3719 * libc/stdio/stdio.c (__swrite): Ditto.
3720 (__sseek): Ditto.
3721 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
3722 * libc/stdio/fseek.c (fseek): Ditto.
3723 * libc/stdio/fsetpos.c (fsetpos): Ditto.
3724 * libc/stdio/ftell.c (ftell): Ditto.
3725 * libc/stdio/local.h: Declare __sseek using _off_t.
3726
150c2818
CV
37272003-03-09 Corinna Vinschen <corinna@vinschen.de>
3728
3729 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
3730
2c440f9c
CV
37312003-03-09 Corinna Vinschen <corinna@vinschen.de>
3732
3733 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
3734 Cygwin.
3735
f882fd15
CV
37362003-03-09 Corinna Vinschen <corinna@vinschen.de>
3737
3738 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
3739 Cygwin.
3740 * libc/include/sys/stat.h: Ditto.
3741 * libc/include/sys/unistd.h: Ditto.
3742 * libc/sys/cygwin/sys/dirent.h: Ditto.
3743
01d61543
CF
37442003-03-07 Christopher Faylor <cgf@redhat.com>
3745
3746 * libc/include/sys/unistd.h: Guard getopt.h call to force only
3747 declaration of getopt and avoid getopt_long declaration.
3748 * libc/sys/cygwin/include/unistd.h: Remove.
3749
5582abd2
CV
37502003-03-07 Corinna Vinschen <corinna@vinschen.de>
3751
3752 * configure.host: Define stdio64_dir for Cygwin.
3753 * libc/include/stdio.h: Change definition of fpos_t to fulfill
3754 Cygwin 64bit file access requirements.
3755 Drop definition of f*64() functions when compiled for Cygwin.
3756 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
3757 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
3758 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
3759
641da1eb
JJ
37602003-03-07 Jeff Johnston <jjohnstn@redhat.com>
3761
3762 * libc/include/sys/reent.h: Remove extraneous _sig_func
3763 declaration.
3764
37652003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
3766
3767 * libc/sys/h8300hms/Makefile.am: Add support for new files.
3768 * libc/sys/h8300hms/Makefile.in: Regenerated.
3769 * libc/sys/h8300hms/close.S: New file.
3770 * libc/sys/h8300hms/fstat.S: Ditto.
3771 * libc/sys/h8300hms/lseek.S: Ditto.
3772 * libc/sys/h8300hms/open.S: Ditto.
3773 * libc/sys/h8300hms/stat.S: Ditto.
3774 * libc/sys/h8300hms/read.S: New file to replace read.c.
3775 * libc/sys/h8300hms/read.c: Removed.
3776 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
3777 _lseek, _close, _stat, _fstat.
3778 * libc/sys/h8300hms/write.S: New file to replace write.c.
3779 * libc/sys/h8300hms/write.c: Removed.
3780
bac50d6b
NC
37812003-02-20 Nick Clifton <nickc@redhat.com>
3782
3783 * Add support for Cirrus Maverick ARM co-processor:
3784
3785 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
3786
3787 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
3788 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
3789
3790 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
3791
3792 * configure.host: set sys_dir, syscall_dir, and
3793 newlib_cflags for ep9312 host.
3794
3795 * configure.host: Restore alpha sorting of entries in case
3796 statements.
3797
12ee7037
JJ
37982003-02-19 Jeff Johnston <jjohnstn@redhat.com>
3799
3800 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
3801
1e810ba0
JJ
38022003-02-18 Christian Groessler <chris@groessler.org>
3803
3804 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
3805 support z8001 segmented mode.
3806
b1ca765e
JJ
38072003-02-18 Earnie Boyd <earnie@users.sf.net>
3808
3809 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
3810 with a NULL value.
3811
51a46b54
CF
38122003-02-10 Christopher Faylor <cgf@redhat.com>
3813
3814 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
3815 Don't define some types under cygwin.
3816
313f1349
JJ
38172003-02-07 Jeff Johnston <jjohnstn@redhat.com>
3818
3819 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
3820 option to allow disabling of syscalls being supplied in newlib.
3821 * aclocal.m4: Regenerated.
3822 * configure: Ditto.
3823 * configure.host: Add support of new configuration option and add
3824 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
3825 * doc/aclocal.m4: Regenerated.
3826 * doc/configure: Ditto.
3827 * libc/*aclocal.m4: Ditto.
3828 * libc/*configure: Ditto.
3829 * libm/*aclocal.m4: Ditto.
3830 * libm/*configure: Ditto.
3831 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
3832 is disabled.
3833 * libc/sys/arm/Makefile.in: Regenerated.
3834
5017a3da
JJ
38352003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
3836
3837 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
3838 -1 to be sure it cannot later match a valid file fd causing
3839 isatty() to return 1.
3840 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
3841 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
3842 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
3843
ad36f7d1
JJ
38442003-02-03 Jeff Johnston <jjohnstn@redhat.com>
3845
3846 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
3847 buffer based on the precision, after we have processed the input value
3848 in a local buffer and know its relative magnitude.
3849
a74181ee
JJ
38502003-01-31 Michael Snyder <msnyder@redhat.com>
3851
3852 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
3853 into registers r1 and r2, so that the simulator can distinguish
3854 this trap from a breakpoint trap. Copied from libgloss.
3855
b85498d4
JJ
38562003-01-31 Michael Snyder <msnyder@redhat.com>
3857
3858 * libc/sys/h8300hms/crt0.S (_start): Change local label
3859 from .loop to .Loop, so that ld and gdb will ignore it.
3860
4700b829
JJ
38612003-01-29 Jason Tishler <jason@tishler.net>
3862
3863 * libc/include/time.h: Declare nanosleep() under Cygwin.
3864
0127ae40
NC
38652003-01-24 Nick Clifton <nickc@redhat.com>
3866
3867 * Add sh2e support:
3868
3869 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
3870
3871 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
3872 * libc/machine/sh/setjmp.S: Likewise.
3873 * libc/include/machine/ieeefp.h: Likewise.
3874
8bbcd9a1
CV
38752003-01-24 Corinna Vinschen <corinna@vinschen.de>
3876
3877 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
3878 for Cygwin.
3879
b8838e6f
JJ
38802003-01-21 Anita Kulkarni <anitak@kpit.com>
3881
3882 * libc/time/difftime.c : Typecast the result to double.
3883
f9e41155
CF
38842003-01-20 Christopher Faylor <cgf@redhat.com>
3885
3886 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
3887
6b5a7988
NC
38882003-01-18 Nick Clifton <nickc@redhat.com>
3889
3890 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
3891 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
3892
c3e92877
JJ
38932003-01-16 Joel Sherrill <joel@OARcorp.com>
3894
3895 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
3896 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
3897 constants are defined in each file in the shared versions in
3898 libc/include.
3899 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
3900 autoconf can link programs.
3901 * libc/include/machine/types.h: Explicitly specify signed on
3902 intXX_t types to ensure they are signed.
3903
84510217
CF
39042003-01-14 Christopher Faylor <cgf@redhat.com>
3905
3906 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
3907 extensions.
3908
b3934ab3
RS
39092003-01-08 Richard Sandiford <rsandifo@redhat.com>
3910
3911 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
3912
be9c60e5
JJ
39132003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
3914
3915 * libc/stdio/sprintf.c: fix typo
3916 * libc/stdio/vfprintf.c: fix typo
3917
d4c3a750
JJ
39182003-01-07 Jeff Johnston <jjohnstn@redhat.com>
3919
3920 * configure.host: Support long double I/O for x86-linux.
3921 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
3922 large enough to hold formatted result.
3923 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
3924
b2294aaa
JJ
39252003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3926
3927 * Makefile.am: Add vasprintf.
3928 * Makefile.in: Regenerated.
3929
ea5e5daf
JJ
39302003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3931
3932 * asprintf.c (_asprintf_r): insure both declarations
3933 are the same.
3934
5c581eca
CF
39352002-12-28 Christopher Faylor <cgf@redhat.com>
3936
3937 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
3938 than defining getopt directly.
3939
60b0838f
JJ
39402002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3941
3942 * NEWS: Update with 1.11.0 info.
3943 * README: Ditto.
3944 * acinclude.m4: Change version number to 1.11.0.
3945 * aclocal.m4: Regenerated.
3946 * configure: Ditto.
3947 * doc/aclocal.m4: Ditto.
3948 * doc/configure: Ditto.
3949 * libc/*/aclocal.m4: Ditto.
3950 * libc/*/configure: Ditto.
3951 * libc/libc.texinfo: Ditto.
3952 * libm/*/aclocal.m4: Ditto.
3953 * libm/*/configure: Ditto.
3954 * libm/libm.texinfo: Ditto.
3955 * libc/sys/linux/shared.ld: Add VERS_1.11.
3956
10501d57
JJ
39572002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3958
3959 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
3960 Solutions to Red Hat Inc.
3961 * libc/machine/i386/f_atan2f.S: Ditto.
3962 * libc/machine/i386/f_exp.c: Ditto.
3963 * libc/machine/i386/f_expf.c: Ditto.
3964 * libc/machine/i386/f_frexp.S: Ditto.
3965 * libc/machine/i386/f_frexpf.S: Ditto.
3966 * libc/machine/i386/f_ldexp.S: Ditto.
3967 * libc/machine/i386/f_ldexpf.S: Ditto.
3968 * libc/machine/i386/f_log.S: Ditto.
3969 * libc/machine/i386/f_log10.S: Ditto.
3970 * libc/machine/i386/f_log10f.S: Ditto.
3971 * libc/machine/i386/f_logf.S: Ditto.
3972 * libc/machine/i386/f_pow.c: Ditto.
3973 * libc/machine/i386/f_powf.c: Ditto.
3974 * libc/machine/i386/f_tan.S: Ditto.
3975 * libc/machine/i386/f_tanf.S: Ditto.
3976 * libc/machine/i386/memchr.S: Ditto.
3977 * libc/machine/i386/memcmp.S: Ditto.
3978 * libc/machine/i386/memcpy.S: Ditto.
3979 * libc/machine/i386/memmove.S: Ditto.
3980 * libc/machine/i386/memset.S: Ditto.
3981 * libc/machine/i386/strchr.S: Ditto.
3982 * libc/machine/i386/strlen.S: Ditto.
3983 * libm/machine/i386/f_atan2.S: Ditto.
3984 * libm/machine/i386/f_atan2f.S: Ditto.
3985 * libm/machine/i386/f_exp.c: Ditto.
3986 * libm/machine/i386/f_expf.c: Ditto.
3987 * libm/machine/i386/f_frexp.S: Ditto.
3988 * libm/machine/i386/f_frexpf.S: Ditto.
3989 * libm/machine/i386/f_ldexp.S: Ditto.
3990 * libm/machine/i386/f_ldexpf.S: Ditto.
3991 * libm/machine/i386/f_log.S: Ditto.
3992 * libm/machine/i386/f_log10.S: Ditto.
3993 * libm/machine/i386/f_log10f.S: Ditto.
3994 * libm/machine/i386/f_logf.S: Ditto.
3995 * libm/machine/i386/f_pow.c: Ditto.
3996 * libm/machine/i386/f_powf.c: Ditto.
3997 * libm/machine/i386/f_tan.S: Ditto.
3998 * libm/machine/i386/f_tanf.S: Ditto.
3999
9b3f0d16
JJ
40002002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4001
4002 * libc/stdlib/environ.c: Update license to Red Hat.
4003 * libc/machine/hppa/setjmp.S: Ditto.
4004 * libm/test/Makefile.in: Ditto.
4005
d693ad84
JJ
40062002-12-19 Jeff Johnston <jjohnstn@redhat.com>
4007
4008 * configure.host: Remove references to go32.
4009 * libc/sys/go32/*: Removed.
4010
7da92d15
JJ
40112002-12-16 Kazu Hirata <kazu@cs.umass.edu>
4012
4013 * libc/include/sys/config.h: Change setting of INT_MAX
4014 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
4015 __H8300S__. Also consolidate flag settings for these
4016 platforms.
4017
ea01c7f5
JJ
40182002-12-10 Joel Sherrill <joel@OARcorp.com>
4019
4020 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
4021 for i386-rtems targets.
4022
c049dd5a
JJ
40232002-12-06 Jeff Johnston <jjohnstn@redhat.com>
4024
4025 * libc/include/stdlib.h (strtof): New prototype (from C99).
4026 (strtodf): Changed from prototype to macro which redefines
4027 to strtof.
4028 * libc/stdlib/atof.c: Change documentation to refer to strtof
4029 instead of strtodf.
4030 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
4031 strtodf.
4032 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
4033 (strtof): New function.
4034 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
4035 calls strtof.
4036
46a402e0
CF
40372002-11-27 Christopher Faylor <cgf@redhat.com>
4038
4039 * libc/string/memset.c (memset): Fix comment.
4040
b3cc01b0
CF
40412002-11-26 Christopher Faylor <cgf@redhat.com>
4042
4043 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
4044 function.
4045
d90f3dc1
CF
40462002-11-25 Christopher Faylor <cgf@redhat.com>
4047
4048 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
4049 variable, introduced below, everywhere.
4050
f24585c6
KH
40512002-11-25 Kazu Hirata <kazu@cs.umass.edu>
4052
4053 * libc/string/memset.c (memset): Make it safe even if
4054 sizeof (int) = 2.
4055
2955fd76
JJ
40562002-11-22 Joe Buehler <jbuehler@hekimian.com>
4057
4058 * configure.in: Change check for libc/include in ${CC} to
4059 use an intermediate value so as to work with different shells.
4060 * configure: Regenerated.
4061 * Makefile.in: Ditto.
4062
40ce7368
JJ
40632002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
4064
4065 * libc/sys/h8300hms/read.c: Add support for normal mode
4066 architecture.
4067
505746ad
JJ
40682002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
4069
4070 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
4071 code for __H8300H__ and __H8300S__. Also return 32-bit return code
4072 when -mint32 is used.
4073
28ecb2f5
NC
40742002-11-18 Nick Clifton <nickc@redhat.com>
4075
4076 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
4077
665b994e
JJ
40782002-11-14 Jeff Johnston <jjohnstn@redhat.com>
4079
4080 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
4081 only issue one pass/fail message for a compile/link/execute.
4082 * testsuite/newlib.elix/elix.exp: New file.
4083 * testsuite/newlib.elix/tmmap.c: Ditto.
4084
e91ec2e3
CF
40852002-11-06 Christopher Faylor <cgf@redhat.com>
4086
4087 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
4088 * libc/stdlib/mlock.c: Ditto.
4089 * libc/stdlib/msize.c: Ditto.
4090 * libc/stdlib/msize.c: Ditto.
4091 * libc/stdlib/mtrim.c: Ditto.
4092 * libc/stdlib/valloc.c: Ditto.
4093
944772c7
JJ
40942002-11-12 Jeff Johnston <jjohnstn@redhat.com>
4095
4096 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
4097 for inf/nan, make sure that the check ignores the sign bit.
4098
dd7ee147
JJ
40992002-11-07 Joel Sherrill <joel@OARcorp.com>
4100
4101 * libc/sys/rtems/machine: New directory.
4102 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
4103 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
4104 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
4105 targets more BSD like when installed without requiring files to
4106 be overwritten at install point when RTEMS itself is installed.
4107 * Makefile.am: Pick up system dependent machine .h files such as
4108 might be found on a BSD-ish system.
4109 * Makefile.in: Regenerate.
4110 * libc/include/machine/types.h: When on an RTEMS target, define a
4111 few BSD flavor types.
4112
41132002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
4114
4115 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
4116
18cd62b7
JJ
41172002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4118
4119 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
4120 * libc/include/wctype.h: Ditto.
4121
d2888812
JJ
41222002-11-04 Jeff Johnston <jjohnstn@redhat.com>
4123
4124 * libc/include/wchar.h: Add extern "C" specifier if C++.
4125 * libc/include/wctype.h: Ditto.
4126
978ea3cf
JJ
41272002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4128
4129 * testsuite/newlib.wctype/tiswctype.c: New test case.
4130 * testsuite/newlib.wctype/twctrans.c: Ditto.
4131
a42cf80a
JJ
41322002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4133
4134 * libc/sys/linux/machine/i386/include/endian.h: New file.
4135 * libc/sys/linux/machine/i386/include/param.h: Ditto.
4136
c9ccb1f2
JJ
41372002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4138
4139 * libm/machine/i386/aclocal.m4: Regenerated.
4140 * libm/machine/i386/configure: Ditto.
4141
94c5b430
JJ
41422002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4143
4144 * testsuite/include/check.h: New header file to use with
4145 test cases.
4146 * testsuite/lib/newlib.exp: Add testsuite/include directory
4147 to list of header files to use.
4148 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
4149 * testsuite/newlib.wctype/wctype.exp: New file.
4150
ccdae543
RS
41512002-10-11 Graham Stott <graham.stott@btinternet.com>
4152 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
4153
4154 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
4155 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
4156 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
4157
73972116
JS
41582002-10-07 Joel Sherrill <joel@OARcorp.com>
4159
4160 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
4161 dummy programs.
4162
89e3fcba
JS
41632002-10-07 Joel Sherrill <joel@OARcorp.com>
4164
4165 * libc/include/pthread.h: Define PTHREAD_CANCELED.
4166
54ec52e4
JS
41672002-10-07 Joel Sherrill <joel@OARcorp.com>
4168
4169 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
4170 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
4171 compile with current GNU tools.
4172
d389acba
JJ
41732002-10-07 Jeff Johnston <jjohnstn@redhat.com>
4174
4175 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
4176 the build library.
4177 * configure.in: Ditto.
4178 * Makefile.in: Regenerated.
4179 * configure: Ditto.
4180 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
4181 for specifying configured libraries/directories.
4182 * libc/sys/linux/configure.in: Ditto.
4183 * libc/sys/linux/Makefile.in: Regenerated.
4184 * libc/sys/linux/configure: Ditto.
4185
af5a221f
JJ
41862002-10-03 Jeff Johnston <jjohnstn@redhat.com>
4187
4188 * libc/include/reent.h: Update documentation at start of file.
4189
59a758bd
JW
41902002-09-27 Jim Wilson <wilson@redhat.com>
4191
4192 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
4193 the ctbp register.
4194
1ed3c86d
JJ
41952002-09-27 Jeff Johnston <jjohnstn@redhat.com>
4196
4197 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
4198 Also convert to EUCJP before using arrays. For values not in
4199 the conversion arrays, return WEOF.
4200 * libc/ctype/jp2uc.h: Change from one array to a number of
4201 arrays to account for the fact that the originating table
4202 is not contiguous for the input values since some are invalid.
4203
6e1dfd2d
JJ
42042002-09-24 Jeff Johnston <jjohnstn@redhat.com>
4205
4206 * libc/time/ctime.c: Fix prototype documentation.
4207
06f1353a
CV
42082002-09-24 Corinna Vinschen <corinna@vinschen.de>
4209
4210 * libc/include/sys/errno.h: Add EOVERFLOW.
4211
1e0e64c9
JJ
42122002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4213
4214 * libc/include/wctype.h: New file.
4215
1525d127
JJ
42162002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4217
4218 * libc/ctype/Makefile.am: Add new files.
4219 * libc/ctype/Makefile.in: Regenerated.
4220 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
4221 and wctrans functions to documentation index.
4222 * libc/ctype/iswalnum.c: New file.
4223 * libc/ctype/iswalpha.c: Ditto.
4224 * libc/ctype/iswblank.c: Ditto.
4225 * libc/ctype/iswcntrl.c: Ditto.
4226 * libc/ctype/iswctype.c: Ditto.
4227 * libc/ctype/iswdigit.c: Ditto.
4228 * libc/ctype/iswgraph.c: Ditto.
4229 * libc/ctype/iswlower.c: Ditto.
4230 * libc/ctype/iswprint.c: Ditto.
4231 * libc/ctype/iswpunct.c: Ditto.
4232 * libc/ctype/iswspace.c: Ditto.
4233 * libc/ctype/iswupper.c: Ditto.
4234 * libc/ctype/iswxdigit.c: Ditto.
4235 * libc/ctype/jp2uc.c: Ditto.
4236 * libc/ctype/jp2uc.h: Ditto.
4237 * libc/ctype/local.h: Ditto.
4238 * libc/ctype/towctrans.c: Ditto.
4239 * libc/ctype/towlower.c: Ditto.
4240 * libc/ctype/towupper.c: Ditto.
4241 * libc/ctype/utf8alpha.h: Ditto.
4242 * libc/ctype/utf8print.h: Ditto.
4243 * libc/ctype/utf8punct.h: Ditto.
4244 * libc/ctype/wctrans.c: Ditto.
4245 * libc/ctype/wctype.c: Ditto.
4246 * libc/locale/locale.c (__lc_ctype): New external array to
4247 replace static lc_ctype array.
4248 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
4249 rather than reentrancy structure's _current_locale field.
4250 * libc/stdlib/wctomb_r.c: Ditto.
4251
da25e61f
JJ
42522002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4253
4254 * configure.host: Minor comment and formatting changes.
4255 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
4256 * libc/Makefile.in: Regenerated.
4257 * libc/include/sys/config.h: Minor format change.
4258
5b9ee539
JJ
42592002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4260
4261 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
4262 statement comment.
4263
50558bf3
JJ
42642002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4265
4266 * libc/posix/opendir.c (opendir): Change code to check
4267 for HAVE_FCNTL before calling fcntl.
4268 * libc/search/hash.c (hash_open): Ditto.
4269 * libc/search/hash_page.c (open_tmp): Ditto.
4270 * libc/reent/Makefile.am: Add fcntlr.c.
4271 * libc/reent/Makefile.in: Regenerated.
4272 * libc/reent/fcntlr.c: New file.
4273 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
4274 instead of _fcntl when HAVE_FCNTL flag is set.
4275 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
4276 to see if _fcntl or _fcntl_r should be called. If flag is not
4277 set, default to ENOSYS stub.
4278
9211a1ad
JJ
42792002-09-16 Jeff Johnston <jjohnstn@redhat.com>
4280
4281 * libc/include/wchar.h (mbstate_t): Change protective flag to
4282 be _MBSTATE_T.
4283 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
4284 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
4285 for Cygwin.
4286 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
4287
a8615092
JJ
42882002-09-11 Jeff Johnston <jjohnstn@redhat.com>
4289
4290 * acinclude.m4 (enable-newlib-mb): Change check to
4291 default newlib_mb variable to empty string rather than "no".
4292 * configure.host: Remove hard-coding of -DMB_CAPABLE for
4293 x86-linux and Cygwin. Add code to check for newlib_mb
4294 being unset in which case set to "yes" for x86-linux and
4295 Cygwin. Change check for newlib_mb being "yes" to allow
4296 for an empty string.
4297 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
4298 * newlib.hin (_MB_LEN_MAX): New define to configure.
4299 * aclocal.m4: Regenerated.
4300 * configure: Ditto.
4301 * libc/include/limits.h: New file.
4302 * libc/sys/linux/include/limits.h: Ditto.
4303 * doc/aclocal.m4 doc/configure libc/aclocal.m4
4304 libc/configure libc/include/%redact libc/machine/aclocal.m4
4305 libc/machine/configure libc/machine/a29k/aclocal.m4
4306 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4307 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4308 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4309 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4310 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
4311 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
4312 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4313 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4314 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4315 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4316 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4317 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
4318 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
4319 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4320 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4321 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4322 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4323 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4324 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4325 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
4326 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4327 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
4328 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
4329 libc/machine/v850/configure libc/machine/w65/aclocal.m4
4330 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
4331 libc/machine/xscale/configure
4332 libc/machine/xstormy16/aclocal.m4
4333 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
4334 libc/machine/z8k/configure libc/sys/aclocal.m4
4335 libc/sys/configure libc/sys/a29khif/aclocal.m4
4336 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
4337 libc/sys/arc/configure libc/sys/arm/aclocal.m4
4338 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
4339 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
4340 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
4341 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
4342 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
4343 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
4344 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
4345 libc/sys/idt/configure libc/sys/linux/aclocal.m4
4346 libc/sys/linux/configure libc/sys/linux/include/%redact
4347 libc/sys/linux/machine/aclocal.m4
4348 libc/sys/linux/machine/configure
4349 libc/sys/linux/machine/i386/aclocal.m4
4350 libc/sys/linux/machine/i386/configure
4351 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4352 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
4353 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4354 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4355 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4356 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4357 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4358 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4359 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4360 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4361 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4362 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4363 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4364 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4365 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4366 libm/aclocal.m4 libm/configure: Regenerated.
4367
be83844e
JJ
43682002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4369
4370 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
4371 code that clears the .bss section.
4372
9c64d2a7
JJ
43732002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4374
4375 * libc/include/sys/_types.h (_mbstate_t): Changed to use
4376 unsigned char internally.
4377 * libc/sys/linux/sys/_types.h: Ditto.
4378 * libc/include/sys/reent.h
4379 * libc/stdlib/mblen.c (mblen): Use function-specific state
4380 value from default reentrancy structure.
4381 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
4382 _mbtowc_r is less than 0, reset state __count value and
4383 return -1.
4384 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
4385 is NULL, use the function-specific pointer provided in the
4386 default reentrancy structure.
4387 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
4388 If input state pointer is NULL, use function-specific area
4389 provided in reentrancy structure.
4390 * libc/stdlib/mbsrtowcs.c: Ditto.
4391 * libc/stdlib/wcrtomb.c: Ditto.
4392 * libc/stdlib/wcsrtombs.c: Ditto.
4393 * libc/stdlib/mbstowcs.c: Reformat.
4394 * libc/stdlib/wcstombs.c: Ditto.
4395 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
4396 reset the state's __count value and return -1.
4397 * libc/stdlib/mbtowc.c: Ditto.
4398 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
4399 If number of bytes is used up before completing a valid multibyte
4400 character, return -2 and save the state.
4401 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
4402 and change some __count references to __state for clarity.
4403
218b7a56
JJ
44042002-09-06 Jeff Johnston <jjohnstn@redhat.com>
4405
4406 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
4407 is defined by <limits.h>.
4408
c210a6ea
JJ
44092002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4410
4411 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
4412 defined.
4413
efa077ce
JJ
44142002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4415
4416 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
4417 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
4418 __WCHAR_MAX__ or 0x7fffffffu.
4419 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
4420 * libc/string/wcsncmp.c: Ditto.
4421
e4b0ebc1
JJ
44222002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4423
4424 * libc/string/wcschr.c: Add include of <stddef.h>.
4425 * libc/string/wcspbrk.c: Ditto.
4426 * libc/string/wcsrchr.c: Ditto.
4427 * libc/string/wcsstr.c: Ditto.
4428
3db40db7
JJ
44292002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4430
4431 * libc/include/sys/_types.h (_flock_t): Added.
4432 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
4433 (__lock_try_acquire_recursive): Ditto.
4434 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
4435 _lock field.
4436 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
4437 field.
4438 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
4439 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
4440 * libc/sys/linux/include/time.h (struct timespec): Moved from
4441 <sys/types.h> and added check for __need_timespec flag so type
4442 can be defined by itself.
4443 * libc/sys/linux/sys/_types.h (_flock_t): New type.
4444 * libc/sys/linux/sys/types.h (struct timespec): Moved to
4445 <time.h>.
4446
cd45f029
TF
44472002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4448
4449 * libc/sys/linux/argp: New directory.
4450 * libc/sys/linux/getopt.c: New file.
4451 * libc/sys/linux/getopt1.c: New file.
4452 * libc/sys/linux/getoptlong.c: Remove file.
4453 * libc/sys/linux/include/argp.h: New file.
4454 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
4455 based on ELIX level.
4456 (SUBDIRS): Add argp_dir.
4457 (SUBLIBS): Add ARGP_LIB.
4458 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
4459 getopt_long.$(oext).
4460 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
4461
3c689185
JJ
44622002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4463
4464 * libc/libc.texinfo: Add node reference to wide-character strings.
4465 * libc/string/wcstrings.tex: New file.
4466 * libc/string/strtok_r.c: Remove outdated advertising clause.
4467 * libc/string/Makefile.am (doc): Add wide-character string
4468 chapter to documentation.
4469 * libc/string/Makefile.in: Regenerated.
4470
890e7a1d
JJ
44712002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4472
4473 * libc/include/wchar.h: Define NULL. Define WEOF more general
4474 way. Declare functions in newlib manner.
4475 * libc/stdlib/Makefile.am: Delete wmem*.c
4476 * libc/stdlib/Makefile.in: Regenerated.
4477 * libc/stdlib/wmemchr.c: Delete.
4478 * libc/stdlib/wmemcmp.c: Ditto.
4479 * libc/stdlib/wmemcpy.c: Ditto.
4480 * libc/stdlib/wmemmove.c: Ditto.
4481 * libc/stdlib/wmemset.c: Ditto.
4482 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
4483 * libc/string/Makefile.in: Regenerated.
4484 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
4485 * libc/string/wcschr.c: Ditto.
4486 * libc/string/wcscmp.c: Ditto.
4487 * libc/string/wcscpy.c: Ditto.
4488 * libc/string/wcscspn.c: Ditto.
4489 * libc/string/wcslcat.c: Ditto.
4490 * libc/string/wcslcpy.c: Ditto.
4491 * libc/string/wcslen.c: Ditto.
4492 * libc/string/wcsncat.c: Ditto.
4493 * libc/string/wcsncmp.c: Ditto.
4494 * libc/string/wcsncpy.c: Ditto.
4495 * libc/string/wcspbrk.c: Ditto.
4496 * libc/string/wcsrchr.c: Ditto.
4497 * libc/string/wcsspn.c: Ditto.
4498 * libc/string/wcsstr.c: Ditto.
4499 * libc/string/wmemchr.c: Ditto.
4500 * libc/string/wmemcmp.c: Ditto.
4501 * libc/string/wmemcpy.c: Ditto.
4502 * libc/string/wmemmove.c: Ditto.
4503 * libc/string/wmemset.c: Ditto.
4504
86620e21
JJ
45052002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4506
4507 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
4508 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
4509 and is treated as if "C" was specified.
4510
f3741c27
JJ
45112002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4512
4513 * Makefile.am (install-data-local): Move install of build
4514 newlib.h after installing headers in libc/include so as to
4515 overwrite default newlib.h.
4516 * Makefile.in: Regenerated.
4517
48da61f5
JJ
45182002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4519
4520 * libc/include/newlib.h: New file for tools that use newlib
4521 headers but don't build newlib first (e.g. gcc).
4522
d82a94ac
JJ
45232002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4524
4525 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
4526 * libc/stdlib/wmemcmp.c: Ditto.
4527 * libc/stdlib/wmemcpy.c: Ditto.
4528 * libc/stdlib/wmemmove.c: Ditto.
4529 * libc/stdlib/wmemset.c: Ditto.
4530
7d08241b
JJ
45312002-08-27 Egor Duda <deo@logos-m.ru>
4532
4533 * libc/stdlib/wmemchr.c: New file.
4534 * libc/stdlib/wmemcmp.c: Ditto.
4535 * libc/stdlib/wmemcpy.c: Ditto.
4536 * libc/stdlib/wmemmove.c: Ditto.
4537 * libc/stdlib/wmemset.c: Ditto.
4538 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
4539 * configure.host: Default -DMB_CAPABLE for cygwin.
4540 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
4541 wmemmove() and wmemset(). Add include of <_ansi.h>.
4542 * libc/stdlib/Makefile.in: Regenerate.
4543
8da1639b
JJ
45442002-08-27 Jeff Johnston <jjohnstn@redhat.com>
4545
ff2bf852 4546 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
4547 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
4548 (install-data-local): Install newlib.h.
4549 * Makefile.in: Regenerated.
4550 * aclocal.m4: Ditto.
4551 * configure: Ditto.
4552 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
4553 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
4554 and _NEWLIB_VERSION to fill in newlib.h header file entries.
4555 In AC_OUTPUT statement, unset ac_file so multilib support does
4556 not use last ac_file temporary used in newlib.h configuration.
4557 * libc/include/_ansi.h: Include <newlib.h>.
4558 * newlib.hin: New template file for newlib.h.
4559 * stamp-h.in: New file.
4560
a4421c11
JJ
45612002-08-26 Wu Yongwei <adah@netstd.com>
4562
4563 * time.h (timezonevar): Change "#if" to "#ifdef".
4564
90b65e2d
JJ
45652002-08-26 Jeff Johnston <jjohnstn@redhat.com>
4566
4567 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
4568 * Makefile.in: Regenerated.
4569 * acinclude.m4: Add support for --enable-newlib-elix-level option.
4570 * aclocal.m4: Regenerated.
4571 * configure: Ditto.
4572 * configure.host: Add code to define _ELIX_LEVEL if
4573 --enable-newlib-elix-level option is used.
4574 * configure.in:
4575 * libc/aclocal.m4: Regenerated.
4576 * libc/configure: Ditto.
4577 * libc/argz/Makefile.am: Add EL/IX level checking.
4578 * libc/argz/Makefile.in: Regenerated.
4579 * libc/argz/dummy.c: New file.
4580 * libc/ctype/Makefile.am: Add EL/IX level checking.
4581 * libc/ctype/Makefile.in: Regenerated.
4582 * libc/locale/Makefile.am: Add EL/IX level checking.
4583 * libc/locale/Makefile.in: Regenerated.
4584 * libc/posix/Makefile.am: Add EL/IX level checking.
4585 * libc/posix/Makefile.in: Regenerated.
4586 * libc/posix/telldir.c: Add EL/IX level checking.
4587 * libc/reent/Makefile.am: Ditto.
4588 * libc/reent/fstat64r.c: Ditto.
4589 * libc/reent/lseek64r.c: Ditto.
4590 * libc/reent/open64r.c: Ditto.
4591 * libc/reent/Makefile.in: Regenerated.
4592 * libc/search/Makefile.am: Add EL/IX level checking.
4593 * libc/search/Makefile.in: Regenerated.
4594 * libc/stdio/Makefile.am: Add EL/IX level checking.
4595 * libc/stdio/Makefile.in: Regenerated.
4596 * libc/stdio64/Makefile.am: Add EL/IX level checking.
4597 * libc/stdio64/Makefile.in: Regenerated.
4598 * libc/stdio64/dummy.c: New file.
9b487837 4599 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
4600 after first include.
4601 * libc/stdio64/fopen64.c: Ditto.
4602 * libc/stdio64/freopen64.c: Ditto.
4603 * libc/stdio64/fseeko64.c: Ditto.
4604 * libc/stdio64/fsetpos64.c: Ditto.
4605 * libc/stdio64/ftello64.c: Ditto.
4606 * libc/stdio64/tmpfile64.c: Ditto.
4607 * libc/stdlib/Makefile.am: Add EL/IX level checking.
4608 * libc/stdlib/Makefile.in: Regenerated.
4609 * libc/stdlib/mstats.c: Add EL/IX level checking.
4610 * libc/string/Makefile.am: Ditto.
4611 * libc/string/Makefile.in: Regenerated.
4612 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
4613 * libc/sys/linux/Makefile.in: Regenerated.
4614 * libc/sys/linux/aclocal.m4: Ditto.
4615 * libc/sys/linux/configure: Ditto.
4616 * libc/sys/linux/aio.c: Add EL/IX level checking.
4617 * libc/sys/linux/ftok.c: Ditto.
4618 * libc/sys/linux/getdate.c: Ditto.
4619 * libc/sys/linux/ids.c: Ditto.
4620 * libc/sys/linux/inode.c: Ditto.
4621 * libc/sys/linux/io.c: Ditto.
4622 * libc/sys/linux/process.c: Ditto.
4623 * libc/sys/linux/resource.c: Ditto.
4624 * libc/sys/linux/sched.c: Ditto.
4625 * libc/sys/linux/sig.c: Ditto.
4626 * libc/sys/linux/termios.c: Ditto.
4627 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
4628 __libc___waitpid weak aliases.
4629 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
4630 that generate the code for a syscall, but do not create a
4631 weak alias.
4632 * libc/syscalls/Makefile.am: Add EL/IX level checking.
4633 * libc/syscalls/Makefile.in: Regenerated.
4634 * libc/time/tzset_r.c: Change to replace strdup with equivalent
4635 functionality.
4636 * libc/unix/Makefile.am: Add EL/IX level checking.
4637 * libc/unix/Makefile.in: Regenerated.
4638
2e2b268c
CF
46392002-08-26 Christopher Faylor <cgf@redhat.com>
4640
4641 * libc/include/malloc.h: On cygwin, define malloc _r functions as
4642 wrapper macros to standard malloc functions.
4643 * libc/include/stdlib.h: Ditto.
4644 * configure.host: Always define MALLOC_PROVIDED on cygwin.
4645
8d9112f2
TF
46462002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4647
4648 * libc/include/langinfo.h: New file.
4649 * libc/include/wchar.h: Likewise.
4650 * libc/include/sys/syslimits.h: Likewise.
4651 * libc/locale/fix_grouping.c: Likewise.
4652 * libc/locale/ldpart.c: Likewise.
4653 * libc/locale/ldpart.h: Likewise.
4654 * libc/locale/lmessages.c: Likewise.
4655 * libc/locale/lmessages.h: Likewise.
4656 * libc/locale/lmonetary.c: Likewise.
4657 * libc/locale/lmonetary.h: Likewise.
4658 * libc/locale/lnumeric.c: Likewise.
4659 * libc/locale/lnumeric.h: Likewise.
4660 * libc/locale/nl_langinfo.3: Likewise.
4661 * libc/locale/nl_langinfo.c: Likewise.
4662 * libc/locale/timelocal.c: Likewise.
4663 * libc/locale/timelocal.h: Likewise.
4664 * libc/stdlib/btowc.c: Likewise.
4665 * libc/stdlib/mbrlen.c: Likewise.
4666 * libc/stdlib/mbrtowc.c: Likewise.
4667 * libc/stdlib/mbsinit.c: Likewise.
4668 * libc/stdlib/mbsrtowcs.c: Likewise.
4669 * libc/stdlib/wcrtomb.c: Likewise.
4670 * libc/stdlib/wcsrtombs.c: Likewise.
4671 * libc/stdlib/wctob.c: Likewise.
4672 * libc/sys/linux/prof-freq.c: Likewise.
4673 * libc/sys/linux/profile.c: Likewise.
4674 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
4675 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
4676 * libc/include/stdlib.h: Change re-entrant functions to take
4677 mbstate_t pointers.
4678 * libc/include/sys/_types.h: Define _mbstate_t.
4679 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
4680 * libc/include/sys/errno.h (EILSEQ): New error code.
4681 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
4682 structure to use mbstate_t.
4683 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
4684 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
4685 * libc/machine/powerpc/vfscanf.c: Likewise.
4686 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
4687 * libc/stdio/vfprintf.c: Likewise.
4688 * libc/stdio/vfscanf.c: Likewise.
4689 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
4690 * libc/stdlib/mblen.c: Use mbstate_t.
4691 * libc/stdlib/mblen_r.c: Likewise.
4692 * libc/stdlib/mbstowcs.c: Likewise.
4693 * libc/stdlib/mbstowcs_r.c: Likewise.
4694 * libc/stdlib/mbtowc.c: Likewise.
4695 * libc/stdlib/mbtowc_r.c: Likewise.
4696 * libc/stdlib/wcstombs.c: Likewise.
4697 * libc/stdlib/wcstombs_r.c: Likewise.
4698 * libc/stdlib/wctomb_r.c: Likewise.
4699 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
4700 profile.c.
4701 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
4702 dl-procinfo.c.
4703 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
4704 * libc/sys/linux/sys/types.h (off_t): Define type.
4705 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
4706 to C-UTF-8.
4707 * testsuite/newlib.locale/UTF-8.exp: Likewise.
4708
fe47ea33
JJ
47092002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
4710
4711 * libc/stdlib/mallocr.c: #include windows.h on Win32.
4712 (AlignPage): Continue macro on next line.
4713
ada73509
JJ
47142002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4715
4716 * libc/sys/linux/include/pthread.h: New file.
4717
64b5e8f2
JJ
47182002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4719
4720 * libc/include/sys/types.h: Support __need_inttypes macro
4721 that only sets the __intxx and __uintxx types.
4722 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
4723 to get mprec.h.
4724 * libc/machine/powerpc/Makefile.in: Regenerated.
4725 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
4726 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
4727 redundant fixed-point conversion prototypes.
4728 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
4729 after setting __need_inttypes.
4730
a94b60ce
CF
47312002-08-18 Christopher Faylor <cgf@redhat.com>
4732
4733 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
4734
29e17a86
JJ
47352002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4736
4737 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
4738 _LONG_DOUBLE to double.
4739
936b520f
JJ
47402002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4741
4742 * configure.host: Add powerpc*-*-eabispe* configuration.
4743 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
4744 * libc/machine/powerpc/atosfix32.c: Ditto.
4745 * libc/machine/powerpc/atosfix64.c: Ditto.
4746 * libc/machine/powerpc/atoufix16.c: Ditto.
4747 * libc/machine/powerpc/atoufix32.c: Ditto.
4748 * libc/machine/powerpc/atoufix64.c: Ditto.
4749 * libc/machine/powerpc/fix64.h: Ditto.
4750 * libc/machine/powerpc/simdldtoa.c: Ditto.
4751 * libc/machine/powerpc/strtosfix16.c: Ditto.
4752 * libc/machine/powerpc/strtosfix32.c: Ditto.
4753 * libc/machine/powerpc/strtosfix64.c: Ditto.
4754 * libc/machine/powerpc/strtoufix16.c: Ditto.
4755 * libc/machine/powerpc/strtoufix32.c: Ditto.
4756 * libc/machine/powerpc/strtoufix64.c: Ditto.
4757 * libc/machine/powerpc/ufix64toa.c: Ditto.
4758 * libc/machine/powerpc/configure.in: Add check for
4759 powerpc*-eabispe and add fixed-point conversion functions.
4760 * libc/machine/powerpc/configure: Regenerated.
4761 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
4762 %r and %R format specifiers which handle fixed-point data.
4763 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
4764 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
4765 function prototypes.
4766
ad552766
JJ
47672002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4768
4769 * Makefile.am: Move cmath stuff into libc/sys/linux.
4770 * Makefile.in: Regenerated.
4771 * configure.host: Default -DMB_CAPABLE for x86-linux.
4772 * libc/include/reent.h: Define _sbrk to take signed int argument.
4773 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
4774 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
4775 make locale name checking more efficient. Also allow "C-ISO-8859-1"
4776 locale for LC_CTYPE and LC_MESSAGES.
4777 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
4778 * libc/sys/linux/brk.c: Change sbrk prototype.
4779 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
4780 include <sys/features.h>.
4781 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
4782 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
4783 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
4784 with a few local additions.
4785 * libc/sys/linux/sys/features.h: New file.
4786 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
4787 to take signed argument.
4788 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
4789 prototypes to take signed size argument.
4790
d3bd3632
TF
47912002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4792
4793 * libc/sys/linux/cmath: New directory.
4794 * libc/sys/linux/include/cmathcalls.h: New file.
4795 * libc/sys/linux/include/complex.h: New file.
4796 * libc/sys/linux/machine/i386/huge_val.h: New file
4797 * libm/math/w_sincos.c: New file
4798 * libm/math/wf_sincos.c: New file
4799 * libm/mathfp/s_sincos.c: New file
4800 * libm/mathfp/sf_sincos.c: New file
4801 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
4802 * libc/include/math.h: Add sincos and sincosf declarations.
4803 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
4804 (SUBLIBS): Likewise.
4805 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
4806 * libm/math/Makefile.am (src): Add w_sincos.c.
4807 (fsrc): Add wf_sincos.c.
4808 * libm/mathfp/Makefile.am (src): Add s_sincos.c
4809 (fsrc): Add sf_sincos.c.
4810
b3a9676b
JJ
48112002-08-12 Jeff Johnston <jjohnstn@redhat.com>
4812
4813 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
4814 Declare as extern chars and use the address operator to
4815 properly use values set in linker script.
4816
659e7062
JJ
48172002-08-09 Jason Tishler <jason@tishler.net>
4818
4819 * libc/stdlib/mallocr.c: Include <limits.h>.
4820 (request2size): Change macro to do
4821 unsigned long comparisons and avoid signed overflow.
4822 (mALLOc): Add overflow check for the number of bytes to allocate.
4823 (rEALLOc): Ditto.
4824
037240a2
JJ
48252002-08-09 Jeff Johnston <jjohnstn@redhat.com>
4826
4827 * configure.host: Add check for --enable-newlib-io-pos-args
4828 and define WANT_IO_POS_ARGS flag if enabled. Define
4829 the flag by default for x86-linux configurations.
4830 * configure.in: Add support for --enable-newlib-io-pos-args.
4831 * libc/configure.in: Ditto.
4832 * configure: Regenerated.
4833 * libc/configure: Ditto.
4834 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
4835 vfprintf.c and vfiprintf.c.
4836 * libc/stdio/Makefile.in: Regenerated.
4837 * libc/stdio/vfprintf.c: Add positional argument support that
4838 is enabled by compiling with -DWANT_IO_POS_ARGS.
4839
172fda76
RS
48402002-08-07 Richard Sandiford <rsandifo@redhat.com>
4841
4842 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
4843 based on __mips_soft_float rather than __mips64.
4844 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
4845 of both 32-bit and 64-bit code.
4846
4866247e
CF
48472002-08-04 Christopher Faylor <cgf@redhat.com>
4848
4849 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
4850 arguments for popen to match similar functionality in fopen.
4851
b96332ce
CV
48522002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
4853
4854 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
4855
60d99bce
JJ
48562002-07-29 Jeff Johnston <jjohnstn@redhat.com>
4857
4858 * libc/sys/linux/Makefile.am: Add aio64.c.
4859 * libc/sys/linux/Makefile.in: Regenerated.
4860 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
4861 * libc/sys/linux/aio64.c: New file.
4862
80a21be0
JJ
48632002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4864
4865 * libc/include/sys/param.h (MAX, MIN): Added macros.
4866 * libc/sys/linux/Makefile.am: Add new files.
4867 * libc/sys/linux/Makefile.in: Regenerated.
4868 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4869 * libc/sys/linux/inode.c (fchdir): Added syscall.
4870 * libc/sys/linux/ftw.c: New file.
4871 * libc/sys/linux/ftw64.c: Ditto.
4872 * libc/sys/linux/getwd.c: Ditto.
4873 * libc/sys/linux/scandir64.c: Ditto.
4874 * libc/sys/linux/strverscmp.c: Ditto.
4875 * libc/sys/linux/versionsort.c: Ditto.
4876 * libc/sys/linux/versionsort64.c: Ditto.
4877
6b6425cb
JJ
48782002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4879
4880 * libc/string/strings.tex: Fix typo for memccpy.
4881
dc8ac8e6
JJ
48822002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4883
4884 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
4885 * libc/sys/linux/sys/types.h (off64_t): Definition added.
4886
aa0ca6fd
JJ
48872002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4888
4889 * libc/sys/linux/Makefile.am: Add fclean.c.
4890 * libc/sys/linux/Makefile.in: Regenerated.
4891 * libc/sys/linux/fclean.c: New file.
4892
61921945
JJ
48932002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4894
4895 * libc/sys/linux/Makefile.am: Add confstr.c.
4896 * libc/sys/linux/Makefile.in: Regenerated.
4897 * libc/sys/linux/confstr.c: New file.
4898 * libc/sys/linux/confstr.h: Ditto.
4899 * libc/sys/linux/sys/unistd.h: Include <features.h> and
4900 <bits/environments.h>.
4901
3d966a92
JJ
49022002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4903
4904 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
4905 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
4906 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
4907 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
4908 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
4909 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
4910
53b5bff7
JJ
49112002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4912
4913 * libc/sys/linux/Makefile.am: Add new files.
4914 * libc/sys/linux/Makefile.in: Regenerated.
4915 * libc/sys/linux/fstab.c: New file.
4916 * libc/sys/linux/fstatvfs.c: Ditto.
4917 * libc/sys/linux/fstatvfs64.c: Ditto.
4918 * libc/sys/linux/internal_statvfs.c: Ditto.
4919 * libc/sys/linux/mntent.c: Ditto.
4920 * libc/sys/linux/mntent_r.c: Ditto.
4921 * libc/sys/linux/statvfs.c: Ditto.
4922 * libc/sys/linux/statvfs64.c: Ditto.
4923 * libc/sys/linux/include/paths.h: Ditto.
4924 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
4925 with double-underscore weak-aliases.
4926 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4927
9cef8ef5
JJ
49282002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4929
4930 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
4931 to use _sig_func_ptr type casted constants.
4932 (_sig_func_ptr): Typedef moved to sys/signal.h.
4933 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
4934 For __rtems, use POSIX definition, otherwise default to ANSI.
4935 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
4936
a703e0f2
JJ
49372002-07-24 Stephane Carrez <stcarrez@nerim.fr>
4938
4939 * configure.host: Recognize m6811-elf and m6812-elf targets.
4940 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
4941 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
4942 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
4943 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
4944 according to __INT_MAX__.
4945 (_POINTER_INT): Define to short.
4946 * libc/machine/m68hc11/Makefile.am: New file.
4947 * libc/machine/m68hc11/Makefile.in: New file.
4948 * libc/machine/m68hc11/configure.in: New file.
4949 * libc/machine/m68hc11/configure: New file.
4950 * libc/machine/m68hc11/aclocal.m4: New file.
4951 * libc/machine/m68hc11/setjmp.S: New file.
4952
d254189b
JJ
49532002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4954
4955 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
4956 prototypes.
4957 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
4958 * libc/stdlib/Makefile.in: Regenerated.
4959 * libc/stdlib/strdup.c: Removed.
4960 * libc/stdlib/strdup_r.c: Removed.
4961 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
4962 mempcpy.c, strndup.c, and strndup_r.c.
4963 * libc/string/Makefile.in: Regenerated.
4964 * libc/string/memccpy.c: New file.
4965 * libc/string/mempcpy.c: Ditto.
4966 * libc/string/strndup.c: Ditto.
4967 * libc/string/strndup_r.c: Ditto.
4968 * libc/string/strdup.c: New file moved from stdlib.
4969 * libc/string/strdup_r.c: Ditto.
4970 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
4971
bc100655
JJ
49722002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4973
4974 * libc/include/stdio.h: Move fcloseall prototype within
4975 #ifndef _REENT_ONLY section.
4976 * libc/sys/linux/Makefile.am: Add new files.
4977 * libc/sys/linux/Makefile.in: Regenerated.
4978 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
4979 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
4980 * libc/sys/linux/sys/types.h: Add ino64_t type.
4981 * libc/sys/linux/ctermid.c: New file.
4982 * libc/sys/linux/ttyname_r.c: Ditto.
4983 * libc/sys/linux/readdir64.c: Ditto.
4984
f5f27f07
JJ
49852002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4986
4987 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
4988 * libc/stdio/Makefile.am: Added fcloseall.c support.
4989 * libc/stdio/Makefile.in: Regenerated.
4990 * libc/stdio/fcloseall.c: New file.
4991 * libc/stdio64/Makefile.am: Remove missing .def references.
4992 * libc/stdio64/Makefile.in: Regenerated.
4993
d541ba3e
JJ
49942002-07-22 Jeff Johnston <jjohnstn@redhat.com>
4995
4996 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
4997 * libc/machine/powerpc/times.c: New file.
4998 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
4999 * libc/machine/powerpc/Makefile.in: Regenerated.
5000
50012002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
5002
5003 * libc/machine/powerpc/time.c: New file.
5004 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
5005 time.c.
5006 * libc/machine/powerpc/Makefile.in: Regenerated.
5007
5e7d0a55
TF
50082002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5009
5010 * libc/libc.texinfo: Change copyright notices to Red Hat from
5011 Cygnus.
5012 * libm/libm.texinfo: Likewise.
5013 * README: Change docs URL to
5014 http://sources.redhat.com/newlib/docs.html.
5015
504628e7
JJ
50162002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5017
5018 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
5019 * libc/sys/linux/Makefile.in: Regenerated.
5020 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
5021 * libc/sys/linux/io.c: Add ftruncate syscall.
5022 * libc/sys/linux/fpathconf.c: New file.
5023 * libc/sys/linux/pathconf.c: Ditto.
5024 * libc/sys/linux/linux_fsinfo.h: Ditto.
5025 * libc/sys/linux/sys/unistd.h: Ditto.
5026
b155ad9f
JJ
50272002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5028
5029 * libc/stdio64/Makefile.am: Remove missing files.
5030 * libc/stdio64/Makefile.in: Regenerated.
5031
c119e0ab
JJ
50322002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5033
5034 * libc/include/sys/config.h[__i386__][__linux__]: Define
5035 _LARGE64FILE_SOURCE to 1.
5036 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
5037 * libc/sys/linux/Makefile.in: Regenerated.
5038 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
5039 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
5040 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
5041 of <linux/resource.h>.
5042 * libc/sys/linux/getrlimit64.c: New file.
5043 * libc/sys/linux/setrlimit64.c: Ditto.
5044
9b022d6d
TF
50452002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5046
5047 * libc/argz/argz_replace.c: Include buf_findstr.h.
5048 * libc/argz/buf_findstr.c: Likewise.
5049 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
5050 value to (char *).
5051 * libc/argz/envz_get.c: Likewise.
5052 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
5053 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
5054 * libc/stdlib/getsubopt.3: New file.
5055 * libc/stdlib/getsubopt.c: New file.
5056 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
5057 Change esp to ebp.
5058
dee51391
JJ
50592002-07-17 Jeff Johnston <jjohnstn@redhat.com>
5060
5061 * configure.host(stdio64_dir): New setting that is used to
5062 enable building of new stdio64 directory.
5063 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
5064 large files.
5065 (stmp-stdio64,stdio64.texi): New targets to optionally add in
5066 stdio64 info to info files.
5067 * libc/Makefile.in: Regenerated.
5068 * libc/configure: Ditto.
5069 * libc/configure.in: Add configuration variables that are set
5070 when stdio64 is selected as subdir in configure.host.
5071 * libc/libc.texinfo: Add optional menu item for Stdio64, based
5072 on whether STDIO64 flag is set or not.
5073 * libc/sys.tex: Add optional stdio64 syscalls based on whether
5074 STDIO64 flag is set or not.
5075 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
5076 _r sycall routines.
5077 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
5078 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
5079 (__SL64): New file flag indicating file is opened via fopen64.
5080 * libc/include/sys/_types.h(_off64_t): Added.
5081 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
5082 * libc/include/sys/reent.h(struct __sFILE64): New file structure
5083 for 64-bit offset large file support.
5084 (__FILE): New intermediate type either set to struct __sFILE64 or
5085 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
5086 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
5087 * libc/reent/Makefile.in: Regenerated.
5088 * libc/reent/fstat64r.c: New file.
5089 * libc/reent/lseek64r.c: Ditto.
5090 * libc/reent/open64r.c: Ditto.
5091 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
5092 based on whether STDIO64 flag is set.
5093 * libc/stdio/stdio.tex: Add blank line.
5094 * libc/stdio64/Makefile.am: New file.
5095 * libc/stdio64/Makefile.in: Ditto.
5096 * libc/stdio64/fgetpos64.c: Ditto.
5097 * libc/stdio64/fopen64.: Ditto.
5098 * libc/stdio64/freopen64.c: Ditto.
5099 * libc/stdio64/fseeko64.c: Ditto.
5100 * libc/stdio64/fsetpos64.c: Ditto.
5101 * libc/stdio64/ftello64.c: Ditto.
5102 * libc/stdio64/local64.h: Ditto.
5103 * libc/stdio64/stdio64.c: Ditto.
5104 * libc/stdio64/stdio64.tex: Ditto.
5105 * libc/stdio64/tmpfile64.c: Ditto.
5106 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
5107 open64.
5108
778876f6
JJ
51092002-07-16 Jeff Johnston <jjohnstn@redhat.com>
5110
5111 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
5112 if LIBC_EXTRA_LIB is present.
5113 * libc/Makefile.in: Regenerated.
5114 * libc/libc.texinfo: Add blank line.
5115 * libc/argz/Makefile.am: Add doc support.
5116 * libc/search/Makefile.am: Ditto.
5117 * libc/argz/Makefile.in: Regenerated.
5118 * libc/search/Makefile.in: Ditto.
5119 * libc/misc/misc.tex: Add ffs function.
5120 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
5121
37981145
JJ
51222002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5123
5124 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
5125 definition that was removed in error.
5126
38b5dc59
JJ
51272002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5128
5129 * libc/include/machine/ieeefp.h: Change to only define
5130 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
5131 __IEEE_LITTLE_ENDIAN must be defined for each platform).
5132 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
5133 remove redundant floating point definitions.
5134
8cb61a96
JJ
51352002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5136
5137 * libc/sys/linux/callocr.c: Fix so code references
5138 calloc.
5139
edba3282
JJ
51402002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5141
5142 * libc/sys/linux/Makefile.am: Add new files.
5143 * libc/sys/linux/Makefile.in: Regenerated.
5144 * libc/sys/linux/bp-sym.h: Moved to include directory.
5145 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
5146 * libc/sys/linux/inode.c: Set _LIBC to 1.
5147 * libc/sys/linux/mq_close.c: Ditto.
5148 * libc/sys/linux/mq_getattr.c: Ditto.
5149 * libc/sys/linux/mq_open.c: Ditto.
5150 * libc/sys/linux/mq_receive.c: Ditto.
5151 * libc/sys/linux/mq_send.c: Ditto.
5152 * libc/sys/linux/mq_setattr.c: Ditto.
5153 * libc/sys/linux/mq_unlink.c: Ditto.
5154 * libc/sys/linux/calloc.c: New file.
5155 * libc/sys/linux/callocr.c: Ditto.
5156 * libc/sys/linux/cfreer.c: Ditto.
5157 * libc/sys/linux/config.h: Ditto.
5158 * libc/sys/linux/free.c: Ditto.
5159 * libc/sys/linux/freer.c: Ditto.
5160 * libc/sys/linux/msize.c: Ditto.
5161 * libc/sys/linux/msizer.c: Ditto.
5162 * libc/sys/linux/mstats.c: Ditto.
5163 * libc/sys/linux/mtrim.c: Ditto.
5164 * libc/sys/linux/mtrimr.c: Ditto.
5165 * libc/sys/linux/pvallocr.c: Ditto.
5166 * libc/sys/linux/realloc.c: Ditto.
5167 * libc/sys/linux/reallocr.c: Ditto.
5168 * libc/sys/linux/thread-m.h: Ditto.
5169 * libc/sys/linux/vallocr.c: Ditto.
5170 * libc/sys/linux/bp-checks.h: Ditto.
5171 * libc/sys/linux/libc-symbols.h: Ditto.
5172 * libc/sys/linux/libc-tsd.h: Ditto.
5173 * libc/sys/linux/libintl.h: Ditto.
5174 * libc/sys/linux/malign.c: Ditto.
5175 * libc/sys/linux/malignr.c: Ditto.
5176 * libc/sys/linux/mallinfor.c: Ditto.
5177 * libc/sys/linux/malloc.c: Ditto.
5178 * libc/sys/linux/mallocr.c: Ditto.
5179 * libc/sys/linux/malloptr.c: Ditto.
5180 * libc/sys/linux/mallstatsr.c: Ditto.
5181 * libc/sys/linux/mcheck.c: Ditto.
5182 * libc/sys/linux/mhooks.h: Ditto.
5183 * libc/sys/linux/include/bp-sym.h: Ditto.
5184 * libc/sys/linux/include/malloc.h: Ditto.
5185 * libc/sys/linux/include/mcheck.h: Ditto.
5186 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
5187 getpagesize.c.
5188 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
5189 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
5190 * libc/sys/linux/machine/i386/getpagesize.c: New file.
5191 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
5192 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5193 * libc/sys/linux/machine/i386/sysdep.h: New file.
5194 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
5195 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
5196 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
5197
ea20b60a
JJ
51982002-07-12 Jeff Johnston <jjohnstn@redhat.com>
5199
5200 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
5201 instead of <asm/siginfo.h>.
5202 * libc/sys/linux/sys/signal.h: Change to include various linux
5203 <bits/xxx.h> header files, rather than <linux/signal.h> so as
5204 to work with multiple releases of glibc header files.
5205
2fc82912
JJ
52062002-07-11 Chris Demetriou <cgd@broadcom.com>
5207
5208 * testsuite/newlib.search/hsearchtest.c: New file to test
5209 newlib/libc/search.
5210 * testsuite/newlib.search/hsearchtest.exp: Likewise.
5211
4a404e97 52122002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
5213
5214 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
5215 a terminal.
5216 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
5217
6aec558e
JJ
52182002-07-08 Jeff Johnston <jjohnstn@redhat.com>
5219
5220 * libc/include/math.h (MAXFLOAT): Added.
5221
e47e6f0e 5222Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
5223
5224 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
5225 Make strcmp.S unconditional.
5226 * libc/machine/sh/Makefile.in: Regenerate.
5227 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
5228 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
5229 for SHcompact.
5230
89ffbd66
JJ
52312002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5232
5233 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
5234 define before including <sys/lock.h>.
5235
ae6c4c84
JJ
52362002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5237
5238 * libc/include/utime.h: Add include of <_ansi.h>.
5239 * libc/sys/linux/Makefile.am: Add utimes.c.
5240 * libc/sys/linux/Makefile.in: Regenerated.
5241 * libc/sys/linux/inode.c(__umask): New static routine.
5242 (umask): Written to use __umask and attempt to thread lock.
5243 (getumask): New function written to use __umask and thread lock.
5244 * libc/sys/linux/utimes.c: New file.
5245 * libc/sys/linux/sys/time.h: Fix utimes prototype.
5246 * libc/sys/linux/sys/utime.h: New file.
5247
a6cac46c
TF
52482002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
5249
5250 * libtool.m4: New file.
5251 * libc/sys/linux/process.c: Implement vfork in terms of fork,
5252 rather than as a syscall.
5253
30b2092f
JJ
52542002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5255
5256 * libc/include/stdio.h: Add new prototypes.
5257 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
5258 * libc/stdio/Makefile.in: Regenerated.
5259 * libc/stdio/fseek.c: Add fseeko documentation.
5260 * libc/stdio/ftell.c: Add ftello documentation.
5261 * libc/stdio/fseeko.c: New file.
5262 * libc/stdio/ftello.c: New file.
5263
7501704d
JJ
52642002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5265
5266 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
5267 * libc/stdio/Makefile.in: Regenerated.
5268 * libc/stdio/asprintf.c: New file.
5269 * libc/stdio/vasprintf.c: Ditto.
5270 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
5271 the buffer for asprintf support.
5272 * libc/stdio/sprintf.c: Add asprintf documentation.
5273 * libc/stdio/vfprintf.c: Add vasprintf documentation.
5274 * libc/include/stdio.h: Add new prototypes.
5275
66eee32b
TF
52762002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
5277
5278 * libc/search/hcreate.c: Remove advertising clause from license.
5279 * libc/search/hcreate_r.c: Likewise.
5280
cec4a9f8
JJ
52812002-07-02 Chris Demetriou <cgd@broadcom.com>
5282
5283 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
5284 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
5285 Check that one of them is defined and error out if not.
5286 Add any platforms defined in <machine/ieeefp.h> that are missing.
5287 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
5288 (DB_LITTLE_ENDIAN): New defines.
5289 * libc/search/hash.c: Replace all incorrect checks for
5290 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
5291 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
5292 * libc/search/hash_page.c: Likewise.
5293
2d5eb17e
TF
52942002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5295
5296 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
5297
c1a3171f
JJ
52982002-06-27 Benjamin Kosnik <bkoz@redhat.com>
5299
5300 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
5301 * libc/include/time.h: Same.
5302 * libc/include/string.h: Same.
5303 * libc/include/stdlib.h: Same.
5304 * libc/include/signal.h: Same.
5305 * libc/include/setjmp.h: Same.
5306 * libc/include/math.h: Same.
5307 * libc/include/locale.h: Same.
5308 * libc/include/ctype.h: Same.
5309 * libc/include/machine/setjmp.h: Same.
5310 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
5311 (_END_STD_C): Add.
5312
533b4e66
JJ
53132002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5314
5315 * libc/include/sys/_types.h: Define _ssize_t as int if int is
5316 32-bits, otherwise define it as long.
5317 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
5318 and define ssize_t as _ssize_t.
5319 * libc/reent/readr.c: Change return type to _ssize_t.
5320 * libc/reent/writer.c: Ditto.
5321 * libc/sys/linux/Makefile.am: Add aio.c.
5322 * libc/sys/linux/Makefile.in: Regenerated.
5323 * libc/sys/linux/aio.c: New file.
5324 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
5325 * libm/common/fdlibm.h: Undef __P before defining it.
5326
c36e6dd7
TF
53272002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5328
54be629f
TF
5329 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
5330 exponent_is_even_int variable. Handle case where x is
5331 negative, and y is an odd integer.
5332 * libm/mathfp/sf_pow.c (powf): Likewise.
5333
c36e6dd7
TF
5334 * libm/mathfp/er_lgamma.c: Remove __kernel references.
5335 * libm/mathfp/erf_lgamma.c: Likewise.
5336 * libm/mathfp/s_tgamma.c: Likewise.
5337 * libm/mathfp/sf_tgamma.c: Likewise.
5338
baf051ca
JJ
53392002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5340
5341 * libc/sys/linux/Makefile.am: Add new clock routines.
5342 * libc/sys/linux/Makefile.in: Regenerated.
5343 * libc/sys/linux/clock_getres.c: New file.
5344 * libc/sys/linux/clock_gettime.c: Ditto.
5345 * libc/sys/linux/clock_settime.c: Ditto.
5346 * libc/sys/linux/hp-timing.h: Ditto.
5347 * libc/sys/linux/libc-internal.h: Ditto.
5348 * libc/sys/linux/sysconf.c: Fix typo.
5349 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
5350 * libc/sys/linux/machine/hp-timing.h: New file.
5351 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
5352 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5353 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
5354 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
5355 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
5356 * libc/sys/linux/sys/linux_time.h: New file.
5357 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
5358 replace with <sys/linux_time.h>.
5359
0431ed4e
JR
5360Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
5361
5362 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
5363
fc067ba5
JJ
53642002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5365
5366 * libc/sys/linux/Makefile.am: Consolidate additional items under
5367 ADD_OBJS.
5368 * libc/sys/linux/Makefile.in: Regenerated.
5369
ffddf61e
JJ
53702002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5371
5372 * libc/sys/linux/sethostname.c: New file.
5373 * libc/sys/linux/Makefile.am: Add sethostname.c support.
5374 * libc/sys/linux/Makefile.in: Regenerated.
5375
d5487d3f
TF
53762002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5377
5378 * libc/search/db_local.h: New file.
5379 * libc/include/db.h: Remove.
5380 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
5381 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
5382 "db_local.h".
5383 * libc/search/hash_bigkey.c: Likewise.
5384 * libc/search/hash_buf.c: Likewise.
5385 * libc/search/hash_func.c: Likewise.
5386 * libc/search/hash_log2.c: Likewise.
5387 * libc/search/hash_page.c: Likewise.
5388
53892002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 5390
1e7ca711 5391 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
5392 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
5393 * libc/machine/sh/Makefile.am: Regenerate.
5394
59c6d6c4
JJ
53952002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5396
5397 * libc/sys/linux/gethostname.c: Change name to __gethostname and
5398 add gethostname alias.
5399
a70486d7
JJ
54002002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5401
5402 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 5403 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 5404 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 5405 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
5406 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
5407 * libm/common/fdlibm.h: Ditto.
5408
3118725a
TF
54092002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5410
5411 * libc/include/ndbm.h: Remove.
5412 * libc/search/ndbm.c: Remove.
5413
30a06168
TF
54142002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
5415
5416 * libc/stdio/fseek.c (fseek): Fix braces.
5417
01f5155e
CV
54182002-06-21 Corinna Vinschen <corinna@vinschen.de>
5419
5420 * libc/time/strftime.c (strftime): Add %e format specifier.
5421
930bc96b
TF
54222002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5423
5424 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
5425 previously defined.
5426
55105f86
JJ
54272002-06-21 Richard Earnshaw (rearnsha@arm.com)
5428
5429 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
5430 (BYTE_ORDER): Define as appropriate for the target.
5431
2e78444a
JJ
54322002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5433
5434 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
5435 to _ssize_t.
5436 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
5437
d427d092
JJ
54382002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5439
5440 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
5441 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
5442 [HAVE_GETDATE](getdate_err): New error code.
5443 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
5444 * libc/stdio/Makefile.in: Regenerated.
5445 * libc/stdio/getdelim.c: New file.
5446 * libc/stdio/getline.c: Ditto.
5447 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
5448 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
5449 * libc/sys/linux/Makefile.in: Regenerated.
5450 * libc/sys/linux/getdate.c: New file.
5451 * libc/sys/linux/getdate_err.c: Ditto.
5452 * libc/sys/linux/ntp_gettime.c: Ditto.
5453 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
5454 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
5455
35728d4f
JJ
54562002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5457
5458 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
5459 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
5460 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
5461 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
5462 * libc/include/sys/param.h: Remove i386 case which is handled
5463 by default case.
5464 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
5465 definitions in case they are already defined.
5466 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
5467 _IEEE_LITTLE_ENDIAN flags.
5468 * libc/include/sys/reent.h: Change __uint32_t references to
5469 use _ULong instead.
5470 (_REENT_GETDATE_REENT_P): New macro.
5471 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
5472 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
5473 * libc/search/hash.h: Add default setting of BYTE_ORDER,
5474 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
5475 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
5476 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
5477 pid_t, off_t, loff_t, caddr_t, and daddr_t type
5478 definitions which are done by subsequent glibc headers.
5479 Add macro definitions to prevent subsequent header files from
5480 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
5481 intptr_t to after glibc definitions of types they are based on.
5482
4a2bfab7
JJ
54832002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5484
5485 * libc/include/errno.h: Protect from multiple inclusion.
5486
f42d18ea
NC
54872002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
5488
5489 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
5490
a7b23a8f
TF
54912002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
5492
5493 * Makefile.am (LIB_OBJECTLISTS): Add
5494 libc/search/objectlist.awk.in.
5495 * libc/Makefile.am (SUBDIRS): Add search.
5496 (SUBLIBS): Add search/libsearch.la.
5497 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
5498 * libc/search: New directory.
5499 * libc/search/Makefile.am: New file.
5500 * libc/search/extern.h: New file.
5501 * libc/search/hash.c: New file.
5502 * libc/search/hash.h: New file.
5503 * libc/search/hash_bigkey.c: New file.
5504 * libc/search/hash_buf.c: New file.
5505 * libc/search/hash_func.c: New file.
5506 * libc/search/hash_log2.c: New file.
5507 * libc/search/hash_page.c: New file.
5508 * libc/search/hcreate.3: New file.
5509 * libc/search/hcreate.c: New file.
a7b23a8f
TF
5510 * libc/search/hcreate_r.c: New file.
5511 * libc/search/ndbm.c: New file.
5512 * libc/search/page.h: New file.
5513 * libc/search/tdelete.c: New file.
5514 * libc/search/tdestroy.c: New file.
5515 * libc/search/tfind.c: New file.
5516 * libc/search/tsearch.3: New file.
5517 * libc/search/tsearch.c: New file.
5518 * libc/search/twalk.c: New file.
5519 * libc/include/db.h: New file.
5520 * libc/include/ndbm.h: New file.
5521 * libc/include/search.h: New file.
5522 * libc/include/sys/queue.h: New file.
5523 * libc/include/sys/cdefs.h: New file.
5524 * libc/include/sys/param.h
5525 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
5526 LITTLE_ENDIAN or BIG_ENDIAN.
5527 * libc/include/sys/errno.h (EFTYPE): New macro.
5528 * libc/search/bsearch.c: Move from libc/stdlib.
5529 * libc/search/qsort.c: Likewise.
5530 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
5531 qsort.c.
5532 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
5533 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
5534
ef467338
JJ
55352002-06-19 Jeff Johnston <jjohnstn@redhat.com>
5536
5537 * libc/sys/linux/Makefile.am: Add support for message queue routines,
5538 ipc routines, and ftok.
5539 * libc/sys/linux/Makefile.in: Regenerated.
5540 * libc/sys/linux/ftok.c: New file.
5541 * libc/sys/linux/ipc.c: Ditto.
5542 * libc/sys/linux/mq_close.c: Ditto.
5543 * libc/sys/linux/mq_getattr.c: Ditto.
5544 * libc/sys/linux/mq_notify.c: Ditto.
5545 * libc/sys/linux/mq_open.c: Ditto.
5546 * libc/sys/linux/mq_receive.c: Ditto.
5547 * libc/sys/linux/mq_send.c: Ditto.
5548 * libc/sys/linux/mq_setattr.c: Ditto.
5549 * libc/sys/linux/mq_unlink.c: Ditto.
5550 * libc/sys/linux/mqlocal.h: Ditto.
5551 * libc/sys/linux/include/mqueue.h: Ditto.
5552 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
5553 __uid_t_defined.
5554
7f55c08c
TF
55552002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5556
5557 * libm/common/sf_lround.c (round): Change name to: (lround).
5558 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
5559 remquof.
5560
c9ca68d7
TF
55612002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5562
5563 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
5564 procedure.
5565 (newlib_pass_fail): Change to compile and run only one file.
5566 * testsuite/newlib.locale/locale.exp: Use new
5567 newlib_pass_fail_all procedure.
5568 * testsuite/newlib.string/string.exp: Likewise.
5569
4ecedd09
DB
55702002-06-18 Dave Brolley <brolley@redhat.com>
5571
5572 From Catherine Moore, Michael Meissner, Richard Sandiford:
5573 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
5574 (_JBTYPE): Ditto.
5575 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
5576 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
5577 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
5578 * configure.host: Support frv-*-*.
5579 * libc/machine/frv/Makefile.am: New file.
5580 * libc/machine/frv/configure.in: New file.
5581 * libc/machine/frv/setjmp.S: New file.
5582
af1c257a
TF
55832002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5584
5585 * libc/include/ctype.h: Remove isblank macro.
5586
5587 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
5588 * libc/ctype/isblank.c: New file.
5589 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
5590 declaration. Add isblank macro.
5591
4e04fa90
JJ
55922002-06-18 Jeff Johnston <jjohnstn@redhat.com>
5593
5594 * testsuite/newlib.stdlib/atexit.c: New file.
5595 * testsuite/newlib.stdlib/atexit.exp: Ditto.
5596 * testsuite/newlib.string/tstring.c: Change default start size
5597 to something more reasonable for embedded platforms.
5598
b56d7e79
TF
55992002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5600
ece3c72f
TF
5601 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
5602
b56d7e79
TF
5603 * libc/argz: New directory.
5604 * libc/argz/*: New files.
5605 * libc/argz/argz_add.c: New file.
5606 * libc/argz/argz_add_sep.c: New file.
5607 * libc/argz/argz_append.c: New file.
5608 * libc/argz/argz_count.c: New file.
5609 * libc/argz/argz_create.c: New file.
5610 * libc/argz/argz_create_sep.c: New file.
5611 * libc/argz/argz_delete.c: New file.
5612 * libc/argz/argz_extract.c: New file.
5613 * libc/argz/argz_insert.c: New file.
5614 * libc/argz/argz_next.c: New file.
5615 * libc/argz/argz_replace.c: New file.
5616 * libc/argz/argz_stringify.c: New file.
5617 * libc/argz/buf_findstr.c: New file.
5618 * libc/argz/envz_add.c: New file.
5619 * libc/argz/envz_entry.c: New file.
5620 * libc/argz/envz_get.c: New file.
5621 * libc/argz/envz_merge.c: New file.
5622 * libc/argz/envz_remove.c: New file.
5623 * libc/argz/envz_strip.c: New file.
5624 * libc/include/argz.h: New file.
5625 * libc/include/envz.h: New file.
5626 * Makefile.am (LIBC_OBJECTLISTS): Add
5627 libc/argz/objectlist.awk.in.
5628 * libc/Makefile.am (SUBDIRS): Add argz.
5629 (SUBLIBS): Add argz/libargz.la.
5630 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
5631 * libc/include/errno.h: Add error_t typedef.
5632
d062d3dd
JJ
56332002-06-13 Jeff Johnston <jjohnstn@redhat.com>
5634
5635 * libc/include/stdlib.h: Add _Exit prototype.
5636 * libc/stdlib/Makefile.am: Add _Exit.c support.
5637 * libc/stdlib/Makefile.in: Ditto.
5638 * libc/stdlib/_Exit.c: New file.
5639
a47e66ae
JJ
56402002-06-13 Stephen L. Moshier <steve@moshier.net>
5641
5642 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
5643 x is close to -1.0 and y is very large to use ax (absolute value)
5644 instead of x.
5645 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
5646
13f7d71f
JR
5647Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
5648
5649 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
5650 Fix clobbering bytes before destination if src and dst have same
5651 non-zero misalignment.
1f1fb421
JR
5652
5653 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5654 Fixed bug in writing end of set region.
5655
b2e8018f
CF
56562002-06-10 Christopher Faylor <cgf@redhat.com>
5657
5658 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
5659 spawnve declaration.
5660
0953fe64
TF
56612002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5662
5663 * libm/common/s_fdim.c: New file.
5664 * libm/common/s_fma.c: Likewise.
5665 * libm/common/s_fmax.c: Likewise.
5666 * libm/common/s_fmin.c: Likewise.
5667 * libm/common/s_fpclassify.c: Likewise.
5668 * libm/common/s_lrint.c: Likewise.
5669 * libm/common/s_lround.c: Likewise.
5670 * libm/common/s_nearbyint.c: Likewise.
5671 * libm/common/s_remquo.c: Likewise.
5672 * libm/common/s_round.c: Likewise.
5673 * libm/common/s_scalbln.c: Likewise.
5674 * libm/common/s_signbit.c: Likewise.
5675 * libm/common/s_trunc.c: Likewise.
5676 * libm/common/sf_fdim.c: Likewise.
5677 * libm/common/sf_fma.c: Likewise.
5678 * libm/common/sf_fmax.c: Likewise.
5679 * libm/common/sf_fmin.c: Likewise.
5680 * libm/common/sf_lrint.c: Likewise.
5681 * libm/common/sf_lround.c: Likewise.
5682 * libm/common/sf_nearbyint.c: Likewise.
5683 * libm/common/sf_remquo.c: Likewise.
5684 * libm/common/sf_round.c: Likewise.
5685 * libm/common/sf_scalbln.c: Likewise.
5686 * libm/common/sf_trunc.c: Likewise.
5687 * libm/math/w_exp2.c: Likewise.
5688 * libm/math/w_tgamma.c: Likewise.
5689 * libm/math/wf_exp2.c: Likewise.
5690 * libm/math/wf_tgamma.c: Likewise.
5691 * libm/mathfp/s_exp2.c: Likewise.
5692 * libm/mathfp/s_tgamma.c: Likewise.
5693 * libm/mathfp/sf_exp2.c: Likewise.
5694 * libm/mathfp/sf_tgamma.c: Likewise.
5695 * libm/math/er_gamma.c: Fix return value.
5696 * libm/math/erf_gamma.c: Likewise.
5697 * libm/mathfp/er_gamma.c: Likewise.
5698 * libm/mathfp/erf_gamma.c: Likewise.
5699 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
5700 declarations and macros.
5701 Regenerated all Makefile.in, aclocal.m4 and configure files to
5702 use new libtool macros in top-level libtool.m4
5703
39e65e01
JJ
57042002-06-05 Jeff Johnston <jjohnstn@redhat.com>
5705
5706 * libc/include/string.h[__linux__]: Add strsignal prototype.
5707 * libc/include/sys/lock.h: New file with default locking support.
5708 * libc/include/sys/reent.h: Add signal buffer support for strsignal
5709 and psignal.
5710 * libc/posix/Makefile.am: Add support for readdir_r.c.
5711 * libc/posix/Makefile.in: Regenerated.
5712 * libc/posix/closedir.c: Add locking support and hash table cleanup.
5713 * libc/posix/opendir.c: Add lock support.
5714 * libc/posix/readdir.c: Ditto.
5715 * libc/posix/rewinddir.c: Ditto.
5716 * libc/posix/scandir.c: Ditto.
5717 * libc/posix/seekdir.c: Ditto.
5718 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
5719 clean up leftover hash table entries.
5720 * libc/posix/readdir_r.c: New file.
5721 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
5722 * libc/sys/linux/Makefile.in: Regenerated.
5723 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
5724 * libc/sys/linux/sys/signal.h: Add psignal prototype.
5725 * libc/sys/linux/psignal.c: New file.
5726 * libc/sys/linux/strsignal.c: Ditto.
5727
cc890e89
CV
57282002-06-03 Corinna Vinschen <corinna@vinschen.de>
5729
5730 * libc/include/sys/types.h: Don't define dev_t when compiling for
5731 Cygwin.
5732
ea55e3f7
JJ
57332002-05-31 Jeff Johnston <jjohnstn@redhat.com>
5734
5735 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
5736 make siglist.inc dependent on sig.c instead of signal.c.
5737 * libc/sys/linux/Makefile.in: Regenerated.
5738 * libc/sys/linux/sig.c: Rename from signal.c and change code to
5739 use NSIG instead of _NSIG.
5740 * libc/sys/linux/sigaction.c: New file.
5741 * libc/sys/linux/signal.c: Changed to be linux signal() function
5742 so as to override regular newlib default signal.c.
ea55e3f7
JJ
5743 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
5744 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5745 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
5746 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
5747 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
5748 default linux sigset_t typedef by defining it equal to __sigset_t.
5749 * libc/unix/sigset.c: Add check so code isn't compiled on systems
5750 with a sigset_t that isn't implemented with a single int.
5751
9d362914
JJ
57522002-05-30 Jeff Johnston <jjohnstn@redhat.com>
5753
5754 * libc/sys/linux/Makefile.am: Add support for new files.
5755 * libc/sys/linux/Makefile.in: Regenerated.
5756 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
5757 * libc/sys/linux/signal.c: Change to use real-time syscalls for
5758 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
5759 it is in a separate file now.
5760 * libc/sys/linux/machine/i386/Makefile.am
5761 * libc/sys/linux/machine/i386/Makefile.in
5762 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
5763 * libc/sys/linux/sigaction.c: New file.
5764 * libc/sys/linux/sigqueue.c: Ditto.
5765 * libc/sys/linux/sigwait.c: Ditto.
5766 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
5767 * libc/sys/linux/kernel_sigaction.h: Ditto.
5768
b1f07180
JJ
57692002-05-28 Jeff Johnston <jjohnstn@redhat.com>
5770
5771 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
5772 tcsendbrk.c.
5773 * libc/sys/linux/Makefile.in: Regenerated.
5774 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
5775 tcgetpgrp(), and tcsetpgrp() functions.
5776 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
5777 to get __MAX_BAUD rate.
5778 * libc/sys/linux/machine/i386/include/termios.h: New file.
5779 * libc/include/machine/termios.h: Ditto.
5780 * libc/sys/linux/cfspeed.c: Ditto.
5781 * libc/sys/linux/tcsendbrk.c: Ditto.
5782
d29587b4
JJ
57832002-05-24 Jeff Johnston <jjohnstn@redhat.com>
5784
5785 * libc/include/string.h: Add strnlen and strerror_r prototypes.
5786 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
5787 * libc/string/Makefile.in: Regenerated.
5788 * libc/string/strerror_r.c: New file.
5789 * libc/string/strnlen.c: New file.
5790 * libc/sys/linux/Makefile.am: Add rename.c.
5791 * libc/sys/linux/Makefile.in: Regenerated.
5792 * libc/sys/linux/rename.c: New file to override default rename.
5793
9a292385
TF
57942002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5795
5796 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
5797 * libc/sys/linux/sys/time.h: Add conversion macros.
5798 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
5799 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
5800 * libc/sys/linux/gethostname.c: New file.
5801 * libc/sys/linux/seteuid.c: New file.
5802 * libc/sys/linux/sysctl.c: New file.
5803
7a364eb3
JJ
58042002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5805
5806 * libc/string/Makefile.am: Add support for strsep.c.
5807 * libc/string/Makefile.in: Regenerated.
5808 * libc/string/strsep.c: New file.
5809 * libc/string/strtok.c: Change to call __strtok_r service routine.
5810 * libc/string/strtok_r.c: Add __strtok_r routine which takes
5811 additional flag parameter regarding whether to skip leading delimeters.
5812 Change strtok_r to call __strtok_r.
5813
164ee5b0
JJ
58142002-05-23 Gareth Pearce <tilps@hotmail.com>
5815
5816 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
5817 * libc/stdio/Makefile.in: Regenerated.
5818 * libc/stdio/setbuffer.c: New file.
5819 * libc/stdio/setlinebuf.c: New file.
5820
f6b2b567
JJ
58212002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5822
5823 * libc/sys/linux/Makefile.am: Add resource.c.
5824 * libc/sys/linux/Makefile.in: Regenerated.
5825 * libc/sys/linux/resource.c: New file.
5826 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
5827 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
5828 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5829 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
5830 are now found in libc/sys/linux/resource.c.
5831
afe56517
JJ
58322002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5833
5834 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
5835 to use void * pointers and comply with Single Unix spec.
5836 * libc/string/bcmp.c: Change to use void * instead of char *.
5837 * libc/string/bcopy.c: Ditto.
5838 * libc/string/bzero.c: Ditto.
5839
7736feb2
JJ
58402002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5841
5842 * libc/sys/linux/shm_open.c: New file.
5843 * libc/sys/linux/shm_unlink.c: Ditto.
5844 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
5845 shm_unlink.c.
5846 * libc/sys/linux/Makefile.in: Regenerated.
5847 * libc/sys/linux/sys/types.h: Add some additional checks to see
5848 if clock_t or time_t is already defined.
5849
19f111bd
JJ
58502002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5851
5852 * Makefile.am: Don't pass $toollibdir down directly in
5853 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
5854 Pass it under the name: top_toollibdir.
5855 * Makefile.in: Regenerated.
5856
c811b1ee
CV
58572002-05-22 Corinna Vinschen <vinschen@redhat.com>
5858
5859 * libc/include/sys/types.h: Revert previous patch.
5860
2b43ad33
CV
58612002-05-22 Corinna Vinschen <vinschen@redhat.com>
5862
5863 * libc/include/sys/types.h: Include cygwin/types.h always under
5864 Cygwin, not only if _POSIX_THREADS is defined.
5865
dd671cde
TF
58662002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
5867
5868 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
5869
5e2cbfb6
JJ
58702002-05-17 Jeff Johnston <jjohnstn@redhat.com>
5871
5872 * Makefile.am: Copy and install headers from sys/machine/include
5873 directory. Also pass $toollibdir to lower-level directories.
5874 * Makefile.in: Regenerated.
5875 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5876 stderr to use _REENT macro instead of _impure_ptr directly.
5877 * libc/include/sys/config.h[__i386__][__linux__]: Define
5878 __DYNAMIC_REENT__.
5879 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5880 call to __getreent() function if !__SINGLE_THREAD__ and
5881 __DYNAMIC_REENT__ is set.
5882 * libc/reent/Makefile.am: Add support for getreent.c.
5883 * libc/reent/Makefile.in: Regenerated.
5884 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
5885 * libc/sys/linux/Makefile.am: Add support for new files.
5886 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
5887 * libc/sys/linux/Makefile.in: Regenerated.
5888 * libc/sys/linux/configure: Ditto.
5889 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
5890 __close, __read, __write, __poll, __open, __lseek, __fcntl from
5891 their __libc_ counterparts.
5892 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
5893 and weak-alias to regular names.
5894 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
5895 to pread64 and __pread64.
5896 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
5897 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
5898 weak-alias to pwrite64.
5899 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
5900 __libc_sched_getscheduler, __libc_sched_get_priority_max,
5901 __libc_sched_get_priority_min, and __libc_sched_setschedule to
5902 name with __ instead of __libc_.
5903 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
5904 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
5905 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
5906 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
5907 to raise.
5908 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
5909 __libc_send to __send.
5910 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
5911 __gettimeofday.
5912 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
5913 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
5914 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
5915 type and typedef __jmp_buf to jmp_buf.
5916 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
5917 setjmp.S.
5918 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5919 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
5920 section.
5921 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
5922 prefix for function macros and then use weak_alias() to regular names.
5923 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5924 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
5925 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
5926 to be flockfile() and funlockfile() respectively.
5927 * libc/sys/linux/sys/types.h
5928 * libc/reent/getreent.c: New file.
5929 * libc/sys/linux/flockfile.c: Ditto.
5930 * libc/sys/linux/funlockfile.c: Ditto.
5931 * libc/sys/linux/getreent.c: Ditto.
5932 * libc/sys/linux/pread.c: Ditto.
5933 * libc/sys/linux/pwrite.c: Ditto.
5934 * libc/sys/linux/raise.c: Ditto.
5935 * libc/sys/linux/system.c: Ditto.
5936 * libc/sys/linux/tcdrain.c: Ditto.
5937 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
5938 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
5939 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
5940 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5941 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
5942
7fc85bd1
TF
59432002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
5944
5945 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
5946 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
5947 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
5948 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
5949
6935231f 5950Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
5951
5952 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
5953 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
5954 exit point.
d7a2f413 5955
3a6cb01b
TF
59562002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5957
a68fa571
TF
5958 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
5959 options when testing natively on i[3456]86-*-linux.
5960
3a6cb01b
TF
5961 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
5962 only one pass or fail per test file. Trim \r's from output
5963 values received from test programs. Remove support for named
5964 tests.
5965 * testsuite/newlib.locale/UTF-8.exp: Update to support new
5966 newlib_check_output behaviour.
5967 * testsuite/newlib.locale/UTF-8.c: Likewise.
5968
dc824ef7
JJ
59692002-05-15 Jeff Johnston <jjohnstn@redhat.com>
5970
5971 * libc/include/stdlib.h: Add on_exit prototype.
5972 * libc/include/sys/reent.h (struct _atexit): Add argument array
5973 and bits to track type of exit routine to support both on_exit
5974 and atexit.
5975 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
5976 by default and change the setting of the atexit structure.
5977 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
5978 * libc/stdlib/on_exit.c: New file.
5979 * libc/stdlib/Makefile.am: Add support for on_exit.
5980 * libc/stdlib/Makefile.in: Regenerated.
5981 * libc/stdlib/atexit.c: Change to initialize types field.
5982 * libc/stdlib/exit.c: Change to look at types field for each
5983 exit routine and either call an atexit-style or an on_exit-style
5984 routine accordingly.
5985
48d91b4a
JJ
59862002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5987
5988 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
5989 allow v specifier with n or L specifiers. For vector c format,
5990 move tmp declaration to the top.
5991
024739eb
JJ
59922002-05-13 Jeff Johnston <jjohnstn@redhat.com>
5993
5994 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
5995 the original format specifier when looping for vectors to compensate
5996 for any changes made in vector %g format processing.
5997 Also add syntax checking for various invalid scenarios
5998 involving vector format extensions.
5999 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
6000 return code setting for vector formats. Also treat vector
6001 separator mismatch as a match error instead of an input error.
6002 Perform some syntax checking for vector formats.
6003
7d2ce898
TF
60042002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6005
6006 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
6007 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
6008 * libc/string/strlcat.c: New file.
6009 * libc/string/strlcpy.c: New file.
6010
809b6ce7
JJ
60112002-05-10 Jeff Johnston <jjohnstn@redhat.com>
6012
6013 * libc/string/strchr.c: Fix comment typo.
6014
76490806
TF
60152002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6016
0c048a9a
TF
6017 * acinclude.m4: Add support for --enable-newlib-multithread.
6018 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
6019 --enable-newlib-multithread=no.
6020
76490806
TF
6021 * libc/stdio/getc_u.c: New file.
6022 * libc/stdio/getchar_u.c: New file.
6023 * libc/stdio/putc_u.c: New file.
6024 * libc/stdio/putchar_u.c: New file.
6025 * libc/include/stdio.h: Add declarations for getc_unlocked,
6026 getchar_unlocked, putc_unlocked and putchar_unlocked.
6027 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
6028 (CHEWOUT_FILES): Add new files' .def's.
6029 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
6030
96bff22c
JR
6031Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
6032
6033 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
6034 Also handle as single quad word when destination ends at last
6035 byte of first quad word. Fix byte selection in single quad code.
6036
e71372fa
TF
60372002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6038
6039 * libc/include/sys/stdio.h: New file.
6040 * libc/sys/linux/sys/stdio.h: New file.
6041 * libc/include/stdio.h: Add declarations for flockfile,
6042 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
6043 * libc/stdio/clearerr.c: Add file locking.
6044 * libc/stdio/fclose.c: Likewise.
6045 * libc/stdio/feof.c: Likewise.
6046 * libc/stdio/ferror.c: Likewise.
6047 * libc/stdio/fflush.c: Likewise.
6048 * libc/stdio/fgetc.c: Likewise.
6049 * libc/stdio/fgetpos.c: Likewise.
6050 * libc/stdio/fgets.c: Likewise.
6051 * libc/stdio/fileno.c: Likewise.
6052 * libc/stdio/fputc.c: Likewise.
6053 * libc/stdio/fputs.c: Likewise.
6054 * libc/stdio/fread.c: Likewise.
6055 * libc/stdio/freopen.c: Likewise.
6056 * libc/stdio/fseek.c: Likewise.
6057 * libc/stdio/ftell.c: Likewise.
6058 * libc/stdio/fwrite.c: Likewise.
6059 * libc/stdio/getc.c: Likewise.
6060 * libc/stdio/putc.c: Likewise.
6061 * libc/stdio/setvbuf.c: Likewise.
6062 * libc/stdio/ungetc.c: Likewise.
6063 * libc/stdio/vfprintf.c: Likewise.
6064
a03790e4
JJ
60652002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6066
60b2107c
TF
6067 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
6068 support for 'p' format. Fix code to print bytes for vector
6069 integer formats that do not specify 'h' or 'l'.
6070 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
6071 for 'p' specifier. Fix code to scan 16 bytes for vector integer
6072 formats that do not specify 'h' or 'l'.
6073
6074 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
6075
9c7d6a9d
TF
60762002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
6077
6078 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
6079 (_sbrk): Add cast of return value.
6080
c33c3635
JJ
60812002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6082
6083 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
6084 (_REENT_L64A_BUF): New macro for accessing area.
6085 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
6086 * libc/stdlib/Makefile.in: Regenerated.
6087 * libc/stdlib/a64l.c: New file.
6088 * libc/stdlib/l64a.c: New file.
6089
f78e59a8
JJ
60902002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6091
6092 * libc/unix/pread.c: Fix typo for _pread_r.
6093 * libc/unix/pwrite.c: Fix type for _pwrite_r.
6094 * libc/sys/linux/pread64.c: Fix typo for read syscall.
6095 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
6096
4b3f6588
CF
60972002-05-03 Christopher Faylor <cgf@redhat.com>
6098
6099 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
6100
e911832c
TF
61012002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
6102
6103 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
6104
0d0fdc8d
CF
61052002-05-01 Christopher Faylor <cgf@redhat.com>
6106
6107 * utmp.h: Define more UNIX constants.
6108
1e997c56
TF
61092002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
6110
0717f01c
TF
6111 * Makefile.am: Add support for checking multilibs.
6112
09841445
TF
6113 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
6114 (SUBDEFS): Add LIBC_EXTRA_DEF.
6115 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
6116 (LIBC_EXTRA_DEF): Likewise.
6117 (extra_dir): Likewise.
6118 * libc/machine/xscale/machine: New directory.
6119 * libc/machine/xscale/machine/profile.h: New file.
6120
1e997c56
TF
6121 * Makefile.am (site.exp): Remove newlib_cflags. Add
6122 multibuildtop.
6123 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
6124 * testsuite/lib/flags.exp: New file.
6125 * testsuite/lib/newlib.exp: Load flags.exp.
6126 (newlib_target_compile): Remove libgloss directory references.
6127 (newlib_init): Remove newlib_cflags references.
6128
4cf4f010
TF
61292002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6130
f6bdb6f9
TF
6131 * testsuite/lib/newlib.exp (newlib_target_compile): Change
6132 method of finding libgloss_target_dir.
6133
4cf4f010
TF
6134 * Makefile.am (site.exp): Change host_alias, host_triplet,
6135 target_alias, target_triplet to refer to gcc's host and target
6136 variables (newlib's build and host variables).
6137 * testsuite/lib/newlib.exp (newlib_init): Change build
6138 references to host references, host references to target
6139 references to reflect Makefile.am changes.
6140 (newlib_target_compile): Likewise.
6141 (newlib_finish): Likewise.
6142
83096ae8
JJ
61432002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6144
6145 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
6146
822afa53
JL
61472002-04-29 Jonathan Larmour <jlarmour@redhat.com>
6148
6149 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
6150 (_system): New function. Ditto.
6151 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
6152 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
6153 targets.
6154
29798f0d
JJ
61552002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6156
6157 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
6158 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
6159 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
6160 * libc/sys/linux/Makefile.in: Regenerated.
6161 * libc/unix/Makefile.in: Ditto.
6162 * libc/sys/linux/pread64.c: New file.
6163 * libc/sys/linux/pwrite64.c: Ditto.
6164 * libc/unix/pread.c: Ditto.
6165 * libc/unix/pwrite.c: Ditto.
6166
557856bd
JJ
61672002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6168
6169 * libc/sys/linux/Makefile.am: Add io64.c.
6170 * libc/sys/linux/Makefile.in: Regenerated.
6171 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
6172 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
6173 * libc/sys/linux/io64.c: New file.
6174
7b2b12d5
JJ
61752002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6176
6177 * configure.in (CC_FOR_NEWLIB): New variable that
6178 bases on $(CC) and adds targ-include and libc/include as
6179 -isystem directives if they are not already part of $(CC).
6180 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
6181 $(CC_FOR_NEWLIB).
6182 * configure: Regenerated.
6183 * Makefile.in: Ditto.
6184
c62adacc
JJ
61852002-04-25 Jeff Johnston <jjohnstn@redhat.com>
6186
6187 * libc/sys/linux/Makefile.am: Add support for sched.c.
6188 * libc/sys/linux/Makefile.in: Regenerated.
6189 * libc/sys/linux/sched.c: New file.
6190 * libc/sys/linux/sys/types.h: Add struct timespec.
6191
217ad4a0
TF
61922002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
6193
6194 * configure.in (CC_FOR_BUILD): Set to gcc whether
6195 cross-compiling or not.
6196 (CC): Add -isystem's for targ-include and libc/include when they
6197 do not already appear in CC.
6198
eaa75b70
TF
61992002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6200
6201 * Makefile.am (check-DEJAGNU): New target.
6202 (site.exp): Likewise.
6203 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
6204 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
6205 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
6206 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
6207 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
6208 * testsuite: New directory.
6209 * testsuite/config: Likewise.
6210 * testsuite/lib: Likewise.
6211 * testsuite/newlib.locale: Likewise.
6212 * testsuite/newlib.string: Likewise.
6213 * testsuite/config/default.exp: New file.
6214 * testsuite/lib/checkoutput.exp: New file.
6215 * testsuite/lib/newlib.exp: New file.
6216 * testsuite/lib/passfail.exp: New file.
6217 * testsuite/newlib.locale/UTF-8.c: New file.
6218 * testsuite/newlib.locale/UTF-8.exp: New file.
6219 * testsuite/newlib.locale/locale.exp: New file.
6220 * testsuite/newlib.string/string.exp: New file.
6221 * testsuite/newlib.string/tstring.c: New file.
6222
b9f9f699
JJ
62232002-04-23 Jeff Johnston <jjohnstn@redhat.com>
6224
6225 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
6226 * libc/sys/linux/Makefile.am: Add support for mmap.c.
6227 * libc/sys/linux/Makefile.in: Regenerated.
6228 * libc/sys/linux/mmap.c: New file.
6229 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
6230 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
6231
7394edbb
TF
62322002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6233
6234 * acinclude.m4 (newlib_cflags): Remove include directories that
6235 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
6236
b9f9f699 62372002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
6238
6239 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
6240 * libc/machine/xscale/memcmp.c: Ditto.
6241 * libc/machine/xscale/memcpy.c: Ditto.
6242 * libc/machine/xscale/memmove.c: Ditto.
6243 * libc/machine/xscale/memset.c: Ditto.
6244 * libc/machine/xscale/strchr.c: Ditto.
6245 * libc/machine/xscale/strcmp.c: Ditto.
6246 * libc/machine/xscale/strcpy.c: Ditto.
6247 * libc/machine/xscale/strlen.c: Ditto.
6248
2dd4c4dc
JJ
62492002-04-19 Alexandre Oliva <aoliva@redhat.com>
6250
6251 * libc/include/sys/config.h: Remove include of <limits.h>.
6252 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
6253 define INT_MAX and LONG_MAX. Use them in tests.
6254
0d844014
JJ
62552002-04-19 Jeff Johnston <jjohnstn@redhat.com>
6256
6257 * configure.host: Add support for powerpc-eabialtivec*.
6258 * libc/include/malloc.h: Add include of <machine/malloc.h>.
6259 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
6260 * libc/include/machine/malloc.h: New file.
6261 * libc/include/machine/stdlib.h: Ditto.
6262 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
6263 * libc/machine/powerpc/Makefile.am: Add conditional objects and
6264 sources based on configuration.
6265 * libc/machine/powerpc/Makefile.in: Regenerated.
6266 * libc/machine/powerpc/configure: Ditto.
6267 * libc/machine/powerpc/configure.in: Add check for
6268 powerpc-eabialtivec* in which case add in additional source files.
6269 * libc/machine/powerpc/setjmp.S: Add altivec support.
6270 * libc/machine/powerpc/vec_calloc.c: New file.
6271 * libc/machine/powerpc/vec_free.c: Ditto.
6272 * libc/machine/powerpc/vec_malloc.c: Ditto.
6273 * libc/machine/powerpc/vec_mallocr.c: Ditto.
6274 * libc/machine/powerpc/vec_realloc.c: Ditto.
6275 * libc/machine/powerpc/machine/malloc.h: Ditto.
6276 * libc/machine/powerpc/machine/stdlib.h: Ditto.
6277 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
6278 with added altivec format specifiers.
6279 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
6280 added altivec format specifiers.
6281
d413aadc
JS
62822002-04-19 Joel Sherrill <joel@OARcorp.com>
6283
6284 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
6285 while autoconf is trying to link main(){}.
6286
27193895
JJ
62872002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6288
6289 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
6290 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
6291
10d00216
JJ
62922002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6293
6b0f808e
JJ
6294 * libc/time/time.tex: Add tzset info.
6295
62962002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6297
6298 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6299 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6300 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6301 (tzname): Defined for all platforms.
6302 (daylight, timezone): Defined only for CYGWIN.
6303 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6304 environment set up.
6305 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6306 environment variable is set.
6307 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6308 tzset_r.c.
6309 * libc/time/Makefile.in: Regenerated.
6310 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6311 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6312 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6313 * libc/time/local.h: New local header file.
6314 * libc/time/mktime.c (mktime): Add timezone support.
6315 * libc/time/mktm_r.c: New file which is the common engine
6316 for gmtime_r and lcltime_r. This code has timezone support.
6317 * libc/time/strftime.c (strftime): Add %Z timezone support.
6318 * libc/time/tzlock.c: New file containing timezone lock stubs.
6319 * libc/time/tzset.c: New file containing tzset() routine.
6320 * libc/time/tzset_r.c: New file containing _tzset_r and
6321 internal routine for calculating timezone changes for specified year.
6322
63232002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6324
6325 * configure.in (CRT0_DIR): Set to libc/.
6326 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6327 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6328 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6329 $(CRT1_DIR)/$(CRT1).
6330 * libc/machine/xstormy16/Makefile.in: Regenerated.
6331 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6332 * libc/machine/xstormy16/configure: Regenerated.
6333
63342002-04-13 Alexandre Oliva <aoliva@redhat.com>
6335
6336 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6337 fails, don't bail out, and try to correct next time.
6338
6339 * libc/include/sys/config.h: Include limits.h.
6340
63412002-04-12 Eric Norum <eric.norum@usask.com>
6342
6343 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6344 routine to allow autoconf to determine that building executables
6345 for rtems works.
6346 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6347 (rtems_gxx_mutex_once): Ditto.
6348
63492002-04-09 Tom Rix <trix@redhat.com>
6350
6351 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6352
63532002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6354
6355 * libc/include/time.h: Fix strptime declaration.
6356 * libc/time/Makefile.am: Add strptime.c.
6357 * libc/time/Makefile.in: Regenerated.
6358 * libc/time/strptime.c: New file.
6359
63602002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6361
6362 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6363 siglongjmp prototype, and sigsetjmp macro definition.
6364 * libc/sys/linux/siglongjmp.c: New file.
6365 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6366 * libc/sys/linux/Makefile.in: Regenerated.
6367
63682002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6369
6370 * Makefile.am: Add support for installing crt1.o if one exists.
6371 * configure.host: Specify crt1.o for linux.
6372 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6373 * Makefile.in: Regenerated.
6374 * configure: Ditto.
6375 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6376 Added for non-Cygwin, non-RTEMS configurations.
6377 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6378 * libc/sys/linux/Makefile.in: Regenerated.
6379 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6380 by gcc. This fixes problem with reconfiguring linux newlib build.
6381 * libc/sys/linux/sysconf.c: New file.
6382
63832002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6384
6385 * configure.host: Add support for machine subdirectory of
6386 sys subdirectory.
6387 * configure.in: Add check for sys machine subdirectory.
6388 * Makefile.am: Ditto.
6389 * configure: Regenerated.
6390 * Makefile.in: Ditto.
6391 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6392 * libc/sys/linux/sys/syscall.h: Ditto.
6393 * libc/sys/linux/sleep.c: New file.
6394 * libc/sys/linux/socket.c: Ditto.
6395 * libc/sys/linux/sockops.h: Ditto.
6396 * libc/sys/linux/stack.c: Ditto.
6397 * libc/sys/linux/usleep.c: Ditto.
6398 * libc/sys/linux/machine/Makefile.am: Ditto.
6399 * libc/sys/linux/machine/Makefile.in: Ditto.
6400 * libc/sys/linux/machine/aclocal.m4: Ditto.
6401 * libc/sys/linux/machine/configure: Ditto.
6402 * libc/sys/linux/machine/configure.in: Ditto.
6403 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6404 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6405 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6406 * libc/sys/linux/machine/i386/configure: Ditto.
6407 * libc/sys/linux/machine/i386/configure.in: Ditto.
6408 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6409 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6410 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6411 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6412 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6413 * libc/sys/linux/sys/select.h: Ditto.
6414 * libc/sys/linux/configure.in: Add support for machine directory.
6415 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6416 * libc/sys/linux/Makefile.in: Regenerated.
6417 * libc/sys/linux/configure: Ditto.
6418 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6419 * libc/sys/linux/inode.c: Ditto.
6420 * libc/sys/linux/linux.c: Ditto.
6421 * libc/sys/linux/process.c: Ditto.
6422 * libc/sys/linux/systat.c: Ditto.
6423 * libc/sys/linux/time.c: Ditto.
6424 * libc/sys/linux/wait.c: Ditto.
6425 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6426 * libc/sys/linux/io.c: Change header plus add readv/writev.
6427 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6428 use __sigsuspend syscall.
6429 * libc/sys/linux/select.c: Change header plus change select to
6430 use _newselect syscall.
6431 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6432 used by glibc header files.
6433 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6434 types.
6435
64362002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6437
6438 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6439 initializing a struct _reent that has been dynamically allocated.
6440 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6441 _REENT_SMALL and does nothing otherwise.
6442 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6443 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6444 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6445 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6446 [_REENT_SMALL](struct _misc_reent): New structure containing
6447 miscellaneous reentrant areas needed by newlib.
6448 [_REENT_SMALL](struct _reent): Add _misc pointer.
6449 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6450 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6451 and _REENT_STRTOK_LAST macros.
6452 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6453 and _REENT_MBLEN_STATE macros.
6454 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6455 and _REENT_MBTOWC_STATE macros.
6456 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6457 and _REENT_WCTOMB_STATE macros.
6458
64592002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6460
6461 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6462
6463Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6464
6465 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6466
6467Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6468
6469 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6470 Store high part of leading bytes too.
6471
64722002-03-22 Richard Sandiford <rsandifo@redhat.com>
6473
6474 * libm/math/ef_hypot.c: Increase scale factor to 68.
6475
64762002-03-13 Alexandre Oliva <aoliva@redhat.com>
6477
6478 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6479 error.
6480
64812002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6482
6483 * libc/sys/go32/access.c: Change license to relaxed license
6484 used in identical file throughout newlib/libgloss.
6485
64862002-03-12 Richard Earnshaw <rearnsha@arm.com>
6487
6488 * libc/sys/arm/access.c: New file.
6489 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6490 * libc/sys/arm/Makefile.in: Regenerate.
6491 * libc/sys/arm/syscalls.c (_stat): New function.
6492
64932002-03-11 Michael Meissner <meissner@redhat.com>
6494
6495 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6496 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6497 * libc/machine/mips/Makefile.in: Regenerate.
6498 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6499 * libc/machine/mips/memset.c: Dito.
6500 * libc/machine/mips/strcmp.c: Dito.
6501 * libc/machine/mips/strlen.c: Dito.
6502 * libc/machine/mips/strncmp.c: Dito.
6503
65042002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6505
6506 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6507 object so it works for shared library or statici library.
65082002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6509
10d00216
JJ
6510 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6511 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6512 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6513 (tzname): Defined for all platforms.
6514 (daylight, timezone): Defined only for CYGWIN.
6515 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6516 environment set up.
6517 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6518 environment variable is set.
6519 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6520 tzset_r.c.
6521 * libc/time/Makefile.in: Regenerated.
6522 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6523 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6524 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6525 * libc/time/local.h: New local header file.
6526 * libc/time/mktime.c (mktime): Add timezone support.
6527 * libc/time/mktm_r.c: New file which is the common engine
6528 for gmtime_r and lcltime_r. This code has timezone support.
6529 * libc/time/strftime.c (strftime): Add %Z timezone support.
6530 * libc/time/tzlock.c: New file containing timezone lock stubs.
6531 * libc/time/tzset.c: New file containing tzset() routine.
6532 * libc/time/tzset_r.c: New file containing _tzset_r and
6533 internal routine for calculating timezone changes for specified year.
6534
5f1c13c6
TF
65352002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6536
6537 * configure.in (CRT0_DIR): Set to libc/.
6538 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6539 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6540 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6541 $(CRT1_DIR)/$(CRT1).
6542 * libc/machine/xstormy16/Makefile.in: Regenerated.
6543 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6544 * libc/machine/xstormy16/configure: Regenerated.
6545
0cc261b1
AO
65462002-04-13 Alexandre Oliva <aoliva@redhat.com>
6547
2f3009bd
AO
6548 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6549 fails, don't bail out, and try to correct next time.
6550
0cc261b1
AO
6551 * libc/include/sys/config.h: Include limits.h.
6552
26116455
JJ
65532002-04-12 Eric Norum <eric.norum@usask.com>
6554
6555 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6556 routine to allow autoconf to determine that building executables
6557 for rtems works.
6558 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6559 (rtems_gxx_mutex_once): Ditto.
6560
4608280d
TR
65612002-04-09 Tom Rix <trix@redhat.com>
6562
6563 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6564
dea7e25c
JJ
65652002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6566
6567 * libc/include/time.h: Fix strptime declaration.
6568 * libc/time/Makefile.am: Add strptime.c.
6569 * libc/time/Makefile.in: Regenerated.
6570 * libc/time/strptime.c: New file.
6571
c5ef1e95
JJ
65722002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6573
6574 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6575 siglongjmp prototype, and sigsetjmp macro definition.
6576 * libc/sys/linux/siglongjmp.c: New file.
6577 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6578 * libc/sys/linux/Makefile.in: Regenerated.
6579
6e6cd5bd
JJ
65802002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6581
6582 * Makefile.am: Add support for installing crt1.o if one exists.
6583 * configure.host: Specify crt1.o for linux.
6584 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6585 * Makefile.in: Regenerated.
6586 * configure: Ditto.
6587 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6588 Added for non-Cygwin, non-RTEMS configurations.
6589 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6590 * libc/sys/linux/Makefile.in: Regenerated.
6591 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6592 by gcc. This fixes problem with reconfiguring linux newlib build.
6593 * libc/sys/linux/sysconf.c: New file.
6594
fa4a16a1
JJ
65952002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6596
6597 * configure.host: Add support for machine subdirectory of
6598 sys subdirectory.
6599 * configure.in: Add check for sys machine subdirectory.
6600 * Makefile.am: Ditto.
6601 * configure: Regenerated.
6602 * Makefile.in: Ditto.
6603 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6604 * libc/sys/linux/sys/syscall.h: Ditto.
6605 * libc/sys/linux/sleep.c: New file.
6606 * libc/sys/linux/socket.c: Ditto.
6607 * libc/sys/linux/sockops.h: Ditto.
6608 * libc/sys/linux/stack.c: Ditto.
6609 * libc/sys/linux/usleep.c: Ditto.
6610 * libc/sys/linux/machine/Makefile.am: Ditto.
6611 * libc/sys/linux/machine/Makefile.in: Ditto.
6612 * libc/sys/linux/machine/aclocal.m4: Ditto.
6613 * libc/sys/linux/machine/configure: Ditto.
6614 * libc/sys/linux/machine/configure.in: Ditto.
6615 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6616 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6617 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6618 * libc/sys/linux/machine/i386/configure: Ditto.
6619 * libc/sys/linux/machine/i386/configure.in: Ditto.
6620 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6621 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6622 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6623 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6624 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6625 * libc/sys/linux/sys/select.h: Ditto.
6626 * libc/sys/linux/configure.in: Add support for machine directory.
6627 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6628 * libc/sys/linux/Makefile.in: Regenerated.
6629 * libc/sys/linux/configure: Ditto.
6630 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6631 * libc/sys/linux/inode.c: Ditto.
6632 * libc/sys/linux/linux.c: Ditto.
6633 * libc/sys/linux/process.c: Ditto.
6634 * libc/sys/linux/systat.c: Ditto.
6635 * libc/sys/linux/time.c: Ditto.
6636 * libc/sys/linux/wait.c: Ditto.
6637 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6638 * libc/sys/linux/io.c: Change header plus add readv/writev.
6639 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6640 use __sigsuspend syscall.
6641 * libc/sys/linux/select.c: Change header plus change select to
6642 use _newselect syscall.
6643 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6644 used by glibc header files.
6645 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6646 types.
6647
d4dca0e4
JJ
66482002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6649
6650 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6651 initializing a struct _reent that has been dynamically allocated.
6652 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6653 _REENT_SMALL and does nothing otherwise.
6654 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6655 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6656 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6657 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6658 [_REENT_SMALL](struct _misc_reent): New structure containing
6659 miscellaneous reentrant areas needed by newlib.
6660 [_REENT_SMALL](struct _reent): Add _misc pointer.
6661 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6662 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6663 and _REENT_STRTOK_LAST macros.
6664 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6665 and _REENT_MBLEN_STATE macros.
6666 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6667 and _REENT_MBTOWC_STATE macros.
6668 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6669 and _REENT_WCTOMB_STATE macros.
6670
54a7c6d2
JJ
66712002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6672
6673 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6674
c82479b1
CF
6675Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6676
6677 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6678
43ecf6e8
JR
6679Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6680
6681 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6682 Store high part of leading bytes too.
6683
a485d93f
RS
66842002-03-22 Richard Sandiford <rsandifo@redhat.com>
6685
6686 * libm/math/ef_hypot.c: Increase scale factor to 68.
6687
62a963ee
AO
66882002-03-13 Alexandre Oliva <aoliva@redhat.com>
6689
6690 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6691 error.
6692
c53d8453
JJ
66932002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6694
6695 * libc/sys/go32/access.c: Change license to relaxed license
6696 used in identical file throughout newlib/libgloss.
6697
d2a246ad
JJ
66982002-03-12 Richard Earnshaw <rearnsha@arm.com>
6699
6700 * libc/sys/arm/access.c: New file.
6701 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6702 * libc/sys/arm/Makefile.in: Regenerate.
6703 * libc/sys/arm/syscalls.c (_stat): New function.
6704
eabb48d5
MM
67052002-03-11 Michael Meissner <meissner@redhat.com>
6706
6707 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6708 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6709 * libc/machine/mips/Makefile.in: Regenerate.
6710 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6711 * libc/machine/mips/memset.c: Dito.
6712 * libc/machine/mips/strcmp.c: Dito.
6713 * libc/machine/mips/strlen.c: Dito.
6714 * libc/machine/mips/strncmp.c: Dito.
6715
2a606041
JJ
67162002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6717
eabb48d5
MM
6718 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6719 object so it works for shared library or statici library.
6720 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 6721
55f26f11
JR
6722Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
6723
96bff22c
JR
6724 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
6725 Add memcpy.S, memset.S and strcpy.S.
6726 * libc/machine/sh/Makefile.in: Regenerate.
6727 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 6728 (SHHI, SHLO): Define.
96bff22c
JR
6729 * libc/machine/sh/memset.S: Add code for SH5.
6730 * libc/machine/sh/memset.S: Likewise.
6731 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 6732
afecf2fa
JJ
67332002-02-27 Jeff Johnston <jjohnstn@redhat.com>
6734
6735 * configure.host: Add check for --disable-newlib-io-float
6736 configuration option and add -DNO_FLOATING_POINT to newlib cflags
6737 if appropriate.
6738 * acinclude.m4: Added --disable-newlib-io-float option.
6739 * aclocal.m4: Regenerated.
6740 * configure: Ditto.
6741 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6742 * libc/*/aclocal.m4 libc/*/configure
6743 * libm/*/aclocal.m4 libm/*/configure: Ditto.
6744 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
6745 if NO_FLOATING_POINT flag is not defined.
6746
c1010a63
JJ
67472002-02-25 Jeff Johnston <jjohnstn@redhat.com>
6748
6749 * libc/include/sys/config.h: Add __extension__ in front of
6750 long long references.
6751
630c657e
CV
67522002-02-23 Corinna Vinschen <corinna@vinschen.de>
6753
6754 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
6755 (_stat): Ditto.
6756
59ee2e20
CV
67572002-02-23 Corinna Vinschen <corinna@vinschen.de>
6758
6759 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
6760 of off_t.
6761
2dd68dc2
NC
67622002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
6763
6764 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
6765 clobbered registers.
6766
55500bf1
TF
67672002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6768
6769 * configure.host (newlib_cflags): When host is in m68* add
6770 -DCOMPACT_CTYPE.
6771
ba0173f0
JJ
67722002-02-15 Jeff Johnston <jjohnstn@redhat.com>
6773
6774 * libc/include/sys/config.h: Add definitions for
6775 __int16_t, __uint16_t, __int64_t, and __uint64_t.
6776
7b61d0c5
JJ
67772002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
6778
6779 * libc/sys/mmixware/link.c: New.
6780 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
6781 volatile.
6782 * libc/sys/mmixware/times.c (_times): Renamed from times.
6783 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
6784 properly by reading previous contents, not through BinaryReadWrite.
6785 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
6786 * libc/sys/mmixware/Makefile.in: Regenerate.
6787
a505db65
CV
67882002-02-10 Corinna Vinschen <corinna@vinschen.de>
6789
6790 * libc/include/grp.h: Don't declare group functions when compiling
6791 Cygwin.
6792
f3b39c45
CV
67932002-02-09 Corinna Vinschen <corinna@vinschen.de>
6794
6795 * libc/include/grp.h: Include Cygwin specific header.
6796 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
6797 when compiling for Cygwin.
6798 * libc/include/sys/types.h: Don't define off_t, uid_t
6799 and gid_t when compiling for Cygwin.
6800
82b3ac56
MG
68012002-02-08 matthew green <mrg@redhat.com>
6802
6803 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
6804 _REENT_EMERGENCY_SIZE, not sizeof(char *).
6805
9f25eed9
AO
68062002-02-08 Alexandre Oliva <aoliva@redhat.com>
6807
6808 Contribute sh64-elf.
6809 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
6810 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
6811 support in printf.
6812 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
6813 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
6814 any labels.
6815 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
6816 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
6817 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
6818 * libc/machine/sh/configure.in: Rework conditionals.
6819 * libc/machine/sh/Makefile.am: Likewise.
6820 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
6821 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
6822 * configure.host: Match `sh*'.
6823 * libc/include/machine/setjmp.h: Define for SH5.
6824 * libc/machine/sh/configure.in: Detect SH5.
6825 * libc/machine/sh/configure: Rebuilt.
6826 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
6827 * libc/machine/sh/Makefile.in: Rebuilt.
6828 * libc/machine/sh/asm.h: Adjust for SH5.
6829 * libc/machine/sh/setjmp.S: Implement in SHmedia.
6830 * libc/sys/sh/crt0.S: Likewise.
6831 * libc/sys/sh/trap.S: Likewise.
6832
a2a405ae
JJ
68332002-02-07 Jeff Johnston <jjohnstn@redhat.com>
6834
6835 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
6836 (mach_add_obj): Conditionally set to setjmp.o or nothing.
6837 (LIB_SOURCES): Remove $(mach_add_src).
6838 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
6839 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
6840 * libc/machine/i386/Makefile.in: Regenerate.
6841
27478365
JJ
68422002-02-05 Manik Raina <manik@cisco.com>
6843
994fa212 6844 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
6845 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
6846 s, p, k, and outstr.
6847 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
6848
815a37f7
JJ
68492002-02-04 Jeff Johnston <jjohnstn@redhat.com>
6850
6851 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
6852 _REENT_CHECK_EMERGENCY macro.
6853
a4139c12
MG
68542002-02-03 matthew green <mrg@redhat.com>
6855
6856 * libc/reent/signgam.c (__signgam): Fix error in previous.
6857
8195aff7
MG
68582002-02-02 matthew green <mrg@redhat.com>
6859
6860 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
6861
6862 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
6863 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
6864 * libc/include/sys/reent.h (struct _reent): Completely new version
6865 for _REENT_SMALL.
6866 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
6867 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
6868 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
6869 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
6870 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
6871 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
6872 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
6873 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
6874 (_REENT_EMERGENCY): Likewise.
6875
6876 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
6877 the start of the real __sFILE, used for stdin, stdout and stderr until
6878 they are setup properly.
6879 (struct __sFILE): Move location of _data in _REENT_SMALL case.
6880 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
6881 allocated stdin, stdout and stderr.
6882 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
6883 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
6884 * libc/stdio/perror.c (_perror_r): Likewise.
6885 * libc/stdio/printf.c (printf, _printf_r): Likewise.
6886 * libc/stdio/putchar.c (_putchar_r): Likewise.
6887 * libc/stdio/puts.c (_puts_r): Likewise.
6888 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
6889 * libc/stdio/vprintf.c (vprintf): Likewise.
6890 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
6891
6892 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
6893
6894 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
6895 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
6896 for _REENT_SMALL.
6897 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
6898 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
6899
6900 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
6901 _REENT_SMALL.
6902 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
6903 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
6904 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
6905 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
6906 * libc/stdlib/rand48.c (__dorand48): Likewise.
6907 * libc/stdlib/seed48.c (_seed48_r): Likewise.
6908 * libc/stdlib/srand48.c (_srand48_r): Likewise.
6909 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
6910 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
6911 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
6912 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
6913 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
6914 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
6915 * libc/stdlib/rand.c (rand): Likewise.
6916
6917 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
6918 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
6919
6920 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
6921 _REENT_MP_FREELIST() and _REENT_MP_P5S.
6922 * libc/include/sys/reent.h (struct _mprec): New structure.
6923
6924 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
6925 _unused_strtok_last.
6926 * libc/string/strtok.c (strtok): Use a local static variable.
6927
6928 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
6929 (_REENT_EMERGENCY_SIZE): Likewise.
6930 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
6931 _REENT_ASCTIME_BUF().
6932 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
6933 _REENT_TM().
6934
6935 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
6936 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
6937 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
6938 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
6939 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
6940 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
6941
9c2e7642
GK
69422002-02-01 Geoffrey Keating <geoffk@redhat.com>
6943
6944 * configure.host (xstormy16): Don't use the generic malloc.
6945 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
6946 * libc/machine/xstormy16/Makefile.in: Regenerate.
6947 * libc/machine/xstormy16/mallocr.c: New file.
6948 * libc/machine/xstormy16/tiny-malloc.c: New file.
6949
4bb6112f
TF
69502002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
6951
6952 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
6953 when _CYGWIN_TYPES_H is not defined.
6954
8d345552
TF
69552002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6956
6957 * libc/include/sys/signal.h: Revert 2002-01-23 change.
6958
bcc49082
TF
69592002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6960
6961 * libc/include/sys/signal.h: Remove pthread_kill declaration
6962 when __CYGWIN__ is defined.
6963
13baedeb
CF
69642002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6965
6966 * libc/include/time.h: Add prototype for strptime for Cygwin.
6967
b2db0ebc
NC
69682002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6969
ebf139fb
NC
6970 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
6971 dst was not word aligned.
6972
b2db0ebc
NC
6973 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
6974 if too much memory is requested.
6975
798c015d
JJ
69762002-01-11 Jeff Johnston <jjohnstn@redhat.com>
6977
6978 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
6979 reads blanks from the input file to break if EOF reached
6980 rather than end processing.
6981
46ad2ef4
JJ
69822002-01-07 Jeff Johnston <jjohnstn@redhat.com>
6983
6984 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
6985
86b06396
JJ
69862002-01-07 Alan Matsuoka <alanm@redhat.com>
6987
6988 * libc/include/machine/ieeefp.h: Configure d10v doubles to
6989 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
6990 libc/include/sys/config.h: Ditto.
6991
423d5064
CV
69922001-12-28 Corinna Vinschen <corinna@vinschen.de>
6993
6994 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
6995
f6eff1c0
GK
69962001-12-22 Geoffrey Keating <geoffk@redhat.com>
6997 Catherine Moore <clm@redhat.com>
6998 Richard Henderson <rth@redhat.com>
6999 Corinna Vinschen <vinschen@redhat.com>
7000
7001 * configure.host: Add support for xstormy16.
7002 * libc/include/machine/ieeefp.h: Add support for xstormy16.
7003 * libc/include/machine/setjmp.h: Add support for xstormy16.
7004 * libc/include/sys/config.h: Add support for xstormy16.
7005 * libc/machine/xstormy16/Makefile.am: New file.
7006 * libc/machine/xstormy16/Makefile.in: New file.
7007 * libc/machine/xstormy16/aclocal.m4: New file.
7008 * libc/machine/xstormy16/configure: New file.
7009 * libc/machine/xstormy16/configure.in: New file.
7010 * libc/machine/xstormy16/setjmp.S: New file.
7011
1f93c55f
TF
70122001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7013
7014 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
7015 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
7016
13b918be
CV
70172001-12-19 Corinna Vinschen <corinna@vinschen.de>
7018
7019 * libm/machine/Makefile.am: Change rules to create correct lib.a.
7020 * libm/machine/Makefile.in: Regenerated through automake.
7021
08e857b4
TF
70222001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7023
7024 * Makefile.am (DOCDIR): Force to empty string when doc
7025 directory is not present.
7026
60565ed6
TF
70272001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7028
7029 * libc/machine/i386/f_*: Move to libm/machine/i386.
7030
70312001-12-18 Joel Sherrill <joel@OARcorp.com>
7032
7033 * libm/machine/Makefile.am: Add dummy doc stub so
7034 "make info" works.
7035
70362001-12-17 Joel Sherrill <joel@OARcorp.com>
7037
7038 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
7039
fc504135
TF
70402001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7041
7042 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
7043 $(COMPILE) rather than $(CC).
7044 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
7045 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
7046 $(LIB_COMPILE) change.
7047 (vfiprintf.$(oext)): Likewise.
7048
efeae9a3
CV
70492001-12-17 Corinna Vinschen <vinschen@redhat.de>
7050
7051 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
7052 conditionalized including of getopt stuff.
7053
cdf7120d
TF
70542001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7055
7056 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
7057 compile line.
f85be99c 7058 (vfiprintf.$(oext)): Likewise.
cdf7120d 7059
2e1a7175
TF
70602001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7061
7062 * Makefile.shared: New file.
7063 * libc/sys/linux/shared.ld: New file.
7064 * libm/machine/*: New files.
7065 * libm/machine/i386/*: New files.
7066 * Makefile.am: Add libtool support. Change math and mathfp
7067 references to variables.
7068 * configure.host: Add variables for libtool support. Add
7069 libm_machine_dir variable.
7070 * configure.in: Add objectlist variables, for libtool
7071 support. Add CC_FOR_BUILD tests.
7072 * libc/Makefile.am: Add libtool support. Change crt0.o
7073 reference to be a variable reference.
7074 * libc/configure.in: Add libtool support. Change sublib
7075 names to be lib${subdir}.la when using libtool.
7076 * libc/ctype/Makefile.am: Add libtool support.
7077 * libc/errno/Makefile.am: Likewise.
7078 * libc/locale/Makefile.am: Likewise.
7079 * libc/machine/Makefile.am: Likewise.
7080 * libc/machine/configure.in: Likewise.
7081 * libc/machine/i386/Makefile.am: Likewise.
7082 * libc/machine/i386/configure.in: Likewise.
7083 * libc/misc/Makefile.am: Likewise.
7084 * libc/posix/Makefile.am: Likewise.
7085 * libc/reent/Makefile.am: Likewise.
7086 * libc/signal/Makefile.am: Likewise.
7087 * libc/stdio/Makefile.am: Likewise.
7088 * libc/stdlib/Makefile.am: Likewise.
7089 * libc/string/Makefile.am: Likewise.
7090 * libc/sys/Makefile.am: Likewise.
7091 * libc/sys/configure.in: Likewise.
7092 * libc/sys/linux/Makefile.am: Add libtool support. Change
7093 awk reference to a variable reference. Change signal.h
7094 reference to a variable reference.
7095 * libc/sys/linux/configure.in: Add libtool support.
7096 * libc/syscalls/Makefile.am: Likewise.
7097 * libc/time/Makefile.am: Likewise.
7098 * libc/unix/Makefile.am: Likewise.
7099 * libm/Makefile.am: Add libtool support. Change math and
7100 mathfp references to variables.
7101 * libm/configure.in: Add libtool support. Add
7102 LIBM_MACHINE_LIB variable.
7103 * libm/common/Makefile.am: Add libtool support.
7104 * libm/math/Makefile.am: Likewise.
7105 * libm/mathfp/Makefile.am: Likewise.
7106 Regenerate all Makefile.in, aclocal.m4, and configure.
7107
b92591a1
JJ
71082001-12-13 Anita Kulkarni <anitak@kpit.com>
7109
7110 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
7111
355b664e
CF
71122001-12-06 John Peacock <jpeacock@rowman.com>
7113
7114 * libc/include/sys/unistd.h: Correct ualarm declaration.
7115
e9853806
NC
71162001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
7117
7118 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
7119 vector before calling the initialisation functions.
7120
a8e091b0
CF
71212001-11-29 Christopher Faylor <cgf@redhat.com>
7122
7123 * libc/include/dirent.h: Protect against multiple inclusion.
7124
ab634123
CF
71252001-11-27 Christopher Faylor <cgf@redhat.com>
7126
7127 * libc/include/sys/types.h: Define useconds_t.
7128 * libc/include/sys/ulimit.h: Declare ualarm.
7129
d37e401e
CF
71302001-11-21 Christopher Faylor <cgf@redhat.com>
7131
7132 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
7133
8ac90051
HPN
71342001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
7135
7136 * libc/sys/mmixware/*: Tweak license header in all source files.
7137
d7ca37e4
CV
71382001-11-12 Corinna Vinschen <vinschen@redhat.com>
7139
7140 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
7141 to here. Rearrange for general inclusion by stdlib.h.
7142 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
7143 isn't defined.
7144 * libc/sys/linux/include/alloca.h: Move to libc/include.
7145
28f8744e
AG
71462001-11-12 Anthony Green <green@redhat.com>
7147
7148 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
7149
4cede8c4
HPN
71502001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
7151
7152 * libc/sys/mmixware/*: Correct spacing in all source files.
7153 * libc/sys/mmixware/syscall.h: Move misplaced file...
7154 * libc/sys/mmixware/sys/syscall.h: ...here.
7155
8be9b48b
JJ
71562001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
7157
7158 * libc/include/machine/ieeefp.h: Add support for mmix target.
7159 * libc/include/machine/setjmp.h: Ditto.
7160 * configure.host: Ditto.
7161 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
7162 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
7163 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
7164 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
7165 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
7166 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
7167 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
7168 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
7169 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
7170 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
7171 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
7172 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
7173 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
7174 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
7175 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
7176 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
7177 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
7178 libc/sys/mmixware/aclocal.m4: Generate.
7179
c7dd4f95
CV
71802001-11-05 Corinna Vinschen <corinna@vinschen.de>
7181
7182 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
7183 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
7184 when __CYGWIN__ is defined.
7185 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
7186 logwtmp().
7187
a6a6f9fe
JJ
71882001-11-01 Arati Dikey <aratidikey@hotmail.com>
7189
7190 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
7191 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
7192 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
7193 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
7194
d0504c35
JJ
71952001-10-24 Christopher Faylor <cgf@redhat.com>
7196
7197 * libc/stdio/fseek.c: Reset pointer to buffer base
7198 when forced to seek outside of current buffer contents.
7199 This prevents the code from erroneously thinking there is
7200 anything in the current buffer.
7201
0280c8c0
GK
72022001-10-22 Geoffrey Keating <geoffk@redhat.com>
7203
7204 * libc/include/math.h: The C++ standard adds the single-precision
7205 versions of the elementary functions.
7206
333d6098
CF
72072001-10-22 Christopher Faylor <cgf@redhat.com>
7208
7209 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
7210 throughout.
7211 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
7212 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
7213 * system.c (_system_r): Ditto.
7214
c7118319
CV
72152001-10-17 Corinna Vinschen <corinna@vinschen.de>
7216
7217 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 7218 __CYGWIN__ or __rtems__ is defined.
c7118319 7219
5665b0e1
JJ
72202001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
7221
7222 * libc/include/stdlib.h: add declarations for
7223 _strtoull_r, _strtoll_r, strtoull, and strtoll.
7224 * libc/stdio/local.h: remove declarations of
7225 __strtoull_r and __strtoll_r.
7226 * libc/stdio/vfscanf.c(__svfscanf_r): call
7227 _strtoull_r instead of __strtoull_r. Ditto
7228 _strtoll_r vs. __strtoll_r.
7229 * libc/stdlib/Makefile.am: add new files to
7230 .c list and .def list
7231 * libc/stdlib/Makefile.in: regenerate
7232 * libc/stdlib/strtoll_r.c: rename __strtoll_r
7233 as _strtoll_r
7234 * libc/stdlib/strtoull_r.c: rename __strtoull_r
7235 as _strtoull_r
7236 * libc/stdlib/strtoull.c: new file
7237 * libc/stdlib/strtoll.c: new file
7238
d2d5eb41
CF
7239Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
7240
7241 * libc/include/process.h: Add getpid() declaration.
7242
448e3c14
NC
72432001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
7244
7245 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
7246 for new style arm/elf ctor/dtor handling.
7247 Minor formatting tidy up.
7248
7a2afbbb
JJ
72492001-09-13 Jeff Johnston <jjohnstn@redhat.com>
7250
7251 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
7252 and strtoull_r.c.
7253 * libc/stdlib/Makefile.in: Regenerated.
7254 * libc/stdlib/strtoll_r.c: New file.
7255 * libc/stdlib/strtoull_r.c: New file.
7256 * libc/stdio/local.h: Add prototypes for long long string
7257 conversion routines.
7258 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
7259 tied to %L integer conversion specifier.
7260
6342caa4
JJ
7261Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
7262
7263 * strftime.c (strftime): Fix "%W" implementation to properly handle
7264 Mondays too.
7265
b2d319cb
JJ
72662001-09-07 Jeff Law <law@redhat.com>
7267
7268 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
7269 __fini with "mov.l" instead of "mov.w".
7270
233823ba
CV
72712001-09-05 Corinna Vinschen <corinna@vinschen.de>
7272
7273 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
7274 and getopt.h.
7275
63c17b54
JJ
72762001-09-04 Jason Merrill <jason_merrill@redhat.com>
7277
7278 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
7279
a3e67ddf
CV
72802001-09-03 Corinna Vinschen <corinna@vinschen.de>
7281
7282 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
7283 field.
7284 (__DIRENT_VERSION): New define.
7285
6d47f33a
CV
72862001-09-03 Corinna Vinschen <corinna@vinschen.de>
7287
7288 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
7289 Shrink __d_reserved accordingly to keep structure size.
7290 (dirfd): Declare external.
6d47f33a 7291
348c5e06
JJ
72922001-08-29 Joel Sherrill <joel@OARcorp.com>
7293
7294 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
7295
72962001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7297
7298 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
7299 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
7300 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
7301 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
7302 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
7303 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
7304 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
7305 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
7306 Add conditional compilation to avoid HW FPU instructions
7307 when compiled for soft-float.
7308
f29865c5
JJ
73092001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7310
7311 * Makefile.am: Add check for ln failing when creating libg.a
7312 so that cp gets used as a backup.
7313 * Makefile.in: Regenerated.
7314
9e2a4ef8
JJ
73152001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7316
7317 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
7318 No longer include time.h. Add struct __tm to use for
7319 _localtime_buf in the reentrant structure. Add a
7320 _NULL definition to use in initializing the reentrant struct.
7321 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
7322 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
7323 <sys/_types.h>.
7324 * libc/include/sys/unistd.h: Include <sys/_types.h>.
7325 * libc/time/lcltime.c (localtime): Cast the reentrant struct
7326 _localtime_buf to be struct tm *.
7327
1ae900d6
JR
7328Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
7329
7330 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
7331 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
7332 __ctors_end.
7333 * libc/sys/h8300hms/syscalls.c: Include errno.h.
7334 (_unlink): New stub function.
7335
8e26d5b5
CF
7336Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
7337
7338 * libc/include/sys/errno.h: Add a cautionary comment.
7339
e8267664
JJ
73402001-08-21 Jeff Johnston <jjohnstn@redhat.com>
7341
7342 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
7343 for SIZE_SZ so that alignment ends up a minimum of 8.
7344
4acf3edf
CF
7345Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
7346
7347 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
7348 arguments.
7349
7350 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
7351 Cygwin.
7352
52c80be8
JJ
73532001-08-13 Jeff Johnston <jjohnstn@redhat.com>
7354
7355 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
7356 macro constants for mallopt options.
7357 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
7358
a7061f7f
JJ
73592001-08-02 Jeff Johnston <jjohnstn@redhat.com>
7360
7361 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
7362 otherwise default.
7363
0b4bfdd5
AH
73642001-07-12 Aldy Hernandez <aldyh@redhat.com>
7365
7366 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
7367
2b6b730c
NC
73682001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
7369
7370 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
7371 Define for little endian ARMs.
7372
7373 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
7374 __IEEE_BYTES_LITTLE_ENDIAN is defined.
7375
25842b68
JJ
73762001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
7377
7378 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
7379
371b76ef
JJ
73802001-06-11 Egor Duda <deo@logos-m.ru>
7381
7382 * libc/ctype/ctype_.c: When compiled with gcc on platforms
7383 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
7384 initialized memory region. Platform can define COMPACT_CTYPE
7385 to avoid allocation of the additional 128 bytes of data.
7386 Add pointer to _ctype_ array. Always initialize all _ctype_
7387 array elements.
7388
43b44bc5
JL
73892001-06-08 Jonathan Larmour <jlarmour@redhat.com>
7390
7391 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
7392 NULL pointer.
7393
188bc140
NC
73942001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
7395
7396 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
7397
2ce88418
NC
73982001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
7399
7400 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
7401 matching, non-word alignment, and the length is <= 4 but more than
7402 enough to move them over a word boundary.
7403 Add comments explaining what each instruction does.
7404
ca60ed47
CF
7405Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
7406
7407 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 7408 * libc/include/sys/unistd.h: Ditto.
ca60ed47 7409
8b3bcfba
JJ
74102001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
7411
7412 * libc/string/strrchr.c: Use strchr for the speed improvements.
7413
b09e3cf8
JJ
74142001-05-01 Jeff Johnston <jjohnstn@redhat.com>
7415
7416 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
7417 real file systems, let __smakebuf() determine if line buffering
7418 should be used for stdout.
7419
0ca66974
JJ
74202001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7421
7422 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
7423
7cb7017a
JJ
74242001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7425
7426 * libc/include/stdlib.h: Add prototype for _strtod_r.
7427
a874cd21
JJ
74282001-04-24 Charles Wilson <cwilson@ece.gatech.edu
7429
7430 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
7431 * libc/stdio/vprintf.c (_vprintf_r): new function
7432 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
7433 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
7434 _DEFUN, and call _vfprintf_r, not vfprintf.
7435 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
7436 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
7437 _DEFUN, and call _vfprintf_r, not vfprintf.
7438
cb4cc283
CF
74392001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
7440
7441 * libc/include/sys/unistd.h [X_OK]: Use better protection against
7442 Cygwin X_OK definitions in sys/file.h.
7443
8c9df1d5
CF
7444Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
7445
7446 * libc/include/sys/time.h: Define timercmp and other macros for
7447 __CYGWIN__, too.
7448
3ac6f3a7
JJ
74492001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7450
7451 * acinclude.m4: Added --enable-malloc-debugging configure flag.
7452 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
7453 --enable-malloc-debugging selected.
7454 * aclocal.m4 configure: Regenerated.
7455 libm/aclocal.m4 libm/configure: Ditto.
7456 * libc/aclocal.m4 libc/configure: Ditto.
7457 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
7458 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
7459 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
7460 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
7461 * doc/aclocal.m4 doc/configure: Ditto.
7462
52cb9e69
JJ
74632001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7464
7465 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
7466 into one list.
7467 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
7468 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
7469 function prototypes.
7470 (_fscanf_r, _sscanf_r): Ditto.
7471 * libc/include/stdlib.h: Added _strtod_r prototype.
7472 * libc/stdio/Makefile.am: Add new v*scanf functions.
7473 * libc/stdio/Makefile.in: Regenerate.
7474 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
7475 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
7476 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
7477 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
7478 (sscanf): Changed to call __svfscanf_r with _REENT argument.
7479 (_sscanf_r): New routine.
7480 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
7481 with __svfscanf_r prototype.
7482 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
7483 routines.
7484 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
7485 structure as argument as calls reentrant versions of helper functions
7486 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
7487 to _strtol_r and _strtod_r respectively.
7488 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
7489 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
7490 _REENT argument.
7491 * libc/stdio/vscanf.c: New file.
7492 * libc/stdio/vsscanf.c: Ditto.
7493
ee9f39fb
JJ
74942001-04-19 Robert Collins <rbtcollins@hotmail.com>
7495
7496 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
7497 Define daylight to _daylight if it is not defined
7498 Prepare a variable export of timezone based on timezonevariable.
7499 (Cannot be used with the timezone() function.)
7500
273861e3
JJ
75012001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
7502
7503 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
7504 Correct the numerical values.
7505
a25b8414
CF
75062001-04-13 Robert Collins <rbtcollins@hotmail.com>
7507
7508 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
7509
b8a8c59d
CV
7510Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
7511
7512 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
7513 on case insensitve file systems.
7514
74f8cc63
CF
75152001-04-12 Robert Collins <rbtcollins@hotmail.com>
7516
7517 * libc/include/sys/features.h: Add appropriate defines for Cygwin
7518 pthread support.
7519 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
7520 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
7521 types. Include <cygwin/types.h> for the cygwin specific typedefs.
7522
16740220
RS
75232001-04-04 Richard Sandiford <rsandifo@redhat.com>
7524
7525 * libc/include/machine/ieeefp.h: Comment about new configuration
7526 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
7527 * libm/common/fdlib.h: Define new macros for testing floats.
7528 * libm/common/sf_*: Use them.
7529 * libm/math/ef_*: Likewise.
7530 * libm/math/sf_*: Likewise.
7531
0694d8d3
JJ
75322001-03-29 Jeff Johnston <jjohnstn@redhat.com>
7533
7534 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
7535 prolog to by-pass possible assembler error.
7536
4833b38c
JJ
75372001-03-21 Egor Duda <deo@logos-m.ru>
7538
7539 Allow building internal stubs for non-reentrant syscalls
7540 if target provides its own malloc
7541 * libc/reent/reent.c (errno): Move definition here.
7542 * libc/reent/sbrkr.c: From here.
7543
d17d6d42
CF
75442001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
7545
7546 * libc/include/sys/types.h (BSD int typedefs): Guard with
7547 _BSDTYPES_DEFINED rather than _WINSOCK_H.
7548 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
7549 _SYS_TYPES_FD_SET.
7550 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
7551 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
7552
c7ee75cd
CV
7553Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
7554
7555 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7556 _PC_POSIX_SECURITY constants for Cygwin.
7557
63dc5d80
CV
7558Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
7559
7560 * libc/sys/cygwin/crt0.c: Add copyright hint.
7561 * libc/sys/cygwin/sys/dirent.h: Ditto.
7562 * libc/sys/cygwin/sys/param.h: Ditto.
7563 * libc/sys/cygwin/sys/utime.h: Ditto.
7564 * libc/sys/cygwin/sys/utmp.h: Ditto.
7565
6f637037
AO
75662001-03-13 Alexandre Oliva <aoliva@redhat.com>
7567
7568 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
7569 equivalent to LONGINT.
7570
e69b6f73
JJ
75712001-03-08 Richard Sandiford <rsandifo@redhat.com>
7572
7573 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
7574 jmpbuf on MIPS64 targets.
7575 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
7576
6198dece
CF
7577Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
7578
e69b6f73
JJ
7579 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
7580 declarations.
6198dece 7581
cfc05d96
JJ
7582Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
7583
7584 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
7585 For RTEMS, define to be ssize_t. Default to int if not defined.
7586 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
7587 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
7588 * libc/stdio/local.h (__sread, __swrite): Likewise.
7589 * libc/include/sys/reent.h (_read, _write): Likewise.
7590 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
7591 * libc/syscalls/sysread.c (read): Likewise.
7592 * libc/syscalls/syswrite.c (write): Likewise.
7593
6249353a
JJ
75942001-03-05 Jeff Johnston <jjohnstn@redhat.com>
7595
7596 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
7597
658b5db9
CF
7598Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
7599
7600 * libc/include/sys/stat.h: Use special defines for executable stat bits
7601 when compiling for Cygwin.
7602 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
7603 for Cygwin.
7604
19ca46d5
JJ
76052001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7606
7607 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
7608 of strtok_r is always defined.
7609
b73ed85e
JJ
76102001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7611
7612 * libc/include/machine/ansi.h: New dummy header file.
7613
ee37ede1
JJ
76142001-02-22 Jeff Johnston <jjohnstn@redhat.com>
7615
7616 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
7617 changed the copyright information to allow free modification of the
7618 file with no reference to "copying.dj".
7619 * libc/include/sys/stat-dj.h: Ditto.
7620 * libc/machine/i386/setjmp.S: Ditto.
7621 * libc/sys/h8300hms/sys/file.h: Ditto.
7622 * libc/sys/sysmec/access.c: Ditto.
7623 * libc/sys/sysnecv850/access.c: Ditto.
7624 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
7625 * libc/stdlib/getenv_r.c: Ditto.
7626 * libc/stdlib/putenv_r.c: Ditto.
7627 * libc/stdlib/setenv_r.c: Ditto.
7628 * libc/stdlib/getenv.c: Removed DJ reference since any possible
7629 modifications will now be in the _r version of this file.
7630 * libc/stdlib/putenv.c: Ditto.
7631 * libc/stdlib/setenv.c: Ditto.
7632 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
7633 valid. Added a reference to DJ's web page that contains his address.
7634 * libc/sys/go32/*.s: Removed references to DJ's old address.
7635 * libc/sys/go32/*.c: Ditto.
7636 * libc/sys/go32/*.h: Ditto.
7637 * libc/sys/go32/*.S: Ditto.
7638 * libc/sys/go32/sys/*.h: Ditto.
7639
3a8fc0e4
JJ
76402001-02-21 Jeff Johnston <jjohnstn@redhat.com>
7641
7642 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
7643 HAVE_FCNTL flag check.
7644 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
7645 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
7646
b24ee749
CF
7647Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
7648
7649 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
7650
ab4745dc
JJ
76512001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7652
7653 * libc/include/stdlib.h: Add declarations of rand48 functions and
7654 their reentrant versions.
7655 * libc/include/sys/reent.h: Move macros from rand48.h. Add
7656 struct _rand48 for shared parameters of rand48 functions.
7657 (struct _reent): Add a variable _r48 of struct _rand48.
7658 (_REENT_INIT): Add _r48 initialization.
7659 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
7660 (CHEWOUT_FILES): Add rand48.def.
7661 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
7662 * libc/stdlib/Makefile.in: Regenerated.
7663 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
7664 NetBSD C library.
7665 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
7666 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
7667 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
7668 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
7669 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
7670 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
7671 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
7672 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
7673 * libc/stdlib/rand48.c (__dorand48): Ditto.
7674 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
7675 parameters into macros referring them in the reentrant structure.
7676
a34c461f
JJ
76772001-02-12 Jeff Johnston <jjohnstn@redhat.com>
7678
7679 * libc/include/sys/stat.h: Add mknod for Cygwin now that
7680 Cygwin definition has correct prototype.
7681
34f31ff2
JJ
76822001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7683
7684 * libc/include/sys/stat.h: Must revert change for mknod
7685 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
7686 prototype.
7687
5336d6de
JJ
76882001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7689
7690 * libc/include/stdio.h: Revert putw prototype.
7691
8915d10a
JJ
76922001-02-08 Edward M. Lee <tailbert@yahoo.com>
7693
7694 * libc/include/grp.h: add prototype for initgroups.
7695 * libc/include/stdio.h: fix prototype for putw.
7696 * libc/include/sys/signal.h: add prototype for killpg.
7697 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
7698 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
7699 vhangup and remove duplicate sysconf prototype.
7700
93ac4487
JJ
77012001-02-07 Jeff Johnston <jjohnstn@redhat.com>
7702
7703 * libc/sys/rtems/sys/types.h: Removed.
7704
31f5feea
JJ
77052001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
7706
7707 * libc/include/locale.h: add LC_MESSAGES definition
7708
b5139f59
AO
77092001-02-01 Alexandre Oliva <aoliva@redhat.com>
7710
7711 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
7712 SYS_get_argN):
7713 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
7714 __setup_argv_and_call_main): New.
7715
e29d8355
JJ
77162001-01-31 Jeff Johnston <jjohnstn@redhat.com>
7717
7718 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
7719 if defined.
7720 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
7721 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
7722 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
7723 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
7724
82ea92f3
CF
7725Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
7726
7727 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
7728 compiling under Cygwin.
7729
3aaa66f8
JJ
77302001-01-29 Jeff Johnston <jjohnstn@redhat.com>
7731
7732 * libc/include/math.h (signgam): Change to errno-like solution
7733 using a function to return the address of the real signgam.
7734 * libc/reent/signgam.c: New file containing __signgam().
7735 * libc/reent/Makefile.am: Added signgam.c to list of files.
7736 * libc/reent/Makefile.in: Regenerated.
7737
610b895a
AO
77382001-01-25 Alexandre Oliva <aoliva@redhat.com>
7739
b0913397
AO
7740 * libc/sys/sh/syscalls.c (_times): New.
7741
610b895a
AO
7742 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
7743 * libc/sys/sh/syscalls.c (_gettimeofday): New.
7744
3643210e
JJ
77452001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7746
7747 * libc/include/math.h (signgam): Regress previous fix as
7748 it does not handle programs with extern int signgam in them.
7749
841081c9
JJ
77502001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7751
7752 * libc/include/math.h (signgam): Changed to a macro refering to
7753 its location in the reentrant structure.
7754
e9cd87b8
JJ
77552001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7756
7757 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
7758 that suppressed . for %.0f, 0.1. Check now looks if there
7759 are padding zeroes (expt) in addition to any digits (ndig) to
7760 print.
7761
a302b48c
JJ
77622001-01-18 Jeff Johnston <jjohnstn@redhat.com>
7763
7764 * libc/sys/arc/Makefile.am: New file.
7765 * libc/sys/arc/Makefile.in: Ditto.
7766 * libc/sys/arc/aclocal.m4: Ditto.
7767 * libc/sys/arc/configure: Ditto.
7768 * libc/sys/arc/configure.in: Ditto.
7769 * libc/sys/arc/crt0.S: Ditto.
7770 * libc/sys/arc/isatty.c: Ditto.
7771 * libc/sys/arc/mem-layout.c: Ditto.
7772 * libc/sys/arc/sbrk.c: Ditto.
7773 * libc/sys/arc/syscalls.c: Ditto.
7774 * libc/sys/arc/sys/syscall.h: Ditto.
7775
d0319c3b
CF
7776Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
7777
7778 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
7779
e45ab890
CF
7780Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
7781
7782 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
7783
1376245a
DD
7784Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
7785
7786 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
7787
92b57543
NC
77882001-01-09 Nick Clifton <nickc@redhat.com>
7789
7790 * configure.host (v859): Remove unsupported compiler options.
7791
7d6d33d4
JJ
7792Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
7793
7794 * src/newlib/configure.host (*-*-rtems*): add printf long long
7795 support for RTEMS.
7796
602f8b5a 77972000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
7798
7799 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
7800
9c2b8183
JJ
7801Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7802
7803 * configure.host: Turn on long double I/O for Cygwin.
7804
804368d3
JJ
7805Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7806
7807 * MAINTAINERS: Removed Ranjith.
7808 * NEWS: Updated for 1.9.0.
7809 * README: Updated.
7810 * acinclude.m4: Updated to release 1.9.0.
7811 * aclocal.m4 configure
7812 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
7813 libc/machine/aclocal.m4 libc/machine/configure
7814 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
7815 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
7816 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
7817 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
7818 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
7819 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
7820 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
7821 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
7822 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
7823 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
7824 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
7825 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
7826 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
7827 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
7828 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
7829 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
7830 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
7831 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
7832 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
7833 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
7834 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7835 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7836 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7837 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
7838 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7839 libc/sys/aclocal.m4 libc/sys/configure
7840 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7841 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7842 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7843 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7844 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7845 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7846 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7847 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7848 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
7849 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7850 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7851 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7852 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7853 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7854 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7855 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7856 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7857 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7858 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7859 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7860 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7861 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7862 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7863 libm/aclocal.m4 libm/configure: Regenerated.
7864
0985d43f
CV
7865Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7866
7867 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
7868 when __CYGWIN__ is defined.
7869
b6182a09
JJ
78702000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7871
7872 * libc/stdlib/ldtoa.c (_ldcheck): New routine
7873 that categorizes a long double as NaN, Infinity, or other.
7874 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
7875 isinfl and isnanl static routines which were i386-specific. Changed
7876 calls to the two removed routines to a single _ldcheck call.
7877 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
7878
adbbb034
JJ
78792000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7880
7881 * Makefile.am: Fixed install-data-local target to use
7882 $(mkinstalldirs) for the installed header files to ensure
7883 the directories exist before copying.
7884 * Makefile.in: Regenerated.
7885
cbd19336
JJ
78862000-12-12 Jeff Johnston <jjohnstn@redhat.com>
7887
7888 * libc/include/sys/unistd.h: Restored Cygwin _SC
7889 constants and moved new constants appropriately
7890 so Cygwin will build.
7891
8fb37963
JJ
78922000-12-11 Joel Sherrill <joel@OARcorp.com>
7893
7894 * Merge RTEMS specific .h files into main libc/include.
7895 * libc/sys/rtems/include/signal.h: Removed.
7896 * libc/sys/rtems/include/time.h: Removed.
7897 * libc/sys/rtems/sys/features.h: Removed.
7898 * libc/sys/rtems/sys/sched.h: Removed.
7899 * libc/sys/rtems/sys/siginfo.h: Removed.
7900 * libc/sys/rtems/sys/signal.h: Removed.
7901 * libc/sys/rtems/sys/time.h: Removed.
7902 * libc/sys/rtems/sys/times.h: Removed.
7903 definitions for time_t and clock_t since these are
7904 no longer in time.h.
7905 * libc/include/pthread.h: New file.
7906 * libc/include/sys/sched.h: New file.
7907 * libc/include/sys/features.h: New file.
7908 * libc/include/time.h: Removed duplicate definition of clock_t
7909 and time_t, get them from <sys/types.h> instead. Add prototypes
7910 for POSIX clock and timer functionality.
7911 * libc/sys/linux/sys/types.h: Changed to include
7912 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
7913 * libc/include/sys/signal.h: Add more complete set of POSIX
7914 signal functionality including real-time and threaded signals.
7915 * libc/include/sys/types.h: Add clock_t, time_t, struct
7916 timespec, and struct itimerspec. Centralizing these makes
7917 things cleaner. RTEMS uses 64-bit dev_t.
7918 Added numerous primitive definitions
7919 for pthreads including macros, pthread_attr_t,
7920 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
7921 pthread_once_t, and pthread_t.
7922 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
7923 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
7924 Feature flags removed and moved to new file <sys/features.h>.
7925 Full set of POSIX sysconf() constants
7926
2efbc2a7
JJ
79272000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
7928
7929 * configure.host: Added x86 linux target.
7930 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
7931 definitions provided if not already defined.
7932 * libc/sys/linux/crt0.c: New file.
7933 * libc/sys/linux/Makefile.am: Ditto.
7934 * libc/sys/linux/Makefile.in: Ditto.
7935 * libc/sys/linux/aclocal.m4: Ditto.
7936 * libc/sys/linux/brk.c: Ditto.
7937 * libc/sys/linux/configure: Ditto.
7938 * libc/sys/linux/configure.in: Ditto.
7939 * libc/sys/linux/getoptlong.c: Ditto.
7940 * libc/sys/linux/ids.c: Ditto.
7941 * libc/sys/linux/inode.c: Ditto.
7942 * libc/sys/linux/io.c: Ditto.
7943 * libc/sys/linux/linux.c: Ditto.
7944 * libc/sys/linux/process.c: Ditto.
7945 * libc/sys/linux/realpath.c: Ditto.
7946 * libc/sys/linux/select.c: Ditto.
7947 * libc/sys/linux/signal.c: Ditto.
7948 * libc/sys/linux/systat.c: Ditto.
7949 * libc/sys/linux/termios.c: Ditto.
7950 * libc/sys/linux/time.c: Ditto.
7951 * libc/sys/linux/wait.c: Ditto.
7952 * libc/sys/linux/include/alloca.h: Ditto.
7953 * libc/sys/linux/include/getopt.h: Ditto.
7954 * libc/sys/linux/include/stdint.h: Ditto.
7955 * libc/sys/linux/include/unistd.h: Ditto.
7956 * libc/sys/linux/sys/cdefs.h: Ditto.
7957 * libc/sys/linux/sys/dirent.h: Ditto.
7958 * libc/sys/linux/sys/errno.h: Ditto.
7959 * libc/sys/linux/sys/fcntl.h: Ditto.
7960 * libc/sys/linux/sys/file.h: Ditto.
7961 * libc/sys/linux/sys/ioctl.h: Ditto.
7962 * libc/sys/linux/sys/resource.h: Ditto.
7963 * libc/sys/linux/sys/signal.h: Ditto.
7964 * libc/sys/linux/sys/stat.h: Ditto.
7965 * libc/sys/linux/sys/syscall.h: Ditto.
7966 * libc/sys/linux/sys/termios.h: Ditto.
7967 * libc/sys/linux/sys/time.h: Ditto.
7968 * libc/sys/linux/sys/types.h: Ditto.
7969 * libc/sys/linux/sys/utmp.h: Ditto.
7970 * libc/sys/linux/sys/utsname.h: Ditto.
7971 * libc/sys/linux/sys/wait.h: Ditto.
7972
a08c98bb
JJ
79732000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7974
7975 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
7976 can be a relative path to $(top_srcdir)/install.sh so ensure the
7977 autoconf detected settings are properly passed recursively.
7978 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
7979 properly to subdirectories.
7980 * Makefile.in: Regenerated.
7981
b294082c
JJ
79822000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
7983
7984 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
7985 a floating point register unless really printing a floating
7986 point number.
7987
2005ab6b
JJ
79882000-12-07 Jeff Johnston <jjohnstn@redhat.com>
7989
7990 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
7991 Also removed \r's.
7992 (asctoeg): Replaced alloca call with stack array and malloc
7993 when storage exceeds reasonable limit.
7994 (e53toe): Fixed einfin calls missing ldp parameter.
7995 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
7996
9f6e8f1b
JJ
79972000-12-06 Jeff Johnston <jjohnstn@redhat.com>
7998
2005ab6b 7999
9f6e8f1b
JJ
8000 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
8001
6bdac416
JJ
80022000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8003
8004 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
8005 * libc/stdlib/Makefile.in: Regenerated.
8006 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
8007 * libc/stdio/vfieeefp.h: Added long double bit structures.
8008 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
8009 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
8010 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
8011 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
8012 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
8013 _strtold routines used for conversions between character
8014 and long double.
8015
ec270d31
CV
8016Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8017
8018 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
8019
db2d9549
JJ
80202000-12-04 Joel Sherrill <joel@OARcorp.com>
8021
8022 * libc/include/machine/time.h: RTEMS systems can configure clock
8023 tick rate so use sysconf() to ask.
8024
6ba54a15
JJ
80252000-12-04 Joel Sherrill <joel@OARcorp.com>
8026
8027 * libc/include/sys/times.h: Add reference to POSIX standard.
8028
8677b819
JJ
80292000-12-04 Joel Sherrill <joel@OARcorp.com>
8030
8031 * libc/include/sys/time.h: Added BSD timer manipulation macros
8032 used by RTEMS code.
8033
1b61a706
JJ
80342000-12-04 Joel Sherrill <joel@OARcorp.com>
8035
8036 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
8037 referenced by code generated by gcc 2.8.1.
8038 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
8039 satisfy gcc.
8040
f5e7c124
JJ
80412000-12-04 Joel Sherrill <joel@OARcorp.com>
8042
8043 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
8044
768abc9c
JJ
80452000-12-04 Joel Sherrill <joel@OARcorp.com>
8046
8047 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
8048
9e5dd5ea
JJ
80492000-12-04 Joel Sherrill <joel@OARcorp.com>
8050
8051 * configure.host (or16, or32): New entries for OpenCores
8052 OpenRisc CPUs.
8053 (*-*-rtems*): Add -DNO_EXEC.
8054
768abc9c 80552000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
8056
8057 * libc/include/sys/errno.h: Added comments on many error numbers.
8058 * libc/string/strerror.c: Added some more strings.
8059
b273323f
JJ
80602000-11-30 Jeff Johnston <jjohnstn@redhat.com>
8061
8062 * libc/sys/sh/syscalls.c (_link): New stub.
8063
0ffc3b94
NC
80642000-11-29 Nick Clifton <nickc@redhat.com>
8065
8066 * configure.host: Add xscale target.
8067 * libc/machine/xscale: New directory.
8068 * libc/machine/xscale/Makefile.am: New file.
8069 * libc/machine/xscale/Makefile.in: New file.
8070 * libc/machine/xscale/aclocal.m4: New file.
8071 * libc/machine/xscale/configure: New file.
8072 * libc/machine/xscale/configure.in: New file.
8073 * libc/machine/xscale/memchr.S: New file.
8074 * libc/machine/xscale/memcmp.S: New file.
8075 * libc/machine/xscale/memcpy.S: New file.
8076 * libc/machine/xscale/memmove.S: New file.
8077 * libc/machine/xscale/memset.S: New file.
8078 * libc/machine/xscale/strchr.S: New file.
8079 * libc/machine/xscale/strcmp.S: New file.
8080 * libc/machine/xscale/strcpy.S: New file.
8081 * libc/machine/xscale/strlen.S: New file.
8082
cbbf0f96
CV
8083Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8084
8085 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
8086 avoid compiler warnings.
8087
73dea790
MM
80882000-11-22 Michael Meissner <meissner@redhat.com>
8089
8090 * libc/posix/execl.c (execl): Don't reference environ directly,
8091 reference it only via a static pointer to avoid problems with some
8092 shared library systems and with different uses of small data where
8093 the user specifies his own version of environ.
8094 * libc/posix/execv.c (execv): Ditto.
8095 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
8096 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
8097 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
8098
8099 * libc/stdlib/getenv.c (environ): Delete unused reference to
8100 environ.
8101
8102 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
8103 colorization.
8104 * libc/stdlib/system.c: Ditto.
8105
08eac2ae
CF
8106Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
8107
8108 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
8109 including windows headers.
8110
5478bf37
JJ
81112000-11-20 Jeff Johnston <jjohnstn@redhat.com>
8112
8113 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
8114 * libc/include/dirent.h: Added definition of MAXNAMLEN if
8115 not defined by sys/dirent.h.
8116 * libc/posix/execvp.c: Added include of dirent.h to get
8117 MAXNAMLEN value which used to be in unistd.h.
8118
3a760728
CV
8119Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8120
8121 * libc/include/sys/types.h: Change type of i to `size_t' in
8122 FD_ZERO macro to avoid compiler warnings.
8123
86fff69f
CF
8124Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
8125
8126 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
8127 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
8128
ba9e88d2
CV
8129Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8130
8131 * libc/include/sys/unistd.h: Add defines for sysconf values
8132 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
8133 _SC_AVPHYS_PAGES.
8134
a8018ef3
CF
8135Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
8136
8137 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
8138 declarations for __CYGWIN__.
8139
b944c6f6
GK
81402000-09-19 Geoffrey Keating <geoffk@cygnus.com>
8141
8142 * libc/signal/signal.c (__sigtramp_r): ISO C requires
8143 case labels to be integral constant expressions, so
8144 use an if/else tree instead.
8145 (_raise_r): Likewise.
8146
7f18fcb4
JJ
81472000-09-13 Jeff Johnston <jjohnstn@redhat.com>
8148
8149 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
8150 clipping patch from e-mail reader.
8151
242361df
JJ
81522000-09-13 Will Cohen <wcohen@redhat.com>
8153
8154 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
8155 Added return value 0.
8156 (_longjmp): Allow longjmp to return value of second argument
8157 passed to it.
8158
8a8c59b9
JJ
81592000-09-06 Jeff Johnston <jjohnstn@redhat.com>
8160
8161 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
8162 inline code to prevent having to include another header file.
8163
a385ae75
CF
8164Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
8165
8166 * Makefile.am: Fix space vs. tab problem in install-data-local.
8167 * Makefile.in: Regenerate.
8168
8169Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
8170
8171 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
8172 (_EXPARM): New macro for defining a function parameter.
8173 * libc/include/stdlib.h: Use _EXPARM.
8174 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
8175
a36cd013
JJ
81762000-09-05 Manfred Hollstein <manfredh@redhat.com>
8177
8178 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
8179 required, as documented in the gnu coding standards.
8180 * Makefile.in: Regenerate.
8181
f825dfda
JJ
81822000-09-05 Jeff Johnston <jjohnstn@redhat.com>
8183
8184 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
8185 make O_NDELAY and O_NONBLOCK have the same value.
8186
4ba9aab7
JJ
81872000-08-30 Kazu Hirata <kazu@hxi.com>
8188
8189 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
8190
db7acc38
JJ
81912000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
8192
8193 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
8194 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
8195 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
8196 everywhere else.
8197
44e36af4
GK
81982000-08-30 Geoffrey Keating <geoffk@cygnus.com>
8199
8200 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
8201 * libc/include/string.h: Don't include <sys/types.h>,
8202 as it causes really bad namespace pollution. Don't declare
8203 swab(), it is properly declared in unistd.h.
8204
00a2f168
JJ
82052000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
8206
8207 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
8208 (broken) support for non-existent /etc/passwd field "comment".
8209
6beeb240
JJ
82102000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8211
8212 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
8213 only if _DIRENT_HAVE_D_NAMLEN is defined.
8214 (alphasort): aligned prototype with
8215 libc/sys/cygwin/sys/dirent.h and simplified function body.
8216 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
8217 long telldir (DIR *) as mentioned in annex B of POSIX.1
8218
ef44da42
JJ
82192000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8220
8221 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
8222 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
8223 Added __CLI and __STI macros (controlled via
8224 _I386MACH_ALLOW_HW_INTERRUPTS macro).
8225 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
8226 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
8227 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
8228 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
8229 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
8230 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
8231 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
8232 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
8233 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
8234 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
8235 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
8236 for all global entry points.
8237 * libc/machine/i386/setjmp.S: removed code replicated in
8238 libc/machine/i386/i386mach.h and included i386mach.h instead;
8239 Use __CLI and __STI instead of cli and sti.
8240
14d3488d
DD
82412000-08-25 DJ Delorie <dj@redhat.com>
8242
8243 * libc/include/sys/unistd.h (environ): this one isn't from the
8244 DLL, no __IMPORT
8245
c9ca4412
CF
8246Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
8247
8248 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
8249 environ when compiling under cygwin since it is already declared in
8250 unistd.h.
8251
2d5862de
JJ
82522000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8253
8254 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
8255 like x << y-z to the equivalent x << (y-z).
8256 (d2b): changed if statements with assignment to perform the
8257 assignment prior to the if check.
8258 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
8259 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
8260 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
8261 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
8262 precedence.
8263 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
8264 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
8265 execve.c).
8266 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
8267 precedence.
8268 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
8269 clarify && and || precendence (and to remove pascalism).
8270 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
8271 * libm/math/s_infconst.c: added another pair of braces to all
8272 initializers for __infinity (need three: for __infinity[1] array,
8273 for union __dmath, and for i[2]).
8274
0888fedd
JJ
82752000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8276
199359f0
JJ
8277 * libc/stdlib/abort.c: changed description: uses "raise" instead of
8278 "getpid" and "kill"; added: uses "write" and "_exit".
8279 Also included unistd.h for "_exit" prototype.
8280 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
8281 reent.h for "_fork_r" and "_wait_r" prototypes.
8282 (do_system): changed extern char *environ[] to POSIX-friendly
8283 extern char **environ.
8284 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
8285 prototypes.
8286 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
8287 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
8288 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
8289 * libc/reent/openr.c: included fcntl.h for "open" prototype.
8290 * libc/reent/signalr.c: included signal.h for "kill" prototype,
8291 unistd.h for "getpid" prototype.
8292 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
8293 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
8294 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
8295 prototype. Also included stdlib.h for "abort", string.h for
8296 "strdup" and "strncmp" prototypes.
8297 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
8298 "strncpy", unistd.h for "read" and "close" prototypes.
8299 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
8300 "strcat" prototypes.
8301
83022000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
8303
0888fedd
JJ
8304 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
8305 used later (ifdef __SCLE)
8306 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
8307 used later (ifdef MB_CAPABLE)
8308 * libc/string/memset.c (memset): removed unused variables "count"
8309 and "unaligned_addr"
8310 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
8311 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
8312 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
8313 and "gid"
8314
a334e5ef
JJ
83152000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8316
8317 * libc/stdlib/envlock.c: changed documented "__env_lock" and
8318 "__env_unlock" prototype from "void *" or "char *" to
8319 "struct _reent *" to match real function. Also added include
8320 of envlock.h.
8321 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
8322 "__malloc_unlock" prototype from "void *" or "char *" to
8323 "struct _reent *" to match real function.
8324 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
8325 prototypes (for getenv_r.c and setenv_r.c).
8326
644b7f26
DD
83272000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
8328
8329 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
8330 and prototype in cygwin's utmp.h
8331
5bacbf10
JJ
83322000-08-16 Eric Fifer <efifer@sanwaint.com>
8333
8334 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
8335
38a6bf98
NC
83362000-08-09 Nick Clifton <nickc@cygnus.com>
8337
8338 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
8339 epilogue and to allow the functions to be used in a Thumb based
8340 toolchain.
8341
befe0fb3
JJ
83422000-08-08 Jeff Johnston <jjohnstn@redhat.com>
8343
8344 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
8345 so size of 0 results in nothing being written to string.
8346 Also fixed code so that when size is non-zero, there is only
8347 a maximum of size - 1 characters written to the array and
8348 a nul terminator is appended at the end.
8349 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
8350
749d9bcd
DD
83512000-08-01 DJ Delorie <dj@redhat.com>
8352
8353 * libc/include/sys/config.h: define __IMPORT appropriately
8354 * libc/include/ctype.h (_ctype_): use __IMPORT
8355 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
8356 * libc/include/math.h (__mb_cur_max): ditto
8357 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
8358 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
8359 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
8360 * libc/include/unistd.h (environ): ditto
8361
7c110b17
MM
83622000-07-28 Michael Meissner <meissner@redhat.com>
8363
8364 * libc/include/math.h (__infinity): Declare as an array without
8365 bounds to get around small data support. Rewrite Cygwin support
8366 to be more general.
8367 * libm/math/s_infconst.c (__infinity): Ditto.
8368 * libm/mathfp/s_infconst.c (__infinity): Ditto.
8369
bf7be721
CF
8370Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
8371
8372 * libc/include/math.h: Use appropriate dll import linkage for
8373 __infinity under Cygwin.
8374
91a8d90b
DD
83752000-07-13 DJ Delorie <dj@cygnus.com>
8376
8377 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
8378
ba2048d3
JJ
8379Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
8380
8381 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
8382 to argument list for AngelSWI_Reason_GetCmdLine.
8383
4634da64
JJ
8384Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8385
8386 * configure.host: Add support for AVR target.
8387 * libc/include/machine/ieeefp.h: Likewise.
8388 * libc/include/sys/config.h: Likewise.
8389
b19f72a2
RK
8390Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8391
8392 * README: Newlib 1.8.2 must be built in a separate directory
8393 than the sources.
8394
a704d94a
JJ
8395Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8396
8397 * libc/include/sys/reent.h (_rand_next): Added __extension__
8398 qualifier as long long type is not strict ANSI.
8399 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
8400 to long long constant.
8401
b585720b
CV
8402Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
8403
8404 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
8405 `setegid' provided by Cygwin.
8406
01c327ba
CV
8407Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
8408
8409 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
8410 account for Cygwin.
8411
46a43a99
JJ
8412Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8413
8414 * libc/include/sys/reent.h (_rand_next): Changed to
8415 unsigned long long and moved to end of _reent struct in _new union.
8416 (_REENT_INIT): Changed to move _rand_next initialization.
8417 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
8418 linear congruential algorithm that is used by DJGPP.
8419
a68078cb
RK
8420Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8421
8422 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
8423 * libc/include/sys/config.h: Define __RAND_MAX.
8424
518882f3
JJ
8425Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8426
8427 * libc/stdlib/rand_r.c: New algorithm that meets minimal
8428 standard.
8429
d51d968a
CF
8430Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
8431
8432 * libc/include/string.h: Work around problem with strsignal and gdb.
8433
d2dd5765
CF
8434Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
8435
8436 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
8437 * libc/include/malloc.h: Ditto.
8438 * libc/include/process.h: Ditto.
8439 * libc/include/stdio.h: Ditto.
8440 * libc/include/stdlib.h: Ditto.
8441 * libc/include/time.h: Ditto.
8442 * libc/include/machine/setjmp.h: Ditto.
8443 * libc/include/sys/errno.h: Ditto.
8444 * libc/include/sys/signal.h: Ditto.
8445 * libc/include/sys/stat.h: Ditto.
8446 * libc/include/sys/time.h: Ditto.
8447 * libc/include/sys/unistd.h: Ditto.
8448 * libc/include/string.h: Ditto. strsignal should return a const char *.
8449
88870218
JJ
84502000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
8451
8452 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
8453 * libm/common/s_log1p.c (log1p): Likewise.
8454 * libm/common/s_scalbn.c (scalbn): Likewise.
8455 * libm/math/e_log.c: Likewise.
8456 * libm/math/e_asin.c: Likewise.
8457 * libm/math/ef_asin.c: Likewise.
8458 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
8459 * libm/math/e_j1.c (pone, qone): Likewise.
8460 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
8461 * libm/math/ef_j1.c (ponef, qonef): Likewise.
8462 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
8463 * libm/mathfp/e_j1.c (pone, qone): Likewise.
8464 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
8465 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
8466
c4e1aa01
DD
84672000-05-19 DJ Delorie <dj@cygnus.com>
8468
8469 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
8470 (__sread): always read in binary mode
8471 (__swrite): always write in binary mode
8472 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
8473 compatibility issues with different dll versions
8474 * libc/stdio/fopen.c: use __stextmode
8475 * libc/stdio/fdopen.c: ditto
8476 * libc/stdio/freopen.c: ditto
8477 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
8478 * libc/stdio/local.h: declare __stextmode
8479
f4393261
DD
84802000-05-18 DJ Delorie <dj@cygnus.com>
8481
8482 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
8483
2b533fac
JJ
8484Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8485
8486 * libc/include/ctype.h: Changed tolower and toupper macros
8487 to use __extension__ to prevent pedantic warnings.
8488
75362a76
RK
8489Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
8490
8491 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
8492 structures.
8493
ec463fc7
JW
8494Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
8495
8496 * libc/include/machine/ieeefp.h: Add ia64 support.
8497 * configure.host: Likewise.
8498
f35ceefa
JJ
8499Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
8500
8501 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
8502 month is now padded with space, not zero. This now conforms to
8503 ANSI standard.
8504
b96fca8c
CV
8505Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
8506
8507 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
8508 host or network path") used by cygwin. Add some comments.
8509
49d64538
JJ
8510Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
8511
8512 * libc/include/stdio.h (FILE): define __SCLE for "convert line
8513 endings" for Cygwin.
8514 (__sgetc): convert line endings if needed
8515 (__sputc): ditto
8516 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
8517 * libc/stdio/fopen.c (_fopen_r): ditto
8518 * libc/stdio/freopen.c (freopen): ditto
8519 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
8520 * libc/stdio/fvwrite.c (__sfvwrite): ditto
8521
91fb1e7f
AO
8522Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
8523
8524 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
8525 post-increment when it is worth it, spacewise.
8526
c87be3e4
JJ
8527Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8528
8529 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
8530 * libc/stdio/findfp.c (std): Added declaration of flags and file.
8531 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
8532 return type.
8533 * libc/stdio/putchar.c (putchar): Added return statement.
8534 * libc/stdio/refill.c (lflush): Added correct parentheses.
8535 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
8536 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
8537 prints long value to use l qualifier.
8538 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
8539 messages and initialized local values: ilim, ilim1, and spec_case.
8540 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
8541 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
8542 * libc/stdlib/mprec.c: Ditto.
8543 * libc/stdlib/setenv_r.c: Ditto.
8544 * libc/stdlib/strtod.c: Ditto.
8545 * libc/stdlib/strtol.c: Ditto.
8546 * libc/stdlib/strtoul.c: Ditto.
8547 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
8548 * libm/common/sf_log1p.c: Ditto.
8549 * libm/common/sf_scalbn.c: Ditto.
8550 * libm/math/ef_log.c: Ditto.
8551
11f5b065
CV
8552Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
8553
8554 * libc/posix/execvp.c (execvp): Check path for
8555 trailing slash.
8556
796e3b20
CV
8557Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
8558
8559 * libc/include/sys/unistd.h: Add prototypes for
8560 fchmod, fchown, lchown.
8561
b489803a
JJ
8562Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8563
8564 * acinclude.m4: Changed release to 1.8.2.
8565 * aclocal.m4 configure doc/aclocal.m4 doc/configure
8566 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
8567 libc/machine/configure libc/machine/a29k/aclocal.m4
8568 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8569 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8570 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8571 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8572 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
8573 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8574 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8575 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8576 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8577 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8578 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8579 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8580 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8581 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8582 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8583 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8584 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8585 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8586 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8587 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8588 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8589 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8590 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
8591 libc/machine/z8k/configure libc/sys/aclocal.m4
8592 libc/sys/aclocal.m4 libc/sys/configure
8593 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8594 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8595 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8596 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8597 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8598 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8599 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8600 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8601 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8602 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8603 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8604 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8605 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8606 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8607 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8608 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8609 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8610 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8611 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8612 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8613 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8614 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8615 libm/aclocal.m4 libm/configure: Regenerated.
8616
79908d67
NC
86172000-03-24 Nick Clifton <nickc@cygnus.com>
8618
8619 * libc/sys/arm/syscalls.c: Fix compile time warnings.
8620 (do_AngelSWI): Add "cc" to list o registers clobbered.
8621
7684ddaf
FN
8622Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8623
8624 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
8625 information to be clobbered by an Angel C library support syscall.
8626
b8ec20c8
JJ
8627Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8628
8629 * libc/stdlib/envlock.c: Fixed comment typo.
8630
fae4c299
JJ
8631Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8632
8633 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
8634 code to update nread as each character is processed instead
8635 of using buffer contents which throw away leading zeroes.
8636
dc98804b
RK
8637Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
8638
8639 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
8640
5ed2f523
JJ
8641Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
8642
8643 * libc/include/string.h: Include <sys/types.h>.
8644
1cf0ee34
AO
8645Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8646
8647 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
8648 with XSH5, not SVID.
8649
e9c94978
JJ
8650Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8651
8652 * libc/include/string.h: Changed last argument back to ssize_t
8653 to make it compatible with XPG4 definition which is
8654 defined in <unistd.h>. There is a conflict in the SVID 3
8655 and XPG4 definitions and newlib will settle with XPG4.
8656 * libc/string/swab.c: Ditto.
8657
3072163c
JJ
8658Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8659
8660 * libc/include/string.h: Changed last argument to size_t.
8661 * libc/string/swab.c: Changed last argument to size_t.
8662
f205ea7a
AO
8663Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8664
8665 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
8666 (CHEWOUT_FILES): Added unlinkr.def.
8667 * libc/reent/Makefile.in: Rebuilt.
8668 * libc/sys.tex: Include unlinkr.def.
8669 * libc/reent/linkr.c (_unlink_r): Moved to...
8670 * libc/reent/unlinkr.c: ... new file.
8671
85dd2e5b
AO
8672Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8673
8674 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
8675 (CHEWOUT_FILES): Added swab.def.
8676 * libc/string/Makefile.in: Rebuilt.
8677 * libc/string/string.tex: Include swab.def.
8678 * libc/include/string.h (swab): Declare.
8679 * libc/string/swab.c: New file.
8680
c5053058
AO
8681Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8682
8683 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
8684 (CHEWOUT_FILES): Added getw.def and putw.def.
8685 * libc/stdio/Makefile.in: Rebuilt.
8686 * libc/stdio/stdio.tex: Include getw.def and putw.def.
8687 * libc/stdio/getw.c: New file.
8688 * libc/stdio/putw.c: New file.
8689
dbaf37cf
JJ
8690Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8691
8692 * libc/stdio/flags.c (__sflags): Added check that mode[1]
8693 is non-null before looking at mode[2].
8694
bc019ef2
RK
8695Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8696
8697 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
8698 * libm/mathfp/sf_atan.c: Ditto.
8699
8700Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
8701
8702 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
8703
cd641b2d
RK
8704Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8705
8706 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
8707 _DOUBLE_IS_32BITS.
8708
b0ba0ac2
JJ
8709Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8710
8711 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
8712 call prior to calling _VFPRINTF_R so reentrant data area is set.
8713 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
8714
8a0efa53
CF
8715Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8716
8717 * libc/stdio/vfscanf.c (limits.h): #include.
8718 (MAX_LONG_LEN): #define.
8719 (__svfscanf): Handle floating point numbers with arbitrary amounts
8720 of leading zeroes.
8721
87222000-02-15 Nick Clifton <nickc@cygnus.com>
8723
8724 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
8725 zero. Set the blocksize to 1024/
8726
8727Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8728
8729 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
8730 with line buffering.
8731
8732Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8733
8734 * acinclude.m4: Changed include directory for winsup headers.
8735 * aclocal.m4 configure libc/aclocal.m4
8736 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
8737 libc/locale/Makefile.in libc/machine/aclocal.m4
8738 libc/machine/configure libc/machine/a29k/aclocal.m4
8739 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8740 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8741 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8742 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8743 libc/machine/fr30/configure
8744 libc/machine/h8300/aclocal.m4
8745 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8746 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8747 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8748 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8749 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8750 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8751 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8752 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8753 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8754 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8755 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8756 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8757 libc/machine/powerpc/configure
8758 libc/machine/sh/aclocal.m4
8759 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8760 libc/machine/sparc/configure
8761 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8762 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8763 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8764 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8765 libc/misc/Makefile.in libc/posix/Makefile.in
8766 libc/reent/Makefile.in
8767 libc/signal/Makefile.in
8768 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
8769 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8770 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
8771 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
8772 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
8773 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8774 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8775 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8776 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8777 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8778 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8779 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8780 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8781 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
8782 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
8783 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
8784 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
8785 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
8786 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
8787 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
8788 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
8789 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
8790 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
8791 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
8792 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
8793 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
8794 libm/configure: Regenerated.
8795
8796Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
8797
8798 * libc/stdlib/putenv_r.c (_putenv_r): New file.
8799 * libc/stdlib/strdup_r.c (_strdup_r): New file.
8800 * libc/include/string.h: Added _strdup_r.
8801 * libc/stdlib/putenv.c: Added call to reentrant version.
8802 * libc/stdlib/strdup.c: Ditto.
8803 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
8804 * libc/include/stdlib.h: Ditto.
8805 * libc/stdlib/Makefile.in: Regenerated.
8806 * libc/string/Makefile.in: Regenerated.
8807 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
8808 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
8809 management calls to reentrant versions.
8810 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
8811 * libc/stdlib/wctomb.c: Ditto.
8812 * libc/stdlib/mblen.c: Ditto.
8813 * libc/stdlib/mbstowcs.c: Ditto.
8814 * libc/stdlib/mbtowc.c: Ditto.
8815 * libc/stdlib/getenv.c: Ditto.
8816 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
8817 and _strdup_r.
8818
8819Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
8820
8821 patch from Corinna Vinschen <corinna@vinschen.de>
8822 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
8823
bc019ef2 8824Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
8825
8826 * libm/mathfp/s_atangent.c: Fix exponent calculation.
8827 * libm/mathfp/s_ldexp.c: Ditto.
8828 * libm/mathfp/sf_atangent.c: Ditto.
8829 * libm/mathfp/sf_ldexp.c: Ditto.
8830
8831Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8832
8833 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
8834 * libc/include/locale.h: define NULL to be 0.
8835
8836Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
8837
8838 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
8839 function.
8840
8841Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
8842
8843 * libc/machine/mn10300/setjmp.S: Handle am33.
8844
88451999-11-26 Nick Clifton <nickc@cygnus.com>
8846
8847 * libc/sys/arm/syscalls.c: Add function prototypes.
8848 (stack_ptr): Move declaration before function definitions.
8849
8850Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8851
8852 * NEWS: Updated version information.
8853 * README: Ditto.
8854
8855Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
8856
8857 * libc/machine/i386/strchr.S: Fixed alignment test.
8858
8859Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
8860
8861 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
8862
8863Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
8864
8865 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
8866 ensuring that there is space between the two.
8867
8868Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
8869
8870 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
8871 only.
8872
88731999-10-08 Vadim Egorov <egorovv@1c.ru>
8874
8875 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
8876 section
8877
8878Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8879
8880 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
8881 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
8882
8883Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
8884 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
8885 per POSIX 1003.1b.
8886 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
8887 per POSIX 1003.1b.
8888
88891999-09-13 DJ Delorie <dj@cygnus.com>
8890
8891 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
8892 also.
8893
8894Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8895
8896 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
8897 also note BUFSIZ as its size.
8898
8899Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
8900
8901 * configure.host: Corrected feature defines for RTEMS.
8902 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
8903 * libc/include/sys/stat.h: mkfifo() should take const path arg.
8904 * libc/include/sys/unistd.h: pathconf() should take const path arg.
8905 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
8906 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
8907 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
8908 _PC_PRIO_IO, and _PC_SYNC_IO.
8909 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
8910 * libc/machine/m68k/Makefile.in: Regenerated.
8911 * libc/machine/m68k/strcpy.c: New file.
8912 * libc/machine/m68k/strlen.c: New file.
8913 * libc/stdio/tmpnam.c: Always make the returned name usable.
8914 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
8915 * libc/sys/rtems/sys/dirent.h: New file.
8916 * libc/sys/rtems/sys/types.h: Added dev_t.
8917
8918Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
8919
8920 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
8921
8922Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
8923
8924 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
8925 my patch.
8926
8927Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
8928
8929 patch from Jeff Johnston <jjohnstn@cygnus.com>
8930 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
8931 buffer is not in a useful state.
8932
89331999-09-01 Nick Clifton <nickc@cygnus.com>
8934
8935 * libc/sys/arm/syscalls.c (_link): Add stub.
8936
8937Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8938
8939 * ftell.c (ftell): Use actual position within buffer for text mode.
8940 * findfp.c (std): Initialize ptr->_bf._size.
8941
8942Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
8943
8944 * libc/include/sys/unistd.h: Add nice() declaration.
8945
89461999-08-09 Nick Clifton <nickc@cygnus.com>
8947
8948 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
8949 declare as a thumb function so that the disassembler will see the
8950 mode change.
8951
8952Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8953
8954 * libc/reent/reent.tex: Updated list of reentrant functions.
8955
89561999-07-09 Michael Meissner <meissner@cygnus.com>
8957
8958 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
8959
8960Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
8961
8962 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
8963 separate file.
8964 * libc/stdio/snprintf.c: New file.
8965 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
8966 separate file.
8967 * libc/stdio/vsnprintf.c: New file.
8968 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
8969 * libc/stdio/Makefile.in: Regenerated.
8970
8971Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
8972
8973 Patch submitted by Egor Duda <deo@logos-m.ru>:
8974 * libc/include/stdio.h: Add declarations for *nprintf.
8975 * libc/stdio/sprintf.c (snprintf): New function.
8976 (_snprintf_r): New function.
8977 * libc/stdio/vsprintf.c (vsnprintf): New function.
8978 (_vnsprintf_r): New function.
8979
8980Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8981
8982 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
8983 * libm/Makefile.am (stmp-targetdep): Ditto.
8984 * libc/Makefile.in: Regenerated.
8985 * libm/Makefile.in: Ditto.
8986
8987Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8988
8989 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
8990 * libm/Makefile.am (stmp-targetdep): Ditto.
8991 * libc/Makefile.in: Regenerated.
8992 * libm/Makefile.in: Ditto.
8993
8994Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8995
8996 * Makefile.am: Removed dependencies on all-recursive and added "."
8997 to the SUBDIRS list to prevent infinite recursion from occurring.
8998 Also removed any references to EXTRA_DATA.
8999 * libc/Makefile.am: Ditto.
9000 * libc/machine/Makefile.am: Ditto.
9001 * libc/machine/i386/Makefile.am: Ditto.
9002 * libm/Makefile.am: Ditto.
9003 * libc/sys/Makefile.am: Ditto.
9004 * Makefile.in: Regenerated.
9005 * aclocal.m4: Ditto.
9006 * configure: Ditto.
9007 * doc/Makefile.in: Ditto.
9008 * doc/aclocal.m4: Ditto.
9009 * doc/configure: Ditto.
9010 * libc/Makefile.in: Ditto.
9011 * libc/aclocal.m4: Ditto.
9012 * libc/configure: Ditto.
9013 * libc/machine/Makefile.in: Ditto.
9014 * libc/machine/aclocal.m4: Ditto.
9015 * libc/machine/configure: Ditto.
9016 * libc/machine/mn10300/Makefile.in: Ditto.
9017 * libc/machine/mn10300/aclocal.m4: Ditto.
9018 * libc/machine/mn10300/configure: Ditto.
9019 * libc/sys/Makefile.in: Ditto.
9020 * libc/sys/aclocal.m4: Ditto.
9021 * libc/sys/configure: Ditto.
9022 * libm/Makefile.in: Ditto.
9023 * libm/aclocal.m4: Ditto.
9024 * libm/configure: Ditto.
9025
9026Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9027
9028 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
9029
9030Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9031
9032 * libc/include/stdlib.h: Add reentrant routines.
9033 * libc/stdlib/Makefile.am: Add reentrant routines.
9034 * libc/stdlib/Makefile.in: Ditto.
9035 * libc/stdlib/envlock.c: New file.
9036 * libc/stdlib/envlock.h: New file.
9037 * libc/stdlib/getenv.c: Modify to call reentrant routine.
9038 * libc/stdlib/getenv_r.c: New file.
9039 * libc/stdlib/mblen.c: Modify to call reentrant routine.
9040 * libc/stdlib/mblen_r.c: New file.
9041 * libc/stdlib/setenv.c: Modify to call reentrant routine.
9042 * libc/stdlib/setenv_r.c: New file.
9043 * libc/stdlib/stdlib.tex: Add reentrant routines.
9044
9045Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
9046
9047 * libc/include/sys/types.h: Define __MS_types__ whenever
9048 cygwin or win32.
9049
9050Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
9051
9052 * libc/include/machine/ieeefp.h: Always default to little
9053 endian if Windows, regardless of architecture.
9054 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
9055 regardless of architecture.
9056
9057Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
9058
9059 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
9060 _WIN32 isn't defined.
9061
9062Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
9063
9064 * libm/common/s_rint.c (rint): Add volatile qualifier for
9065 intermediate value w.
9066 * libm/common/sf_rint.c (rintf): Ditto.
9067
9068Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9069
9070 * libc/sys/arm/syscalls.c (remap_handle): Added check to
9071 ensure that std streams are initialized before being referenced.
9072
90731999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
9074
9075 * README: Update reference to newlib@cygnus.com new
9076 newlib@sourceware.cygnus.com address.
9077
9078Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
9079
9080 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
9081 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
9082 defined, even if _WIN32 isn't defined.
9083
9084Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
9085
9086 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
9087
9088Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9089
9090 * libc/include/sys/reent.h: Change Long and ULong to __Long and
9091 __ULong.
9092 * libc/stdlib/dtoa.c: Ditto.
9093 * libc/stdlib/mprec.c: Ditto.
9094 * libc/stdlib/mprec.h: Ditto.
9095 * libc/stdlib/strtod.c: Ditto.
9096
90971999-04-21 Nick Clifton <nickc@cygnus.com>
9098
9099 * configure.host (mcore): Remove mcore machine directory.
9100
91011999-04-18 Nick Clifton <nickc@cygnus.com>
9102
9103 * libc/include/machine/ieeefp.h: Add support for mcore target.
9104 * libc/include/machine/setjmp.h: Add support for mcore target.
9105 * configure.host: Add support for mcore target.
9106
91071999-04-13 Mark Salter <msalter@cygnus.com>
9108
9109 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
9110 * libc/sys/arm/syscalls.c: Added isatty.
9111
9112Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9113
9114 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
9115 insert zeroes after significant digits.
9116
9117Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9118
9119 * libc/stdio/vfprintf.c (cvt): Changed floating point
9120 cvt routine to use union used by dtoa to properly determine
9121 if the sign bit is on or not.
9122 * libc/stdio/vfieeefp.h: New file
9123
9124Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9125
9126 * aclocal.m4: Regenerated.
9127 * configure: Regenerated.
9128
9129Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9130
9131 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
9132 f_tanf reference.
9133 * libc/machine/i386/Makefile.in: Regenerated.
9134
9135Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
9136
9137 * acinclude.m4: Changed to work with new automake.
9138 * configure: Regenerated.
9139 * libc/machine/i386/aclocal.m4: Regenerated.
9140 * libc/machine/i386/configure: Regenerated.
9141
9142Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
9143
9144 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
9145 for telldir() and seekdir(). Rename unused structure element
9146 for use with these two routines.
9147
9148Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
9149
9150 * libc/time/mktime.c (validate_structure): Multiple fixes to
9151 code to handle cases where input fields are outside valid ranges.
9152 * libc/stdlib/div.c (div): Modified invalid rounding check.
9153 * libc/stdlib/ldiv.c (ldiv): Ditto.
9154
9155Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
9156
9157 * libc/machine/i386/memcpy.S: Performance rewrite.
9158 * libc/machine/i386/memmove.S: Ditto.
9159 * libc/machine/i386/i386mach.h: Added more register definitions.
9160 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
9161 option used.
9162 * libc/include/machine/fastmath.h: Add definitions for x86
9163 fast-math routines.
9164
9165Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9166
9167 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
9168
9169Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
9170
9171 Adjust newlib headers for new Cygwin Win32 API header files:
9172 * libc/include/sys/time.h: Check _WINSOCK_H rather than
9173 _GNU_H_WINDOWS32_SOCKETS.
9174 * libc/include/sys/types.h: Ditto.
9175
9176Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9177
9178 *include/sys/reent.h: Add checks for size of Bigint element Long.
9179 *libc/dtoa.c: Change routines to use generic Long type.
9180 *libc/mprec.c: Change routines to use generic Long type.
9181 *libc/mprec.h: Change routines to use generic Long type.
9182
9183Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
9184
9185 * libc/Makefile.am: Add .def files.
9186 * libc/Makefile.in: Regenerate.
9187 * libc/e_acosh.c: Documentation update.
9188 * libc/e_atanh.c: Documentation update.
9189 * libc/e_hypot.c: Documentation update.
9190 * libc/e_remainder.c: Documentation update.
9191 * libc/er_lgamma.c: Documentation update.
9192 * libc/mathfp.tex: Documentation update.
9193 * libc/s_acos.c: Documentation update.
9194 * libc/s_atan.c: Documentation update.
9195 * libc/s_atan2.c: Documentation update.
9196 * libc/s_cosh.c: Documentation update.
9197 * libc/s_fmod.c: Documentation update.
9198 * libc/s_isnan.c: Documentation update.
9199 * libc/s_log10.c: Documentation update.
9200 * libc/s_pow.c: Documentation update.
9201 * libc/w_jn.c: Documentation update.
9202
9203Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
9204
9205 * aclocal.m4: Regenerate.
9206 * configure: Regenerate.
9207
9208Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
9209
9210 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
9211 to return 1 if user specified return code is 0.
9212 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
9213
9214Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
9215
9216 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
9217 to save the return address. Fixed longjmp to return to the original
9218 calling address of setjmp and to return the user specified return code
9219 rather than default to 1.
9220 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
9221
9222Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
9223
9224 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
9225
92261999-02-10 Nick Clifton <nickc@cygnus.com>
9227
9228 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
9229 volatile so that its assignments will not be discarded.
9230
9231Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
9232
9233 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
9234 be __STRICT_ANSI__ which is generated by compiler.
9235 * libc/include/ctype.h: Ditto.
9236 * libc/include/math.h: Ditto.
9237 * libc/include/stdio.h: Ditto.
9238 * libc/include/stdlib.h: Ditto.
9239 * libc/include/string.h: Ditto.
9240 * libc/include/sys/signal.h: Ditto.
9241
92421999-02-08 Nick Clifton <nickc@cygnus.com>
9243
9244 * configure.host: Add support for StrongARM target.
9245
9246Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
9247
9248 * libc/string/strncpy.c (strncpy): Removed redundant code
9249 that was copying bytes if data unaligned.
9250
92511999-02-02 Brendan Kehoe <brendan@cygnus.com>
9252
9253 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
9254 mbstowcs.def, and wcstombs.def.
9255
9256Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
9257
9258 * libc/include/sys/errno.h: Add Cygwin errno.
9259 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
9260 is specified.
9261
92621999-01-29 Nick Clifton <nickc@cygnus.com>
9263
9264 * libc/sys/arm/syscalls.c: Move C library functions into seperate
9265 file.
9266
9267 * libc/sys/arm/libcfunc.c: New file containing C library functions
9268 from syscalls.c
9269
9270 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
9271 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
9272
9273
92741999-01-27 Michael Meissner <meissner@cygnus.com>
9275
9276 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
9277 type, and cut size in half so that the jmp_buf array is guaranteed
9278 to be aligned on a 64-bit boundary.
9279
9280Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
9281
9282 * libc/string/strings.tex: Added information about
9283 strcasecmp and strncasecmp.
9284 * libc/stdlib/stdlib.tex: Added missing information
9285 about mblen, mbstowcs, and wcstombs.
9286 * libc/string/strchr.c: Changed how mask is built to use
9287 shift operators so register will be used instead of storage.
9288
92891999-01-22 DJ Delorie <dj@cygnus.com>
9290
9291 * libc/include/stdlib.h: don't use dllimport if we're building
9292 newlib, since it's inside cygwin.dll
9293
9294Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
9295
9296 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
9297 _ctype_ under cygwin.
9298
9299Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
9300
9301 * include/stdlib.h: Fix typo from previous checkin.
9302
9303Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
9304
9305 * include/ctype.h: Use __declspec(dllimport) method for exporting
9306 variable from cygwin DLL.
9307 * include/time.h: Ditto.
9308 * sys/errno.h: Ditto.
9309 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
9310 * libc/locale/locale.c: Use __declspec(dllexport) method for
9311 exporting variable from cygwin DLL.
9312
9313Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
9314
9315 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
9316 access of bogus pointer will result in SIGSEGV.
9317
93181999-01-07 Nick Clifton <nickc@cygnus.com>
9319
9320 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
9321 of an underscore prefix to function names.
9322
9323Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
9324
9325 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
9326 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
9327
93281998-12-31 Michael Meissner <meissner@cygnus.com>
9329
9330 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
9331 to `%' if not already defined.
9332
93331998-12-30 Michael Meissner <meissner@cygnus.com>
9334
9335 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
9336 arguments const char *, not char *.
9337 * libc/include/stdio.h (_tempnam_r): Ditto.
9338
9339 * libc/include/sys/reent.h (struct _reent): The _sig_func type
9340 points to a function taking an integer, not void.
9341
9342Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
9343
9344 * configure.host: Add a define for Cygwin builds.
9345 * libc/include/ctype.h: Don't use dll imported variables in newlib.
9346
9347Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
9348
9349 * libc/include/ctype.h: Define _ctype_ as dll imported variable
9350 for use with Cygwin.
9351 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
9352 dll imported variables for use with Cygwin.
9353 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
9354 as a dll imported variable for Cygwin.
9355
9356Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
9357
9358 * libc/include/sys/unistd.h: Add proto for getpass.
9359
9360Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
9361
9362 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
9363 alphasort.
9364
9365Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
9366
9367 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
9368 not posix_path_list_p.
9369
93701998-12-15 Nick Clifton <nickc@cygnus.com>
9371
9372 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
9373 a signed int.
9374
93751998-12-13 Nick Clifton <nickc@cygnus.com>
9376
9377 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
9378
93791998-12-12 Nick Clifton <nickc@cygnus.com>
9380
9381 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
9382 <msalter@cygnus.com>
9383 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
9384 * libc/machine/fr30/Makefile.in: Regenerated.
9385
93861998-12-11 Nick Clifton <nickc@cygnus.com>
9387
9388 * configure.host: Remove use of libc/sys for FR30 port.
9389 * libc/sys/fr30: Remove directory (replaced by libgloss).
9390
93911998-12-10 Ken Raeburn <raeburn@cygnus.com>
9392
9393 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
9394 * libc/string/strncat.c (ALIGNED): Ditto.
9395
9396Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
9397
9398 * libc/include/sys/time.h: include sys/types.h
9399
9400Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
9401
9402 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
9403 comparison found when checking word at a time.
9404
94051998-12-04 Nick Clifton <nickc@cygnus.com>
9406
9407 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
9408
94091998-12-03 Nick Clifton <nickc@cygnus.com>
9410
9411 * libc/sys/fr30/syscalls.c (_times): New function stub.
9412
9413Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9414
9415 * configure.host (mach_add_setjmp): Replaced mach_add_objs
9416 with mach_add_setjmp flag which indicates if setjmp should
9417 be added to the machine directory objects.
9418 * acinclude.m4: Removed reference to mach_add_objs.
9419 * aclocal.m4: Regenerated.
9420 * Makefile.in: Regenerated.
9421 * configure: Regenerated.
9422 * libc/aclocal.m4: Regenerated.
9423 * libc/Makefile.in: Regenerated.
9424 * libc/configure: Regenerated.
9425 * libc/machine/aclocal.m4: Regenerated.
9426 * libc/machine/Makefile.in: Regenerated.
9427 * libc/machine/configure: Regenerated.
9428 * libc/machine/i386/aclocal.m4: Regenerated.
9429 * libc/machine/i386/Makefile.am: Altered to selectively add
9430 setjmp.S to the src files list.
9431 * libc/machine/i386/Makefile.in: Regenerated.
9432 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
9433 * libc/machine/i386/configure: Regenerated.
9434
94351998-12-02 Nick Clifton <nickc@cygnus.com>
9436
9437 * libc/sys/fr30/crt0.s (_start): Fix function names.
9438
9439 * libc/machine/fr30: New directory
9440 * libc/machine/fr30/Makefile.am: New file.
9441 * libc/machine/fr30/Makefile.in: New generated file.
9442 * libc/machine/fr30/configure.in: New file.
9443 * libc/machine/fr30/configure: New generated file.
9444 * libc/machine/fr30/aclocal.m4: New generated file.
9445 * libc/sys/fr30/Makefile.am: New file.
9446 * libc/sys/fr30/Makefile.in: New generated file.
9447 * libc/sys/fr30/configure.in: New file.
9448 * libc/sys/fr30/configure: New generated file.
9449 * libc/sys/fr30/syscalls.c: New file.
9450
9451Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
9452
9453 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
9454
94551998-12-01 Ken Raeburn <raeburn@cygnus.com>
9456
9457 * libc/time/strftime.c (strftime): Also handle %y for years before
9458 1900.
9459
9460Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
9461
9462 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
9463 UNIX convention. Perform tolower on characters before comparing
9464 them rather than use toupper.
9465 * libc/string/strncasecmp.c (strncasecmp): Ditto.
9466
9467Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9468
9469 * configure.host: Added using i386 machine directory
9470 for all x86 cross-compiler and configuring
9471 which added object files to use via new "mach_add_objs" variable.
9472 * configure: Regenerated.
9473 * libc/configure: Regenerated.
9474 * libc/Makefile.in: Regenerated.
9475 * libc/aclocal.m4: Regenerated.
9476 * libc/ctype/Makefile.in: Regenerated.
9477 * libc/errno/Makefile.in: Regenerated.
9478 * libc/locale/Makefile.in: Regenerated.
9479 * libc/machine/Makefile.in: Regenerated.
9480 * libc/machine/aclocal.m4: Regenerated.
9481 * libc/machine/configure: Regenerated.
9482 * libc/posix/Makefile.in: Regenerated.
9483 * libc/reent/Makefile.in: Regenerated.
9484 * libc/signal/Makefile.in: Regenerated.
9485 * libc/stdio/Makefile.in: Regenerated.
9486 * libc/stdlib/Makefile.in: Regenerated.
9487 * libc/string/Makefile.in: Regenerated.
9488 * libc/string/memmove.c: Optimized code to use memcpy
9489 logic when performing a non-destructive copy.
9490 * libc/string/strncmp.c: Altered code to allow building
9491 optimized for size or speed.
9492 * libc/syscalls/Makefile.in: Regenerated.
9493 * libc/time/Makefile.in: Regenerated.
9494 * libc/unix/Makefile.in: Regenerated.
9495 * libc/machine/i386/Makefile.am: Added new files and reference
9496 to "mach_add_objs" to indicate optional object files.
9497 * libc/machine/i386/Makefile.in: Regenerated.
9498 * libc/machine/i386/aclocal.m4: Regenerated.
9499 * libc/machine/i386/configure: Regenerated.
9500 * libc/machine/i386/memchr.S: New file that implements
9501 function in Intel assembler.
9502 * libc/machine/i386/memcmp.S: ditto.
9503 * libc/machine/i386/memcpy.S: ditto.
9504 * libc/machine/i386/memmove.S: ditto.
9505 * libc/machine/i386/memset.S: ditto.
9506 * libc/machine/i386/strchr.S: ditto.
9507 * libc/machine/i386/strlen.S: ditto.
9508 * libc/machine/i386/f_atan2.S: New file that implements
9509 fast version of math function to be used by compiler when
9510 --ffast_math compile option is used.
9511 * libc/machine/i386/f_atan2f.S: ditto.
9512 * libc/machine/i386/f_exp.c: ditto.
9513 * libc/machine/i386/f_expf.c: ditto.
9514 * libc/machine/i386/f_frexp.S: ditto.
9515 * libc/machine/i386/f_frexpf.S: ditto.
9516 * libc/machine/i386/f_ldexp.S: ditto.
9517 * libc/machine/i386/f_ldexpf.S: ditto.
9518 * libc/machine/i386/f_log.S: ditto.
9519 * libc/machine/i386/f_logf.S: ditto.
9520 * libc/machine/i386/f_log10.S: ditto.
9521 * libc/machine/i386/f_log10f.S: ditto.
9522 * libc/machine/i386/f_math.h: New file.
9523 * libc/machine/i386/f_pow.c: ditto.
9524 * libc/machine/i386/f_powf.S: ditto.
9525 * libc/machine/i386/f_tan.S: ditto.
9526 * libc/machine/i386/f_tan.S: ditto.
9527 * libc/machine/i386/i386mach.h: New file.
9528
9529Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
9530
9531 patch from Mumit Khan <khan@xraylith.wisc.edu>
9532 * libc/include/stdio.h (tempnam): Add prototype.
9533 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
9534 (tempnam): Adhere to prototype.
9535
9536Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
9537
9538 * Makefile.am: Add default for AR_FLAGS.
9539 * Makefile.in: Regenerate.
9540
9541Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
9542
9543 * libc/include/time.h: move __cplusplus wrapper after includes
9544 * libc/include/sys/time.h: ditto. If Cygwin, include
9545 sys/select.h.
9546 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
9547
95481998-11-23 Ken Raeburn <raeburn@cygnus.com>
9549
9550 * libc/time/strftime.c (strftime): Handle %y after year 2000.
9551
9552Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
9553
9554 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
9555 abnormnal end-of-crt0 marker.
9556
9557Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
9558
9559 * libc/sys/fr30/crt0.s: New file/directory.
9560 * libc/include/machine/setjmp.h: Add FR30 target.
9561 * libc/include/machine/ieeefp.h: Add FR30 target.
9562 * configure.host: Add FR30 target.
9563
9564Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9565
9566 * libm/math: Files that are duplicated in common directory removed.
9567 * libm/math/fdlibm.h: Removed.
9568 * libm/math/s_cbrt.c: Removed.
9569 * libm/math/s_copysign.c: Removed.
9570 * libm/math/s_expm1.c: Removed.
9571 * libm/math/s_finite.c: Removed.
9572 * libm/math/s_ilogb.c: Removed.
9573 * libm/math/s_infinity.c: Removed.
9574 * libm/math/s_lib_ver.c: Removed.
9575 * libm/math/s_log1p.c: Removed.
9576 * libm/math/s_logb.c: Removed.
9577 * libm/math/s_matherr.c: Removed.
9578 * libm/math/s_modf.c: Removed.
9579 * libm/math/s_nan.c: Removed.
9580 * libm/math/s_nextafter.c: Removed.
9581 * libm/math/s_rint.c: Removed.
9582 * libm/math/s_scalbn.c: Removed.
9583 * libm/math/sf_cbrt.c: Removed.
9584 * libm/math/sf_copysign.c: Removed.
9585 * libm/math/sf_expm1.c: Removed.
9586 * libm/math/sf_finite.c: Removed.
9587 * libm/math/sf_ilogb.c: Removed.
9588 * libm/math/sf_infinity.c: Removed.
9589 * libm/math/sf_log1p.c: Removed.
9590 * libm/math/sf_logb.c: Removed.
9591 * libm/math/sf_modf.c: Removed.
9592 * libm/math/sf_nan.c: Removed.
9593 * libm/math/sf_nextafter.c: Removed.
9594 * libm/math/sf_rint.c: Removed.
9595 * libm/math/sf_scalbn.c: Removed.
9596 * libm/math/Makefile.am: Removed references to deleted files (above).
9597 * libm/math/Makefile.in: Regenerated.
9598 * libm/Makefile.am: Added common directory to math.
9599 * libm/Makefile.in: Regenerated.
9600
9601Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9602
9603 * libm/mathfp: Add non-ANSI functions.
9604 * libm/mathfp/e_acosh.c acosh(): New file.
9605 * libm/mathfp/e_atanh.c atanh(): New file.
9606 * libm/mathfp/e_hypot.c hypot(): New file.
9607 * libm/mathfp/e_j0.c j0(): New file.
9608 * libm/mathfp/e_j1.c j1(): New file.
9609 * libm/mathfp/e_remainder.c remainder(): New file.
9610 * libm/mathfp/e_scalb.c scalb(): New file.
9611 * libm/mathfp/ef_acosh.c acoshf(): New file.
9612 * libm/mathfp/ef_atanh.c atanhf(): New file.
9613 * libm/mathfp/ef_hypot.c hypotf(): New file.
9614 * libm/mathfp/ef_j0.c j0f(): New file.
9615 * libm/mathfp/ef_j1.c j1f(): New file.
9616 * libm/mathfp/ef_remainder.c remainderf(): New file.
9617 * libm/mathfp/ef_scalb.c scalbf(): New file.
9618 * libm/mathfp/er_gamma.c gamma_r: New file.
9619 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
9620 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
9621 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
9622 * libm/mathfp/w_cabs.c cabs(): New file.
9623 * libm/mathfp/w_drem.c drem(): New file.
9624 * libm/mathfp/w_jn.c jn(): New file.
9625 * libm/mathfp/wf_cabs.c cabsf(): New file.
9626 * libm/mathfp/wf_drem.c dremf(): New file.
9627 * libm/mathfp/wf_jn.c jnf(): New file.
9628
9629Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
9630
9631 * libc/sys/cygwin32: remove directory and contents
9632 * libc/sys/cygwin: and add back, losing the "32".
9633 * configure.host: check for cygwin* instead of cygwin32.
9634 * acinclude.m4: ditto.
9635 * aclocal.m4: regenerate with aclocal
9636 * configure: regenerate with autoconf
9637
9638Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
9639
9640 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
9641 for length
9642
9643Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9644
9645 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
9646 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
9647 to make rand/srand, strtok, asctime, localtime, w_gamma,
9648 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
9649 time.h to bring in struct tm definition.
9650 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
9651 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
9652 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
9653 instead of static variable.
9654 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
9655 struct reent instead of static variable.
9656 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
9657 struct reent instead of static variable.
9658 * libm/math/Makefile.am: Removed s_signgam.o.
9659 * libm/math/Makefile.in: Regenerated.
9660 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
9661 struct reent instead of global variable 'signgam'.
9662 * libm/math/w_lgamma.c (lgamma): Likewise.
9663 * libm/math/wf_gamma.c (gammaf): Likewise.
9664 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9665 * libm/math/s_signgam.c: Removed.
9666 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
9667 to be const.
9668 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
9669 to be const.
9670 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
9671 libc/include/reent.h.
9672 * libc/reent/Makefile.in: Regenerated.
9673 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
9674 to be const.
9675 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
9676 'JIS_action_table' to be const.
9677 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
9678
9679Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
9680
9681 * acinclude.m4: $with_target_subdir should default to '.'
9682 or confusion results when configuring in same directory as sources.
9683 * Regenerate all aclocal.m4 and configure files.
9684
9685Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
9686
9687 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
9688 can be set by defining MALLOC_ALIGNMENT=16. Also added support
9689 for platforms where sizeof(size_t) < sizeof(long) via
9690 SIZE_T_SMALLER_THAN_LONG macro.
9691
9692Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
9693
9694 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
9695 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
9696 which sets _CLOCKS_PER_SEC_ for selected machines.
9697 * libc/include/machine/time.h: New file.
9698
9699Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9700
9701 * libc/syscalls/sysexecve.c: New file.
9702 * libc/syscalls/sysgettod.c: New file.
9703 * libc/syscalls/systimes.c: New file.
9704 * libc/syscalls/Makefile.am: Added new objects.
9705 * libc/syscalls/Makefile.in: Regenerated.
9706 * libc/include/_syslist.h (_execve): Moved define in file.
9707 * libc/include/reent.h: Added _execve_r declaration.
9708 * libc/Makefile.in: Regenerated.
9709 * libc/ctype/Makefile.in: Regenerated.
9710 * libc/errno/Makefile.in: Regenerated.
9711 * libc/locale/Makefile.in: Regenerated.
9712 * libc/machine/Makefile.in: Regenerated.
9713 * libc/misc/Makefile.in: Regenerated.
9714 * libc/posix/Makefile.in: Regenerated.
9715 * libc/reent/Makefile.in: Regenerated.
9716 * libc/reent/execr.c (_execve_r): Added _execve_r function.
9717 * libc/signal/Makefile.in: Regenerated.
9718 * libc/stdio/Makefile.in: Regenerated.
9719 * libc/time/Makefile.in: Regenerated.
9720 * libc/unix/Makefile.in: Regenerated.
9721 * libm/mathfp/Makefile.in: Regenerated.
9722
9723Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9724
9725 * libc/string/Makefile.in: Regenerated.
9726 * libc/string/memchr.c (memchr): Moved code to reduce object size.
9727 * libc/string/memcpy.c (memcpy): Ditto.
9728 * libc/string/memcmp.c (memcmp): Ditto.
9729 * libc/string/memset.c (memset): Ditto.
9730 * libc/string/strchr.c (strchr): Ditto.
9731 * libc/string/strcmp.c (strcmp): Ditto.
9732 * libc/string/strcpy.c (strcpy): Ditto.
9733 * libc/string/strlen.c (strlen): Ditto.
9734
9735Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9736
9737 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
9738 to generate aclocal.m4.
9739 * libm/Makefile.in: Regenerated.
9740 * libm/aclocal.m4: Regenerated.
9741 * libm/configure: Regenerated.
9742 * libm/math/Makefile.in: Regenerated.
9743 * libm/mathfp/Makefile.in: Regenerated.
9744
97451998-09-25 Mark Salter <msalter@cygnus.com>
9746
9747 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
9748 by adding leading and trailing underscores to symbol names.
9749
9750Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
9751
9752 * Makefile.in: Add default for AR_FLAGS.
9753
9754Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
9755
9756 patch from ian@airs.com (Ian Taylor):
9757 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
9758 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
9759 is needed for detecting the build machine. Required for
9760 cygwin native builds.
9761
9762 * Regenerate all aclocal.m4 and configure files.
9763
9764Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
9765
9766 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
9767 used to start with LC.
9768
9769Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9770
9771 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
9772 (longjmp): Likewise.
9773
9774Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9775
9776 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
9777 the test for small number of bytes.
9778
9779Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9780
9781 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
9782 math library that uses floating point algorithms instead of the old
9783 libm.
9784 * Makefile.in: Regenerate with automake version 1.3b.
9785 * configure: Rebuild.
9786 * libm/Makefile.in: Regenerate with automake version 1.3b.
9787 * libm/aclocal.m4: Regenerate.
9788 * libm/configure: Rebuild.
9789 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
9790 * libm/acinclude.m4: Define macros for configure.in.
9791 * libm/config.h.in: Generate.
9792 * libm/mathfp/Makefile.am: New file.
9793 * libm/mathfp/Makefile.in: Generate.
9794 * libm/mathfp/s_acos.c (acos): New file.
9795 * libm/mathfp/s_asin.c (asin): New file.
9796 * libm/mathfp/s_asine.c (asine): New file.
9797 * libm/mathfp/s_atan.c (atan): New file.
9798 * libm/mathfp/s_atan2.c (atan2): New file.
9799 * libm/mathfp/s_atangent.c (atangent): New file.
9800 * libm/mathfp/s_ceil.c (ceil): New file.
9801 * libm/mathfp/s_copysign.c (copysign): New file.
9802 * libm/mathfp/s_cos.c (cos): New file.
9803 * libm/mathfp/s_cosh.c (cosh): New file.
9804 * libm/mathfp/s_exp.c (exp): New file.
9805 * libm/mathfp/s_fabs.c (fabs): New file.
9806 * libm/mathfp/s_finite.c (finite): New file.
9807 * libm/mathfp/s_floor.c (floor): New file.
9808 * libm/mathfp/s_fmod.c (fmod): New file.
9809 * libm/mathfp/s_frexp.c (frexp): New file.
9810 * libm/mathfp/s_infconst.c: New file.
9811 * libm/mathfp/s_isinf (isinf).c: New file.
9812 * libm/mathfp/s_isnan.c (isnan): New file.
9813 * libm/mathfp/s_ispos.c (ispos): New file.
9814 * libm/mathfp/s_ldexp.c (ldexp): New file.
9815 * libm/mathfp/s_log.c (log): New file.
9816 * libm/mathfp/s_log10.c (log10): New file.
9817 * libm/mathfp/s_logarithm.c (logarithm): New file.
9818 * libm/mathfp/s_mathcnst.c: New file.
9819 * libm/mathfp/s_modf (modf).c: New file.
9820 * libm/mathfp/s_numtest.c (numtest): New file.
9821 * libm/mathfp/s_pow.c (pow): New file.
9822 * libm/mathfp/s_scalbn.c (scalbn): New file.
9823 * libm/mathfp/s_sin (sin).c: New file.
9824 * libm/mathfp/s_sine.c (sine): New file.
9825 * libm/mathfp/s_sineh.c (sineh): New file.
9826 * libm/mathfp/s_sinf.c (sinf): New file.
9827 * libm/mathfp/s_sinh.c (sinh): New file.
9828 * libm/mathfp/s_sqrt.c (sqrt): New file.
9829 * libm/mathfp/s_tan.c (tan): New file.
9830 * libm/mathfp/s_tanh.c (tanh): New file.
9831 * libm/mathfp/sf_acos.c (acosf): New file.
9832 * libm/mathfp/sf_asin.c (asinf): New file.
9833 * libm/mathfp/sf_asine.c (asinef): New file.
9834 * libm/mathfp/sf_atan.c (atanf): New file.
9835 * libm/mathfp/sf_atan2.c (atan2f): New file.
9836 * libm/mathfp/sf_atangent.c (atangent): New file.
9837 * libm/mathfp/sf_ceil.c (ceilf): New file.
9838 * libm/mathfp/sf_copysign.c (copysignf): New file.
9839 * libm/mathfp/sf_cos.c (cosf): New file.
9840 * libm/mathfp/sf_cosh.c (coshf): New file.
9841 * libm/mathfp/sf_exp.c (expf): New file.
9842 * libm/mathfp/sf_fabs.c (fabsf): New file.
9843 * libm/mathfp/sf_finite.c (finitef): New file.
9844 * libm/mathfp/sf_floor.c (floorf): New file.
9845 * libm/mathfp/sf_fmod.c (fmodf): New file.
9846 * libm/mathfp/sf_frexp.c (frexpf): New file.
9847 * libm/mathfp/sf_isinf.c (isinff): New file.
9848 * libm/mathfp/sf_isnan.c (isnanf): New file.
9849 * libm/mathfp/sf_ispos.c (isposf): New file.
9850 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
9851 * libm/mathfp/sf_log.c (logf): New file.
9852 * libm/mathfp/sf_log10.c (log10f): New file.
9853 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
9854 * libm/mathfp/sf_modf.c (modff): New file.
9855 * libm/mathfp/sf_numtest.c (numtestf): New file.
9856 * libm/mathfp/sf_pow.c (powf): New file.
9857 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
9858 * libm/mathfp/sf_sin.c (sinf): New file.
9859 * libm/mathfp/sf_sine.c (sinef): New file.
9860 * libm/mathfp/sf_sineh.c (sinehf): New file.
9861 * libm/mathfp/sf_sinh.c (sinhf): New file.
9862 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
9863 * libm/mathfp/sf_tan.c (tanf): New file.
9864 * libm/mathfp/sf_tanh.c (tanhf): New file.
9865 * libm/mathfp/zmath.h: New file.
9866
9867Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9868
9869 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
9870 exit if it has been overwritten by pre-fetching in delay slot.
9871
98721998-09-01 Michael Meissner <meissner@cygnus.com>
9873
9874 * Makefile.am (tooldir): Add in host_alias, so that multilib
9875 libraries are installed in the directory the compiler looks in.
9876 * Makefile.in: Regenerate.
9877
9878 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
9879
9880Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
9881
9882 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
9883 ahead of test for number of bytes being moved.
9884
9885Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
9886
9887 * libc/include/sys/unistd.h: Nothing special needed for
9888 _exit under cygwin.
9889
9890Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
9891
9892 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
9893 conform to user label naming conventions.
9894
9895Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
9896
9897 * libc/sys/cygwin32/sys/utime.h: variable names in
9898 protos should start with two leading underscores
9899 * libc/include/string.h: ditto
9900 * libc/include/sys/signal.h: ditto
9901 * libc/include/sys/stat.h: ditto
9902 * libc/include/sys/time.h: ditto
9903 * libc/include/sys/unistd.h: ditto
9904 * libc/include/ctype.h: ditto
9905 * libc/include/stdlib.h: ditto
9906 * libc/include/sys/reent.h: struct _atexit function ptr takes a
9907 void, same with _sig_func.
9908
9909Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
9910
9911 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
9912 for MB_CAPABLE to reduce code size when newlib is not configured
9913 with --enable-newlib-mb.
9914 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
9915 mbtowc_r.o to minimize size.
9916 * libc/stdlib/Makefile.in: Rebuild.
9917
9918Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
9919
9920 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
9921 to -DREENT.
9922 * libc/sys/sparc64/Makefile.in: Rebuild.
9923
9924Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
9925
9926 * Makefile.am (MAKEOVERRIDES): Define.
9927 * Makefile.in: Rebuild.
9928
9929Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
9930
9931 * libc/sys/sparc64/sys/stat.h (stat): Add const.
9932
9933Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
9934
9935 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
9936 newlib_cflags when looking for targ-include.
9937 * */aclocal.m4, */configure: Rebuild.
9938
9939Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
9940
9941 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
9942 to "_end".
9943
9944Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
9945
9946 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
9947 on SPARCs with little-endian data.
9948 * libc/include/machine/ieeefp.h: Ditto.
9949
9950Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
9951
9952 * acinclude.m4: Handle a relative srcdir correctly when setting
9953 newlib_cflags.
9954 * */aclocal.m4, */configure: Rebuild.
9955
9956Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
9957
9958 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
9959 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
9960 * libm/math/wrf_gamma.c (gammaf_r): ditto
9961 * libm/math/wr_lgamma.c (lgamma_r): ditto
9962 * libm/math/wr_gamma.c (gamma_r): ditto
9963 * libm/math/wf_sqrt.c (sqrtf): ditto
9964 * libm/math/wf_sinh.c (sinhf): ditto
9965 * libm/math/wf_scalb.c (scalbf): ditto
9966 * libm/math/wf_remainder.c (remainderf): ditto
9967 * libm/math/wf_pow.c (powf): ditto
9968 * libm/math/wf_log10.c (log10f): ditto
9969 * libm/math/wf_log.c (logf): ditto
9970 * libm/math/wf_lgamma.c (lgammaf): ditto
9971 * libm/math/wf_jn.c (jnf, ynf): ditto
9972 * libm/math/wf_j1.c (j1f, y1f): ditto
9973 * libm/math/wf_j0.c (j0f, y0f): ditto
9974 * libm/math/wf_hypot.c (hypotf): ditto
9975 * libm/math/wf_gamma.c (gammaf): ditto
9976 * libm/math/wf_fmod.c (fmodf): ditto
9977 * libm/math/wf_exp.c (expf): ditto
9978 * libm/math/wf_cosh.c (coshf): ditto
9979 * libm/math/wf_atanh.c (atanhf): ditto
9980 * libm/math/wf_atan2f.c (atan2f): ditto
9981 * libm/math/wf_asin.c (asinf): ditto
9982 * libm/math/wf_acosh.c (acoshf): ditto
9983 * libm/math/wf_acos.c (acosf): ditto
9984 * libm/math/w_sqrt.c (sqrt): ditto
9985 * libm/math/w_sinh.c (sinh): ditto
9986 * libm/math/w_scalb.c (scalb): ditto
9987 * libm/math/w_remainder.c (remainder): ditto
9988 * libm/math/w_pow.c (pow): ditto
9989 * libm/math/w_log10.c (log10): ditto
9990 * libm/math/w_log.c (log): ditto
9991 * libm/math/w_lgamma.c (lgamma): ditto
9992 * libm/math/w_jn.c (jn, yn): ditto
9993 * libm/math/w_j1.c (j1, y1): ditto
9994 * libm/math/w_j0.c (j0, y0): ditto
9995 * libm/math/w_hypot.c (hypot): ditto
9996 * libm/math/w_gamma.c (gamma): ditto
9997 * libm/math/w_fmod.c (fmod): ditto
9998 * libm/math/w_exp.c (exp): ditto
9999 * libm/math/w_cosh.c (cosh): ditto
10000 * libm/math/w_atanh.c (atanh): ditto
10001 * libm/math/w_atan2f.c (atan2): ditto
10002 * libm/math/w_asin.c (asin): ditto
10003 * libm/math/w_acosh.c (acosh): ditto
10004 * libm/math/w_acos.c (acos): ditto
10005
10006Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
10007
10008 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
10009 (fsrc): Add wf_cabs.c and wf_drem.c.
10010 * libm/math/Makefile.in: Rebuild.
10011
10012 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
10013 unused directory variables. Remove duplicate CFLAGS.
10014 * Makefile.in: Rebuild.
10015
10016 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
10017 with $(CC_FOR_BUILD).
10018 (makedoc.o): Likewise.
10019 * doc/Makefile.in: Rebuild.
10020
10021 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
10022 force a definition of COMPILE.
10023 (libfoo_a_SOURCES): Define.
10024 * libc/sys/cygwin32/Makefile.in: Rebuild.
10025 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
10026 force a definition of COMPILE.
10027 (libfoo_a_SOURCES): Define.
10028 * libc/sys/tic80/Makefile.in: Rebuild.
10029
10030Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
10031
10032 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
10033 flag.
10034
10035Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
10036
10037 * Build using autoconf and automake. Added many Makefile.am and
10038 configure.in files, plus generated files. Old configure.in files
10039 and all old Makefile.in files completely replaced. Removed
10040 host/any. Added acinclude.m4 and configure.host.
10041
10042Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
10043
10044 * libc/stdio/vfprintf.c: enable long long support, sometimes.
10045 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
10046
10047Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10048
10049 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
10050 * libc/machine/sh/Makefile.in: Add rules for new files.
10051
10052Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10053
10054 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
10055 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
10056 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
10057
10058Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
10059
10060 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
10061 code is ignored.
10062
10063Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
10064
10065 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
10066 internal static buffer when s is NULL, as prescribed by ANSI.
10067
100681998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
10069
10070 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
10071 removed.
10072 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
10073 libc/stdlib will be used for h8300hms.
10074
10075Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10076
10077 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
10078 version that can be built either for speed or size.
10079 * libc/machine/mn10300/memset.S (_memset): ditto
10080 * libc/machine/mn10300/memchr.S (_memchr): ditto
10081 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
10082 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
10083 * libc/machine/mn10300/strchr.S (_strchr): ditto
10084 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
10085 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
10086 * libc/machine/mn10300/Makefile.in: Added entries for
10087 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
10088 strcmp.o, strcpy.o, and strlen.o.
10089
10090Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
10091
10092 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
10093 been replaced with libgloss/mn10200.
10094
10095Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
10096
10097 * libc/string/strchr.c (strchr): Make s a constant pointer to
10098 avoid warning.
10099
10100Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
10101
10102 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
10103 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
10104 board SWIs instead of Demon board SWIs).
10105
10106Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
10107
10108 * libc/string/strncat.c (strncat): Make -Os act the same as
10109 PREFER_SIZE_OVER_SPEED being defined.
10110
10111Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
10112
10113 * libc/string/memchr.c (memchr): Make -Os act the same as
10114 PREFER_SIZE_OVER_SPEED being defined.
10115 * libc/string/memcmp.c (memcmp): Ditto.
10116 * libc/string/memcpy.c (memcpy): Ditto.
10117 * libc/string/memset.c (memset): Ditto.
10118 * libc/string/strcat.c (strcat): Ditto.
10119 * libc/string/strchr.c (strchr): Ditto.
10120 * libc/string/strcmp.c (strcmp): Ditto.
10121 * libc/string/strcpy.c (strcpy): Ditto.
10122 * libc/string/strlen.c (strlen): Ditto.
10123 * libc/string/strncat.c (strncat): Ditto.
10124 * libc/string/strncmp.c (strncmp): Ditto.
10125 * libc/string/strncpy.c (strncpy): Ditto.
10126
10127Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
10128
10129 * libc/include/sys/itimer.h: remove
10130 * libc/include/sys/time.h: itimer stuff should be here
10131
10132Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
10133
10134 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
10135 bit instead of comparing to 0 so -0.0 can be printed correctly.
10136
10137Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10138
10139 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
10140
10141Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
10142
10143 * libc/include/sys/unistd.h: fix sync() proto
10144 * libc/include/sys/fcntl.h: remove _close which is already
10145 defined in unistd.h.
10146 * libc/include/sys/time.h: add getitimer proto
10147
10148Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
10149
10150 * libc/string/strchr.c: convert arg to unsigned char
10151 * libc/include/stdlib.h: add protos for random, srandom
10152 * libc/include/sys/stat.h: add lstat proto
10153 * libc/include/sys/time.h: add setitimer proto
10154 * libc/include/sys/unistd.h: add readlink, symlink protos
10155 * libc/include/process.h: instead of including windows.h and using
10156 HANDLEs in sexec protos, just use void *s. Need to include
10157 sys/types.h.
10158
10159Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
10160
10161 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
10162
10163Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
10164
10165 * libc/include/process.h: add secure exec protos
10166
10167Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
10168
10169 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
10170 which are accessed as both doubles and integers.
10171 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
10172 * libc/stdlib/strtod.c (_strtod_r): Likewise.
10173 * libc/stdlib/mprec.h: Add "union double_union" and change
10174 word0/word1 macros to use it.
10175
10176Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
10177
10178 * libc/include/sys/signal.h: add __cplusplus wrapper
10179
10180Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
10181
10182 * libc/include/sys/utime.h: new generic file that gets replaced by
10183 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
10184 function.
10185 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
10186 * libc/include/time.h: remove duplicate utime proto
10187 * libc/include/utime.h: add comment
10188
10189Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
10190
10191 * libc/include/sys/time.h: Add missing include to
10192 allow use of _EXFUN. Remove times function that is
10193 already defined in times.h.
10194
10195Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
10196
10197 * libc/include/time.h: Fix typo in tzset.
10198
10199Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
10200
10201 * libc/include/sys/time.h: add missing Cygwin32 function protos
10202 * libc/include/sys/unistd.h: ditto
10203 * libc/include/time.h: ditto
10204
10205Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
10206
10207 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
10208 FIXME.
10209 * libc/include/sys/types.h: add a new __MS_types__ section
10210 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
10211 __BIT_TYPES_DEFINED__.
10212
10213Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
10214
10215 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
10216 since it overrides the one in libc/include/sys. Also, start
10217 including types.h.
10218
10219Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
10220
10221 * libm/math/Makefile.in: add s_signgam.o to obj list
10222
10223Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
10224
10225 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
10226
10227Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
10228
10229 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
10230 so don't use defines.
10231
10232Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
10233
10234 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
10235
10236Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
10237
10238 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
10239 _current_locale as default locale.
10240
10241Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
10242
10243 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
10244 insufficient space in a chunk.
10245
10246Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
10247
10248 * configure.in (links): Added check for --enable-newlib-mb configure
10249 option which defines the MB_CAPABLE macro.
10250 * libc/locale/locale.c (_setlocale_r): Added support for setting
10251 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
10252 defined.
10253 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
10254 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
10255 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
10256 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
10257 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
10258 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
10259 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
10260 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
10261 * libc/stdlib/Makefile.in: Added new multibyte
10262 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
10263 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
10264 _mbstowcs_r(), and _wcstombs_r().
10265 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
10266 for JIS, SJIS, and EUC-JP characters.
10267 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
10268 MB_CAPABLE defined.
10269 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
10270 MB_CAPABLE defined.
10271 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
10272 MB_CAPABLE defined.
10273 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
10274 if MB_CAPABLE defined.
10275 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
10276 if MB_CAPABLE defined.
10277 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
10278 to the format string processing when MB_CAPABLE.
10279 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
10280 call _mbtowc_r().
10281
10282Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
10283
10284 The following modifications are courtesy of Anthony Thompson,
10285 athompson@cambridge.arm.com:
10286 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
10287 boith RDI and RDP monitors.
10288 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
10289 RDI and RDP monitors.
10290
10291Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
10292
10293 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
10294 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
10295 (_swiopen): Fixed open flags to treat write with append as just append.
10296 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
10297 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
10298
10299Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10300
10301 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
10302 When needing to transfer an initial 2-byte-word, store as
10303 two single bytes.
10304
10305Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10306
10307 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
10308 __SH3E__ .
10309 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
10310 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
10311
10312Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
10313
10314 * configure.in (target_cflags): If --enable-target-optspace, use
10315 -Os to compile newlib rather than -O2. Default to using -Os for
10316 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
10317 used.
10318
10319Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
10320
10321 * libc/include/machine/setjmp.h: change sigsetjmp and
10322 siglongjmp definitions to use an array instead of a struct
10323 for __CYGWIN32__
10324
10325Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
10326
10327 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
10328
10329Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
10330
10331 * libc/string/strxfrm.c: fix to get correct return value
10332
10333Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
10334
10335 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
10336 builds. Make mode change labels global so that they will be seen
10337 by the debugger.
10338
10339Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
10340
10341 * configure.in (links): Do not use ARM debiugging protocols for PE
10342 builds.
10343
10344 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
10345 message.
10346
10347Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10348
10349 * libc/stdio/findfp.c (__sinit): Made stdout default to
10350 line buffered mode as defined by ANSI.
10351
10352Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
10353
10354 * libc/include/sys/itimer.h: New file.
10355
10356 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
10357
10358Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10359
10360 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
10361 failure.
10362
10363Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
10364
10365 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
10366 insns.
10367
10368Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
10369
10370 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
10371
10372Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
10373
10374 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
10375 support.
10376
10377 * libc/include/machine/setjmp.h: Add D30V support.
10378
10379 * configure.in (d30v-*): Add d30v machine directory.
10380
10381Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
10382
10383 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
10384 been replaced with libgloss/mn10300.
10385
10386Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
10387
10388 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
10389 it is no longer needed.
10390
10391Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10392
10393 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
10394
10395Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
10396
10397 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
10398 the file when O_APPEND is set, wherever the EOF happens to be at
10399 that time.
10400
10401Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
10402
10403 patch from cgf@bbc.com (Christopher Faylor):
10404 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
10405 convention of closing fp prior to attempting to open the file
10406 argument. This allows correct operation when reopening
10407 stdin/stdout/stderr. Replaces last freopen.c patch.
10408
10409Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
10410
10411 patch from cgf@bbc.com (Christopher Faylor):
10412 * libc/stdio/freopen.c: freopen was not preserving the fd
10413 of the stream being operated on. This confuses programs that
10414 expect that the handles for stdout and stderr will be 1 and 2.
10415
10416Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
10417
10418 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
10419
10420Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
10421
10422 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
10423
10424Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
10425
10426 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
10427 altered to not use a branch. Also added hint that last
10428 bclr in longjmp will likely result in branch.
10429
10430
10431Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
10432
10433 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
10434
10435Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
10436
10437 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
10438 v850 builds.
10439
10440 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
10441
10442Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
10443
10444 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
10445 that loads FR14 to specify offset of 8 rather than 4
10446 so it loads from offset 96 (where setjmp stored it).
10447
10448Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10449
10450 * libc/machine/sh/memcpy.S: (_memcpy): Update to
10451 latest version supplied by customer.
10452 * libc/machine/sh/memset.S (_memset): Ditto.
10453
10454Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
10455
10456 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
10457 PR14730).
10458
10459Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
10460
10461 * libc/include/string.h: remove redefinition of ffs
10462
10463Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
10464
10465 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
10466 defined
10467
10468Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10469
10470 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
10471 TI Libraries to link to libc.a
10472
10473Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
10474
10475 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
10476 * libc/include/sys/stat.h (_{,f}stat): Ditto.
10477 * libc/include/sys/wait.h (_wait): Ditto.
10478 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
10479 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
10480
10481Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
10482
10483 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
10484 minded stabs so function name shows up when running the simulator
10485 with -t.
10486 * libc/sys/d10v/{crt0,trap}.S: Ditto.
10487
10488Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
10489
10490 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
10491 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
10492 Use R5 where we used to use R3.
10493
10494Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
10495
10496 * libc/stdlib/getopt.c (getopt): replaced __progname
10497 with nargv[0] to improve portability to imbedded systems.
10498
10499Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
10500
10501 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
10502 patch supplied by Tont.Thompson@arm.com to fix the creation of the
10503 stdout file.
10504
10505Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
10506
10507 * libc/stdio/tmpnam.c (worker): Generate a different file name
10508 each time.
10509
10510 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
10511 fails, try an execlp for sh.
10512
10513 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
10514 option for the winsup include directory.
10515
10516Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
10517
10518 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
10519 debugging interface from Tony.Thompson@arm.com.
10520
10521 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
10522 * libc/sys/arm/swi.h: ditto.
10523
10524Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10525
10526 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
10527 DIR struct used for readdir hashes.
10528
10529Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
10530
10531 * libc/string/strchr.c: Use "unsigned chars" as necessary.
10532
10533Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
10534
10535 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
10536 integer targets.
10537
10538Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
10539
10540 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
10541 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
10542 * libc/include/malloc.h: Add extern "C" if __cplusplus.
10543 (__malloc_copy): Declare.
10544
10545Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
10546
10547 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
10548 <sys/config.h>.
10549 (POINTER_UINT): Define.
10550 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
10551 (MALLOC_ALIGNMENT): Don't define if already defined.
10552 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
10553 long.
10554
10555Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10556
10557 * libc/string/memset.c (memset): Fiddle with code so that the long
10558 value being stored is not a stack value. Unroll storing longs 4
10559 times.
10560
10561Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
10562
10563 * Reduce code size for libm modules.
10564 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
10565 and simply move code into sqrt.
10566 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
10567 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
10568 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
10569 * libm/math/wr_gamma.c (gamma_r): Likewise.
10570 * libm/math/wf_sinh.c (sinfh): Likewise.
10571 * libm/math/w_sinh.c (sinh): Likewise.
10572 * libm/math/wf_scalb.c (scalbf): Likewise.
10573 * libm/math/w_scalb.c (scalb): Likewise.
10574 * libm/math/wf_remainder.c (remainderf): Likewise.
10575 * libm/math/w_remainder.c (remainder): Likewise.
10576 * libm/math/wf_pow.c (powf): Likewise.
10577 * libm/math/w_pow.c (pow): Likewise.
10578 * libm/math/wf_log10.c (log10f): Likewise.
10579 * libm/math/w_log10.c (log10): Likewise.
10580 * libm/math/wf_log.c (logf): Likewise.
10581 * libm/math/w_log.c (log): Likewise.
10582 * libm/math/w_lgamma.c (lgamma): Likewise.
10583 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10584 * libm/math/wf_jn.c (jnf): Likewise.
10585 * libm/math/w_jn.c (jn): Likewise.
10586 * libm/math/wf_j1.c (j1f): Likewise.
10587 * libm/math/w_j1.c (j1): Likewise.
10588 * libm/math/wf_j0.c (j0f): Likewise.
10589 * libm/math/w_j0.c (j0): Likewise.
10590 * libm/math/wf_hypot.c (hypotf): Likewise.
10591 * libm/math/w_hypot.c (hypot): Likewise.
10592 * libm/math/wf_gamma.c (gammaf): Likewise.
10593 * libm/math/w_gamma.c (gamma): Likewise.
10594 * libm/math/wf_fmod.c (fmodf): Likewise.
10595 * libm/math/w_fmod.c (fmod): Likewise.
10596 * libm/math/wf_exp.c (expf): Likewise.
10597 * libm/math/w_exp.c (exp): Likewise.
10598 * libm/math/wf_cosh.c (coshf): Likewise.
10599 * libm/math/w_cosh.c (cosh): Likewise.
10600 * libm/math/wf_atanh.c (atanhf): Likewise.
10601 * libm/math/w_atanh.c (atanh): Likewise.
10602 * libm/math/wf_atan2.c (atan2f): Likewise.
10603 * libm/math/w_atan2.c (atan2): Likewise.
10604 * libm/math/wf_asin.c (asinf): Likewise.
10605 * libm/math/w_asin.c (asin): Likewise.
10606 * libm/math/wf_acosh.c (acoshf): Likewise.
10607 * libm/math/w_acosh.c (acosh): Likewise.
10608 * libm/math/wf_acos.c (asocf): Likewise.
10609 * libm/math/w_acos.c (acos): Likewise.
10610 * libm/math/wf_sqrt.c (sqrtf): Likewise.
10611 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
10612 for embedded systems.
10613
10614Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
10615
10616 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
10617 Lea in case of a foreign sbrk.
10618
10619Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
10620
10621 Incorporate Doug Lea's malloc:
10622 * libc/stdlib/mallocr.c: Completely replaced.
10623 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
10624 (realloc): Remove.
10625 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
10626 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
10627 mallopt.
10628 (mallinfo, malloc_stats, mallopt): New functions.
10629 (_mstats_r): Just call _malloc_stats_r.
10630 * libc/stdlib/malign.c: New file.
10631 * libc/stdlib/mlock.c: New file.
10632 * libc/stdlib/msize.c: New file.
10633 * libc/stdlib/mtrim.c: New file.
10634 * libc/stdlib/realloc.c: New file.
10635 * libc/stdlib/valloc.c: New file.
10636 * libc/stdlib/malloc.h: Remove.
10637 * libc/stdlib/callocr.c: Remove.
10638 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
10639 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
10640 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
10641 reallocr.o, valloc.o, vallocr.o.
10642 (CHEWOUT_FILES): Add mlock.def, mstats.def.
10643 (MALLOC_CFLAGS): New variable.
10644 (mallocr.o): New target, build from mallocr.c.
10645 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
10646 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
10647 (msizer.o, malloptr.o): Likewise.
10648 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
10649 (valloc.o): New target.
10650 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
10651 * libc/include/malloc.h: Declare struct mallinfo, and new
10652 routines.
10653 * libc/include/stdlib.h (cfree): Correct declaration.
10654
10655Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
10656
10657 * libc/include/machine/setjmp.h: Add support for Thumb target.
10658
10659 * libc/include/machine/ieeefp.h: Add support for Thumb target.
10660
10661 * configure.in (links): Add support for Thumb target.
10662
10663Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
10664
10665 * libc/sys/arm/setjmp.S: Updated with version from branch.
10666
10667Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
10668
10669 * libc/include/stdio.h: add POSIX-required define L_ctermid
10670 for ctermid
10671
10672Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
10673
10674 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
10675 addition to MISSING_SYSCALL_NAMES.
10676
10677Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10678
10679 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
10680
10681Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
10682
10683 * libc/include/string.h: change strsignal proto to return
10684 a char *. This eliminates compile problems in gdb resulting
10685 from gdb's definition of strsignal in defs.h.
10686
10687Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
10688
10689 * libc/sys/cygwin32/sys/utime.h: new (moved here from
10690 winsup/include) so as not to conflict with the one in
10691 libc/include.
10692 * libc/include/string.h: add protos for strsignal, strtosigno
10693
10694Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
10695
10696 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
10697
10698 * configure.in (d30v-*-*): Add configuration.
10699
10700Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
10701
10702 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
10703 to select which kind of debug monitor is in use for an ARM target.
10704
10705 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
10706 Angel and Demon debug monitors. Part of this code was supplied by
10707 Tony Thompson at ARM: athompso@arm.com.
10708
10709Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
10710
10711 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
10712 semantics when the count is greater than the length of the second
10713 source string.
10714
10715Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
10716
10717 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
10718 * libc/include/sys/unistd.h: add protos for usleep, truncate,
10719 truncate and ftruncate take off_t, not size_t
10720
10721Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
10722
10723 * libc/string/strcat.c (strcat): Add missing comment end.
10724 * libc/string/strncat.c (strncat): Likewise.
10725
10726Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
10727
10728 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
10729 targets.
10730 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
10731 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
10732 defined.
10733 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10734 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10735 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10736
10737Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
10738
10739 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
10740 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
10741
10742Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
10743
10744 * libc/machine/i386/setjmp.S: New file.
10745 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
10746 (OFILES): Add setjmp.o.
10747 (setjmp.o): Add rule for.
10748 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
10749
10750Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
10751 Jeffrey A Law (law@cygnus.com)
10752
10753 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
10754 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10755 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10756 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10757
10758Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
10759
10760 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
10761 rules.
10762
10763 * libc/include/sys/config.h: Use __v850 to select v850
10764 endianness.
10765
10766 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
10767 buffer size.
10768
10769 * libc/include/machine/ieeefp.h: Use __v850 to select v850
10770 endianness.
10771
10772Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
10773
10774 * libc/stdlib/setenv.c: change unsetenv definition to match
10775 style of setenv (with _DEFUN). The string should be a const.
10776 * libc/include/stdlib.h: unsetenv proto should return void.
10777
10778Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
10779
10780 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
10781
10782Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
10783
10784 * libc/stdio/glue.h: remove.
10785 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
10786 * libc/stdio/Makefile.in: remove glue.h dependencies
10787
10788Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
10789
10790 * libc/sys/sysnecv850/crt0.S: Created V850e version.
10791
10792Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
10793
10794 * configure.in (target_cpu): Add `arc'.
10795
10796Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
10797
10798 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
10799 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
10800 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
10801 * newlib/libc/reent/reent.c: Add _wrapup_reent.
10802 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
10803
10804Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
10805
10806 * libc/machine/mips/setjmp.S: Handle mips16 builds.
10807
10808Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
10809
10810 * libc/include/stdio.h (siprintf): Declare.
10811
10812Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
10813
10814 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
10815 TARGET_CFLAGS and NEWLIB_FLAGS.
10816
10817Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10818
10819 * configure.in (links): Add support for v850ea target.
10820
10821Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10822
10823 * configure.in (links): Add support for v850e target.
10824
10825Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
10826
10827 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
10828
10829Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
10830
10831 * configure.in (arc-*-*): Add support for.
10832 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
10833
10834Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10835
10836 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
10837
10838Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
10839
10840 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
10841 comparison which accesses invalid memory when the key is
10842 larger than the last member of the array.
10843 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
10844 for CYGWIN32
10845 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
10846
10847Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
10848
10849 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
10850 not _STRICT_ANSI.
10851
10852Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
10853
10854 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
10855 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
10856
10857Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
10858
10859 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
10860 to load/store memory.
10861
10862Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
10863
10864 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
10865 underscores if _WIN32.
10866
10867Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
10868
10869 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
10870 support ifdef _USE_WRITE missed in last change.
10871 From Anders Blomdell <anders.blomdell@control.lth.se>.
10872
10873Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
10874
10875 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
10876 (_tmpnam_r, _tempnam_r): Update.
10877
10878Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
10879
10880 * libc/machine/sparc/setjmp.S: New file.
10881 * libc/machine/sparc/Makefile.in: Add setjmp.
10882 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
10883
10884Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
10885
10886 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
10887
10888Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
10889
10890 From Joel Sherrill <joel@oarcorp.com>.
10891 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
10892
10893 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
10894 * configure.in: Recognize *-*-rtems*.
10895 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
10896 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
10897 time.h,times.h,types.h}: New files.
10898 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
10899
10900Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
10901
10902 patch from sos@prospect.com.ru (Sergey Okhapkin):
10903 * include/sys/wait.h: correct operator precidence bug
10904 in WIFSIGNALED
10905
10906Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
10907
10908 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
10909 with newlib's unsetenv function
10910 * libc/sys/cygwin32/sys: new directory for includes
10911 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
10912 here from winsup/include/sys
10913
10914Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
10915
10916 * libc/include/sys/unistd.h: _exit should only be
10917 labelled noreturn when not __CYGWIN32__
10918 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
10919 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
10920 increment NSIG
10921
10922Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
10923
10924 * libc/include/sys/time.h: Only define timeval and timezone if
10925 _GNU_H_WINDOWS32_SOCKETS is not defined.
10926 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
10927
10928Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
10929
10930 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
10931 * libc/machine/mn10300/setjmp.S: Likewise.
10932
10933 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
10934 the mn10300 (more relaxing opportunities).
10935
10936Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
10937
10938 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
10939 Build libraries with -mstrict-align.
10940
10941Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
10942
10943 * libc/string/strlwr.c: New file.
10944 * libc/string/strupr.c: New file.
10945 * libc/include/string.h: Declare strlwr and strupr.
10946 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
10947 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
10948 (strlwr.o, strupr.o): New targets.
10949 * libc/string/strings.tex: Include strlwr and strupr docs.
10950
10951 * libc/include/sys/types.h: Don't define u_char, et. al., if
10952 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
10953 et. al. Make FD_SETSIZE default 64 rather than 60. Define
10954 _types_fd_set rather than fd_set, and define fd_set as a macro.
10955
10956 * libc/include/malloc.h: New file.
10957
10958 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
10959 strnicmp if they are not already defined.
10960
10961 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
10962 _timezone, _daylight, and _tzname.
10963
10964Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
10965
10966 * configure.in: Sort all configuration tables.
10967
10968 From Joel Sherrill <joel@oarcorp.com>
10969 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
10970
10971Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
10972
10973 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
10974 use int when declaring kill.
10975
10976 * libc/include/sys/timeb.h: New file.
10977
10978Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
10979
10980 * libc/include/sys/time.h: add itimer support for Cygwin32
10981
10982Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
10983
10984 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
10985 out a message that abort was called to stderr.
10986
10987Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
10988
10989 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
10990 so that libio doesn't freak.
10991
10992 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
10993 int.
10994
10995 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
10996 memory sizes, not int.
10997
10998Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
10999
11000 * libm/math/ef_hypot.c: Use long constants where
11001 appropriate.
11002 * libm/math/ef_sqrt.c: Ditto.
11003
11004 * libc/sys/sysmec/times.c(_times): Change to times.
11005
11006 * libc/sys/sysmec/read.c(_read): The third argument is
11007 size_t.
11008 * libc/sys/sysmec/write.c (_write): Ditto.
11009
11010 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
11011 (_lseek): It's off_t for the second argument.
11012
11013Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
11014
11015 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
11016 as well as machine/ieeefp.h.
11017
11018Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
11019
11020 * libc/include/sys/signal.h: add signal protos for winsup
11021 functions (when __CYGWIN32__), include types.h
11022 * libc/include/sys/types.h: Change __go32_types__ internal
11023 define to __MS_types__ since it's used for more than just
11024 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
11025 defined.
11026 * libc/include/sys/unistd.h: add ftruncate proto for
11027 winsup functions (when __CYGWIN32__)
11028
11029Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
11030
11031 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
11032
11033Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
11034
11035 * libc/include/machine/setjmp.h: Add tic80 support.
11036 * libc/machine/tic80/setjmp.S: Likewise.
11037
11038Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
11039
11040 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
11041 link programs from libraries only (such as in the X11
11042 distribution)
11043
11044Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
11045
11046 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
11047 supplied elsewhere in newlib.
11048
11049Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
11050
11051 * Makefile.in (INSTALL): Change install.sh to install-sh.
11052
11053Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
11054
11055 * README: update WWW address for on-line documentation.
11056
11057Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
11058
11059 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
11060 increment NSIG
11061
11062Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
11063
11064 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
11065 mn10300.
11066 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
11067
11068Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
11069
11070 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
11071 * libc/sys/d10v/syscalls.c: Likewise.
11072 * libc/sys/h8300hms/sbrk.c: Likewise.
11073 * libc/sys/h8500hms/syscalls.c: Likewise.
11074 * libc/sys/m88kbug/syscalls.c: Likewise.
11075 * libc/sys/sh/syscalls.c: Likewise.
11076 * libc/sys/sysmec/sbrk.c: Likewise.
11077 * libc/sys/sysnecv850/sbrk.c: Likewise.
11078 * libc/sys/w65/syscalls.c: Likewise.
11079 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
11080
11081Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
11082
11083 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
11084 emulated syscall instead of "trap".
11085
11086Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
11087
11088 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
11089 not trap 0.
11090
11091Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
11092
11093 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
11094
11095Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
11096
11097 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
11098 not "sh".
11099 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
11100 not "d10v".
11101 * libc/sys/tic80/crt0.c: New file for TIc80.
11102 * libc/sys/tic80/Makefile.in: New file for TIc80.
11103 * libc/machine/tic80/Makefile.in: New file for TIc80.
11104
11105Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
11106
11107 * libc/machine/sh/memcpy.S: New file.
11108 * libc/machine/sh/memset.S: New file.
11109 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
11110
11111Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
11112
11113 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
11114 for TIc80.
11115
11116Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
11117
11118 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
11119 the mn10200.
11120
11121Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
11122
11123 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
11124 (patch from andrew@pogo.WV.TEK.COM).
11125
11126Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
11127
11128 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
11129 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
11130
11131Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
11132
11133 * configure.in: Add cases for "tic80" to set machine_dir,
11134 sys_dir, and syscall_dir.
11135
11136Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
11137
11138 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
11139
11140Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
11141
11142 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
11143
11144Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
11145
11146 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
11147 Use proper constant prefix.
11148
11149Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
11150
11151 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
11152 that loses on the mn10200 where ints and pointers are different
11153 sizes.
11154
11155Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
11156
11157 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
11158 target as signal is provided in winsup.
11159
11160Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
11161
11162 * libc/include/sys/process.h: Corrected const definitions
11163 in spawn functions. Added cwait.
11164
11165Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
11166
11167 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
11168 doubles.
11169 * libc/include/sys/config.h: Similarly.
11170
11171Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11172
11173 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
11174 target_cflags.
11175 (i[3456]86-*-sco*): Ditto.
11176
11177 * libc/signal/Makefile.in (OFILES): Add signal.o.
11178 (CFILES): Add signal.c.
11179
11180 * libc/signal/raise.c (_raise_r): Only compile code if
11181 SIGNAL_PROVIDED is defined.
11182
11183 * libc/signal/signal.c: Redo whole file so that it works with
11184 current newlib. Use _kill_r if no signal handler provided.
11185
11186 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
11187 signal stubs.
11188 * libc/sys/sysvnecv70/Makefile.in: Ditto.
11189 * libc/sys/sysnecv850/Makefile.in: Ditto.
11190
11191 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
11192 * libc/sys/sysmec/{raise,signal}.c: Ditto.
11193 * libc/sys/sysvnecv70/signal.s: Ditto.
11194 * libc/sys/sysnecv850/raise.c: Ditto.
11195
11196 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
11197 simulator and debugger can tell the difference between a signal
11198 being raised and an exit system call.
11199
11200 * NEWS: Document software signals being provided.
11201
11202Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11203
11204 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
11205 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
11206 include/sys/config.h.
11207 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
11208 Change from 'inpure_data'.
11209 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
11210 &impure_data, not &inpure_data.
11211
11212 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
11213 and and System V ABI, define so that _impure_ptr lives in the
11214 .sdata section.
11215
11216Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11217
11218 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
11219 nothing if not defined.
11220 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
11221 its attributes.
11222
11223 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
11224
11225Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
11226
11227 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
11228 * libc/sys/sysmec/trap.s: Handle mn10200 too.
11229 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
11230
11231Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
11232
11233 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
11234
11235Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
11236
11237 * libc/include/sys/errno.h: Added net errno's.
11238
11239Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11240
11241 * libc/misc/ffs.c: New file to support ffs function for GCC test
11242 gcc.c-torture/execute/960909-1.c.
11243
11244 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
11245
11246Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
11247
11248 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
11249 * libc/sys/sysmec/trap.S: Likewise.
11250
11251Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
11252
11253 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
11254 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
11255
11256Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
11257
11258 * libc/sys/sysmec/signal.c: Dummy file.
11259 * libc/sys/sysmec/Makefile.in: Build it.
11260
11261Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
11262
11263 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
11264 mips16.
11265
11266Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
11267
11268 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
11269 c-startup and simulator traps.
11270
11271
11272 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
11273 * libc/sys/sysmec/trap0.S: Likewise.
11274
11275Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11276
11277 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
11278 round to double word alignment.
11279 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
11280 byte alignment.
11281
11282 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
11283
11284 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
11285 out of memory.
11286
11287Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
11288
11289 * configure.in: Handle mn10200 and mn10300.
11290 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
11291 * libc/include/sys/config.h: Likewise.
11292 * libc/sys/sysmec: New directory for mec stuff.
11293 * libc/machine/mn10300: New directory for mn10300 stuff.
11294 * libc/machine/mn10200: Similarly for mn10200 stuff.
11295
11296Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
11297
11298 * libc/sys/arm/crt0.S: Use .text, not .section .text.
11299 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
11300
11301 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
11302 (nlink_t): Change type from unsigned int to unsigned short.
11303 (mode_t): Ensure size is 32 bits even if int is 16.
11304 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
11305 (st_spare[123]): Change type from int to long.
11306
11307Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11308
11309 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
11310 byte boundary.
11311
11312 * configure.in (d10v*): Define SMALL_MEMORY.
11313
11314Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11315
11316 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
11317 -mrelocatable-lib and -mno-eabi flags.
11318
11319Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
11320
11321 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
11322 Fix handling of mis-aligned source operand when both the
11323 destination & length are properly aligned.
11324
11325Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
11326
11327 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
11328 times.o, time.o and gettime.o
11329 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
11330 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
11331 SYS_gettimeofday.
11332
11333Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
11334
11335 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
11336 * libc/sys/sysnecv850/access.c: New file.
11337
11338Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
11339
11340 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
11341
11342 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
11343 long.
11344
11345Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
11346
11347 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
11348
11349Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
11350
11351 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
11352 * libc/include/sys/config.h: Add m32r support.
11353
11354Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
11355
11356 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
11357 here.
11358
11359Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
11360
11361 * libc/include/machine/setjmp.h: Add D10v support.
11362
11363Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
11364
11365 * configure.in: Configure the "libc/syscalls" directory for
11366 the v850.
11367
11368 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
11369 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
11370 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
11371 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
11372 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
11373
11374Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
11375
11376 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
11377 stack for args for main and other routines. Zero out args for
11378 main.
11379
11380 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
11381 correctly.
11382
11383Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11384
11385 * libc/stdio/findfp.c (std): Remove extraneous ';' after
11386 function.
11387
11388 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
11389
11390 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
11391 real system calls now.
11392
11393 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
11394 before casting them to int.
11395 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
11396
11397 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
11398 aligning pointer.
11399 * libc/string/memset.c (memset): Ditto.
11400
11401 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
11402 first convert ints to _POINTER_INT to eliminate GCC warning.
11403
11404 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
11405 processing %p.
11406
11407 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
11408 from 65000 if ints are only 16 bits.
11409
11410 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
11411 from 50000 if ints are only 16 bits.
11412
11413 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
11414 int type that is the same size as a pointer.
11415
11416 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
11417 processing %p.
11418 (get_number): Explicitly cast number to long before shifting by 16
11419 or 24, in case ints are short.
11420
11421 * libc/include/sys/config.h (_POINTER_INT): Define as short.
11422
11423Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
11424
11425 * libc/string.h: Added ffs, removed swab.
11426 * libc/sys/errno.h: Added EOPNOTSUPP.
11427 * libc/sys/unistd.h: Added swab.
11428
11429Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
11430
11431 * libc/include/sys/stat.h: Added fchmod.
11432 * libc/include/sys/unistd.h: Added fsync.
11433
11434Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
11435
11436 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
11437 and ECONNRESET (104) for cygwin32.
11438
11439Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
11440
11441 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
11442 do the static destructors.
11443
11444Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
11445
11446 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
11447
11448Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
11449
11450 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
11451 * configure.in: Recognize m32r-*-*.
11452
11453Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
11454
11455 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
11456 __rt_stkovf_split_small): Added default software stack overflow
11457 handlers, which just call SWI_Exit.
11458 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
11459 limit initialisation.
11460
11461Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
11462
11463 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
11464
11465Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
11466
11467 * libc/include/sys/types.h: Added ssize_t definition.
11468
11469Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11470
11471 * libc/machine/d10v/setjmp.S: Use ';' for comments.
11472 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
11473
11474 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
11475 branch around a single ldi instruction.
11476
11477 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
11478 Call exit, instead of just issuing a stop instruction.
11479
11480Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11481
11482 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
11483
11484Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11485
11486 * libc/stdlib/mprec.h: Explicitly declare all large constants as
11487 longs, and then cast them to __uint32_t.
11488
11489 * libc/include/sys/config.h: Protect against multiple inclusions.
11490
11491Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
11492
11493 * configure.in (d10v*): Set syscall_dir.
11494
11495Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
11496
11497 * libc/sys/d10v/crt0.S: Set stack pointer.
11498
11499Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
11500
11501 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
11502 in assembly for efficiency. Change calling convention to allow
11503 long ints to be returned.
11504
11505Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11506
11507 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
11508
11509Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
11510
11511 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
11512 Handle empty entries in $PATH.
11513
11514Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
11515
11516 * libc/machine/d10v/setjmp.S: Make it really work.
11517
11518Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
11519
11520 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
11521 the .stack section.
11522
11523Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
11524
11525 * sys/sysnecv850/sys/file.h: Remove.
11526 * sys/sysnecv850/sys/syscall.h: New file.
11527 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
11528 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
11529 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
11530 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
11531 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
11532 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
11533 * sys/sysnec850/trap.S: New file.
11534 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
11535 syscalls.
11536 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
11537 * sys/sysnec850/sbrk.c: New version.
11538
11539Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
11540
11541 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
11542 as long as r6 is less than r7.
11543
11544Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
11545
11546 * Makefile.in (mostlyclean): Separate from clean target. Don't
11547 remove *.a or targ-include.
11548 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
11549
11550Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11551
11552 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
11553 d10v.
11554 (__SMALL_BITFIELDS): Ditto.
11555
11556 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
11557
11558Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
11559
11560 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
11561 prefix.
11562
11563 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
11564 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
11565 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
11566 * libc/sys/sysnecv850/write.c (write): Likewise.
11567
11568 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
11569 .bss.
11570
11571Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11572
11573 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
11574 appropriately for D10V, depending on -mint16/-mint32.
11575
11576Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
11577
11578 * configure.in: Add cases for D10V.
11579
11580Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11581
11582 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
11583
11584Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
11585
11586 * libc/include/machine/ieeefp.h: Fix typo.
11587
11588Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
11589
11590 * libc/sys/d10v: New directory for D10V stuff.
11591 * libc/include/machine/ieeefp.h: Add D10V defines.
11592
11593Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
11594
11595 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
11596 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
11597 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
11598 * libc/string/strerror.c (strerror): Add them.
11599
11600Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
11601
11602 * libc/sys/sysnecv850: New directory for v850 stuff.
11603
11604 * libc/machine/v850: New directory for v850 stuff.
11605 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
11606
11607 * configure.in: Add support for the v850.
11608
11609 * libc/include/machine/ieeefp.h: Add v850 defines.
11610 * libc/include/machine/setjmp.h: Likewise.
11611 * libc/include/sys/config.h: Add v850 defines.
11612
11613Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
11614
11615 * libc/include/machine/ieeefp.h
11616 * libc/include/machine/setjmp.h
11617 * libc/include/sys/fcntl.h
11618 * libc/include/sys/signal.h
11619 * libc/include/sys/types.h
11620 * libc/stdlib/system.c:
11621 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
11622 API availability, __CYGWIN32__ for cygwin32 environment specific).
11623
11624Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
11625
11626 * libc/include/stdlib.h: add multibyte character functions. Add
11627 __eprintf for assert.
11628
11629Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11630
11631 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
11632 arithmetic or __alignof__ to properly get the alignment, instead
11633 of hardwiring it to 4.
11634
11635Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
11636
11637 * libc/stdio/fseek.c: add fflush call to adjust seek offset
11638 on append stream (fix from NetBSD sources), adjust curoff offset
11639 for ungetc's benefit.
11640 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
11641 * libc/stdio/rewind.c: replace code with up to date NetBSD
11642 code to undo hacks made to work around above problem of not
11643 having fflush call mentioned above
11644
11645Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11646
11647 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
11648 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
11649 Partially revert last changes. The thread specific errno is set
11650 iff if the underlying syscall fails and the global errno is not
11651 zero.
11652
11653Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11654
11655 * libc/reent/filer.c: Removed files, all functions have split out
11656 into their own files.
11657 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
11658 New files containing functions formally in filer.c
11659 * libc/reent/Makefile.in: Updated for above change.
11660
11661 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
11662 syscall fails, not if errno is changed.
11663 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
11664 _write_r): Likewise.
11665 * libc/reent/fstatr.c (_fstat_r): Likewise.
11666 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
11667 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
11668 * libc/reent/signalr.c (_kill_r): Likewise.
11669 * libc/reent/statr.c (_stat_r): Likewise.
11670 * libc/reent/timer.c (_gettimeofday_r): Likewise.
11671
11672 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
11673 signalr.c, statr.c, timer.c} (errno): declare extern rather
11674 than as a common.
11675
11676 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
11677 instead of calling vfprintf so that i*printf will not require
11678 floating point support code.
11679
11680Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
11681
11682 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
11683 path delimiter.
11684 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
11685 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
11686
11687Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
11688
11689 * libc/include/signal.h: _sig_func_ptr function takes an int
11690 * libc/include/sys/signal.h: sa_handler function takes an int
11691
11692Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
11693
11694 * libc/include/machine/ieeefp.h: Simplify H8/S support.
11695 * libc/include/sys/config.h: Add missing H8/S conditional.
11696
11697Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
11698
11699 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
11700
11701Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
11702
11703 * libc/include/machine/setjmp.h: Handle H8/S.
11704 * libc/include/machine/ieeefp.h: Likewise.
11705 * libc/include/sys/config.h: Likewise.
11706 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
11707 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
11708 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
11709 * libc/sys/h8300hms/crt0.S: Likewise.
11710
11711Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11712
11713 * Makefile.in (datadir): Set to $(prefix)/share.
11714 (oldincludedir, docdir): Removed.
11715 * doc/Makefile.in (datadir): Set to $(prefix)/share.
11716 (oldincludedir, docdir): Removed.
11717 * libc/Makefile.in (datadir): Set to $(prefix)/share.
11718 (oldincludedir, docdir): Removed.
11719 * libm/Makefile.in (datadir): Set to $(prefix)/share.
11720 (oldincludedir, docdir): Removed.
11721
11722Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
11723
11724 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
11725 _reent struct.
11726
11727Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
11728
11729 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
11730 fetch current path rules with sysconf and handler posix/win32
11731 appropriately.
11732
11733 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
11734
11735 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
11736 (WAIT_CHILD): Always define.
11737
11738Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
11739
11740 * libc/stdlib/eprintf.c: New file.
11741 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
11742 (eprintf.o): New target.
11743
11744Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
11745
11746 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
11747 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
11748
11749Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
11750
11751 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
11752 NT in PowerPC endianess cases.
11753
11754Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11755
11756 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
11757
11758Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11759
11760 * libc/string/strtok.c: Fix doc typo.
11761
11762Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11763
11764 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
11765 _next, _scanpoint, _signgam fields.
11766
11767 * libc/include/stdlib.h (rand_r): Added new declaration.
11768 (_rand_r, _srand_r): Removed declarations.
11769 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
11770 have been made obsolete by rand_r.
11771 * libc/stdlib/rand_r.c: New file, rand_r function as specified
11772 by POSIX.1c.
11773
11774 * libc/string/strtok.c: Update documentation to describe
11775 strtok_r().
11776
11777Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
11778
11779 * libc/include/sys/stat.h (stat structure): Use the expanded stat
11780 structure on Solaris, and PowerPC systems even though __svr4__ is
11781 defined.
11782
11783Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
11784
11785 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
11786
11787Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
11788
11789 * host/any: Use ../.. rather than .. to get to the main build
11790 directory. This matches the current layout of the build
11791 directory.
11792
11793Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
11794
11795 * libc/machine/h8300/__main.S: Delete. No longer needed.
11796 * libc/machine/h8300/Makefile.in: Corresponding changes.
11797 * libc/sys/h8300hms/crt1.c: New file.
11798 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
11799 * libc/sys/h8300hms/crt0.s: Call __main.
11800
11801 * libc/sys/h8300hms/crt0.S: Use temporary label names
11802 for branch targets.
11803
11804Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
11805
11806 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
11807
11808Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11809
11810 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
11811 .sdata on the PowerPC so that we can link newlib with code
11812 compiled with -msdata.
11813
11814Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
11815
11816 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
11817
11818Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
11819
11820 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
11821 exception handler to __cygwin_exception_handler.
11822
11823Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
11824
11825 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
11826
11827Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
11828
11829 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
11830 SunOS VPATH.
11831 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
11832 wcstombs.o): Likewise.
11833
11834Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
11835
11836 * libc/stdlib/environ.c (initial_env): New static local.
11837 (environ): Point to `initial_env'.
11838
11839 * libc/include/machine/setjmp.h: Clean up.
11840 (__H8300H__,__PPC__): Define _JBTYPE.
11841 (__arm__): Provide entry for.
11842 (sigjmp_buf): Delete.
11843 (jmp_buf): Use _JBTYPE if defined, otherwise int.
11844
11845Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
11846
11847 * libc/machine/h8300/strcmp.S: Sign extend the result to
11848 32bits so we don't lose with -mint32.
11849
11850Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
11851
11852 * libc/sys/go32/sys/errno.h: New file.
11853 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
11854 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
11855 errno's address (make compatible with rest of newlib).
11856 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
11857 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
11858
11859Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
11860
11861 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
11862 * libc/machine/sparc/Makefile.in: Build them.
11863 * libc/machine/sparc/machine/sparclet.h: New file.
11864
11865Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11866
11867 * libc/machine/sh/asm.h: New file.
11868 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
11869 support for SH3e's FP registers. Use asm.h.
11870
11871Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
11872
11873 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
11874 as first argument. Call _dtoa_r and pass the reent structure
11875 instead of calling __dtoa.
11876
11877Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
11878
11879 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
11880 the h8300, h8500, and others. Add comments for some rather
11881 dubious code.
11882
11883Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
11884
11885 * Makefile.in (check): Check that testsuite exists before cd.
11886
11887Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11888
11889 * libc/include/string.h (strsep): Correct prototype.
11890
11891Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
11892
11893 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
11894 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
11895 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
11896
11897Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
11898
11899 * libc/posix/{creat.c,isatty.c}: New files.
11900 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
11901
11902 * libc/sys/sparc64/crt0.S (environ): Delete.
11903 (.LHaveBias): Renamed from HaveBias.
11904
11905Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
11906
11907 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
11908 (_morecore_r): Delete SBRK_IS_ALLOC support.
11909
11910Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11911
11912 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
11913 module rather than touch, so we don't get warning messages when
11914 all of the libraries are combined into libc.a.
11915
11916Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
11917
11918 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
11919 crt0.s replaced by version in libgloss.
11920
11921Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11922
11923 * libc/reent/Makefile.in (OFILES): Add impure.o.
11924 * libc/reent/impure.o: New file, define initial reentrancy struct.
11925 * libc/reent/reent.c: Remove above definition.
11926
11927 * libm/math/sf_asinh.c: Fix typo.
11928
11929 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
11930 srf_ldexp.o.
11931
11932 * libm/libm.texinfo: Change documentation to reflect changes
11933 in reentrancy model.
11934 * libm/math/w_gamma.c: Likewise.
11935
11936Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
11937
11938 * configure.in (*-*-cygwin32): New.
11939 (*-*-win32): Deleted.
11940 * libc/sys/win32 renamed libc/sys/cygwin32.
11941
11942Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11943
11944 * libc/include/sys/file.h: New include file.
11945
11946Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
11947
11948 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
11949
11950Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
11951
11952 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
11953
11954Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11955
11956 * doc/makedoc.c (realloc): Declare at file scope.
11957 (catchar): Not here.
11958
11959Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
11960
11961 * Makefile.in (VERSION): Update to 1.7.0.
11962 * {libc,libm}/Makefile.in (VERSION): Likewise.
11963 * configure.in: Minor clean up of multilib stuff.
11964
11965 From David Johnson <davidj@ICSI.Berkeley.EDU>
11966 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
11967
11968 * libc/stdlib/environ.c: New file.
11969 * libc/stdlib/Makefile.in (OFILES): Build it.
11970 * libc/sys/h8500hms/crt0.c (environ): Deleted.
11971 * libc/sys/m88kbug/crt0.c (environ): Deleted.
11972 * libc/sys/z8ksim/crt0.c (environ): Deleted.
11973 * libc/sys/netware/environ.c: Deleted.
11974
11975Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
11976
11977 * configure.in (links): set sys_dir, posix_dir, syscall_dir
11978
11979Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11980
11981 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
11982 declaration out to external scope and declare it PTR, not char *.
11983
11984Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
11985
11986 * libc/include/sys/unistd.h (getpagesize): New declaration.
11987 (_SC_PAGESIZE): New definition.
11988 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
11989 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
11990
11991Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
11992
11993 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
11994 addressing. System call returns size, not (last address + 1).
11995
11996Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11997
11998 * libm/math/*.c: Removed _foo_r() reentrancy API.
11999 * libc/include/math.h: Removed _foo_r prototypes and macros.
12000
12001 * libm/math/*.c: On systems with IEEE single precision "doubles"
12002 move foo() -> foof() wrapper code from the files that implement
12003 the standard IEEE double precision functions to the files that
12004 implement IEEE single precision functions. (ie. On those systems
12005 sin is moved from s_sin.c to sf_sin.c). There should eventually
12006 be use of a C extension (like gcc's alias attribute) so that the
12007 wrappers are not needed at all.
12008
12009 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
12010 strict NEC V810 compiler.
12011 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
12012 for same reason.
12013
12014Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12015
12016 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
12017 from NetBSD C library.
12018 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
12019
12020 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
12021 and adapted from implementation I wrote for NetBSD C library.
12022 The difference is __assert doesn't take a format argument,
12023 so that there won't be multiple copies of the same string
12024 constant in the executable if assertions are enabled in
12025 more than one source module.
12026 * libc/include/assert.h (assert): Changed to call __assert.
12027
12028Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12029
12030 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
12031 word1 on systems with 32 bit doubles.
12032 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
12033 so that we can do arithmetic on them.
12034 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
12035 compilers.
12036
12037Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
12038
12039 * libc/sys/arm/crt0.S: Zero bss.
12040
12041Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
12042
12043 * libc/include/unctrl.h: New file.
12044 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
12045 * configure.in (subdirs): Add libc/misc.
12046 * libc/Makefile.in (SUBDIRS): Add misc.
12047 (SUBLIBS): Add misc/lib.a.
12048
12049 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
12050
12051Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
12052
12053 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
12054 (_vfprintf_r): Call CHECK_INIT.
12055
12056Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
12057
12058 * Makefile.in (MULTITOP): Delete.
12059 (MULTISRCTOP, MULTIBUILDTOP): Add.
12060 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
12061 instead of cfg-ml-pos.in.
12062
12063Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12064
12065 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
12066 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
12067 presence.
12068
12069Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12070
12071 * libc/string/strtok.c: Include string.h to pick up strtok_r
12072 prototype.
12073
12074Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12075
12076 * libc/string/strtok.c: include <_ansi.h>.
12077 * libc/time/asctime_r.c: `reresult' -> `result'.
12078
12079Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12080
12081 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
12082 in #ifndef _REENT_ONLY ... #endif conditional.
12083
12084 * libc/include/string.h (_strtok_r): Remove declaration.
12085 * libc/include/time.h (_asctime_r): Remove declaration.
12086 * libc/string/strtok.c (_strtok_r): Removed.
12087 * libc/time/asctime.c (_asctime_r): Removed.
12088
12089 * libc/string/Makefile.in (OFILES): Add new object.
12090 * libc/string/strtok_r.c: New file. strtok_r function as
12091 specified by POSIX.1c, adapted from strtok implementation
12092 from NetBSD C library.
12093 * libc/string/strtok.c (strtok): Reimplemented in terms of
12094 strtok_r.
12095
12096 * libc/time/Makefile.in (OFILES): Add new objects.
12097 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
12098 New files, reentrant time functions specified by POSIX.1c.
12099 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
12100 reentrant time functions re-written in terms of reentrant
12101 functions.
12102 * libc/time/lcltime.c: Renamed from localtime.c
12103
12104 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
12105 gmtime_r, and localtime_r.
12106
12107Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
12108
12109 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
12110 * libc/include/sys/unistd.h (getlogin): Revert change of
12111 Oct 19.
12112 * libc/include/sys/signal.h (sigprocmask): Change prototype
12113 so it compiles with c++.
12114
12115Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
12116
12117 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
12118 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
12119 to give some room in case we need to align the jmp_buf.
12120
12121 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
12122 the new ppc-asm.h include file the compiler provides to specify
12123 function prologue/epilogue. Eliminate saves of the xer and ctr
12124 registers, which are volatile. Before starting to save registers,
12125 align to 8 byte boundary.
12126
12127Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12128
12129 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
12130 referenced by standard libraries.
12131
12132Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
12133
12134 * libc/unix/Makefile.in, libc/string/Makefile.in,
12135 libc/stdio/Makefile.in, libc/reent/Makefile.in,
12136 libc/posix/Makefile.in:
12137 Remove tabs from otherwise empty line. Confuses some
12138 older non-GNU versions of "make".
12139
12140Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
12141
12142 * libc/sys/unistd.h (getlogin): Returns const char *.
12143
12144Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
12145
12146 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
12147 * libc/include/errno.h: Moved into and include...
12148 * libc/include/sys/errno.h: New file.
12149 * libc/include/sys/wait.h: New file.
12150 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
12151 * libc/sys/win32/*: Moved out.
12152 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
12153 * configure.in (i[345]86-*-win32): HAVE_RENAME
12154
12155Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
12156
12157 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
12158 avoid macro expansion for these two names.
12159
12160Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
12161
12162 * libc/machine/h8500/psi.S: r6 renamed to fp.
12163
12164Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12165
12166 * configure.in (powerpc*): No longer need to define
12167 NO_LONGLONG_POINTERS to supress warnings.
12168
12169Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12170
12171 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
12172 through PTR instead of directly.
12173
12174 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
12175 non-standard constructor support.
12176
12177Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12178
12179 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
12180 address of the Bigint instead of the address of its _x field,
12181 as the size the result buffer was calculated accordingly.
12182 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
12183
12184 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
12185 from NetBSD C library. No longer special cases division by
12186 zero (which needs to be done by the application anyway), but
12187 it doesn't need to call abs() (or labs()) four times either.
12188
12189 * libc/stdlib/qsort.c: Replaced with implementation from
12190 NetBSD C library.
12191
12192Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12193
12194 * libc/stdio/vfprintf.c: Replaced with implementation from
12195 NetBSD C library (which is derived from the 4.4BSD C library).
12196 * libc/stdio/cvt.c: Removed.
12197 * libc/stdio/Makefile: Updated.
12198
12199Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
12200
12201 * libc/sys/win32/syscalls.c (rename): New.
12202 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
12203
12204Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12205
12206 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
12207 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
12208
12209 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
12210 (setjmp.o): Delete rule to build setjmp.o.
12211 * libc/sys/sh/setjmp.S: Delete file.
12212
12213Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12214
12215 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
12216 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
12217 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
12218 pow5mult and s2b to identifiers with leading underscores.
12219 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
12220 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
12221
12222Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
12223
12224 * libc/sys/posix/popen.c (sys/types.h): Include.
12225
12226Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
12227
12228 * libc/sys/win32/syscalls.h (fhandler): New struct.
12229 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
12230 (__fhandler_normal): Declare.
12231 (hinfo): New member op_handlers.
12232 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
12233 (__write): Likewise.
12234 (_read, _write, _open, _close, _lseek): Validate fd here.
12235 Move file type specific stuff to foo_normal.
12236 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
12237 New functions.
12238 (__lookup_fhandler): New function.
12239 (__lookup_fhandler_hook, __fhandler_normal): New variables.
12240
12241 From anders.blomdell@control.lth.se (Anders Blomdell)
12242 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
12243 Don't touch standard handles.
12244 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
12245 (_execve): Only create __FD_TABLE__ if necessary.
12246 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
12247
12248Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
12249
12250 * libc/sys/win32/sys/termios.h (FLUSHO): New.
12251 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
12252 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
12253 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
12254 without a handler is received.
12255 * libc/sys/win32/Makefile.in: Remove --nodelete.
12256 * libc/sys/win32/resouce.c (gettimeofday): New.
12257 * libc/sys/win32/syscalls.c (path_to_real_path): New.
12258 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
12259
12260Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
12261
12262 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
12263 Don't append "/*" to search pattern if trailing '/' already there,
12264 append "*".
12265 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
12266 like /'s, convert them to \'s. Handle //<drive>/ path names.
12267 Add space for quoted \'s in arg string. Print translated prog name
12268 and original prog name.
12269 (_execve): Handle parent doing exec a teensy bit better.
12270 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
12271 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
12272 path needs conversion, handle both cases. Delete `const' from result.
12273 (hash_path_name): New function.
12274 (_open): Call it.
12275 (_stat): Likewise. Fill in more fields for directories.
12276 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
12277 (wait_for_any): Fix trace message.
12278 (waitpid): Explicitly test for intpid == 0.
12279
12280 From anders.blomdell@control.lth.se (Anders Blomdell)
12281 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
12282 so `next' is valid.
12283
12284Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
12285
12286 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
12287 complicated.
12288
12289Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12290
12291 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
12292 at all, not just == 1.
12293 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
12294
12295Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12296
12297 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
12298 * libc/sys/win32/include/wintypes.h: include <winnt.h>
12299 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
12300 file.
12301
12302Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12303
12304 * libc/sys/syscalls.c (getcwd): Fix off by one error.
12305
12306 * libc/sys/signal.c (sleep): Fill it in.
12307 * libc/sys/termios.c (tcflush): Use PurgeComm
12308 (tcsetattr): Set some more of the bits.
12309 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
12310
12311Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
12312
12313 * libc/sys/arm/crt0.S (fp): Initialize to 0.
12314 Conditionally include .idata$3 stuff ifdef __pe__.
12315
12316Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12317
12318 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
12319 * libc/sys/win32/pipe.c (pipe): Ditto.
12320 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
12321 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
12322 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
12323 (tcgetattr): Contents are new.
12324 * libc/sys/win32/include/winkernel.h (DCB): New.
12325 (GetCommState, SetCommState): New.
12326
12327Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
12328
12329 * libc/sys/arm/crt0.S (_start): Define.
12330
12331Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
12332
12333 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
12334 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
12335
12336 * libc/sys/win32/sysconf.c: New
12337 * libc/sys/win32/sys/winadvapi.h: New
12338 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
12339 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
12340 * libc/sys/win32/pipe.c (pipe): Ditto.
12341 * libc/sys/win32/signal.c (_raise): New.
12342 (_kill): Moved from spawn.c
12343 * libc/sys/win32/spawn.c (kill): Moved to signal.c
12344 * libc/sys/win32/syscalls.c (__read): Use new fields.
12345 (_open): Ditto.
12346 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
12347 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
12348 * libc/include/sys/unistd.h (rmdir): Takes const path.
12349 * libc/include/sys/stat.h (mkdir): Takes const path.
12350 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
12351
12352Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
12353
12354 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
12355
12356 Add support for specifying paths as //<drive>/foo/bar.
12357 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
12358 (__path_to_real_path): Declare.
12359 (PATH_TO_REAL_PATH): New macro.
12360 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
12361 (__path_needs_conversion_p, __path_to_real_path): New functions.
12362 (_open): Fix test for error return from CreateFileA.
12363 Handle new path syntax.
12364 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
12365 * libc/sys/win32/dirsearch.c (opendir): Likewise.
12366
12367Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
12368
12369 * libc/sys/win32/include/*.h: Reorganized
12370 * libc/sys/win32/include/WINREADME: New.
12371 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
12372 * libc/sys/win32/*.c: Fix for new include scheme.
12373 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
12374 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
12375 * libc/sys/win32/passwd.c (*): Fix.
12376 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
12377 (_stat): Get directory owner and permissions right.
12378 * libc/sys/win32/syscalls.h (uinfo): New.
12379 * libc/sys/win32/version.def: Remove leading underscores.
12380
12381Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12382
12383 * libc/sys/win32/key.c: include "include/wincon.h".
12384
12385Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
12386
12387 * libc/sys/win32/{key, stubs}.c: New.
12388 * libc/sys/win32/Makefile: Adjust to cope.
12389 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
12390 (environ_init): Change env names to upper case.
12391 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
12392 * libc/sys/win32/passwd.c (*): Fill in the functions.
12393 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
12394 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
12395 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
12396 (_open): Initialze hmap->execable_p too.
12397 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
12398 (_fstat): Fill in permissions.
12399 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
12400
12401Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
12402
12403 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
12404 if defined.
12405 (cfg-ml-pos.in invocation): Likewise.
12406
12407Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12408
12409 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
12410 s_isnan.o and sf_isnan.o.
12411
12412Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
12413
12414 * All Makefile.in files: added maintainer-clean target as a
12415 synonym for realclean.
12416
12417Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
12418
12419 * libc/include/machine/setjmp.h: Add hppa support.
12420 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
12421 support.
12422 * libc/machine/hppa/Makefile.in: Related changes.
12423
12424Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
12425
12426 * configure.in (machine_dir): Don't set for v810-*-*.
12427
12428Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12429
12430 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
12431 conventions correctly.
12432
12433Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
12434
12435 * libc/stdio/puts.c: Update documentation of return value to match
12436 ANSI standard.
12437
12438Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
12439
12440 Fix file descriptor inheritance.
12441 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
12442 (NOT_OPEN_FD): Fix.
12443 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
12444 close-on-exec flag not set. Initialize child's entire fd table.
12445 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
12446 CHILD_P.
12447 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
12448 if CHILD_P. Initialize entire hmap entry.
12449 (dup): Only create new handle as inheritable if CHILD_P.
12450 (dup2): Likewise. Properly initialize hmap entry.
12451
12452 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
12453 _spawn.
12454 (_exit): Use CHILD_P.
12455 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
12456 (_stat): Likewise.
12457
12458Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12459
12460 * libc/sys/win32/crt0.c (passover): fix up the state table.
12461 * libc/posix/popen.c: Added.
12462 * libc/posix/Makefile.in: compile popen.c.
12463
12464Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
12465
12466 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
12467 h8/500 define _DOUBLE_IS_32BITS.
12468
12469Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
12470
12471 Get vfork/exec/spawn/cwait/wait working again.
12472 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
12473 (procinfo): New member vfork_level.
12474 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
12475 (vfork_init_first): Use GetCurrentProcessId to get pid.
12476 Initialize vfork_level.
12477 (vfork_init): Delete __PID__.
12478 (environ_init): New function. Undo patch of Aug 19, Posix says
12479 environment variables are case sensitive.
12480 (mainCRTStartup): Call it.
12481 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
12482 (my_longjump: Make static.
12483 (_spawn): New argument `h'. Delete setting of __PID__.
12484 Delete local `idx'. Look for chars that need quotes, rather than
12485 ones that don't. Set handle of created process in `h'.
12486 Result is process id if created task.
12487 (allocate_spawn_entry): New function.
12488 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
12489 (_execve): Set __FD_TABLE__ before spawning child.
12490 Scan our fd table when passing fds, not our parent's.
12491 Store handle and pid in procinfo entry.
12492 (vfork0): Ensure strace message always printed.
12493 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
12494 (vfork): Don't clobber result of vfork0.
12495 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
12496 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
12497
12498 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
12499 and `exit_code'.
12500 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
12501 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
12502 adding vfork level to pseudo-pid.
12503 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
12504 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
12505 (_exit): If child, set exit code.
12506 (__vfork_record_death): Only close process handle if valid.
12507 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
12508 didn't exec.
12509 (wait_for_any): Likewise. Start scan after root entry.
12510
12511Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12512
12513 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
12514 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
12515 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
12516 of actual file length.
12517
12518 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
12519 * libc/include/paths.h: _PATH_BSHELL added.
12520 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
12521 and STDERR_FILENO.
12522
12523Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12524
12525 * libc/include/ar.h: Added.
12526 * libc/include/sys/types.h: ino_t goes back to 32-bits.
12527 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
12528 * libc/sys/win32/syscalls.c (_open): compute .namehash based
12529 on filename.
12530 (_fstat): use .namehash for inode number of the fd.
12531
12532Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
12533
12534 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
12535 Change hinfo to __this_procinfo.
12536 * libc/sys/win32/crt0.c: Remove procinfo_list.
12537
12538Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12539
12540 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
12541 win32 environment.
12542
12543Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12544
12545 * libc/sys/win32/include/grp.h: Removed.
12546 * libc/sys/include/grp.h: Added.
12547 * libc/sys/win32/grp.c: Include <grp.h>.
12548
12549Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
12550
12551 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
12552 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
12553 Defined for all but strict ANSI.
12554 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
12555 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12556 * libc/signal/signal.c (_signal_r): Changed from using
12557 _MAX_SIGNALS to NSIG.
12558 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
12559 __hmap): Deleted.
12560 (__strace, __vfork_next_pid): New.
12561 (__exe_suffix): Default to 1.
12562 (passover, table): Understand quoted arguments.
12563 (vfork_init_first): New.
12564 (vfork_init): Initialize new process structure.
12565 (mainCRTStartup): Pass environ to main.
12566 * exceptions.c (__sig_mask): New
12567 (ehandler3): Ignore signals in mask.
12568 (really_exit): Remove CHILD_P test.
12569 * pipe.c (pipe, dup, dup2): Use new process and file structure.
12570 * resource.c (getrusage): Ditto.
12571 * signal.c (sigprocmask): New.
12572 * spawn.c (*): Rewritten.
12573 * syscalls.c (*): Use new process and file structure.
12574 (find_unused_handle): New.
12575 * syscalls.h (MAX_HANDLES): Deleted.
12576 (hinfo): Removed child_created_p.
12577 (MAX_CHILDREN): Deleted.
12578 (vfork_jmp_info, procinfo): New.
12579 * wait.c (*): Mostly new.
12580 * sys/strace.h (_STRACE_PARANOID): New.
12581 * sys/param.h: New file.
12582
12583Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12584
12585 * libc/include/sys/stat.h: add S_BLKSIZE.
12586 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
12587 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
12588 types under win32.
12589 (mode_t): add a #else to avoid multiple definitons.
12590
12591 * libc/sys/win32/Makefile.in: add grp.c.
12592 * libc/sys/win32/grp.c: include grp.h correctly.
12593 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
12594 of the st structure with real information.
12595 * libc/sys/win32 (dirent): d_ino is of type ino_t.
12596
12597Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
12598
12599 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
12600 and (maybe) sparc64.
12601 (nlink_t): Provide typedef.
12602
12603Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12604
12605 * libc/sys/win32/grp.c: New file.
12606 * libc/sys/win32/include/grp.h: New file.
12607
12608Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12609
12610 * libc/include/machine/ieeefp.h: Added whitespace to make this
12611 file easier to maintain.
12612 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
12613 depending on the value of __LITTLE_ENDIAN__.
12614 On the sh3e, define _DOUBLE_IS_32BITS.
12615
12616Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
12617
12618 * libc/sys/vr4300/syscalls.c: Added missing support
12619 routines. _raise() and getpid().
12620
12621Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
12622
12623 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
12624
12625Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
12626
12627 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
12628 and VR4300 processor.
12629 * libc/sys/vr4300: Add directory.
12630 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
12631 monitor run-time support.
12632
12633Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12634
12635 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
12636 * libc/stdlib/stdlib.tex: Don't include atol.def.
12637
12638Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12639
12640 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
12641
12642Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
12643
12644 * libc/ctype/Makefile.in: Fill in _to* dependencies.
12645
12646Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
12647
12648 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
12649 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
12650 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
12651 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
12652 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
12653
12654Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12655
12656 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
12657
12658Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12659
12660 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
12661 * libc/stdlib/atoff.c: New file.
12662 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
12663 * libc/stdlib/atoi.c (atol): Removed.
12664 * libc/stdlib/atol.c: Removed duplicate documentation.
12665
12666 * libc/include/ctype.h (_tolower, _toupper): Moved inside
12667 #ifndef _STRICT_ANSI conditional.
12668 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
12669 * libc/ctype/_tolower.c: New file.
12670 * libc/ctype/_toupper.c: New file.
12671 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
12672 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
12673 * libc/ctype/toascii.c (_toascii): Removed.
12674
12675Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
12676
12677 * libc/sys/sparc64/sys/types.h: Deleted.
12678
12679Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12680
12681 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
12682 and recognize Windows_95 systems.
12683
12684Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12685
12686 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
12687 and passed fds should be opened in text mode.
12688
12689Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12690
12691 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
12692 in __hmap, set to binary mode by default.
12693
12694Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12695
12696 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
12697 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
12698 vector 34.
12699
12700Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
12701
12702 * Makefile.in (install): Install all libraries found in the
12703 top level. If there's a sys/<type>/include directory,
12704 install those headers into include.
12705
12706 * libc/sys/win32/kernel.def351: Delete
12707 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
12708 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
12709 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
12710 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
12711 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
12712 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
12713 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
12714 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
12715
12716 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
12717 * libc/sys/win32/crt0.c: Force all env names to upper case.
12718 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
12719 * libc/sys/win32/*.c: Headers have moved.
12720 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
12721 __vfork_child_idx is now __vfork_child_ptr.
12722
12723 * posix/execvp (execvp): Don't crash if no PATH envname.
12724
12725Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12726
12727 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
12728 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
12729 through the _freelist instead of through the _reclaim list.
12730 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
12731 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
12732 sources.
12733
12734Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12735
12736 * libc/machine/h8500/setjmp.S: New file.
12737 * libc/include/machine/setjmp.h: Updated for H8/500.
12738
12739Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
12740
12741 * libc/sys/win32/syscalls.c (_open): More stracing.
12742 (_stat): Open the file in O_BINARY.
12743
12744Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12745
12746 * libc/machine/h8300/setjmp.S: New file.
12747 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
12748
12749Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
12750
12751 * libc/sys/win32/crt0.c (__exe_suffix): New global.
12752 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
12753 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
12754 __exe_suffix. Free fd_tab after setting env variable.
12755 (spawnv,_execve): Update.
12756 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
12757 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
12758 (__small_vfprintf): New function.
12759 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
12760 * libc/sys/win32/wait.c (cwait): Validate argument.
12761
12762 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
12763 (process_deletion_queue): Likewise.
12764
12765 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
12766
12767Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
12768
12769 * libc/sys/win32: Copyrights and gratuitous indenting.
12770
12771Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
12772
12773 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
12774 (process_deletion_queue): Likewise.
12775 (__close_all_files): New function.
12776 (_close): Only queue file deletion if really a file.
12777 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
12778 _P_APPEND_EXE.
12779 (_exit): Call __close_all_files.
12780
12781 * libc/stdlib/system.c: #include <errno.h>.
12782 (_system_r): Fix results in -DNO_EXEC case.
12783
12784 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
12785 Reorganize structure.
12786 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
12787 if argument is valid. Save directory name in DIR. malloc space
12788 for dirent struct separately.
12789 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
12790
12791 * libc/include/errno.h (ENAMETOOLONG): Define.
12792 * libc/string/strerror.c (strerror): Reword ENFILE.
12793 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
12794
12795Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
12796
12797 * libc/sys/win32/crt0.c (__progname): New global.
12798 (mainCRTStartup): Support strace=bitmask,filename.
12799 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
12800 * libc/sys/win32/syscalls.c (_write): Print parent trace message
12801 if error.
12802 (getcwd): Handle len too small. Convert '\\' to '/'.
12803 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
12804 Add prototypes for open, creat, fcntl.
12805 (O_APPEND): Change value to conform to Microsoft's value.
12806 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
12807
12808 * libc/stdlib/getopt.c: New file.
12809 * libc/stdlib/Makefile.in: Build it.
12810
12811Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
12812
12813 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
12814 Fix scanning of $PATH.
12815 * libc/posix/exec*.c: Call _execve, not execve.
12816 * libc/posix/execve.c: New file.
12817 * libc/posix/Makefile.in (OFILES): Add execve.o.
12818
12819 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
12820 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
12821 (_STRACE): If level==0, always print. Handle new bit mask scheme.
12822 * libc/sys/win32/crt0.c: Update _STRACE calls.
12823 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
12824
12825 * libc/sys/win32/smallprint.c (rn): Fix digit list.
12826
12827 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
12828 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
12829 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
12830 Print __seterrno trace message first.
12831 (_execve): Renamed from execve.
12832 (vfork): Update __strace usage.
12833 (__vfork_child_pid): Deleted.
12834 (__vfork_children, __vfork_child_idx): New globals.
12835 (_spawnvp): New function.
12836 (spawnvp, spawnv, _execve): Call _spawnvp.
12837 (init_child): Record child in __vfork_children.
12838 (__vfork_get_entry, __vfork_record_death): New functions.
12839 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
12840 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
12841 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
12842 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
12843 (children): New typedef.
12844 (__vfork_children,__vfork_child_idx): Declare.
12845 (__vfork_get_entry,__vfork_record_death): Declare.
12846 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
12847 (waitpid): Handle pid == -1.
12848 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
12849 * configure.in (i386-win32): Add -DNO_FORK.
12850 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
12851 * libc/reent/execr.c (_fork_r): Likewise.
12852 * libc/stdlib/system.c (do_system): New function.
12853 If WIN32, try to get shell path from $SH_PATH, use vfork.
12854 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
12855 otherwise return 0.
12856
12857Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
12858
12859 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
12860 * libc/sys/win32/fcntl.h: Don't include self.
12861 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
12862 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
12863 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
12864 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
12865 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
12866 Correct prototypes.
12867 * libc/sys/win32/strace.c: New file.
12868 * libc/sys/win32/smallprint.c: New file.
12869 * libc/sys/win32/crt0.c (func): Delete.
12870 (mainCRTStartup): Fix alloca usage. Set handles explictly.
12871 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
12872 * libc/sys/win32/exceptions.c: Lint.
12873 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
12874 Clean up handle usage.
12875 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
12876 (open.c): Default file type is text.
12877 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
12878 * libc/sys/win32/advapi32.def: New
12879
12880Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
12881
12882 * configure.in (posix_dir, libc_posix_lib): New variables.
12883 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
12884 (i[345]86-*-win32): Define posix_dir.
12885 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
12886 (if unix_dir): Fix typo.
12887 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
12888 scandir,seekdir,telldir}: New files.
12889 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
12890 from libc/unix.
12891 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
12892 (SUBDIRS): Add posix.
12893 (SUBLIBS): Add $(LIBC_POSIX_LIB).
12894
12895 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
12896 (NSIG): Increase to 21.
12897 * libc/include/sys/unistd.h (pid_t): Move from here,
12898 * libc/include/sys/types.h (pid_t): to here.
12899
12900 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
12901 (__ptrace): Delete.
12902 (hinfo): New members close_exec_p, child_created_p.
12903 (struct exception_list): Define.
12904 (__hmap): Redefine as pointer to table.
12905 (__parent_hmap, __child_hmap): New globals.
12906 (__set_errno, __really_exit): Declare.
12907 (__vfork_child_pid): Declare.
12908 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
12909 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
12910 (__parent_hmap, __child_hmap): New globals.
12911 (__hmap): Redefine as pointer to active map.
12912 (__get_console): New function.
12913 (mainCRTStartup): Change leading '=' in environ vars to '!'.
12914 (env __FD_TABLE__): Watch for this and initialize our fd/handle
12915 mapping table from it if defined.
12916 (argv, envp): Dump if __strace >= 4.
12917 (main): Call here.
12918 * libc/sys/win32/exceptions.c (myp): Redefine.
12919 (__syscalls_b): Delete.
12920 (__stack_trace): New function.
12921 (ehandler3): Update to use _STRACE. Print stack trace.
12922 Call __really_exit instead of exit.
12923 (init_exceptions): Delete args argc,argv. New arg mine.
12924 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
12925 FindFirstFileA, FindNextFileA, GetComputerNameA,
12926 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
12927 * libc/sys/win32/signal.c (signal): Validate arg.
12928 (alarm, sleep): Define as stubs for now.
12929 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
12930 (__syscalls_b, errno): Delete.
12931 (__vfork_child_pid, __vfork_jmp_buf): New globals.
12932 (__seterrno): Handle more errors.
12933 (__sys_printf): Renamed from _ptrace.
12934 (__really_exit): New function.
12935 (queue_file_deletion, process_deletion_queue): New functions.
12936 (__resume_parent): New function.
12937 (_unlink): Handle trying to delete open file.
12938 (__totime_t): Renamed from totime_t.
12939 (setsid, __read, __write): New functions.
12940 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
12941 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
12942 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
12943 * libc/sys/win32/console.c: Update to new definition of __hmap.
12944 * libc/sys/win32/Makefile.in: Build new files.
12945 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
12946 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
12947 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
12948 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
12949
12950Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
12951
12952 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
12953
12954Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12955
12956 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
12957 have been made to the master dtoa.c sources (from netlib.att.com)
12958 since they were integrated into newlib in early 1992. Fixes
12959 problems with storage leaks and handling of numbers with very
12960 negative exponents.
12961
12962Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12963
12964 * Makefile.in (all): set rootpre and srcrootpre before calling
12965 sub-makes.
12966
12967Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
12968
12969 * libc/sys/win32/crt0.c: Change __hmap usage.
12970 * libc/sys/win32/exceptions.c: Use _ptrace call.
12971 * libc/sys/win32/syscalls.c: Use _ptrace call.
12972 (read, write): Cope with DOS style CRLF when in TEXT mode.
12973 * libc/sys/win32/syscalls.h: Declare hinfo struct.
12974 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
12975 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
12976 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
12977 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
12978
12979Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12980
12981 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
12982
12983 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
12984 wrappers for hypot() and remainder() for BSD libm compatibility.
12985 These are public domain implementations written by me for the
12986 NetBSD libm some time ago. Note cabs() is required by ucbtest.
12987 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
12988 (fobj): Added wf_cabs.o and wf_drem.o.
12989
12990Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12991
12992 * libc/sys/h8500hms/misc.c: New file.
12993 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
12994
12995Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12996
12997 * libc/time/localtime.c (localtime): Fix problem with leap year
12998 handling. Stole algorithm from Arthur David Olson's tz code.
12999
13000Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
13001
13002 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
13003
13004 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
13005 (_exit): Use argument.
13006
13007Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
13008
13009 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
13010
13011Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
13012
13013 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
13014
13015Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13016
13017 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
13018 target_cflags.
13019
13020Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
13021
13022 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
13023 ptrace with case insensitivity
13024 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
13025 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
13026 New files.
13027
13028Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
13029
13030 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13031 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
13032 (all, install, *clean): Use new multilib support.
13033 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13034
13035Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
13036
13037 * libc/include/sys/signal.h (__WIN32__): New.
13038
13039 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
13040
13041 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
13042 (ulp, b2d): Handle 32 bit doubles.
13043 * libc/stdlib/mprec.h: Handle 32 bit doubles.
13044 * libc/stdlib/strtod.c (_strtod_r): Ditto.
13045
13046Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
13047
13048 from medp@primag.co.uk:
13049 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
13050 dynamically allocated buffers.
13051
13052Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
13053
13054 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
13055 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
13056
13057Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13058
13059 * configure.in (powerpc): Fix previous fix.
13060
13061Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13062
13063 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
13064 directories for this target.
13065
13066Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13067
13068 * configure.in (hppa): Add machine_dir definition.
13069 * libc/machine/hppa: New directory with PA specific implementations
13070 of the basic memory/string functions.
13071
13072Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13073
13074 * configure.in: Update current PowerPC multilib directories.
13075 Split big and little endian configurations.
13076
13077Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
13078
13079 * configure.in: Add --enable-single-float option to configure to
13080 control use of MIPS single-float directories. Default to yes.
13081
13082 * Makefile.in (all): Don't recurse into multilib directory if it
13083 does not exist.
13084
13085Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13086
13087 * libc/sys/sh/syscalls.c: Fix typo.
13088
13089Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
13090
13091 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
13092 Pass down DLLTOOL.
13093 * libc/include/process.h: Define WAIT_CHILD.
13094 * libc/include/types.h: Get sizes right for win32.
13095 * configure.in (i386-*-pe): Becomes i386-win32.
13096 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13097 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
13098 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
13099 is defined.
13100
13101Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
13102
13103 * configure.in (i[345]86-*-pe): New target (NT).
13104 * host/any: DLLTOOL new.
13105 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13106 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
13107 WIN32 (just enough to cross host the comp-tools).
13108
13109Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
13110
13111 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
13112 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
13113
13114Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
13115
13116 * libc/include/machine/ieeefp.h (arm): Change to always be
13117 __IEEE_BIG_ENDIAN (even on little endian ARM's).
13118
13119Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
13120
13121 * libc/sys/crt0.S: Initialze sp, and call exit after main.
13122 * libc/sys/syscalls.c (abort): New.
13123 * configure.in (arm): Define ABORT_PROVIDED.
13124
13125Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13126
13127 * configure.in (powerpc): Define multidirs.
13128
13129Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
13130
13131 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
13132
13133Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
13134
13135 * configure.in (sparclite): Delete target_cflags. Define multidirs.
13136
13137Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
13138
13139 * configure.in, libc/include/machine/ieeefp.h: Modified
13140 for arm:
13141 libc/machine/arm/*, libc/sys/arm/*: New
13142
13143Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13144
13145 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
13146 __powerpc__ when determining endianness.
13147
13148Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13149
13150 * configure.in (m68*): Add multidir for the m68332.
13151
13152 * host/any (CC): Fix typo in last change.
13153
13154Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
13155
13156 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
13157 when determining endianness.
13158 * libc/include/machine/ieeefp.h: Ditto.
13159 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
13160 operands.
13161
13162Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
13163
13164 * libc/include/errno.h (ENOTEMPTY): Define.
13165
13166Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13167
13168 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
13169 target_cflags.
13170
13171 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
13172 and umultiply.o.
13173
13174 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
13175 instead of only when open succeeds. ANSI requires that multiple
13176 calls to tmpnam() result in different files.
13177
13178 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
13179 objects pulled in from /lib/libc.a that must be renamed before
13180 being pulled into newlib. /lib/libc.a's div.o conflicted with
13181 newlib's file with the same name.
13182
13183 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
13184
13185 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
13186 the build tree will only be used if the executables are present
13187 (instead of just the Makefiles).
13188
13189 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
13190 wcstombs): Define.
13191 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
13192 versions of these functions that I orignally wrote for the
13193 NetBSD C library.
13194 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
13195 versions I wrote for NetBSD.
13196
13197Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
13198
13199 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
13200 * libc/sys/sparclite/crt0.s: ditto.
13201
13202Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
13203
13204 * configure.in: Add soft-float for proelf.
13205
13206Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
13207
13208 * libc/stdlib/mprec.h (Bcopy): Copy the right number
13209 of bytes.
13210
13211Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
13212
13213 * Makefile.in (all): Depend on `force'.
13214 * configure.in (syscall_dir): Renamed from fake_sys_dir.
13215 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
13216 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
13217 * libc/Makefile.in: Likewise.
13218 * libc/include/reent.h: Update syscall references.
13219 (_fcntl_r): Add prototype.
13220 * libc/syscalls/*.c #include <reent.h>.
13221 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
13222
13223Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
13224
13225 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
13226 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
13227 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
13228 (time.h, sys/types.h): Always include (even if MSDOS).
13229 (stat): Fix prototype.
13230
13231Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
13232
13233 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
13234
13235Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13236
13237 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
13238
13239Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
13240
13241 * libc/include/regdef.h: New file.
13242 * libc/machine/mips/machine/regdef.h: New file.
13243
13244Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
13245
13246 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
13247
13248Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
13249
13250 * libc/sys/sh/crt0.S: Pass main's return to exit.
13251 * libc/sys/sh/trap.S: Put errno in the right place.
13252
13253Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13254
13255 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
13256 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
13257 * libm/math/ef_rem_pio2.c: Likewise.
13258 * libm/math/e_log10.c: Remove unused static one.
13259 * libm/math/ef_log10.c: Likewise.
13260 * libm/math/s_frexp.c: Likewise.
13261 * libm/math/sf_frexp.c: Likewise.
13262
13263Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
13264
13265 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
13266 longjmp.S: Upgraded.
13267 * libc/sys/go32/sys/setjmp.h: Upgraded.
13268 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
13269
13270Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13271
13272 * configure.in: Add many entries to multidirs for mips targets.
13273
13274Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13275
13276 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
13277 5.2 which fixes bug where jn(-1,x) is three times larger than
13278 the actual answer.
13279 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
13280
13281Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
13282
13283 * libc/sys/w65/sys/syscalls.h: New file
13284 * libc/include/machine/ieeefp.h: W65 support.
13285 * libc/include/sys/config.h: Ditto.
13286 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
13287 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
13288 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
13289
13290Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13291
13292 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
13293
13294Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
13295
13296 * Makefile.in, configure.in: Remove any references to the old
13297 "stub" dir.
13298
13299Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13300
13301 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
13302 uses ... in prototype.
13303
13304
13305Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
13306
13307 * libc/sys/a29khif/sys/libconfig.h: Remove.
13308 * libc/sys/go32/sys/libconfig.h: Remove.
13309 * libc/sys/sun4/sys/libconfig.h: Remove.
13310 * libc/sys/sysvi386/sys/libconfig.h: Remove.
13311 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
13312 * libc/sys/sparc64/sys/libconfig.h: Remove.
13313
13314 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
13315 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
13316 * libc/include/math.h: Change all uses of _FLOAT_RET and
13317 _FLOAT_ARG to float.
13318 * libm/test/math.c: Likewise.
13319 * testsuite/libm.sac/math.c: Likewise.
13320 * testsuite/libm.sac/working/math.c: Likewise.
13321
13322Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13323
13324 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
13325 gcc calls gas with endian option.
13326 * configure.in (sh): Build little endian version too.
13327
13328Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13329
13330 * configure.in: Configure big and little endian versions for MIPS
13331 targets.
13332
13333Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
13334
13335 * libc/include/limits.h: Deleted.
13336 * libc/include/machine/limits.h: Deleted.
13337
13338Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
13339
13340 * ChangeLog: Remove stub directory. This has all been rewritten
13341 and moved to devo/libgloss.
13342
13343Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13344
13345 * Makefile.in (dvi): Add to info target, use $@ in sub make.
13346 (docs): Merge into info target.
13347 * libm/Makefile.in (dvi): Add $(srcdir).
13348 * libm/math/Makefile.in (chobjs): Remove underscores from file
13349 names. Texinfo doesn't like them.
13350 (wacos.def, ...): Add explicit targets for all .def files.
13351 * libm/math/math.tex: Remove underscores from @include file names.
13352 * doc/Makefile.in (dvi): Add dummy target.
13353 * testsuite/Makefile.in (dvi): Add dummy target.
13354
13355Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
13356
13357 * Makefile.in (VERSION): Define. For net newlib releases.
13358
13359Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
13360
13361 * README: New file.
13362
13363Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13364
13365 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
13366
13367Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13368
13369 * libc/stdlib/setenv.c (_findenv): Declare.
13370
13371 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
13372 fcntl to not use _EXFUN, and change string parameters to open and
13373 creat to be ``const char *''.
13374 * libc/sys/sparc64/sys/fcntl.h: Likewise.
13375 * libc/sys/sparc64/creat.c (creat): Make PATH const.
13376 * libc/syscalls/sysopen.c: Include <fcntl.h>.
13377 (open) Make _FILE const.
13378 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
13379 (_creat): Make PATH const.
13380 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
13381 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
13382 * libc/sys/m88kbug/syscalls.c (open): Likewise.
13383 * libc/sys/sh/syscalls.c (_open): Likewise.
13384 * stub/shared/glue.c (open): Make BUF const.
13385 * stub/ex93x/syscalls.c (open): Make FILENAME const.
13386
13387Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13388
13389 * libc/include/errno.h: Add ENMFILE
13390 * libc/include/sys/config.h: Support Z8000.
13391 * libc/include/sys/signal.h: New signals for go32.
13392 * libc/machine/h8500/psi.S (__addpsir0r0): New function
13393 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
13394 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
13395 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
13396 size is variable, depending upon CHUNK_POWER.
13397 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
13398
13399Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13400
13401 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
13402
13403Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13404
13405 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
13406
13407Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13408
13409 * configure.in: Change i[34]86 to i[345]86.
13410
13411 * libc/include/math.h: Don't define HUGE_VAL if it is already
13412 defined.
13413
13414Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13415
13416 * testsuite/libm.sac/test_erfc.c: Correct some result values.
13417 * testsuite/libm.sac/test_gammaf.c: Likewise.
13418 * testsuite/libm.sac/test_sin.c: Likewise.
13419 * testsuite/libm.sac/test_tanh.c: Likewise.
13420
13421Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13422
13423 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
13424 already set. Define typedefs __int32_t and __uint32_t.
13425 * libc/include/math.h: Include <machine/ieeefp.h>.
13426 (union __dmath): Use __uint32_t.
13427 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
13428 instead of int and unsigned int.
13429
13430Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13431
13432 Replace the math library with the SunPRO fdlibm package.
13433 * libm/math: Completely changed all files.
13434 * libm/ieeefp: Remove contents and directory.
13435 * libm/Makefile.in (LIBM_FP_LIB): Remove.
13436 (SUBDIRS): Just set to math/lib.a.
13437 * libm/libm.texinfo: Updated for new library.
13438 * libc/include/math.h: Extensive changes for new math library.
13439 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
13440 from _FLOAT_ARG to float.
13441 (maxpowtwo, maxpowtwof): Don't declare.
13442 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
13443 (libm_fp_lib): Removed.
13444 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
13445 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
13446 argument to ${RUNTEST}.
13447 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
13448 (.c.o): New rule.
13449 (RUNTESTFLAGS): Set CC and CFLAGS.
13450 (TESTS): Remove test_log2 and test_log2f.
13451 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
13452 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
13453 _FLOAT_ARG, for single precision argument type.
13454 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
13455 expected failure. Close the input pipe.
13456 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
13457 Correct misspelling of inaccurate.
13458 (test_mok): Use ``inaccurate'', not ``wrong''.
13459 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
13460 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
13461 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
13462 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
13463 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
13464 test_yn.c): Correct many result values. Many are still wrong.
13465
13466 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
13467 just copy the string.
13468 (_gcvt): Always return the buffer.
13469
13470Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13471
13472 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
13473
13474Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
13475
13476 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
13477 structure.
13478 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
13479 (_reclaim_reent): declare new entry point.
13480 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
13481 functions.
13482
13483 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
13484 ever allocated, so that we can later reclaim them all.
13485 (pow5mult): make reentrant.
13486
13487 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
13488 so that when given NULL as a buffer, return a pointer to static
13489 space in the rent structure. This is not documented behaviour;
13490 it's only to support ecvt and fcvt, which aren't ANSI anyway.
13491 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
13492 therefore become reentrant).
13493
13494 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
13495
13496Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13497
13498 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
13499
13500Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13501
13502 * Makefile.in: Make link to libg.a after libc.a; this is needed
13503 for the testsuites to build executables when everything comes
13504 from the tree.
13505
13506Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
13507
13508 * libc/Makefile.in: Add a VERSION variable so we can keep track.
13509 * libm/Makefile.in: Add a VERSION variable so we can keep track.
13510
13511Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13512
13513 * libc/include/stdio.h: Use __VALIST, not va_list.
13514
13515Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
13516
13517 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
13518 testsuite/libm.sac/execute.exp:
13519 Replace error proc calls with perror calls.
13520
13521Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
13522
13523 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
13524 * libc/include/time.h: #define NULL as 0L.
13525
13526Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
13527
13528 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
13529 care of it.
13530
13531Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13532
13533 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
13534 not __unix__.
13535
13536Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
13537
13538 * configure.in (TARGET_CFLAGS): Set -O2 as default.
13539 (z8k-*-*): Use syscalls fake sys dir.
13540 * libc/sys/z8k/glue.c: Rename syscalls.
13541 * libc/sys/go32/Makefile.in: Use new routines.
13542 * libc/machine/Makefile.in: Fix typo in ln stuff.
13543
13544Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13545
13546 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
13547 * libc/Makefile.in (crt0.o): Likewise.
13548 * libc/machine/Makefile.in (lib.a): Likewise.
13549 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
13550
13551 All Makefile.in files: Added mostlyclean, realclean and distclean
13552 targets.
13553
13554 * Makefile.in: Don't bother to unexport XTRAFLAGS or
13555 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13556 the top level Makefile.
13557
13558Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
13559
13560 * libc/sys/sparc64/sys/stat.h: New file.
13561 * libc/sys/sparc64/sys/time.h: New file.
13562 * libc/sys/sparc64/sys/types.h: New file.
13563
13564Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
13565
13566 * stub/ex93x/crt0.s (start): Add code to clear bss.
13567
13568Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
13569
13570 * libc/include/sys/types.h (time_t): Properly protect inside
13571 #ifndef __time_t_defined.
13572
13573 * libc/stdio/fileno.c: New file.
13574 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
13575 (fileno.o): Add dependency.
13576 * libc/include/stdio.h (__sgetc): Rename never to _never.
13577 (fileno macro): Disable, needs to do CHECK_INIT first.
13578
13579Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
13580
13581 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
13582 goal.
13583
13584 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
13585 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
13586 runtest.
13587 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
13588 runtest.
13589
13590Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
13591
13592 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
13593 of the various constants.
13594
13595Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
13596
13597 * libc/include/math.h: #ifndef __math_68881 around things which
13598 conflict with the (gcc-provided) inline functions in
13599 gcc/ginclude/math-68881.h.
13600
13601Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
13602
13603 * libc/include/_syslist.h (_gettimeofday): Define.
13604 (_times): Ditto.
13605 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
13606 (struct tms, timeval, timezone): Declare.
13607 (_gettimeofday_r, _times_r): Declare.
13608 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
13609 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13610 (time_t): Add multiple definition protection, __time_t_defined.
13611 * libc/include/sys/time.h: Don't #include <time.h>.
13612 Always define struct timezone (remove #ifndef _TIME_H_).
13613 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
13614 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13615 * libc/reent/Makefile.in (OFILES): Add timer.o.
13616 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
13617 * libc/reent/timer.c: New file.
13618 * libc/time/clock.c: #include <reent.h>.
13619 (clock): Call _times_r instead of times.
13620 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
13621 HAVE_GET_TIME_OF_DAY.
13622 Add comment regarding supporting OS routine(s) required (for docs).
13623 #include <reent.h>.
13624 (time): Call _gettimeofday_r instead of gettimeofday.
13625 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
13626 * libc/time/ctime.c: Ditto.
13627 * libc/time/strftime.c: Ditto.
13628 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
13629 (TEMPLATE_SFILES_R): Define here. Also define times.
13630 Add times_r.o/times.S dependence.
13631 (time2.c, junk.c): Deleted.
13632 * libc/sys/sparc64/time2.c: Deleted.
13633 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
13634
13635 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
13636 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
13637 * libc/sys/sparc64/junk.c: Deleted.
13638
13639Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
13640
13641 * libc/sys/sparc64/Makefile.in: Add times syscall.
13642 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
13643 be used with and without it. Add comment clarifying Medium/Anywhere
13644 model requirements.
13645 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
13646 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
13647 even if obsolete.
13648
13649Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
13650
13651 * configure.in (target_cflags): Move init.
13652 (sparc64-*-*): Define HAVE_BLKSIZE.
13653
13654Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
13655
13656 * libc/include/sys/_types.h: New file.
13657 * libc/include/reent.h: #include it.
13658 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
13659 MISSING_SYSCALL_NAMES.
13660 Sort syscalls.
13661 * libc/include/_syslist.h: Remove _raise.
13662 * libc/reent/signalr.c: New file.
13663 * libc/reent/Makefile.in: Compile it.
13664 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
13665 Add doc for raise and _raise_r.
13666 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
13667 (raise): Call _raise_r.
13668 (_raise_r): Call _getpid_r and _kill_r.
13669 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
13670 (abort): Loop forever calling raise and _exit.
13671
13672Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13673
13674 * configure.in: Remove extraneous echo.
13675
13676Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
13677
13678 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
13679 collision with unistd.h, and fix for svr4.
13680
13681Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
13682
13683 * libc/stdio/local.h (_llicvt): Declare.
13684 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
13685 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
13686 (_llicvt): Define.
13687 (_sicvt): Fix function header (`value' is short).
13688 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
13689 Add printing of long long's support.
13690 Add printing of 8 byte pointer support.
13691
13692Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
13693
13694 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
13695 stat, chmod): New hooks.
13696 (sbrk): Abort if stack and heap collide.
13697 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
13698 shortcut when given small args.
13699 * libc/machine/sh/setjmp.s: Rewritten.
13700 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
13701 of cmp/str instruction.
13702
13703Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13704
13705 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
13706 and machine_dir powerpc.
13707 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
13708 Add cases for __powerpc__.
13709 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
13710 New files.
13711
13712 * libc/include/stdio.h (_iprintf_r): Declare correctly.
13713
13714Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
13715
13716 * libc/stdlib/callocr.c: New file with _calloc_r in it.
13717 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
13718
13719Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
13720
13721 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
13722 (print_e): More comments to describe args, etc.
13723 "type" arg may now be 'g' or 'G' for %g/G format --> remove
13724 trailing blanks.
13725 (_gcvt): Remove locals decpt, sign, end, p, done.
13726 More comments for print_e invocation.
13727 Pass "type" to print_e as is (g/G).
13728
13729Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
13730
13731 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
13732 stock m68000.
13733
13734Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
13735
13736 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
13737 works with any sized pointer, including ones bigger than ints and
13738 longs.
13739
13740Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
13741
13742 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
13743
13744Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13745
13746 * libc/include/stdlib.h (_calloc_r): Add prototype.
13747 * libc/machine/h8500/negsi2.c: New file.
13748 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
13749 large unsigned numbers.
13750 * libc/machine/h8500/cmpsi.c: Add cmppsi.
13751 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
13752 works when sizeof(size_t) != sizeof(char *).
13753 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
13754 get play area
13755 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
13756
13757Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
13758
13759 * libc/include/assert.h (assert): Handle -traditional.
13760
13761Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
13762
13763 * Makefile.in: added ; after every "fi" and "done" that wasn't at
13764 the end of a line (ie. anything before a backslash continuation)
13765 so that bash handles them.
13766
13767Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13768
13769 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
13770 stat to lstat
13771
13772Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
13773
13774 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
13775 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
13776 libc/machine/sh/udivsi3.s: Use new calling convention.
13777
13778Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
13779
13780 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
13781 chmod, access, chdir, chown by making _path const. Also fix _amode
13782 param of access.
13783
13784Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
13785
13786 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
13787 _khif_tmpnam, because it doesn't comply with ANSI but may be
13788 useful anyway. Real tmpnam was already in libc/stdio, and was
13789 colliding with this one (pr 2176.)
13790 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
13791 the wrong idea anyhow.
13792
13793Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
13794
13795 * configure.in: Remove h8300h, we have multilib now.
13796
13797Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
13798
13799 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
13800 functions, to get preference over the ones in libiberty (since we
13801 provide correct declarations in <string.h>.
13802 * libc/string/Makefile.in: add support for strncasecmp,
13803 strcasecmp.
13804
13805Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
13806
13807 * Change netware config not to look for cpu explicitly.
13808
13809Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
13810
13811 * libc/sys/sparc64/{creat.c,junk.c}: New files.
13812 * libc/sys/sparc64/Makefile.in: Add dependencies.
13813
13814Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
13815
13816 * configure.in: Clean up v9 a bit, new "os" aoutv8.
13817
13818Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
13819
13820 * libc/include/sys/reent.h: make structure smaller by allocating
13821 some stuff when needed.
13822 * libc/signal/signal.c: allocate as needed
13823 * libc/stdio/findfp.c,stdio/local.h: ditto
13824 * libc/stdlib/mprec.c: ditto
13825
13826 * libc/time/localtime.c: don't return a dangling stack ptr.
13827
13828Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
13829
13830 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
13831
13832Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13833
13834 * libc/include/stdio.h (__sputc): comment out static inline which
13835 confuses coff toolchains.
13836
13837Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
13838
13839 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
13840 _write.s, getpid.c, kill.c, read.s}:
13841 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
13842 through the syscalls directory.
13843
13844Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
13845
13846 * configure.in: fixed double quote gotcha.
13847
13848Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
13849
13850 * stub/ex931: stub library for sparclite board.
13851 * stub/idp: Renamed from mc68ec. Added contructor table
13852 stuff to linker script.
13853 * stub/mvme135: Renamed from m68kmvme. Added contructor table
13854 stuff to linker script.
13855
13856Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13857
13858 * configure.in: Configure testsuites only if they exist.
13859
13860Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13861
13862 * configure.in: Don't set machine_dir for i386 until there is
13863 something in libc/machine/i386 to compile. For i[34]86-*-netware*
13864 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
13865 CLOCK_PROVIDED and MALLOC_PROVIDED.
13866
13867 * libc/sys/netware: New directory. Contains simplistic and
13868 probably incorrect stubs for NetWare. Should be enough to load
13869 the library.
13870 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
13871 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
13872 stub files.
13873
13874 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
13875 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
13876 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
13877 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
13878
13879Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
13880
13881 * testsuite/Makefile.in: add "docs" dummy target for consistency
13882 with rest of newlib; turn "info" and "install-info" into dummy
13883 targets, since they wouldn't have worked. (Depended on
13884 nonexistent "doc" subdir.)
13885
13886Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13887
13888 * configure.in: handle mips* instead of mips
13889
13890Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
13891
13892 * libc/include/sys/dirent.h: New file. If it is not overridden by
13893 a version of libc/sys/*/sys/dirent.h, it includes the next
13894 <dirent.h> file in case there is one lurking somewhere.
13895
13896Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13897
13898 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
13899 compliance, namely: Accept a minus sign. Consider a single 0 with
13900 a radix of 0 as being a conversion. Determine overflow correctly.
13901 If an overflow occurs, set *ptr to the end of the number, not the
13902 middle.
13903 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
13904
13905Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
13906
13907 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
13908
13909Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
13910
13911 * Makefile.in (INSTALL): Use $srcrootpre.
13912 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
13913 can't handle it.
13914 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
13915 it.
13916 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
13917 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
13918 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
13919 * libm/math/Makefile.in (matherr.o): Ditto.
13920
13921Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13922
13923 * configure.in: Build multidirs for z8k.
13924 * libc/include/stdlib.h (_strtoul_r): add prototype.
13925 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
13926 * libc/include/machine/setjmp.h: Add for z8k.
13927 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
13928 * libc/sys/z8ksim/glue.c: tidy up.
13929
13930Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
13931
13932 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
13933 New files. Requires execve system call.
13934 * libc/unix/Makefile.in: Use them.
13935 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
13936 Deleted, moved to libc/unix.
13937 * libc/sys/sparc64/Makefile.in: Remove them.
13938
13939Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
13940
13941 * libc/sys/sparc64/{template.S template_r.S}: New files.
13942 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
13943 from templates.
13944 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
13945 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
13946 umask.S unlink.S wait4.S write.S}: Removed, now built from
13947 templates.
13948
13949Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
13950
13951 * libc/time/time.c: #include <_ansi.h>.
13952
13953Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
13954
13955 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
13956
13957Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13958
13959 * configure.in: match m8* rather than m88k so that m88110 is
13960 recognized as well.
13961
13962Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
13963
13964 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
13965 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
13966 misc.c: New file.
13967
13968 * configure.in: Add multilib support to h8300.
13969
13970Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
13971
13972 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
13973 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
13974 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
13975
13976Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13977
13978 * configure.in: Corrected multidirs for sparc target.
13979
13980Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13981
13982 Support for building newlib multiple times with different
13983 compilation flags.
13984 * configure.in: Only configure doc at top level. Set multidirs
13985 when appropriate for target, unless not at top level. If
13986 multidirs is set, independently configure each subdirectory.
13987 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
13988 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
13989 automagically set by configure.in.
13990 (all): If MULTIDIRS is set, build multiple copies of libraries.
13991 (install): If MULTIDIRS is set, install multiple copies of
13992 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
13993 MULTISUBDIR is set, don't bother to install header files.
13994 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
13995 ${srcrootpre}.
13996 * stub/configure.in: Set MULTISUBDIR appropriately.
13997 * stub/Makefile.in (install): Install in
13998 $(tooldir)/lib/$(MULTISUBDIR).
13999 * All Makefile.in files: Define SRCTOP as well as TOP.
14000
14001Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
14002
14003 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
14004 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
14005
14006Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
14007
14008 * libc/sys/h8300hms/exit.c (_exit): New function.
14009
14010Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14011
14012 * configure.in: recognize m88110.
14013
14014Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14015
14016 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
14017 prototype main and call with args.
14018
14019Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
14020
14021 First real try at system traps for m88k-bug.
14022 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
14023 to real trap calls.
14024 * libc/sys/m88kbug/sys/systraps.h: new file.
14025
14026Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14027
14028 Patches to fix info building when target does not use sys
14029 directory.
14030 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
14031 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
14032 libc/sys.tex.
14033 * libc/sys/Makefile.in (doc): do nothing.
14034
14035Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14036
14037 * libc/Makefile.in (CRT0): new macro.
14038 (all): depend on $(CRT0) rather than crt0.o.
14039
14040 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
14041 do not default crt0, instead, set crt0 and crt0_dir based on
14042 sys_dir and stub_dir.
14043
14044 * Makefile.in (CRT0_DIR): new macro.
14045 (all): depend on $(CRT0) rather than crt0.o which may not exist.
14046 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
14047 $(CRT0).
14048 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
14049
14050Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14051
14052 * testsuite/lib/libm.exp:
14053 added code to support compiling and linking of tests for
14054 libm.sac (paranoia to be added next) and processing the
14055 pass or failure of the tests.
14056
14057 * testsuite/config/unix-libm.exp:
14058 platform specific proc's for dealing with compiler, linker
14059 and the way we execute and process the test results.
14060
14061 * testsuite/libm.sac/execute.exp:
14062 generic framework for the sac tests. the config and lib
14063 expect code for specific platforms tie it all together.
14064
14065 * testsuite/libm.sac/test_is.c:
14066 changed the output of the test to be consistant with the
14067 other tests. parsing of pass nad fail messages is now fixed.
14068
14069Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
14070
14071 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
14072 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
14073 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
14074 #ifdef __cplusplus, surround by extern ""C { ... }.
14075 * libc/include/assert.h: Do *not* protect assert.h against
14076 multiple inclusion! Also, #undef it before #define, to allow
14077 redefinition.
14078 * libc/include/stdio.h (getlogin, cuserid): Removed. These
14079 should be only in unistd.h.
14080
14081 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
14082 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
14083 ... }.
14084
14085Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
14086
14087 * libc/machine/sparc/Makefile.in: Must create a library, even
14088 if empty.
14089
14090Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14091
14092 * configure.in: set machine_dir for m88k. edit crt0 definition
14093 into makefiles.
14094
14095 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
14096
14097 * libc/Makefile.in (all): also build crt0.o.
14098
14099 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
14100 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
14101 to remove CRT0.
14102
14103 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
14104 (all): reworked to build in place.
14105 (clean): remove lib.a
14106 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
14107
14108 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
14109 (_start): key off edata rather than _start_bss.
14110
14111Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
14112
14113 * libc/include/sys/unistd.h, libc/include/reent.h,
14114 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
14115
14116Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14117
14118 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
14119
14120 * Makefile.in (libc.a): break into two rules, one for libc.a and
14121 one for libc/libc.a. Force subdirs current before rebuilding
14122 library.
14123 (libm.a): break into two rules, one for libm.a and one for
14124 libm/libm.a. Force subdirs current before rebuilding library.
14125
14126 * libc/Makefile.in (SUBLIBS): fix typo.
14127
14128 * libc/sys/Makefile.in (all): force descent into subdirs, then
14129 rebuild library iff out of of date.
14130
14131Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14132
14133 Rework so that library is built and then finished rather than
14134 being built on each invocation of make.
14135
14136 * host/any (machine_dir, sys_dir, signal_dir): these are not
14137 shared and have been moved to their associated Makefile.in's.
14138 (AR_FLAGS): switch to qc which is faster.
14139 * configure.in: no longer assign machine_dir for m88k. set
14140 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
14141 stub_dir set, then add to configdirs. add comment about silly
14142 configuration.
14143 (configdirs): drop stub. It will be added only
14144 when needed.
14145 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
14146 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
14147 stub_lib, crt0): new variables for tailoring lower level
14148 makefiles. Assign accordingly and edit into makefiles.
14149 * libm/Makefile.in: updated copyright.
14150 (TARGETLIB): removed.
14151 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
14152 (SUBDIRS): removed TARGETDEP_DIRS.
14153 (LIBM_FP_LIB, SUBLIBS): new macros.
14154 (all): reworked.
14155 (force): new target to force rebuilds.
14156 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14157 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
14158 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
14159 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
14160 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
14161 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
14162 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
14163 stub/m68kmvme/Makefile.in: updated copyright.
14164 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
14165 (all): reworked. made this the default rule.
14166 (clean): also remove lib.a.
14167 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14168 * stub/Makefile.in: updated copyright.
14169 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
14170 (stub_lib): new macro.
14171 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
14172 RANLIB.
14173 (all): reworked.
14174 (clean, install): assume stub_dir exists.
14175 (Makefile): depend on configure.in. call $(SHELL) rather than
14176 sh. drop redundant ./
14177 * stub/configure.in (stublib): new macro, assign it, edit it into
14178 makefiles.
14179 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
14180 updated copyright.
14181 (all): reworked.
14182 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14183 * libc/Makefile.in (TARGETCRT0): removed.
14184 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
14185 TARGETCRT0.
14186 (SUBDIRS): drop TARGETDEP_DIRS.
14187 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
14188 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
14189 (force): new target to force rebuilds.
14190 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
14191 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
14192 removed.
14193 (clean): assume sys_dir always exists.
14194 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
14195 drop redundant ./
14196 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
14197 libc/locale/Makefile.in, libc/machine/Makefile.in,
14198 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
14199 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
14200 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
14201 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
14202 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
14203 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
14204 libc/signal/Makefile.in, libc/stdio/Makefile.in,
14205 libc/stdlib/Makefile.in, libc/string/Makefile.in,
14206 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
14207 libc/time/Makefile.in, libc/unix/Makefile.in,
14208 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
14209 (TARGETLIB): removed.
14210 (all): reworked.
14211 (clean): also remove lib.a.
14212 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14213 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
14214 new macros.
14215 (SUBDIRS): moved to follow frag inclusion, change stub to
14216 stub_dir.
14217 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
14218 are now set in the libc Makefile.
14219 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
14220 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
14221 TARGETCRT0.
14222 (force): new target to force rebuilds.
14223 * stub/configure.in: determine and set stub_lib for for Makefile.
14224
14225Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
14226
14227 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
14228 crt0.s renamed to crt0.S.
14229 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
14230
14231 * libc/machine/h8300/Makefile.in: Make `all' the default target.
14232 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
14233 h8300h.
14234 * libc/machine/h8300/defines.h: Add macros to handle pointers for
14235 h8300 (16 bits) and h8300h (32 bits).
14236 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
14237 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
14238
14239Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
14240
14241 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
14242 implementation of setjmp and longjmp for the m88k.
14243 * libc/include/machine/setjmp.h: Added __m88000__ case.
14244
14245Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
14246
14247 * configure.in: Recognize h8300h as variant of h8300.
14248
14249Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14250
14251 * libc/include/sys/unistd.h (read, write): get prototypes right.
14252 (sbrk): New prototype.
14253 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
14254 * libc/stdio/local.h: Include unistd.h.
14255 * libc/machine/h8300/syscalls.c: Names have changed.
14256
14257Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
14258
14259 * configure.in: add sys_dir assignment for m88k-bug.
14260
14261Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
14262
14263 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
14264 a.out or elf.
14265 * libc/sys/sparc64: all *.S files: Use new macros.
14266 * libc/sys/sparc64/isatty.c: New file.
14267 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
14268 functions beyond what newlib provides.
14269
14270Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
14271
14272 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
14273 svr4.
14274
14275Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
14276
14277 * libc/include/machine/ieeefp.h: Add support for h8/300h.
14278
14279Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
14280
14281 * configure.in: add m88k.
14282 * libc/include/machine/ieeefp.h: add case for m88k. Also add
14283 sanity check so no one else need ever chase what I did to find
14284 this.
14285
14286 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
14287
14288Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
14289
14290 * doc/makedoc.c: Include <ctype.h>.
14291
14292Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
14293
14294 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14295 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14296 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14297
14298 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
14299
14300Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
14301
14302 * libc/include/errno.h (ENOSYS): Added.
14303
14304 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
14305
14306Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14307
14308 * libc/stdio/fflush.c (fflush): Check for reent struct
14309 initialization.
14310 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
14311
14312Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
14313
14314 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
14315 out of dtoa.c so it doesn't pollute the namespace.
14316 * libc/include/_syslist.h: new file -- mappings from _function to
14317 function, for systems where we can't win (by default, all of them,
14318 until we start updating system calls.)
14319 * libc/syscalls: new directory -- stubs for exporting _function
14320 names as unmodified function names.
14321 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
14322 _syslist.h on all platforms by default, but put hooks in for
14323 fake_sys_dir so we can include it when we've renamed the system
14324 calls.
14325 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
14326 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
14327 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
14328 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
14329 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
14330 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
14331 non ANSI functions to call _function.
14332
14333Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
14334
14335 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
14336 when base 16 is specified. Don't accept non-digits if radix > 10.
14337
14338Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
14339
14340 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
14341
14342Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14343
14344 * libc/include/sys/stat.h: Surround text after #endif with
14345 comments.
14346
14347Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
14348
14349 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
14350 _malloc_r, _realloc_r, and free_r call the corresponding
14351 non-reentrant functions.
14352
14353 * libm/math/modf.c (modf): We now take the address of ipart, so
14354 don't make it a register variable.
14355
14356Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
14357
14358 * libm/math/*: Rename all xxx_r fns to _xxx_r.
14359
14360Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
14361
14362 * libc/libc.texinfo and embedded docn throughout: formatting
14363 improvements, minor rephrasing for clarity, and improved
14364 reentrancy docn.
14365
14366Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14367
14368 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
14369
14370 * libc/stdio/cvt.c (_licvt): Print the right value on machines
14371 where sizeof(int) != sizeof(long).
14372
14373Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14374
14375 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
14376 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
14377 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
14378 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
14379 libm/math/matherr.c: changes for better docn formatting (info).
14380
14381 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
14382 libc/reent/reent.tex, libc/signal/signal.tex,
14383 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
14384 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
14385 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
14386 makeinfo node defaulting to get better Info file node structure.
14387 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
14388 Also include a few formerly missing sections (subroutines).
14389
14390 * doc/doc.str: delete fossil expansion for "func"
14391
14392 * default.menu, no-signal.menu: delete.
14393
14394 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
14395 method used to adjust doc for missing "signals" chapter when
14396 signal_dir is empty.
14397
14398Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14399
14400 * configure.in: added testsuite/libm.sac
14401
14402Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
14403
14404 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
14405 code model).
14406
14407Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
14408
14409 * libm/Makefile.in: Use $(MAKE) rather than make, and define
14410 MAKEOVERRIDES to be empty.
14411
14412Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
14413
14414 * configure.in: Don't build mips-*-* with -msoft-float, since that
14415 makes it incompatible with hard floating point.
14416
14417Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14418
14419 * Makefile.in: added recursive 'make check'
14420
14421Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14422
14423 * configure.in: added ./testsuite ./testsuite/libm.paranoia
14424 * ./testsuite/Makefile.in: created
14425 * ./testsuite/libm.paranoia: paranoia tests added
14426
14427Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
14428
14429 * configure.in: For mips-*-* set machine_dir to mips.
14430
14431 * libc/machine/mips: New directory.
14432 * libc/machine/mips/Makefile.in: New file.
14433 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
14434 setjmp and longjmp.
14435 * libc/include/machine/setjmp.h: Added __mips__ case.
14436
14437 * libc/machine/lmips: Removed unused and useless directory.
14438
14439Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
14440
14441 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
14442
14443Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
14444
14445 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
14446 start up).
14447
14448Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
14449
14450 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
14451 SETJMP_H.
14452
14453Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
14454
14455 * libm/test/convert.c: structure member errno -> errno_val.
14456 Must include <errno.h> to use errno, it's a macro now.
14457 * libm/test/math.c: Ditto.
14458 * libm/test/math2.c: Include errno.h.
14459 * libm/test/string.c: Ditto.
14460 * libm/test/test.h: structure member errno -> errno_val.
14461 Remove extern int errno decl.
14462
14463Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
14464
14465 * libc/stdio/Makefile.in: Added dependencies on local header
14466 files.
14467 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
14468 files.
14469
14470Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
14471
14472 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
14473
14474Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
14475
14476 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
14477 Initialize _data.
14478
14479 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
14480 * libc/stdio/local.h: Add prototype for _licvt.
14481
14482 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
14483 instead of malloc,reealloc.
14484
14485 * libc/stdlib/local.h: New file.
14486 * libc/stdlib/efgcvt.c: #include local.h.
14487 (gcvt): Fix call to _gcvt.
14488 * libc/stdlib/ecvtbuf.c: #include local.h.
14489
14490 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
14491 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
14492 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
14493
14494 * libc/stdlib/atexit.c: moved global data to struct _reent.
14495 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
14496
14497 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
14498
14499Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
14500
14501 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
14502 here from ../reent.h.
14503
14504Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
14505
14506 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
14507 should be provided in both libc.a and libm.a.
14508 (libc.a): Depend on targ-include and libm.a. Copy
14509 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
14510 (libm.a): Depend on targ-include.
14511 * configure.in (subdirs): Removed libc/math.
14512
14513Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14514
14515 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
14516
14517Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
14518
14519 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
14520 sys/reent.h instead of reent.h.
14521 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
14522 headers moved to sys/reent.h.
14523 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
14524 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
14525 __need__MAX_SIGNALS defined.
14526 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
14527 std{in,out,err} refer to new _std{in,out,err} members.
14528
14529Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
14530
14531 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
14532 case.
14533
14534Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
14535
14536 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
14537 rather than whatever macro seterrno() has.
14538
14539Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
14540
14541 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
14542 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14543
14544 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
14545 __STDC__.
14546
14547 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
14548 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
14549 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14550
14551 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
14552 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14553
14554 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
14555 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14556 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14557 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
14558 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
14559 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
14560 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
14561 renamed to _xxx_r. struct reent_struct renamed to struct _reent
14562 for ANSI. structure members given leading "_" for ANSI. Use
14563 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14564
14565 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
14566 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
14567 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
14568 reent_struct renamed to struct _reent for ANSI.
14569 Structure members given leading "_" for ANSI.
14570 _CONST --> const in prototypes.
14571 Use _HAVE_STDC instead of __STDC__.
14572
14573 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
14574 _xxx_r.
14575 struct reent_struct renamed to struct _reent for ANSI.
14576 Structure members given leading "_" for ANSI.
14577
14578 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
14579 _xxx_r.
14580 struct reent_struct renamed to struct _reent for ANSI.
14581
14582 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
14583 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
14584 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
14585 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
14586 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
14587
14588 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
14589 signal.h, stdio.h, stdlib.h, string.h, time.h}:
14590 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14591 #ifndef _STRICT_ANSI non-ANSI routines.
14592 Reentrant routines renamed from _r_xxx to _xxx_r.
14593 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
14594 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
14595 Clean up namespace (structure members have leading "_").
14596 struct reent_struct renamed to struct _reent for ANSI compliance.
14597 _CONST --> const in function prototypes.
14598
14599 * libc/include/string.h: Add NULL and size_t.
14600
14601 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
14602 unlink, wait, wait4. Reentrant syscall routines close, fork,
14603 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
14604 write.
14605 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
14606 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
14607 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
14608 write.S}: Define reentrant versions.
14609 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
14610 reentrant syscalls.
14611
14612 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
14613
14614 * libc/include/stdlib.h (RAND_MAX): Fix value.
14615
14616Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
14617
14618 * libc/sys/a29khif/_main.c: Removed unnecessary file.
14619 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
14620 VPATH support targets after all: target.
14621
14622 * stub/mvme135/mvme.S: Renamed exceptionhandler to
14623 exceptionHandler, which is what mvme135-stub.c expects.
14624
14625Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
14626
14627 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
14628
14629 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
14630 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
14631 compliant).
14632
14633Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
14634
14635 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
14636 first.
14637 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
14638 _r_write): Ditto.
14639 libc/reent/fstatr.c (_r_fstat): Ditto.
14640 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
14641 libc/reent/sbrkr.c (_r_sbrk): Ditto.
14642 libc/reent/statr.c (_r_stat): Ditto.
14643
14644 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
14645 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
14646 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
14647 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
14648 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
14649 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
14650 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
14651 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
14652 (__swrite): Ditto for _r_lseek, _r_write.
14653 (__sseek): Ditto for _r_lseek.
14654 (__close): Ditto for _r_close.
14655 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
14656
14657 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
14658 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
14659
14660 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
14661 to make reent_struct the first argument (and thus consistent with
14662 the rest of newlib).
14663
14664 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
14665 reference to __STDC__.
14666
14667Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
14668
14669 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
14670 global __cleanup.
14671
14672Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
14673
14674 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
14675 first.
14676 libc/stdio/fclose.c (fclose): Ditto.
14677
14678Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
14679
14680 * Run through indent and rename reentrant routines for ANSI.
14681 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
14682 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
14683 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
14684 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
14685 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
14686 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
14687 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
14688 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
14689 vsprintf.c wbuf.c wsetup.c local.h}
14690
14691 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
14692
14693 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
14694 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
14695 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
14696 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
14697 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
14698 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
14699
14700 * Run through indent.
14701 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
14702 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
14703 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
14704 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
14705 strxfrm.c}
14706
14707 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
14708 localtime.c mktime.c strftime.c time.c}:
14709 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
14710
14711 * Reformatting + renaming (for ANSI, GNU style, consistency).
14712 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
14713 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
14714 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
14715
14716Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
14717
14718 * libc/include/stdio.h (stdin_r): Fix.
14719
14720Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
14721
14722 * Makefile.in: Unexport some variables to keep GNU make from
14723 putting them in the environment and using up needed ARG_MAX space
14724 (a hack is used to let this work with older makes as well).
14725
14726Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
14727
14728 * Makefile.in: Use $(MAKE) rather than make.
14729 (MAKEOVERRIDES): Define to be empty.
14730 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14731 (libc.a, libm.a): Depend on targ-include.
14732 * host/any (LD): Don't define.
14733 (INCLUDES): Use targ-include.
14734 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
14735 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14736 * libc/Makefile.in: Use $(MAKE) rather than make.
14737 (MAKEOVERRIDES): Define to be empty.
14738 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14739 (all): Rewrote to be slightly smaller.
14740 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
14741 Define to be empty.
14742 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14743 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
14744
14745Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
14746
14747 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
14748 with errno/errno.c.
14749
14750Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
14751
14752 * Changes for reentrancy.
14753 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
14754 Use ptr->_errno, not errno.
14755 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
14756 libc/stdio/remove.c (remove_r): New function.
14757 libc/stdio/rename.c (rename_r): New function.
14758 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14759 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
14760 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
14761 reentrant versions of system calls.
14762 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
14763 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
14764 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
14765 libc/stdio/findfp.c: Include <string.h>.
14766 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
14767 "local.h".
14768 libc/stdio/wbuf.c: Include "fvwrite.h"
14769
14770 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
14771 <string.h>.
14772 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
14773 (NULL): Don't define if already defined.
14774 libc/stdlib/system.c: Call reentrant versions of system calls.
14775 (system_r): New function.
14776
14777 * Changes for reentrancy.
14778 libc/include/_ansi.h (_PARAMS): New macro.
14779 libc/include/errno.h: Define errno as a macro that calls __errno.
14780 (__errno_r): New macro for reentrant code.
14781 libc/include/math.h: Include reent.h. Declare many reentrant
14782 functions.
14783 (signgam): Now a macro, not a variable.
14784 (struct exception): Added err field.
14785 libc/include/reent.h: Don't declare __sglue. Added function
14786 declarations.
14787 (struct reent_struct): Moved errno to beginning. Added _signgam.
14788 libc/include/stdio.h, libc/include/stdlib.h: Added function
14789 declarations.
14790
14791 * More reentrancy hacking.
14792 libc/errno/errno.c (__errno): New function.
14793 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
14794 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
14795 files.
14796
14797 * Added many new reentrant functions to libm/math/*.
14798 libm/math/error.c (__matherror): Added reent_struct pointer
14799 argument. Changed all callers.
14800 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
14801 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
14802 libm/math/tan.h: Removed obsolete unused header files.
14803
14804 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
14805
14806 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
14807
14808Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14809
14810 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
14811 delay slots.
14812
14813Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14814
14815 * libc/libc.texinfo: comment out reentrancy chapter (duh)
14816
14817Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14818
14819 * libc/reent/reent.tex: New file. (text from
14820 newlib/libc/libc.texinfo)
14821 * libc/stdio/tmpnam.c: fixed doc typo
14822 * libc/stdlib/rand.c: fixed doc typo
14823
14824Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14825
14826 * libc/reent/reent.tex: New file. (text from
14827 newlib/libc/libc.texinfo)
14828
14829Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14830
14831 support for reentrancy
14832 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
14833 new files
14834 * libc/errno/errno.c, libc/include/ieeefp.h,
14835 libc/include/locale.h, libc/include/reent.h,
14836 libc/include/signal.h, libc/include/stdio.h,
14837 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
14838 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
14839 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
14840 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
14841 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14842 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
14843 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
14844 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
14845 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
14846 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
14847 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
14848 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
14849 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
14850 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
14851 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
14852 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
14853 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
14854 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
14855 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
14856 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
14857 libc/time/strftime.c: modify to provide reentracy.
14858
14859 new routines:
14860 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
14861 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
14862 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
14863 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
14864 mstats_r, realloc_r, localeconv_r, setlocale_r
14865
14866Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
14867
14868 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
14869 libc/include/sys/config.h, libc/include/sys/signal.h,
14870 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
14871 provided macros (such as m68000), use the ansi version
14872 (__m68000__) so that the library can be used with code compiled
14873 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
14874 and sparc.
14875
14876Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14877
14878 * configure.in (sparc*): Don't set -fsoft-float for sparc
14879 configurations. Do set -fsoft-float for sparclite configurations.
14880
14881Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14882
14883 * default.menu, no-signal.menu: alternate forms of libc main menu
14884 (in newlib rather than newlib/libc due to configuration restrictions)
14885
14886 * configure.in: select one of the two menus above, link to
14887 libc.menu
14888
14889 * libc/libc.texinfo: include menu from separate file
14890
14891Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
14892
14893 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
14894 (info): Split long shell command in half.
14895 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
14896 sub-makes, just CHEW and TARGETDOC.
14897 (targetdep.tex): Removed now special handling of sys and machine
14898 subdirectories, made obsolete some time ago.
14899 * libc/machine/Makefile.in (doc): Don't pass everything to
14900 sub-make, just CHEW and TARGETDOC.
14901 (Makefile): New target.
14902 * libc/sys/Makefile.in (Makefile): New target.
14903
14904Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
14905
14906 * Makefile.in (here and most subdirectories): Only pass down CHEW
14907 and TARGETDOC when making info, not for other targets.
14908
14909 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
14910 $(AR_FLAGS) rather than $(ARUPDATE).
14911
14912Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
14913
14914 * Try to reduce command line length:
14915 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
14916 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
14917 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
14918 (info): Pass CHEW to other subdirs.
14919
14920Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
14921
14922 * configure.in: add signal_dir, like unix_dir, but by default it
14923 is set to "signal" so that a29khif can turn it off (since a29khif
14924 has raise() as part of machine-specific signal.s.)
14925
14926Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14927
14928 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
14929 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
14930 correctly.
14931 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
14932 libc/stdio/vfprintf: type lint.
14933 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
14934 initialzation code.
14935 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
14936
14937Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
14938
14939 * stub/mvme135/mvme135-asm.S: new file.
14940 stub/mvme135mvme135-stub.c: moved all assembler routines into
14941 mvme135-asm.S.
14942 stub/mvme135/Makefile.in: build mvme135-stub.o.
14943
14944Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
14945
14946 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
14947 sub-Makefiles instead, to try to avoid line length limitations.
14948
14949Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
14950
14951 * libc/include/unistd.h (read, write): Use void* instead of
14952 char*.
14953
14954Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
14955
14956 * stub/go32/resetpc: sample script to send a reset packet to the
14957 stub
14958
14959 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
14960 DOS environment, which compiles with Turbo C.
14961
14962 * stub/go32/DSER32.LNK: new file, linker commands for serial
14963 remote stub.
14964
14965 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
14966 start up message to identify version; call set_debug_traps.
14967
14968 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
14969 keyboard interaction); call handle_exception() in go_til_stop,
14970 rather than return, so that the remote stub gets control.
14971
14972 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
14973 rename, rather than mv), set flags that work with current Turbo C,
14974 including using the /3 flag; also, add commands to build dser32.
14975
14976 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
14977 default Turbo C installation (\tc rather than \usr)
14978
14979 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
14980 "&..."
14981
14982Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14983
14984 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
14985
14986Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14987
14988 * libc/stdio/cvt.c (licvt): new function to convert ints when
14989 sizeof(int) != sizeof(long).
14990
14991 * libc/include/stdio.h: added prototype for iprintf.
14992 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
14993
14994Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
14995
14996 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
14997 __REGISTER_PREFIX__.
14998
14999Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
15000
15001 * libc/sys/m68kbare: moved into stub directory.
15002
15003Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
15004
15005 * configure.in, Makefile.in: created new directory stub, to hold
15006 sample code for specific targets.
15007
15008Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
15009
15010 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
15011 in the unified libc/include/sys/fcntl.h.
15012
15013Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
15014
15015 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
15016 printed .01, not 0.01.
15017
15018Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
15019
15020 * configure.in: compile with -m68000 for m68* targets.
15021
15022Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
15023
15024 * libm/math/remainder.c (remainder): document the svr4 and sunos
15025 references used to construct the function.
15026
15027Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
15028
15029 * libm/math/remainder.c (rint, remainder): fix old typos.
15030 * libm/math/Makefile.in: actually build remainder.c (functions
15031 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
15032 page.)
15033
15034Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
15035
15036 * libc/string/bcopy.c: BSD version works on overlapping strings,
15037 so ours should too.
15038
15039 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
15040 ("SHELL").
15041
15042Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
15043
15044 * Makefile.in (docs): new target.
15045
15046Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
15047
15048 * libc/include/sys/times.h: define clock_t as required by POSIX.
15049 libc/include/time.h: protect clock_t from multiple definitions.
15050
15051Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15052
15053 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
15054 does not need more than the original three iterations to get
15055 within 1 ulp. (Paranoia tests for rounding to better than that,
15056 but further iterations *don't* help, only more subtle changes
15057 can.)
15058
15059Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
15060
15061 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
15062 were doing nothing useful.
15063
15064Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
15065
15066 * configure.in: define MALLOC_PROVIDED for vxworks targets;
15067 removed sys_dir settings of vxworks68 and vxworks960.
15068 host/any: don't pass -nostdinc to gcc, since newlib no longer
15069 provides all required header files.
15070
15071 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
15072 is not defined; this provides a hook for VxWorks.
15073
15074Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15075
15076 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
15077 buffer if buf is NULL, don't do it here -- it is already being
15078 done by makebuf elsewhere in stdio.
15079
15080Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
15081
15082 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
15083 that C programs can call functions without using initial
15084 underscores.
15085
15086Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
15087
15088 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
15089
15090Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
15091
15092 * configure.in: set TARGET_CFLAGS for certain CPU types to
15093 -msoft-float.
15094
15095Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15096
15097 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
15098
15099Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
15100
15101 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
15102 m68k*-unknown-coff.
15103
15104Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
15105
15106 * libc/include/stdio.h: define __need___va_list before including
15107 <stdarg.h>, to avoid defining va_arg, et. al.
15108
15109Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
15110
15111 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
15112 (don't cd to the user's home directory).
15113
15114 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
15115 In general this is the wrong thing to do, but I can't get around
15116 GNU make's insistence on passing command line arguments any other
15117 way.
15118
15119Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
15120
15121 * configure.in: always configure the libc/sys directory, since it
15122 now provides a required documentation file.
15123
15124 * Makefile.in: replaced all instances of $(MAKE) with make. In
15125 general this is the wrong thing to do, but I can't get around GNU
15126 make's insistence on passing command line arguments any other way.
15127
15128Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
15129
15130 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
15131 terminated.
15132
15133 * libc/stdio/local.h: include <stdarg.h> to define va_list.
15134 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
15135
15136 * libc/include/float.h, libc/include/stdarg.h,
15137 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
15138 versions instead.
15139 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
15140 <stdarg.h>, not from <machine/types.h>. Protect definition of
15141 NULL.
15142 libc/include/time.h: get size_t from stddef.h. Protect definition
15143 of NULL.
15144 libc/include/machine/limits.h: override gcc <limits.h> by defining
15145 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
15146 get correct INT_MIN and LONG_LONG values.
15147 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
15148 size_t or va_list at all; they're now gotten from stddef.h
15149 instead.
15150 libc/include/machine/varargs.h: removed; use gcc version instead.
15151 libc/include/sys/types.h: explicitly include <machine/types.h>.
15152
15153 * libm/math/sqrt.h: using the fp-bit routines appears to require
15154 more iterations.
15155
15156 * Makefile.in, host/any: let system include files override machine
15157 include files.
15158
15159Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15160
15161 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
15162 override _*_T_ definitions defaulted here.
15163
15164Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
15165
15166 * Makefile.in (install): install the include files in
15167 $(tooldir)/include, not $(exec_prefix)/include.
15168
15169Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
15170
15171 * Makefile.in (install): fixed typo, and changed install to not
15172 force rebuild of libc.a and libm.a.
15173
15174Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
15175
15176 * libc/sys/a29khif/*: Changed all .include's to include
15177 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
15178 that they will be installed for the user.
15179
15180 * Makefile.in (all): create targ-include, a directory holding the
15181 machine and system specific header files during the build.
15182 (install): fixed installation of machine and system specific
15183 header files.
15184
15185 * Makefile.in: fixed comment.
15186 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
15187 we can pass $(INCLUDES) to it.
15188
15189Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
15190
15191 * libc/include/sys/param.h: new generic file, which may be
15192 overridden for specific systems.
15193
15194 * libc/include/sys/signal.h: define all ANSI signal names, and
15195 NSIG (which is not ANSI) for a29k.
15196
15197Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
15198
15199 * Makefile.in: don't pass down arguments the lower level makes
15200 will not need.
15201 * libc/Makefile.in: recurse directly, rather than using subdir_do,
15202 in hopes of avoiding argument length limits.
15203 * libm/Makefile.in: recurse directly, rather using subdir_do, in
15204 hopes of avoiding argument length limits.
15205
15206Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
15207
15208 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
15209 mode_t is defined.
15210
15211Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
15212
15213 * Fixed make info and make install-info for newlib, changing most
15214 Makefile.in and several *.tex files. Moved doc directory from
15215 libc to top level.
15216
15217 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
15218 Should be rewritten.
15219
15220 * libc/string/strings.tex: renamed node index to node index
15221 function, so that it does not conflict with the top level index
15222 node.
15223
15224 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
15225
15226Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
15227
15228 * Overhauled general configuration for newlib. Eliminated all
15229 target dependent Makefile fragments. Create libraries in newlib
15230 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
15231 than CROSS_CC, et. al. Broke make docs; will fix later.
15232
15233 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
15234 Should be rewritten.
15235
15236Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
15237
15238 * libc/configure.in: cleaned up somewhat; switch on ${target}
15239 rather than ${target_alias}.
15240 * libm/configure.in: cleaned up somewhat; switch on ${target}
15241 rather than ${target_alias}.
15242
15243 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
15244 * libc/include/ctype.h: marked _ctype_ as _CONST.
15245
15246 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
15247 _CONST.
15248
15249 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
15250 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
15251 libc/stdio/gets.c (gets): removed non-ANSI warning message.
15252 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
15253
15254 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
15255 bigtens, tinytens): marked arrays _CONST.
15256 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
15257 rather than a static variable.
15258
15259 * libc/time/asctime.c (asctime), libc/time/localtime.c
15260 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
15261 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
15262 mname_len, mname): Marked static arrays _CONST.
15263
15264 * libm/math/gamma.h: made local variables non-static.
15265
15266 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
15267 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
15268 _CONST.
15269
15270 * libm/math/constants.c: removed file, because the constants it
15271 defined were never referenced.
15272 libm/math/Makefile.in: removed references to constants.c.
15273 libm/math/mathimpl.h: removed declarations of constants.
15274
15275Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
15276
15277 * libc/include/machine/varargs.h: only call __builtin_saveregs if
15278 it is sensibly defined in libgcc2. Checks preprocessor defines,
15279 which is not a good solution.
15280
15281 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
15282
15283 * libm/frexp.c: handle denormalized numbers as arguments.
15284
15285 * libm/math/Makefile.in: added some dependencies for .c files
15286 which include local .h files.
15287
15288Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
15289
15290 * libc/configure.in: set target_alias for OSE*. Replace
15291 target_makefile_frag if it is blank.
15292
15293 * libc/Makefile.in: make sure everything is passed to subsidiary
15294 makes; create all directories when installing.
15295
15296 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
15297 CROSS_ARUPDATE instead of AR.
15298
15299 * libm/configure.in: set target_alias for OSE*. Replace
15300 target_makefile_frag if it is blank.
15301
15302 * libm/Makefile.in: make sure everything is passed to subsidiary
15303 makes; create all directories when installing.
15304
15305Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
15306
15307 * add following change from libc copy.
15308
15309Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15310
15311 * libc/libc.texinfo: make copyright disclaimers appear on back of
15312 title page; make format of same slightly less ugly; avoid using
15313 underbars in section headings (avoids nasty texinfo bug in table
15314 of contents).
15315
15316 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
15317 comments only) avoid using underbars in section headings
15318
15319 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15320 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
15321 changes in comments only): shorten headings ieeefp/infinity.c,
15322 ieeefp/isnan.c: (doc, comments only) more informative headings
15323
15324 * libc/math/bessel.c: (doc, comments only) shorten heading
15325
15326 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
15327 (doc, comments only) shorten headings
15328
15329 * libc/time/localtime.c (doc, comments only): shorten headings
15330
15331 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15332 isnan
15333 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
15334 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
15335 headings
15336 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
15337 only) more informative headings
15338 * libm/math/bessel.c: (doc, comments only) shorten heading
15339
15340Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15341
15342 * .../Makefile.in: use CROSS_ARUPDATE consistently.
15343 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
15344 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
15345 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
15346 defined, the one from the .mt file will be correct.
15347 * libc/include/machine, libc/include/sys: created, and populated
15348 with common files from machine/*/machine. ifdefs were used for
15349 most, typically by handling exceptions first and then filling in
15350 defaults. Files with D.J. Delorie copyright #included rather than
15351 copied. Most files in include/sys really were the same in the
15352 original.
15353 * libc/include/...: cleaned up use of _EXFUN.
15354 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
15355 it with double quotes, not angles.
15356
15357Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
15358
15359 * libc/Makefile.in: always create installation directories.
15360
15361Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15362
15363 * libc/configure.in: handle host properly (using canonical
15364 triples), better error message for the case of target not found
15365
15366Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
15367
15368 * libc/Makefile.in (insincdir): Ensure this directory exists
15369 before attempting installation.
15370
15371Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15372
15373 * libc/stdlib/assert.c: now calls abort like it should
15374 * libc/sys/a29khif: many many patches for 29khif work
15375 * libc/machine/i386: gnulib2 expanded there.
15376
15377Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15378
15379 Added accurate fp conversion routines to stdlib, moved dcvt from
15380 stdio to stdlib and called it ecvtbuf:
15381 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
15382 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
15383 routines
15384 * libc/libc.texinfo: Modifed to include the copyright info from
15385 the mprec files
15386 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
15387 * libc/test/ : many vector which tested for the implementation
15388 defined returns of strange conversion requests have been updated
15389 to relflect the new implementation
15390
15391Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15392
15393 * libc/libc.texinfo: new chapter on variable arg lists
15394 (stdarg.h/varargs.h)
15395 * libc/libc.texinfo: new title
15396 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
15397 (doc only) shorter headings for better formatting.
15398
15399Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15400
15401 * libc/libc.texinfo: three more info menu entries
15402 * libc/locale/locale.tex: new chapter
15403 * libc/locale/locale.c: new doc for setlocale, localeconv
15404 * libc/locale/Makefile.in: use new locale doc
15405 * libc/signal/signal.tex: new chapter
15406 * libc/signal/raise.c, libc/signal/signal.c: new doc
15407 * libc/signal/Makefile.in: use new doc
15408 * libc/time/time.tex: new chapter
15409 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
15410 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
15411 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
15412 * libc/time/Makefile.in: use new doc
15413
15414Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15415
15416 * libm/math/log1p.c: split to use the new function way of float
15417 function definition. math/log1p.h deleted
15418 * libm/math/scalb.c: obsolete and deleted
15419 * libm/math/scalbn.c: created from part log1p.c
15420 * libm/math/Makefile.in: know about log1p and scalbn
15421
15422Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15423
15424 * libc/ctype/isupper.c: revise doc;
15425 libc/ctype/ctype.tex: use doc from isupper.c
15426
15427 * libc/string/bzero.c: new doc
15428
15429Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15430
15431 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
15432 new doc
15433 * libc/stdlib/Makefile.in: extract new doc
15434 * libc/stdlib/stdlib.tex: use new doc
15435
15436 * libc/string/strerror.c: expanded doc.
15437
15438 * libc/stdio/Makefile.in: extract doc from more files
15439 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
15440 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
15441 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
15442 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
15443 libc/stdio/vsprintf.c: new doc
15444 * libc/stdio/stdio.tex: use new doc
15445
15446Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15447
15448 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
15449 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
15450 finitef functions.
15451 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
15452 time ago.
15453
15454 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
15455 * libc/stdio/setbuf.c: added ansi style definition.
15456 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
15457 buffer if none provided.
15458 * libc/stdio/tmpfile.c: lint
15459 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
15460 rather than using static, also make sure file isn't already
15461 present. Uses P_tmpdir. (tempnam): rewritten to use new
15462 subroutine, and uses P_tmpdir.
15463 * libc/stdio/siprintf.c: created
15464
15465Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15466
15467 Release 1.03 for NEC, major mods. Main differences from release
15468 1.02::
15469
15470 More tests in test/:
15471 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
15472 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
15473 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
15474 get/set mask, get/set sticky and get/set roundtoi. Tests
15475 that setting the bits changes the way arithmetic is done.
15476 * string.c: added test to make sure memcmp does it with unsigned
15477 chars.
15478 * test.c: cleaned up and removed lint.
15479 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
15480 dvec.c: tests for string to value conversions, sprintf, scanf,
15481 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
15482 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
15483 rounding in sprintf too.
15484 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
15485 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
15486 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
15487 and function form.
15488 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
15489 powf
15490
15491 In the library:
15492 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
15493 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
15494 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
15495 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
15496 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
15497 than sprintf.
15498 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
15499 * Method of producting float versions of double functions has
15500 changed, functions will be modified gradually. So far:
15501 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
15502 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
15503 altered
15504 * libc/string/memcmp.c: now uses unsigned chars
15505 * libc/string/bcmp.c, libc/string/strcpy.c,
15506 libc/stsring/strxfrm.c: fixed doc
15507 * libc/sys/sysvnecv70.tex: fix example of sbrk code
15508\f
15509Local Variables:
15510version-control: never
15511End:
This page took 1.809919 seconds and 5 git commands to generate.