]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* cygtls.cc (_cygtls::remove): Don't bother if we're exiting.
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
74ecef0d
NS
12005-12-12 Nathan Sidwell <nathan@codesourcery.com>
2
3 * configure.host: Replace ms1 arch with mt arch.
4 * libc/machine/mt: Renamed from ms1 dir.
5
2a1fc53c
JJ
62005-12-08 Shaun Jackman <sjackman@gmail.com>
7
8 * libc/include/sys/types.h: Remove the ifdef armour around
9 standard POSIX types.
10
77e70d34
JJ
112005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
12
13 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
14 rtems_gxx_key_delete, rtems_gxx_getspecific,
15 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
16 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
17 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
18
b1da33a0
CF
192005-12-05 Christopher Faylor <cgf@timesys.com>
20
21 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
22 file. Declare unsetenv and _unsetenv_r when not cygwin.
23
6b1a6ec6
JJ
242005-11-18 Jeff Johnston <jjohnstn@redhat.com>
25
26 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
27 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
28
d7d477b7
CF
292005-11-18 Christopher Faylor <cgf@timesys.com>
30
31 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
32
c1534dbe
CF
332005-11-18 Christopher Faylor <cgf@timesys.com>
34
35 * include/time.h: Remove more cygwin-specific stuff.
36
d3e81bda
CF
372005-11-18 Christopher Faylor <cgf@timesys.com>
38
39 * include/time.h: Move cygwin declarations to cygwin-specific header.
40 * include/sys/time.h: Rename cygwin include to "sys_time.h".
41
1396951b
JJ
422005-11-17 Jeff Johnston <jjohnstn@redhat.com>
43
44 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
45 in libc/sys/linux/include.
46 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
47 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
48 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
49 in libc/sys/linux/dl.
50
37bd11ed
CF
512005-11-11 Christopher Faylor <cgf@timesys.com>
52
53 * libc/include/sys/time.h: For cygwin, use general header rather than
54 specific "sys/select.h".
55
b397593c
JJ
562005-11-08 Tom Walsh <tom@openhardware.net>
57
58 * libc/time/tzvars.c: New file.
59 * libc/time/tzset_r.c: Moved globals into tzvars.c
60 so other time functions needn't link in __tzset_r and its
61 dependencies.
62 * libc/time/Makefile.am: Add the new file.
63 * libc/time/Makefile.in: Regenerated.
64
86c6c421
CF
652005-11-08 Christopher Faylor <cgf@timesys.com>
66
67 * libc/include/string.h: Add cygwin-specific function declaration.
68
ef1206e4
CV
692005-11-07 Corinna Vinschen <corinna@vinschen.de>
70
71 * libc/include/ieeefp.h: Add C++ guards.
72
15eaca1c
JJ
732005-11-03 Jeff Johnston <jjohnstn@redhat.com>
74
75 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
76 * libc/unix/getlogin.c: Ditto.
77 * libc/unix/getpass.c: Ditto.
78 * libc/unix/getut.c: Ditto.
79 * libc/unix/ttyname.c: Ditto.
80
d31a8623
JJ
812005-11-03 Shaun Jackman <sjackman@gmail.com>
82
83 * libc/include/sys/unistd.h (readlink, symlink): Provide these
84 prototypes by default.
85 * libc/sys/linux/include/unistd.h (readlink): Remove this
86 prototype.
87 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
88 prototypes.
89
ef1206e4 90>>>>>>> 1.843
71ac53ee
JJ
912005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
92
93 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
94
dc1b6289
JJ
952005-10-31 Darin Johnson <darin@usa.net>
96
97 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
98 correct for constants.
99
884c0ff0
JJ
1002005-10-28 Bob Wilson <bob.wilson@acm.org>
101
102 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
103 * libc/stdio/siscanf.c: Likewise.
104 * libc/stdio/sprintf.c: Likewise.
105 * libc/stdio/sscanf.c: Likewise.
106 * libc/stdio/vfprintf.c: Likewise.
107 * libc/stdio/vfscanf.c: Likewise.
108 * libc/stdio/viprintf.c: Likewise.
109 * libc/stdio/viscanf.c: Likewise.
110
a9c15f6f
JJ
1112005-10-28 Bob Wilson <bob.wilson@acm.org>
112
113 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
114 example to use "_end" symbol instead of "end". Change write example
115 to use "outbyte" instead of "writechar".
116
a306ebc9
JJ
1172005-10-28 Bob Wilson <bob.wilson@acm.org>
118
119 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
120 * libc/ctype/islower.c: Likewise.
121 * libc/ctype/isupper.c: Likewise.
122 * libc/ctype/iswalnum.c: Likewise.
123 * libc/ctype/iswalpha.c: Likewise.
124 * libc/ctype/iswblank.c: Likewise.
125 * libc/ctype/iswcntrl.c: Likewise.
126 * libc/ctype/iswdigit.c: Likewise.
127 * libc/ctype/iswgraph.c: Likewise.
128 * libc/ctype/iswlower.c: Likewise.
129 * libc/ctype/iswprint.c: Likewise.
130 * libc/ctype/iswpunct.c: Likewise.
131 * libc/ctype/iswspace.c: Likewise.
132 * libc/ctype/iswupper.c: Likewise.
133 * libc/ctype/iswxdigit.c: Likewise.
134 * libc/ctype/tolower.c: Likewise.
135 * libc/ctype/toupper.c: Likewise.
136 * libc/ctype/towctrans.c: Likewise.
137 * libc/ctype/towlower.c: Likewise.
138 * libc/ctype/towupper.c: Likewise.
139 * libc/string/strcasecmp.c: Likewise.
140 * libc/string/strcoll.c: Likewise.
141 * libc/string/strings.tex: Likewise.
142 * libc/string/strlwr.c: Likewise.
143 * libc/string/strncasecmp.c: Likewise.
144 * libc/string/strupr.c: Likewise.
145 * libc/string/wcscoll.c: Likewise.
146 * libc/string/wcslcat.c: Likewise.
147 * libc/string/wcslcpy.c: Likewise.
148 * libc/string/wcsnlen.c: Likewise.
149 * libc/string/wcsstr.c: Likewise.
150 * libc/string/wcstrings.tex: Likewise.
151 * libc/string/wmemchr.c: Likewise.
152 * libc/string/wmemcmp.c: Likewise.
153 * libc/string/wmemcpy.c: Likewise.
154 * libc/string/wmemmove.c: Likewise.
155 * libc/string/wmemset.c: Likewise.
156
239c2bf9
JJ
1572005-10-28 Bob Wilson <bob.wilson@acm.org>
158
159 * libc/misc/unctrl.c: Replace FUNCTION description.
160 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
161 * libc/stdio/getdelim.c: Fix spelling errors.
162 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
163 * libc/stdio/putw.c: Likewise.
164 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
165 documentation.
166 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
167 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
168 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
169 * libc/stdlib/mlock.c: Likewise.
170 * libc/stdlib/mstats.c: Likewise.
171 * libc/time/tzlock.c: Likewise.
172 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
173 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
174 and hyphenate "pseudo-random".
175 * libc/string/bcmp.c: Remove extra blank lines in documentation.
176 * libc/string/strncat.c: Likewise.
177 * libc/string/memchr.c: Remove extra ">" character in documentation.
178 * libc/string/strcspn.c: Use "characters" instead of "chars".
179 * libc/string/strpbrk.c: Likewise.
180 * libc/string/strerror_r.c: Capitalize "GNU".
181 * libc/string/strnlen.c: Likewise.
182 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
183 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
184 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
185 * libc/string/wcschr.c: Likewise.
186 * libc/string/wcscmp.c: Likewise.
187 * libc/string/wcscpy.c: Likewise.
188 * libc/string/wcscspn.c: Likewise.
189 * libc/string/wcslen.c: Likewise.
190 * libc/string/wcsncat.c: Likewise.
191 * libc/string/wcsncmp.c: Likewise.
192 * libc/string/wcsncpy.c: Likewise.
193 * libc/string/wcsnlen.c: Likewise.
194 * libc/string/wcspbrk.c: Likewise.
195 * libc/string/wcsrchr.c: Likewise.
196 * libc/string/wcsspn.c: Likewise.
197 * libc/string/wmemchr.c: Likewise.
198 * libc/string/wmemcmp.c: Likewise.
199 * libc/string/wmemcpy.c: Likewise.
200 * libc/string/wmemset.c: Likewise.
201 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
202 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
203 * libc/string/wcwidth.c: Likewise.
204 * libm/common/s_modf.c: Remove extra period from documentation.
205 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
206 documentation.
207 * libm/mathfp/s_isnan.c: Likewise.
208 * libm/math/s_ldexp.c: Fix punctuation.
209 * libm/mathfp/s_ldexp.c: Likewise.
210 * libm/math/w_log.c: Likewise.
211 * libm/mathfp/s_logarithm.c: Likewise.
212 * libm/math/w_j0.c: Add spaces to FUNCTION description.
213 * libm/mathfp/w_jn.c: Likewise.
214
2556eb8d
JJ
2152005-10-26 Shaun Jackman <sjackman@gmail.com>
216
217 * libc/posix/scandir.c (scandir): Update the function
218 prototype to match the header.
219 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
220 extraneous #endif.
221 * libc/sys/linux/sys/lock.h: Do not include
222 machine/weakalias.h, since it's not used by this file.
223
c9d71a8d
JJ
2242005-10-26 Jeff Johnston <jjohnstn@redhat.com>
225
226 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
227 directories can override properly.
228
09968b6d
JJ
2292005-10-20 Jeff Johnston <jjohnstn@redhat.com>
230
231 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
232 gcc is 3.3 or greater, use special gcc builtins.
233
c70571bd
CV
2342005-10-20 Corinna Vinschen <corinna@vinschen.de>
235
236 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
237
a92822b7
CV
2382005-10-18 Corinna Vinschen <corinna@vinschen.de>
239
240 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
241
d2c2c132
JJ
2422005-10-14 Jeff Johnston <jjohnstn@redhat.com>
243
244 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
245 * libm/common/Makefile.am: Add s_infconst.c support.
246 * libm/common/Makefile.in: Regenerated.
247 * libm/common/s_infconst.c: New file with float and
248 long double infinity support added.
249 * libm/math/Makefile.am: Remove s_infconst.c support.
250 * libm/math/Makefile.in: Regenerated.
251 * libm/math/s_infconst.c: Moved to common directory.
252 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
253 * libm/mathfp/Makefile.in: Regenerated.
254 * libm/mathfp/s_infconst.c: Moved to common directory.
255
4d57c1ed
JJ
2562005-10-14 Jeff Johnston <jjohnstn@redhat.com>
257
258 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
259 dbgprintf to prevent conflict with new dprintf function.
260
1012585f
JJ
2612005-10-14 Jeff Johnston <jjohnstn@redhat.com>
262
263 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
264 "nan" processing for systems that have long double support.
265
e9154015
JJ
2662005-10-14 Jeff Johnston <jjohnstn@redhat.com>
267
268 * libc/sys/linux/sys/types.h (int8_t): Add type.
269
1a869698
JJ
2702005-10-14 Bob Wilson <bob.wilson@acm.org>
271
272 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
273 * libm/common/Makefile.in: Regenerate.
274 * libm/common/common.tex: Delete file.
275 * libm/math/math.tex: Include .def files from common/.
276 * libm/mathfp/mathfp.tex: Likewise.
277
e0811fb3
JJ
2782005-10-14 Bob Wilson <bob.wilson@acm.org>
279
280 * libc/libc.texinfo (Top): Surround this node with @ifnottex
281 instead of @ifinfo. Update menu to add Introduction and match
282 SUBDIRS order.
283 (Introduction): New section.
284
e63c98c6
JJ
2852005-10-14 Bob Wilson <bob.wilson@acm.org>
286
287 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
288 with "Red Hat newlib C Library".
289 * libc/sys.tex (Stubs): Likewise.
290 * libm/math/math.tex (Math): Likewise.
291 * libm/mathfp/mathfp.tex (Math): Likewise.
292
339195bf
JJ
2932005-10-11 Shaun Jackman <sjackman@gmail.com>
294
295 * libc/include/stdio.h (dprintf): New declaration.
296 (vdprintf): Ditto.
297 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
298 and vdprintf.c.
299 * libc/stdio/Makefile.in: Regenerate.
300 * libc/stdio/dprintf.c: New file.
301 * libc/stdio/vdprintf.c: New file.
302 * libc/stdio/stdio.tex (dprintf): New entry.
303
da71e518
JJ
3042005-10-11 David Weatherford <weath@tensilica.com>
305
306 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
307 Print "inf" and "nan" in lowercase for e/f/g formats and in
308 uppercase for E/F/G formats.
309
f011605a
JJ
3102005-10-07 Bob Wilson <bob.wilson@acm.org>
311
312 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
313 to ENOMEM on failure.
314
bc037f3a
JJ
3152005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
316
317 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
318
c7e20979
JJ
3192005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
320
321 * libc/include/stdint.h: Move magic to set __have_long* to the
322 beginning. Use #if __have* instead of #if defined(__have*).
323 Minor typo fixes.
324
58e78add
JJ
3252005-10-04 James E Wilson <wilson@specifix.com>
326
327 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
328 #error.
329
8afb8202
JJ
3302005-10-03 Jeff Johnston <jjohnstn@redhat.com>
331
332 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
333 incorporate Ralf's change below.
334
14491fd0
JJ
3352005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
336
337 * libc/include/stdint.h:
338 Use __INTMAX_TYPE__ to derive intmax_t.
339 Use __UINTMAX_TYPE__ to derive uintmax_t.
340 Fix minor typo.
341
ee694aea
JJ
3422005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
343
344 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
345 handling GCC >= 4.
346
9f1926f2
JJ
3472005-09-20 Jeff Johnston <jjohnstn@redhat.com>
348
349 * libc/sys/linux/include/stdint.h: Update to match functionality
350 of generic newlib stdint.h.
351
0ce4fcef
JJ
3522005-09-20 Jeff Johnston <jjohnstn@redhat.com>
353
354 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
355 and do not #undef the macro after it is used. Fix typos.
356 Also change 64-bit constants to use the __have_long64 and
357 __have_longlong64 flags to determine if long or long long
358 constants should be used.
359 * libc/include/inttypes.h: Include stddef.h to get wchar_t
360 type defined.
361
17060817
JJ
3622005-09-20 Shaun Jackman <sjackman@gmail.com>
363
364 * libc/include/stdint.h: Fix typo in names of
365 LEAST macros.
366
1e1d1d3d
JJ
3672005-09-20 Jeff Johnston <jjohnstn@redhat.com>
368
369 * libc/sys/rtems/include/inttypes.h: Moved to...
370 * libc/include/inttypes.h: ...here.
371
cddfc170
JJ
3722005-09-19 Jeff Johnston <jjohnstn@redhat.com>
373
374 * libc/sys/rtems/include/stdint.h: Moved to...
375 * libc/include/stdint.h: ...here.
376
b10ab725
JJ
3772005-09-08 Jeff Johnston <jjohnstn@redhat.com>
378
379 * Makefile.am: Add include files under bits sub-directory.
380 * Makefile.in: Regenerated.
381 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
382 actual value of 1 to be compatible with newer glibc headers.
383 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
384 glibc headers.
385 * libc/sys/linux/sys/dirent.h: Ditto.
386 * libc/sys/linux/argp/argp-xinl.c: Ditto.
387 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
388 profile_fixup routines are marked used so they won't be
389 optimized away.
390 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
391 to mark functions as weak.
392 * libc/sys/linux/dl/dl-open.c: Ditto.
393 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
394 rules about lvalues.
395 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
396 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
397 weak_extern macro to mark functions as weak. Instead always
398 use #pragma weak.
399 * iconvdata/jis0208.h: Fix to work with gcc4.
400 * libc/sys/linux/dl/dl-load.c: Ditto.
401 * libc/sys/linux/dl/dl-reloc.c: Ditto.
402 * libc/sys/linux/dl/do-rel.h: Ditto.
403 * libc/sys/linux/dl/dynamic-link.h: Ditto.
404 * libc/sys/linux/include/ltdl.h: Ditto.
405 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
406 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
407 * libc/sys/linux/net/ns_ntoa.c: Ditto.
408 * libc/sys/linux/bits/initspin.h: New file.
409 * libc/sys/linux/bits/libc-lock.h: Ditto.
410 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
411 * libc/sys/linux/bits/typesizes.h: Ditto.
412
7b786e48
JJ
4132005-09-08 Eric Blake <ebb9@byu.net>
414
415 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
416 before is NULL.
417
32b09d75
JJ
4182005-09-08 Brian Dessent <brian@dessent.net>
419
420 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
421 mantissa.
422 * s_lrint.c: Ditto.
423
8f36ef2f
JJ
4242005-09-02 Jeff Johnston <jjohnstn@redhat.com>
425
426 * libc/include/stdio.h: Add prototype for viprintf.
427
cebe43dd
JJ
4282005-09-01 Jeff Johnston <jjohnstn@redhat.com>
429
430 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
431 any positive power results in 0.
432 * libm/mathfp/sf_pow.c (powf): Ditto.
433
45c8bb8f
JJ
4342005-08-31 Paul Brook <paul@codesourcery.com>
435
436 * configure.host: Set have_crt0 to no for Arm targts when not
437 providing syscalls. Set sys_dir=arm unconditionally.
438 Default have_crt0 based on sys_dir.
439 * configure.in: Use have_crt0.
440 * libc/configure.in: Ditto.
441 * libc/sys/configure.in: Ditto.
442 * configure: Regenerate.
443 * libc/configure: Regenerate.
444 * libc/sys/configure: Regenerate.
445 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
446 Only build other files when providing syscalls.
447 * libc/sys/arm/Makefile.in: Regenerate.
448 * libc/sys/arm/aeabi_atexit.c: New file.
449
dbeee890
CF
4502005-08-26 Christopher Faylor <cgf@timesys.com>
451
452 * libc/include/string.h: Revert previous change.
453
377d3ea0
CF
4542005-08-25 Christopher Faylor <cgf@timesys.com>
455
456 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
457
4797a77c
JJ
4582005-08-22 Shaun Jackman <sjackman@gmail.com>
459
460 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
461 define _opendir as opendir, _readdir as readdir, and
462 _closedir as closedir so that the implementations in
463 libc/posix will be used.
464
2e73582e
DD
4652005-08-10 DJ Delorie <dj@redhat.com>
466
467 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
468
234cf97f
JJ
4692005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
470
471 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
472 * libm/common/s_max.c: Ditto.
473 * libm/common/sf_fmin.c: Ditto.
474 * libm/common/s_min.c: Ditto.
475
56448afa
JJ
4762005-08-10 DJ Delorie <dj@redhat.com>
477
478 * configure.host: Add m32c support.
479 * libc/include/machine/ieeefp.h: Likewise.
480 * libc/include/machine/setjmp.h: Likewise.
481 * libc/include/sys/config.h: Likewise.
482 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
483 * libc/machine/m32c/aclocal.m4: New file.
484 * libc/machine/m32c/configure: Ditto.
485 * libc/machine/m32c/configure.in: Ditto.
486 * libc/machine/m32c/Makefile.am: Ditto.
487 * libc/machine/m32c/Makefile.in: Ditto.
488 * libc/machine/m32c/setjmp.S: Ditto.
489
0c5c6c23
JJ
4902005-08-02 Bob Wilson <bob.wilson@acm.org>
491
56448afa
JJ
492 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
493 to the value for 2^126.
0c5c6c23 494
12499c7a
HPN
4952005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
496
497 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
498 used.
499
395a327d
JJ
5002005-07-20 Bob Wilson <bob.wilson@acm.org>
501 Darin Petkov <darin@tensilica.com>
502
503 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
504
108d7dd8
JJ
5052005-07-19 Paul Brook <paul@codesourcery.com>
506
507 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
508
b776efc5
JJ
5092005-07-18 Joseph S. Myers <joseph@codesourcery.com>
510
511 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
512 names after PASS and FAIL which do not depend on source directory
513 name or on whether test passed or failed.
514 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
515
88540e24
JJ
5162005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
517
518 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
519
85d62190 5202005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 521
88540e24 522 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
523 twice for the same directory. _closedir calls free, and freeing
524 the same pointer twice may cause a crash.
525
dee9edd9
AH
5262005-07-06 Aldy Hernandez <aldyh@redhat.com>
527
528 * configure.host: Added entry for ms1*.
529 * libc/include/machine/ieeefp.h: Handle ms1.
530 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
531 * libc/machine/ms1/aclocal.m4: New.
532 * libc/machine/ms1/configure: New.
533 * libc/machine/ms1/configure.in: New.
534 * libc/machine/ms1/Makefile.am: New.
535 * libc/machine/ms1/Makefile.in: New.
536 * libc/machine/ms1/setjmp.S: New.
537
cec1d3b4
JJ
5382005-07-04 Mark Mitchell <mark@codesourcery.com>
539
540 * Makefile.am (site.exp): Set tmpdir.
541 * Makefile.in: Regenerated.
542 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
543 executables in $tmpdir.
544 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
545 libgloss version if not running in the build directory.
546 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
547 $tmpdir.
548 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
549 in $tmpdir.
550
25d209f1
JJ
5512005-06-28 Dave Korn <dave.korn@artimi.com>
552
553 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
554 and miscalculation caused by fp representation of zero.
555 * libm/common/sf_lrint.c (lrintf): Likewise.
556
68cdbb18
JJ
5572005-06-16 Christopher Faylor <cgf@timesys.com>
558
559 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
560 determine characteristics of long double. Use a union instead.
561 * ldtoa.c (_ldtoa_r): Ditto.
562 (_ldcheck): Ditto.
563 (_strtold): Ditto.
564 (union uconv): New union.
565
15c04fd1
JJ
5662005-06-03 Jeff Johnston <jjohnstn@redhat.com>
567
568 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
569 instead of memcpy.
570
cf55bf5e
JJ
5712005-05-12 Jeff Johnston <jjohnstn@redhat.com>
572
573 * configure.host (mn10300-*): Add long long I/O support by default.
574
b6e654c4
JJ
5752005-05-12 Jeff Johnston <jjohnstn@redhat.com>
576
577 * libc/sys/linux/getpwuid.c: Removed.
578 * libc/sys/linux/getpwnam.c: Removed.
579 * libc/sys/linux/getpwent.c: New file containing logic
580 from files removed above. This allows overriding of file
581 in libc/unix.
582 * libc/sys/linux/Makefile.am: Support changes above.
583 * libc/sys/linux/Makefile.in: Regenerated.
584
5456408b
JJ
5852005-04-28 Jeff Johnston <jjohnstn@redhat.com>
586
587 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
588 when checking for multiple flags.
589
1c74754f
HPN
5902005-04-18 Hans-Peter Nilsson <hp@axis.com>
591
592 * configure.host <cris-*-* | crisv32-*-*>: Set
593 default_newlib_io_long_long="yes".
594
6e75bff6
JJ
5952005-04-08 Jeff Johnston <jjohnstn@redhat.com>
596
597 * libc/include/libgen.h: New file.
598
5992005-04-08 Shaun Jackman <sjackman@gmail.com>
600
601 * libc/unix/Makefile.am: Add support for basename and dirname.
602 * libc/unix/Makefile.in: Regenerated.
603 * libc/unix/basename.c: New file.
604 * libc/unix/dirname.c: New file.
605
95c136c4
JJ
6062005-04-07 Shaun Jackman <sjackman@gmail.com>
607
608 * libc/sys/linux/inode.c (lchown): New function.
609
9ae26f7e
JJ
6102005-04-07 Shaun Jackman <sjackman@gmail.com>
611
612 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
613 ELIX level is defined.
614 * libc/unix/Makefile.in: Regenerated.
615
85da7039
JJ
6162005-04-05 Dave Korn <dave.korn@artimi.com>
617
618 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
619 something that looks like a "NaN", put back the characters processed.
620
fefc73a0
CV
6212005-04-01 Corinna Vinschen <corinna@vinschen.de>
622
623 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
624
e633fde1
CF
6252005-03-23 Christopher Faylor <cgf@timesys.com>
626
627 * configure.host: For cygwin, redefine CC with cygwin include directory
628 first to mimic the behavior of the top-level configury. Move include
629 directory out of newlib_cflags.
630
859c94e8
JJ
6312005-03-22 Jeff Johnston <jjohnstn@redhat.com>
632
633 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
634 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
635 than errno.
636
7e3fd32b
CF
6372005-03-22 Christopher Faylor <cgf@timesys.com>
638
639 * libc/include/machine/_types.h: Make trivial change to comment to
640 avoid a spurious warning from gcc.
641
d4eb8920
JJ
6422005-03-21 Nicholas Wourms <nwourms@netscape.net>
643
644 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
645 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
646 reent.h include.
647
45030958
JJ
6482005-03-18 Hans-Peter Nilsson <hp@axis.com>
649 Corinna Vinschen <corinna@vinschen.de>
650
651 * libc/include/ctype.h: Remove invalid +1 offset from
652 ctype macro references to __ctype_ptr.
653 (_ctype_): Move declaration outside #ifndef __cplusplus.
654
5c9b5ac7
CV
6552005-03-18 Corinna Vinschen <corinna@vinschen.de>
656
657 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
658 evaluate first parameter only once.
659 (siglongjmp): Ditto.
660
dd801fda
JJ
6612005-03-17 Jeff Johnston <jjohnstn@redhat.com>
662
663 * configure.in: Add new check to see if compiler supports
664 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
665 * configure: Regenerated.
666 * Makefile.in: Ditto.
667 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
668 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
669 aliasing the _ctype_ array to _ctype_b.
670 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
671 _ctype_ as deprecated.
672
333eabc6
HPN
6732005-03-17 Hans-Peter Nilsson <hp@axis.com>
674
675 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
676 -DCOMPACT_CTYPE.
677
df5a5b35
JJ
6782005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
679
680 * libc/sys/rtems/include/inttypes.h: New file.
681 * libc/sys/rtems/include/stdint.h: Ditto.
682
9d385fb0
JJ
6832005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
684
685 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
686
2e7d9bf9
JJ
6872005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
688
689 * libc/include/machine/_types.h: New file.
690 * libc/include/sys/types.h: Do not check for __rtems__
691 when including <machine/_types.h>. Remove some redundant
692 declarations now that <machine/_types.h> is included.
693 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
694 shared header file.
695
92a7e06e
JJ
6962005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
697
698 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
699 L qualifier for these long constants.
700
1139537a
JJ
7012005-02-25 Eric Blake <ebb9@byu.net>
702
703 * libc/include/time.h (__tzrule_struct): Make offset long, since
704 a 16-bit int overflows on a 12-hour offset.
705 * libc/sys/linux/include/time.h: Ditto.
706 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
707 * libc/time/mktm_r.c: Ditto.
708 * libc/time/gettzinfo.c: Ditto.
709 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
710 years. Fix '%z' to use long, not int.
711
f4fd7b4c
JJ
7122005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
713
714 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
715 manipulate float values in integer form.
716 * libm/common/sf_round.c: Ditto.
717
f2f8a9a2
JJ
7182005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
719
720 * libc/include/sys/types.h [__rtems__]: Include new
721 header file machine/_types.h.
722 * libc/include/machine/types.h: Ditto.
723 * libc/sys/rtems/machine/_types.h: New file.
724
39fd43d7
CV
7252005-02-23 Corinna Vinschen <corinna@vinschen.de>
726
727 * libc/include/time.h (_timezone): Change to long also for Cygwin.
728 (timezone): Drop cast from definition.
729
6b9a74f9
JJ
7302005-02-23 Jeff Johnston <jjohnstn@redhat.com>
731
732 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
733 (__tzrule_type, __tzinfo_type): New types.
734 (__gettzinfo): New function.
735 * libc/sys/linux/include/time.h: Ditto.
736 * libc/time/Makefile.am: Add gettzinfo.c.
737 * libc/time/Makefile.in: Regenerated.
738 * libc/time/local.h: Moved __tzrule_type to time.h.
739 * libc/time/mktime.c: Call __gettzinfo to reference
740 __tznorth, __tzyear, and __tzrule array.
741 * libc/time/mktm_r.c: Ditto.
742 * libc/time/strftime.c: Ditto.
743 * libc/time/tzset_r.c: Ditto. Also remove definition
744 of __tzrule which is now in gettzinfo.c. Change _timezone
745 references to not cast to time_t.
746 * libc/time/gettzinfo.c: New file.
747
6015cf9f
CV
7482005-02-23 Corinna Vinschen <corinna@vinschen.de>
749
750 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
751
5e4c05da
CV
7522005-02-22 Corinna Vinschen <corinna@vinschen.de>
753
754 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
755
f1d439fc
JJ
7562005-02-16 Eric Blake <ebb9@byu.net>
757
758 * libc/time/time.tex: Improve the documentation.
759 * libc/time/strftime.c: Improve the documentation.
760 (iso_year_adjust): New helper function.
761 (strftime): Simplify '%E' and '%O'. Change '%c' to use
762 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
763 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
764 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
765 Avoid core dumps on valid inputs (maxsize == 0, or
766 tim_p->tm_isdst > 1).
767
18d3a03b
CV
7682005-02-08 Corinna Vinschen <corinna@vinschen.de>
769
770 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
771 members to uid_t and gid_t according to SUSv3.
772 * libc/include/sys/time.h (utimes): Change second parameter
773 to const according to SUSv3.
774
1159e0fd
JJ
7752005-02-07 Antony King <antony.king@st.com>
776
777 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
778 called before _flockfile to prevent lock object use before
779 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
780 take a struct _reent * instead of a FILE *.
781 * libc/stdio/fclose.c (_fclose_r): Ditto.
782 * libc/stdio/feof.c (feof): Ditto.
783 * libc/stdio/ferror.c (ferror): Ditto.
784 * libc/stdio/fflush.c (fflush): Ditto.
785 * libc/stdio/fgetc.c (fgetc): Ditto.
786 * libc/stdio/fgets.c (fgets): Ditto.
787 * libc/stdio/fileno.c (fileno): Ditto.
788 * libc/stdio/fputc.c (fputc): Ditto.
789 * libc/stdio/fputs.c (fputs): Ditto.
790 * libc/stdio/fread.c (fread): Ditto.
791 * libc/stdio/freopen.c (_freopen_r): Ditto.
792 * libc/stdio/fseek.c (_fseek_r): Ditto.
793 * libc/stdio/ftell.c (_ftell_r): Ditto.
794 * libc/stdio/fwrite.c (fwrite): Ditto.
795 * libc/stdio/getc.c (getc): Ditto.
796 * libc/stdio/getdelim.c (__getdelim): Ditto.
797 * libc/stdio/putc.c (putc): Ditto.
798 * libc/stdio/setvbuf.c (setvbuf): Ditto.
799 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
800 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
801 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
802 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
803 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
804 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
805 _reent * instead of a FILE * and so replace incorrect use of
806 _REENT with argument.
807 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
808 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
809 CHECK_INIT() take a struct _reent * instead of a FILE *.
810 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
811 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
812 * libc/stdio/perror.c (perror): Ditto.
813 * libc/stdio/printf.c (printf, _printf_r): Ditto.
814 * libc/stdio/putchar.c (putchar): Ditto.
815 * libc/stdio/puts.c (puts): Ditto.
816 * libc/stdio/refill.c (__srefill): Ditto.
817 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
818 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
819 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
820 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
821 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
822 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
823 * libc/stdio/wbuf.c (__swbuf): Ditto.
824 * libc/stdio/wsetup.c (__swsetup): Ditto.
825 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
826 * libc/stdlib/mstats.c (_mstats_r): Ditto.
827 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
828 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
829 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
830 to _flockfile and _funlockfile; rely on locking in _ftell_r.
831 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
832 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
833 initialision of _data field in FILE structure.
834 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
835
3d915670
JJ
8362005-02-07 Jeff Johnston <jjohnstn@redhat.com>
837
838 * libc/stdio/findfp.c (__sinit): Protect with new lock.
839 (__sinit_lock): New lock.
840 (__sinit_lock_acquire, __sinit_lock_release): New functions.
841 * libc/stdio/local.h: Add reference to new __sinit locking
842 functions.
843
b59cab1e
JJ
8442005-02-07 Jeff Johnston <jjohnstn@redhat.com>
845
846 * libc/include/math.h (isfinite, isnormal, isunordered): Change
847 input variable names to avoid mixups with nesting macros.
848
1815fdea
JJ
8492005-01-27 Hans-Peter Nilsson <hp@axis.com>
850
851 * configure.host: Add support for cris-*-* and crisv32-*-*.
852 * libc/include/machine/ieeefp.h: Ditto.
853 * libc/include/machine/setjmp.h: Ditto.
854 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
855 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
856 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
857 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
858 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
859 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
860 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
861 files.
862
f7d4d41a
JJ
8632005-01-27 Hans-Peter Nilsson <hp@axis.com>
864
865 * testsuite/newlib.string/memmove1.c: New test.
866
1319dec6
JJ
8672005-01-27 Hans-Peter Nilsson <hp@axis.com>
868
869 * testsuite/include/check.h: Include stdlib.h.
870
b45e65b0
JJ
8712005-01-27 Hans-Peter Nilsson <hp@axis.com>
872
873 * Makefile.am (stmp-targ-include): Support include header files
874 from machine directories.
e9743354 875 (install-data-local): Ditto.
b45e65b0
JJ
876 * Makefile.in: Regenerate.
877
dbfa92dd
JJ
8782005-01-24 Jeff Johnston <jjohnstn@redhat.com>
879
880 * libc/include/string.h: Remove Linux-specific declaration of
881 strsignal and add #include <sys/string.h>.
882 * libc/include/sys/string.h: New file.
883 * libc/include/sys/linux/sys/string.h: New file with strsignal
884 declaration deleted above.
885
6cb0c055
JJ
8862005-01-20 Jeff Johnston <jjohnstn@redhat.com>
887
888 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
889 to POSIX standard for "C" locale. Allow %E and %O modifiers
890 to be ignored as long as they precede valid specifiers according
891 to POSIX.
892
52429807
JJ
8932005-01-19 Shaun Jackman <sjackman@gmail.com>
894
895 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
896 environment variable is set.
897
f693170a
JJ
8982005-01-19 Shaun Jackman <sjackman@gmail.com>
899
900 * tzset_r.c (_tzname): Add a comma.
901
464d01bf
AH
9022005-01-18 Aldy Hernandez <aldyh@redhat.com>
903
904 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
905 _VFPRINTF_R.
906
f7a74742
JJ
9072005-01-07 Paul Brook <paul@codesourcery.com>
908
909 * configure.in: Add test for .init_array.
910 * configure: Regenerate.
911 * newlib.hin: Add HAVE_INITFINI_ARRAY.
912 * libc/misc/Makefile.am: Add init.c
913 * libc/misc/Makefile.in: Regenerate.
914 * libc/misc/init.c: New file.
915 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
916 _init/_fini if they exist.
917
8fa6cb9a
JJ
9182005-01-06 Jeff Johnston <jjohnstn@redhat.com>
919
920 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
921 * (strtof): Ditto.
922 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
923 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
924 functions for use by strtod and strtof.
925 * Makefile.in: Regenerated.
926
034a3909
JJ
9272005-01-06 Hans-Peter Nilsson <hp@axis.com>
928
929 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
930 bit-test in combination with NULL test.
931
9918ea2d
JJ
9322005-01-06 Hans-Peter Nilsson <hp@axis.com>
933
934 * README: Fix typo of LGPL. Change "license" to "copyright".
935
5cc3f592
JJ
9362004-12-17 Jeff Johnston <jjohnstn@redhat.com>
937
938 * NEWS: Update with 1.13.0 info.
939 * README: Ditto.
940 * acinclude.m4: Change version number to 1.13.0.
941 * aclocal.m4: Regenerated.
942 * configure: Ditto.
943 * doc/aclocal.m4: Ditto.
944 * doc/configure: Ditto.
945 * libc/*/aclocal.m4: Ditto.
946 * libc/*/configure: Ditto.
947 * libc/libc.texinfo: Ditto.
948 * libm/*/aclocal.m4: Ditto.
949 * libm/*/configure: Ditto.
950 * libm/libm.texinfo: Ditto.
951 * libc/sys/linux/shared.ld: Add VERS_1.13.
952
d8ae996c
JJ
9532004-12-17 Christian Groessler <chris@groessler.org>
954
955 * libc/machine/z8k/memcmp.S: New file.
956 * libc/machine/z8k/memcpy.S: Ditto.
957 * libc/machine/z8k/memmove.S: Ditto.
958 * libc/machine/z8k/memset.S: Ditto.
959 * libc/machine/z8k/Makefile.am: Add new files.
960 * libc/machine/z8k/Makefile.in: Regenerated.
961 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
962 part. Implement Z8002 stdcall version.
963
82673116
JJ
9642004-12-13 Jeff Johnston <jjohnstn@redhat.com>
965
966 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
967 a low-level read if we don't get the full amount of bytes so
968 EOF or error flags will be set.
969
0082d4cf
JJ
9702004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
971
972 * libc/time/tzset_r (_tzset_r): Properly skip over
973 '/' when it is detected.
974
3b54b74f
JJ
9752004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
976
977 * libc/time/tzset_r (_tzset_r): Fix loop.
978
4b30e154
JJ
9792004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
980
981 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
982 m_day.
983 (__tzcalc_limits): Fix reference to month array to be zero-based.
984
465eab2e
JJ
9852004-12-07 Jeff Johnston <jjohnstn@redhat.com>
986
987 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
988 and usleep.
989
a2b1a849
JJ
9902004-12-03 Jeff Johnston <jjohnstn@redhat.com>
991
992 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
993 libgcc dependencies.
994 (libm_la_LDFLAGS): Ditto.
995 * Makefile.in: Regenerated.
996
c80a1731
JJ
9972004-12-03 Shaun Jackman <sjackman@gmail.com>
998
999 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
1000 our link to use readlink so as to preserve any relative link created
1001 by install-toollibLIBRARIES.
1002 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
1003
70e9da42
JJ
10042004-12-02 Shaun Jackman <sjackman@gmail.com>
1005
1006 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
1007 time_t before including sys/stat.h, which uses it.
1008 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
1009 <linux/time.h> just prior to definition of __KERNEL__ so as to
1010 allow building on Debian Linux where otherwise, mktime would
1011 be redefined.
1012
a330d85a
JJ
10132004-11-26 Paul Brook <paul@codesourcery.com>
1014
1015 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
1016
c41a1cb7
JJ
10172004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1018
1019 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 1020 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
1021 * libc/stdlib/putenv.c: Ditto.
1022 * libc/stdlib/putenv_r.c: Ditto.
1023
16ac96ee
JJ
10242004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1025
1026 * libc/stdio/Makefile.am: Fix missing vfscanf.
1027 * libc/stdio/Makefile.in: Regenerated.
1028
3bf09147
JJ
10292004-11-23 Jeff Johnston <jjohnstn@redhat.com>
1030
1031 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
1032 do some reordering.
1033 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
1034 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
1035 family functions.
1036 * libc/stdio/Makefile.in: Regenerated.
1037 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
1038 * libc/stdio/iprintf.c: Ditto.
1039 * libc/stdio/local.h (__svfiscanf_r): New prototype.
1040 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
1041 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
1042 * libc/stdio/stdio.tex: Add new functions.
1043 * libc/stdio/vfscanf.c: Split out __sccl function to separate
1044 file and add special name defines so this file can be used
1045 to build vfiscanf.o.
1046 * libc/stdio/asiprintf.c: New file.
1047 * libc/stdio/fiscanf.c: Ditto.
1048 * libc/stdio/iscanf.c: Ditto.
1049 * libc/stdio/sccl.c: Ditto.
1050 * libc/stdio/siscanf.c: Ditto.
1051 * libc/stdio/vasiprintf.c: Ditto.
1052 * libc/stdio/viprintf.c: Ditto.
1053 * libc/stdio/viscanf.c: Ditto.
1054 * libc/stdio/vsiprintf.c: Ditto.
1055 * libc/stdio/vsiscanf.c: Ditto.
1056 * libc/stdio/vsniprintf.c: Ditto.
1057
0f0fcb04
JJ
10582004-11-19 Shaun Jackman <sjackman@gmail.com>
1059
1060 * libc/include/stdio.h: Add sniprintf.
1061 * libc/stdio/Makefile.am: Add sniprintf.c.
1062 * libc/stdio/Makefile.in: Regenerated.
1063 * libc/stdio/sniprintf.c: New file.
1064 * libc/stdio/stdio.tex: Add sniprintf.
1065
1f8f7e2d
CF
10662004-11-17 Christopher Faylor <cgf@timesys.com>
1067
1068 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
1069 EOF flag if successful.
1070
b08d08c7
CF
10712004-10-28 Christopher Faylor <cgf@timesys.com>
1072
1073 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 1074 so that all relevant definitions have been performed for use in the
b08d08c7
CF
1075 include.
1076
65b1964f
JJ
10772004-10-26 Jason Tishler <jason@tishler.net>
1078
1079 * libc/stdio/fread.c (fread): Fix return value for unbuffered
1080 fread.
1081
6382b7e3 10822004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
1083
1084 * libc/include/machine/setjmp.h: Add AVR support.
1085 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
1086
73131c2d
JJ
10872004-10-08 Jeff Johnston <jjohnstn@redhat.com>
1088
1089 * libc/include/sys/signal.h: If <signal.h> didn't include
1090 this header file, include <signal.h> to account for
1091 applications that take advantage that the two header
1092 files are the same in glibc.
1093
1185687a
JJ
10942004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
1095
1096 * configure.host: Add support for crx.
1097 * libc/include/machine/ieeefp.h: Ditto.
1098 * libc/include/machine/setjmp.h: Ditto.
1099 * libc/machine/crx/Makefile.am: New file.
1100 * libc/machine/crx/configure.in: Ditto.
1101 * libc/machine/crx/setjmp.S: Ditto.
1102 * libc/machine/crx/getenv.c: Ditto.
1103 * libc/machine/crx/aclocal.m4: Generate.
1104 * libc/machine/crx/configure: Ditto.
1105 * libc/machine/crx/Makefile.in: Ditto.
1106 * libc/machine/crx/sys/asm.h: New file.
1107 * libc/machine/crx/sys/libh.h: Ditto.
1108 * libc/machine/crx/sys/syscall.h: Ditto.
1109
423152ed
JJ
11102004-10-05 Jeff Johnston <jjohnstn@redhat.com>
1111
1112 * Makefile.am (stmp-targ-include): Support sys header files
1113 from machine directories.
1114 * Makefile.in: Regenerated.
1115
3ea9de76
JJ
11162004-10-04 Jeff Johnston <jjohnstn@redhat.com>
1117
1118 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
1119 count skipped zero characters as part of the nread count for %n.
1120 * libc/machine/powerpc/vfscanf.c: Ditto.
1121
2a6e1223
JJ
11222004-09-24 Jeff Johnston <jjohnstn@redhat.com>
1123
1124 * libc/stdio/local.h: Include <stdlib.h>.
1125
d163f2fc
CV
11262004-09-24 Corinna Vinschen <corinna@vinschen.de>
1127
1128 * libc/stdio/fread.c (fread): Include <malloc.h>.
1129
602de582
JJ
11302004-09-22 Jeff Johnston <jjohnstn@redhat.com>
1131
1132 * libc/stdio/fread.c (fread): For non-space-optimized case,
1133 add special code for unbuffered files to use user buffer and
1134 only require one low-level system read.
1135
32e73f4d
ILT
11362004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
1137
1138 * libc/machine/xscale/setjmp.S: New file, copied from
1139 libc/machine/arm/setjmp.S.
1140 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
1141 * libc/machine/xscale/Makefile.in: Regenerate.
1142
ed6859b8
JJ
11432004-09-16 Antony King <antony.king@st.com>
1144
1145 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
1146 with locking API.
1147 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
1148 check for__SSTR in _flags and if set, skip lock request.
1149 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1150 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
1151 not NULL.
1152 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
1153 initialisation of _file to -1 in local FILE.
1154 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
1155 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
1156 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
1157 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1158 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
1159 _flags in local FILE to prevent locking.
1160 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1161
7a0f6966
JJ
11622004-09-16 Antony King <antony.king@st.com>
1163
1164 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
1165 and only walk the reentrancy parameter.
1166 (_fwalk_reent): Ditto.
1167 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
1168
c77672c0
JJ
11692004-09-16 Antony King <antony.king@st.com>
1170
1171 * libc/stdio64/freopen64.c: Remove casting of fp lock to
1172 _LOCK_RECURSIVE_T.
1173
5c44c2e5
JJ
11742004-09-16 Antony King <antony.king@st.com>
1175
1176 * libc/time/tzlock.c: Add default stubs that use generic
1177 locking code.
1178
14613e5e
JJ
11792004-09-16 Antony King <antony.king@st.com>
1180
1181 * libc/ctype/ctype.tex: Added missing documentation.
1182 * libc/stdio/stdio.tex Ditto.
1183 * libc/stdlib/stdlib.tex Ditto.
1184 * libc/string/strings.tex Ditto.
1185 * libc/time/time.tex: Ditto.
1186 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
1187
181cb051
JJ
11882004-09-15 Corinna Vinschen <vinschen@redhat.com>
1189
1190 * libc/reent/impure.c (reent_data): Define as alias to impure_data
1191 when building for Cygwin.
1192 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
1193 _global_impure_ptr.
1194
51d4a7ea
JJ
11952004-09-15 Jeff Johnston <jjohnstn@redhat.com>
1196
1197 * configure.host: Reverting 2004-09-14 change as fix has occurred on
1198 Cygwin side.
1199 * configure.in: Ditto.
1200 * libc/configure.in: Ditto.
1201 * libc/sys/configure.in: Ditto.
1202 * configure: Ditto.
1203 * libc/configure: Ditto.
1204 * libc/sys/configure: Ditto.
1205 * libc/include/sys/reent.h: Ditto.
1206 * libc/stdlib/__atexit.c: Ditto.
1207 * libc/stdlib/__call_atexit.c: Ditto.
1208 * libc/stdlib/cxa_atexit.c: Ditto.
1209 * libc/stdlib/cxa_finalize.c: Ditto.
1210 * libc/sys/cygwin/Makefile.am: Removed again.
1211 * libc/sys/cygwin/Makefile.in: Ditto.
1212 * libc/sys/cygwin/aclocal.m4: Ditto.
1213 * libc/sys/cygwin/configure: Ditto.
1214 * libc/sys/cygwin/configure.in: Ditto.
1215 * libc/sys/cygwin/dummy.c: Ditto.
1216 * libc/sys/cygwin/sys/reent.h: Ditto.
1217
98650d2f
JJ
12182004-09-14 Jeff Johnston <jjohnstn@redhat.com>
1219
1220 * configure.host: Add Cygwin sys directory.
1221 * configure.in: Do not set CRT0 for cygwin.
1222 * libc/configure.in: Ditto.
1223 * libc/sys/configure.in: Ditto.
1224 * configure: Regenerated.
1225 * libc/configure: Ditto.
1226 * libc/sys/configure: Ditto.
1227 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
1228 * libc/stdlib/__atexit.c: Keep cxa support protected by new
1229 __REENT_HAS_CXA_SUPPORT flag.
1230 * libc/stdlib/__call_atexit.c: Ditto.
1231 * libc/stdlib/cxa_atexit.c: Ditto.
1232 * libc/stdlib/cxa_finalize.c: Ditto.
1233 * libc/sys/cygwin/Makefile.am: New file.
1234 * libc/sys/cygwin/Makefile.in: Ditto.
1235 * libc/sys/cygwin/aclocal.m4: Ditto.
1236 * libc/sys/cygwin/configure: Ditto.
1237 * libc/sys/cygwin/configure.in: Ditto.
1238 * libc/sys/cygwin/dummy.c: Ditto.
1239 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
1240 version of reent.h.
1241
d4c8e53b
JJ
12422004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1243
1244 * libc/iconv/iconv.tex: Updated with new content.
1245 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
1246 instead of NLS_DEFAULT_NLSPATH.
1247 * libc/iconv/lib/iconvnls.h: Fix typo.
1248 * libc/include/sys/iconvnls.h: New file.
1249
0c8593cf
JJ
12502004-09-09 Paul Brook <paul@codesourcery.com>
1251
1252 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
1253 and _is_cxa.
1254 (struct _atexit): Add _next when _REENT_SMALL.
1255 (struct _reent): Add _atexit0 when _REENT_SMALL.
1256 (_REENT_INIT_PTR): Adjust.
1257 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
1258 __call_exit.c.
1259 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
1260 * libc/stdlib/Makefile.in: Regenerate.
1261 * libc/stdlib/__atexit.c: New file.
1262 * libc/stdlib/__call_atexit.c: New file.
1263 * libc/stdlib/atexit.h: Remove old definitions. Add new.
1264 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
1265 * libc/stdlib/cxa_atexit.c: New file.
1266 * libc/stdlib/cxa_finalize.c: New file.
1267 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
1268 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
1269 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
1270 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
1271 _on_exit_args_ptr.
1272
c6ed5a85
JJ
12732004-08-23 Jeff Johnston <jjohnstn@redhat.com>
1274
1275 * libc/include/sys/unistd.h (getpass): Change prototype to use
1276 const instead of __const.
1277
721a934c
JJ
12782004-08-16 Nathan Sidwell <nathan@codesourcery.com>
1279
1280 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
1281 #if.
1282
4e53fc28
JJ
12832004-08-12 Jeff Johnston <jjohnstn@redhat.com>
1284
1285 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
1286 on linux systems with glibc 2.3.3 installed.
1287 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
1288 profile_fixup so newlib can build on fc3 system.
1289
82045f12
AO
12902004-07-30 Alexandre Oliva <aoliva@redhat.com>
1291
1292 Introduce SH2a support.
1293 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
1294 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
1295 __SH2A_SINGLE_ONLY__, too.
1296 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
1297 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
1298 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
1299 2004-02-10 DJ Delorie <dj@redhat.com>
1300 * libc/sys/sh/crt0.S (start_l): Support sh2a.
1301
ad6b1d79
JJ
13022004-07-29 Jeff Johnston <jjohnstn@redhat.com>
1303
1304 * libc/time/strptime.c: Correct full-name of "March" typo.
1305
63b9dcc4
JJ
13062004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
1307
1308 * configure.host (h8300*-*-*): Default long long printing support.
1309
dbfd3394
JJ
13102004-07-16 Jeff Johnston <jjohnstn@redhat.com>
1311
1312 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
1313 calls, if realloc fails, free up buffer as it is no longer
1314 used.
1315
6edb3da9
JJ
13162004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1317
1318 * libc/iconv/iconv.tex: Updated to represent recent changes.
1319 * libc/iconv/lib/iconv.c: Documentation updated.
1320
578a3560
NC
13212004-07-07 Nick Clifton <nickc@redhat.com>
1322
1323 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
1324 for xStormy16.
1325
2bc257e3
JJ
13262004-07-06 Chris Demetriou <cgd@broadcom.com>
1327
1328 * configure.host (mips*-*-elf*): Default long long printing
1329 support.
1330
75e7ffaa
JJ
13312004-07-05 Jeff Johnston <jjohnstn@redhat.com>
1332
1333 * libc/Makefile.am (libc.dvi): Add target and specify
1334 same dependencies as libc.info.
1335 * libc/Makefile.in: Regenerated.
1336 * libm/Makefile.am (libm.dvi): Add target and specify
1337 same dependencies as libm.info.
1338 * libm/Makefile.in: Regenerated.
1339
76ce12c3
JJ
13402004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1341
1342 * acinclude.m4: Move --enable-newlib-iconv option back here.
1343 * configure.in: Remove --enable-newlib-iconv option. Don't
1344 tie iconv support to --enable-newlib-mb.
1345 * aclocal.m4: Regenerated.
1346 * configure: Ditto.
1347 * doc/aclocal.m4, doc/configure: Ditto.
1348 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
1349 * libm/*/aclocal.m4: Ditto.
1350 * libm/*/configure: Ditto.
1351 * libc/*/aclocal.m4: Ditto.
1352 * libc/*/configure: Ditto.
1353
660dade3
JJ
13542004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1355
1356 * acinclude.m4: Move iconv options into configure.in.
1357 * aclocal.m4: Regenerated.
1358 * configure: Ditto.
1359 * configure.in: Add iconv options.
1360 * newlib.hin: Add new iconv encodings and remove deleted ones.
1361 * doc/aclocal.m4: Regenerated.
1362 * doc/configure: Ditto.
1363 * iconvdata/aclocal.m4: Ditto.
1364 * iconvdata/configure: Ditto.
1365 * libc/iconv: Design change. New size-optimized ccs format.
1366 * libc/iconv/AUTHORS: Removed.
1367 * libc/iconv/COPYING: Ditto.
1368 * libc/iconv/README.ORIGINAL: Ditto.
1369 * libc/iconv/README.TODO: Ditto.
1370 * libc/iconv/charset.aliases: Ditto.
1371 * libc/iconv/encoding.aliases: New file.
1372 * libc/iconv/Makefile.am: Updated.
1373 * libc/iconv/Makefile.in: Regenerated.
1374 * libc/iconv/iconv.tex: Updated.
1375 * libc/iconv/ccs/Makefile.am: Ditto.
1376 * libc/iconv/ccs/Makefile.in: Regenerated.
1377 * libc/iconv/ccs/big5.c: Updated.
1378 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1379 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1380 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1381 * libc/iconv/ccs/cp775.c: Ditto.
1382 * libc/iconv/ccs/cp850.c: Ditto.
1383 * libc/iconv/ccs/cp852.c: Ditto.
1384 * libc/iconv/ccs/cp855.c: Ditto.
1385 * libc/iconv/ccs/cp866.c: Ditto.
1386 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1387 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
1388 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1389 * libc/iconv/ccs/iconv_mktbl: Ditto.
1390 * libc/iconv/ccs/jis_x0201.c: Ditto.
1391 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1392 * libc/iconv/ccs/shift_jis.c: Ditto.
1393 * libc/iconv/ccs/us_ascii.c: Ditto.
1394 * libc/iconv/ccs/ccs.h: New file.
1395 * libc/iconv/ccs/ccsbi.c: Ditto.
1396 * libc/iconv/ccs/ccsbi.h: Ditto.
1397 * libc/iconv/ccs/ccsnames.h: Ditto.
1398 * libc/iconv/ccs/iso_8859_10.c: Ditto.
1399 * libc/iconv/ccs/iso_8859_11.c: Ditto.
1400 * libc/iconv/ccs/iso_8859_13.c: Ditto.
1401 * libc/iconv/ccs/iso_8859_14.c: Ditto.
1402 * libc/iconv/ccs/iso_8859_3.c: Ditto.
1403 * libc/iconv/ccs/iso_8859_6.c: Ditto.
1404 * libc/iconv/ccs/iso_8859_7.c: Ditto.
1405 * libc/iconv/ccs/iso_8859_8.c: Ditto.
1406 * libc/iconv/ccs/iso_8859_9.c: Ditto.
1407 * libc/iconv/ccs/iso_ir_111.c: Ditto.
1408 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
1409 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
1410 * libc/iconv/ccs/koi8_ru.c: Ditto.
1411 * libc/iconv/ccs/koi8_uni.c: Ditto.
1412 * libc/iconv/ccs/mktbl.pl: Ditto.
1413 * libc/iconv/ccs/win_1250.c: Ditto.
1414 * libc/iconv/ccs/win_1251.c: Ditto.
1415 * libc/iconv/ccs/win_1252.c: Ditto.
1416 * libc/iconv/ccs/win_1253.c: Ditto.
1417 * libc/iconv/ccs/win_1254.c: Ditto.
1418 * libc/iconv/ccs/win_1255.c: Ditto.
1419 * libc/iconv/ccs/win_1256.c: Ditto.
1420 * libc/iconv/ccs/win_1257.c: Ditto.
1421 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
1422 * libc/iconv/ccs/iso_8859_15.c: Updated.
1423 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1424 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1425 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1426 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1427 * libc/iconv/ccs/koi8_r.c: Ditto.
1428 * libc/iconv/ccs/koi8_u.c: Ditto.
1429 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
1430 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
1431 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1432 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1433 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1434 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1435 * libc/iconv/ccs/binary/Makefile.am: Updated.
1436 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
1437 * libc/iconv/ccs/binary/big5.cct: Updated.
1438 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1439 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1440 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1441 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
1442 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
1443 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
1444 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
1445 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
1446 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1447 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1448 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1449 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1450 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1451 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1452 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1453 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1454 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1455 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
1456 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
1457 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
1458 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
1459 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
1460 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
1461 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
1462 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
1463 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
1464 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
1465 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
1466 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
1467 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
1468 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
1469 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
1470 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
1471 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
1472 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
1473 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
1474 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
1475 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
1476 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
1477 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
1478 * libc/iconv/ces/Makefile.am: Updated.
1479 * libc/iconv/ces/Makefile.in: Regenerated.
1480 * libc/iconv/ces/ucs-2-internal.c: Updated.
1481 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1482 * libc/iconv/ces/utf-16.c: Ditto.
1483 * libc/iconv/ces/utf-8.c: Ditto.
1484 * libc/iconv/ces/cesbi.c: New file.
1485 * libc/iconv/ces/cesbi.h: Ditto.
1486 * libc/iconv/ces/cesdeps.h: Ditto.
1487 * libc/iconv/ces/euc.c: Ditto.
1488 * libc/iconv/ces/mkdeps.pl: Ditto.
1489 * libc/iconv/ces/table-pcs.c: Ditto.
1490 * libc/iconv/ces/table.c: Ditto.
1491 * libc/iconv/ces/ucs-2.c: Ditto.
1492 * libc/iconv/ces/ucs-4.c: Ditto.
1493 * libc/iconv/ces/us-ascii.c: Ditto.
1494 * libc/iconv/ces/euc-jp.c: Removed.
1495 * libc/iconv/ces/euc-kr.c: Ditto.
1496 * libc/iconv/ces/euc-tw.c: Ditto.
1497 * libc/iconv/ces/gb2312.c: Ditto.
1498 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
1499 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1500 * libc/iconv/lib/Makefile.am: Updated.
1501 * libc/iconv/lib/Makefile.in: Regenerated.
1502 * libc/iconv/lib/endian.h: Updated.
1503 * libc/iconv/lib/iconv.c: Ditto.
1504 * libc/iconv/lib/local.h: Ditto.
1505 * libc/iconv/lib/aliases.c: Removed.
1506 * libc/iconv/lib/bialiasesi.c: Ditto.
1507 * libc/iconv/lib/biccs.c: Ditto.
1508 * libc/iconv/lib/bices.c: Ditto.
1509 * libc/iconv/lib/ccs.c: Ditto.
1510 * libc/iconv/lib/ces.c: Ditto.
1511 * libc/iconv/lib/ces_euc.c: Ditto.
1512 * libc/iconv/lib/ces_iso2022.c: Ditto.
1513 * libc/iconv/lib/ces_table.c: Ditto.
1514 * libc/iconv/lib/converter.c: Ditto.
1515 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
1516 * libc/iconv/lib/loaddata.c: Ditto.
1517 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
1518 * libc/iconv/lib/aliasesi.c: Ditto.
1519 * libc/iconv/lib/conv.h: Ditto.
1520 * libc/iconv/lib/encnames.h: Ditto.
1521 * libc/iconv/lib/encoding.deps: Ditto.
1522 * libc/iconv/lib/iconvnls.c: Ditto.
1523 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
1524 * libc/iconv/lib/nullconv.c: Ditto.
1525 * libc/iconv/lib/ucsconv.c: Ditto.
1526 * libc/iconv/lib/ucsconv.h: Ditto.
1527 * libc/include/iconv.h: Update copyright.
1528 * libc/*/aclocal.m4: Regenerated.
1529 * libc/*/configure: Ditto.
1530 * libm/*/aclocal.m4: Ditto.
1531 * libm/*/configure: Ditto.
1532
9a6831be
AO
15332004-06-22 Alexandre Oliva <aoliva@redhat.com>
1534
eb6a452a
AO
1535 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
1536 instead of typedefing jmp_buf.
1537
9a6831be
AO
1538 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
1539 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
1540 * libc/machine/h8300/defines.h (LEN): New macro.
1541 * libc/machine/h8300/memcpy.S: Add h8sx version.
1542 * libc/machine/h8300/memset.S: Likewise.
1543 * libc/machine/h8300/strcmp.S: Likewise.
1544 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
1545 * libc/machine/h8300/h8sx_strcpy.S: New file.
1546 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
1547 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
1548 __H8300SX__.
1549 * libc/include/machine/setjmp.h: Likewise.
1550 * libc/include/sys/config.h: Likewise.
1551 * libc/machine/h8300/defines.h: Likewise.
1552 * libc/machine/h8300/setjmp.S: Likewise.
1553 * libc/machine/h8300/strcmp.S: Likewise.
1554 * libc/sys/h8300hms/close.S: Likewise.
1555 * libc/sys/h8300hms/fstat.S: Likewise.
1556 * libc/sys/h8300hms/lseek.S: Likewise.
1557 * libc/sys/h8300hms/read.S: Likewise.
1558 * libc/sys/h8300hms/write.S: Likewise.
1559 * libc/sys/h8300hms/crt0.S: Likewise.
1560 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
1561 __H8300SX__ is defined.
1562 * libc/sys/h8300hms/setarch.h: Likewise.
1563
80dba41e
JJ
15642004-06-17 Jeff Johnston <jjohnstn@redhat.com>
1565
1566 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
1567 out change which set _GLOBAL_REENT to _global_impure_ptr until
1568 we understand why Cygwin breaks because of it.
1569
be910599
JJ
15702004-06-14 Jeff Johnston <jjohnstn@redhat.com>
1571
1572 * libc/sys/linux/machine/i386/syscall.h: For now, set up
1573 __syscall_return macro for systems with vsyscall.
1574
d0bd3e6f
JJ
15752004-06-11 Antony King <antony.king@st.com>
1576
1577 * libc/include/sys/_types.h: Include <sys/lock.h> and change
1578 _flock_t to be of type _LOCK_RECURSIVE_T.
1579 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
1580 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
1581 (_global_impure_ptr): New declaration.
1582 (_GLOBAL_REENT): Change to be _global_impure_ptr.
1583 * libc/include/sys/stdio.h: Include <sys/lock.h> and
1584 <sys/reent.h>.
1585 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
1586 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1587 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
1588 * libc/stdio/fclose.c: Remove casting of fp lock to
1589 _LOCK_RECURSIVE_T.
1590 * libc/stdio/findfp.c: Ditto.
1591 * libc/stdio/fopen.c: Ditto.
1592 * libc/stdio/freopen.c: Ditto.
1593 * libc/stdio/vfprintf.c: Ditto.
1594 * libc/stdio64/fopen64.c: Ditto.
1595 * libc/stdlib/envlock.c: Add default stubs that use generic
1596 locking code.
1597 * libc/stdlib/mlock.c: Ditto.
1598
1599 Jeff Johnston <jjohnstn@redhat.com>
1600 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
1601 (_flock_t): Change to be a struct containing a single member
1602 named mutex which is of type __flock_mutex_t.
1603
db7033a9
JJ
16042004-06-09 Jeff Johnston <jjohnstn@redhat.com>
1605
1606 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
1607 from /usr/include/asm/signal.h instead of kernel sources. Also
1608 default max to 32 if not found in header file.
1609 * libc/sys/linux/Makefile.in: Regenerated.
1610 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
1611 systems where __syscall_return is not defined.
1612 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
1613 systems to use syscall() function instead of assembler interrupt.
1614
a170abec
JJ
16152004-06-09 Toralf Lund <toralf@procaptura.com>
1616
1617 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
1618 files from libc/sys/arm to libc/machine/arm.
1619 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
1620 library build support for files moved from libc/sys/arm.
1621 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
1622 references to access and setjmp.
1623 * configure.host: Add checks for newlib_may_supply_syscalls to
1624 determine whether or not to use sys/arm directory and use
1625 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
1626
8b57e664
JJ
16272004-06-02 Jeff Johnston <jjohnstn@redhat.com>
1628
1629 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
1630 reset digit flags appropriately after we have discovered "0x".
1631 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1632
3f611058
JJ
16332004-05-27 Jeff Johnston <jjohnstn@redhat.com>
1634
1635 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
1636 from here ...
1637 (_VFPRINTF_R): ... to here so all I/O printf routines
1638 are covered.
1639
bb42a35c
JJ
16402004-05-26 Jeff Johnston <jjohnstn@redhat.com>
1641
1642 * libc/search/hash_buf.c: Protect MAX and MIN macros from
1643 redefinition.
1644 * libc/search/hash.c: Ditto.
1645
227e6ef6
JJ
16462004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1647
1648 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
1649 (_WANT_IO_LONG_LONG): Ditto.
1650 (_WANT_IO_LONG_DOUBLE): Ditto.
1651 * configure.in: Add new configuration options
1652 --enable-newlib-io-long-long and --enable-newlib-io-long-double
1653 which tie to new defines in newlib.hin.
1654 * configure: Regenerated.
1655 * configure.host: Add checks for new configuration options. Also
1656 fix up check for --enable-newlib-io-pos-args so configuration
1657 option will override any default for a given platform.
1658 Remove defining compiler flags for the _WANT_IO* options.
1659 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
1660 instead of looking for old compiler flags.
1661 * libc/stdio/vfscanf.c: Ditto.
1662 * libc/stdio/vfieeefp.h: Ditto.
1663 * libc/machine/powerpc/vfprintf.c: Ditto.
1664 * libc/machine/powerpc/vfscanf.c: Ditto.
1665
9178da95
JJ
16662004-05-25 Jeff Johnston <jjohnstn@redhat.com>
1667
1668 * testsuite/include/check.h: Add include of <stdio.h>.
1669
cf3aae91
CV
16702004-05-17 Corinna Vinschen <corinna@vinschen.de>
1671
1672 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
1673
5b4c8ae2
JJ
16742004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1675
1676 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
1677 of free.
1678
16792004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1680
1681 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
1682 list for reentrant pointer. Call _vfiprintf_r.
1683 * libc/stdio/siprintf.c (_siprintf_r): New function.
1684 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
1685 pointer argument. Change all callers. Call _VFPRINTF_R.
1686 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
1687 prototypes.
1688
631fbe65
JJ
16892004-05-07 Jeff Johnston <jjohnstn@redhat.com>
1690
1691 * libc/include/sys/param.h: Remove endian info and include
1692 <machine/endian.h> instead.
1693 * libc/include/machine/endian.h: New file.
1694 * libc/include/machine/param.h: Ditto.
1695 * libc/machine/arm/machine/endian.h: Ditto.
1696 * libc/machine/arm/machine/param.h: Ditto.
1697 * libc/sys/arm/sys/param.h: Removed.
1698 * libc/sys/sysvi386/sys/param.h: Ditto.
1699 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
1700
1af84bb7
JJ
17012004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1702
1703 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
1704 multibyte functions return failure for %C, %S, %lc, and %ls
1705 format specifiers.
1706
1c63798e
JJ
17072004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1708
1709 * testsuite/include/check.h (CHECK): Add flush of stdout.
1710
20b0251a
JJ
17112004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1712
1713 * libc/include/stdio.h (_ungetc_r): New prototype.
1714 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
1715 (__submore): Add reentrant struct pointer argument.
1716 (ungetc): Change to call _ungetc_r.
1717
6194cf4a
JJ
17182004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1719
1720 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
1721 function pointer argument.
1722 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
1723 to specify function pointer arguments.
1724 (__fwalk, __fwalk_reent): Ditto.
1725
b4ddf489
AH
17262004-04-26 Aldy Hernandez <aldyh@redhat.com>
1727
1728 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
1729 CT_INT case.
1730
f777e3a5
JJ
17312004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1732
1733 * configure.in: Define _MB_CAPABLE if mb supported.
1734 * configure: Regenerated.
1735 * configure.host: Remove manual setting of MB_CAPABLE compiler
1736 flag.
1737 * newlib.hin: Add _MB_CAPABLE flag.
1738 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
1739 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
1740 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
1741 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
1742 * libc/ctype/jp2uc.c: Ditto.
1743 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
1744 * libc/locale/locale.c: Ditto
1745 * libc/machine/powerpc/vfscanf.c: Ditto
1746 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
1747 * libc/stdlib/mblen.c: Ditto
1748 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
1749 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
1750 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
1751 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
1752 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
1753 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
1754 * libc/sys/linux/intl/explodename.c: Ditto
1755 * libc/sys/linux/intl/finddomain.c: Ditto
1756 * libc/sys/linux/intl/l10nflist.c: Ditto
1757 * libc/sys/linux/intl/loadmsgcat.c: Ditto
1758 * libc/sys/linux/intl/localealias.c: Ditto
1759
27c7566c
JJ
17602004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1761
1762 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
1763 (__svfscanf_r): In integer conversions, leave out leading zeroes
1764 which are not part of a base prefix.
1765 Keep track of width truncation to fit into buf, not counting left-out
1766 zeroes against width till the truncation has been compensated for.
1767 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
1768
c00f9719
JJ
17692004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1770
1771 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
1772
05b31577
JJ
17732004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1774
1775 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
1776 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
1777 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
1778 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
1779 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
1780 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
1781 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
1782 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
1783 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
1784 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
1785 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
1786 libc/stdio/getchar.c libc/stdio/getchar_u.c,
1787 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
1788 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
1789 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
1790 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
1791 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
1792 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
1793 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
1794 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
1795 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
1796 libc/stdio/siprintf.c libc/stdio/snprintf.c,
1797 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
1798 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
1799 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
1800 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
1801 libc/stdio/vprintf.c libc/stdio/vscanf.c,
1802 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
1803 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
1804 libc/stdio/wsetup.c: Perform minor formatting changes. Move
1805 copyright notices to top of file, ensure that <_ansi.h> is
1806 included, be consistent with open parentheses, use _DEFUN macro,
1807 include "local.h" where needed, and remove various compiler
1808 warnings.
1809
04e8fca1
JJ
18102004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
1811
1812 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
1813 (__svfscanf_r): In integer conversions, leave out leading zeroes
1814 which are not part of a base prefix.
1815 Keep track of width truncation to fit into buf, not counting left-out
1816 zeroes against width till the truncation has been compensated for.
1817
9090ec74
CV
18182004-04-20 Corinna Vinschen <corinna@vinschen.de>
1819
1820 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
1821
1c17deea
CV
18222004-04-20 Corinna Vinschen <corinna@vinschen.de>
1823
1824 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
1825
54c7940f
CV
18262004-04-10 Corinna Vinschen <corinna@vinschen.de>
1827
1828 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
1829 to SUSv3.
1830
47dcaf56
JJ
18312004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1832
1833 * libc/stdio/fclose.c (_fclose_r): New function.
1834 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
1835 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
1836 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
1837 * libc/include/stdio.h (_fclose_r): New prototype.
1838 * libc/stdio/fopen.c: Fix typo in comment.
1839
18402004-04-08 Jeff Johnston <jjohnstn@redhat.com>
1841
1842 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
1843 to handle _r reentrant functions.
1844
4121d8cf
JJ
18452004-04-08 Eric Christopher <echristo@redhat.com>
1846
1847 * libc/include/machine/setjmp.h: Fix endif locations.
1848
59c9f5f5
JJ
18492004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1850
1851 * libc/time/strptime.c: Add standard includes to avoid
1852 warning messages at compilation time.
1853
38f4f023
JJ
18542004-04-01 Jeff Johnston <jjohnstn@redhat.com>
1855
1856 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
1857 of file.
1858
18592004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
1860
1861 * libc/machine/h8300/Makefile.am: Reformat slightly.
1862 * libc/machine/h8300/Makefile.in: Regenerate.
1863
38f4f023 18642004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
1865
1866 * libc/stdio/findfp.c (__fp_lock_all): Add call to
1867 __sfp_lock_acquire.
1868 (__fp_unlock_all): Add call to __sfp_lock_release.
1869
10dcf7e7
JJ
18702004-03-25 Thomas Pfaff <tpfaff@gmx.net>
1871
1872 * libc/stdio/fclose.c (fclose): Protect file pointer list when
1873 releasing a file.
1874 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
1875 fwalk.
1876 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
1877 _flockfile/_funlockfile.
1878 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
1879 to recursive.
1880 Change __lock_acquire/__lock_release calls for __sfp_lock to
1881 __sfp_lock_acquire/__sfp_lock_release throughout.
1882 (std): Make sure that file lock is only initialized once.
1883 (__sfp): Move _file initialization. Initialize file lock.
1884 (__sfp_lock_acquire): New function.
1885 (__sfp_lock_release): Ditto.
1886 (__fp_lock_all): Remove __sfp_lock_acquire call.
1887 (__fp_unlock_all): Remove __sfp_lock_release call.
1888 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
1889 Add calls to _flockfile/_funlockfile. Remove
1890 __lock_init_recursive call.
1891 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
1892 * libc/stdio/fwalk.c (__fwalk): New static function.
1893 (_fwalk): Protect file pointer list. Use __fwalk to walk through
1894 file pointers.
1895 * libc/stdio/local.h: Add defines for
1896 __sfp_lock_acquire/__sfp_lock_release when
1897 single threaded. Add function prototypes otherwise.
1898 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
1899 _flockfile/_funlockfile.
1900 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
1901 Add calls to _flockfile/_funlockfile. Remove
1902 __lock_init_recursive call.
1903 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
1904 list.
1905
ec475b09
JJ
19062004-03-25 Jeff Johnston <jjohnstn@redhat.com>
1907
1908 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
1909 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
1910 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
1911 to be __LOCK_INIT_RECURSIVE.
1912
2c4ef10a
JJ
19132004-03-11 Kazu Hirata <kazu@cs.umass.edu>
1914
1915 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
1916 _exit.c with _exit.S.
1917 * libc/sys/h8300hms/Makefile.in: Regenerate.
1918 * libc/sys/h8300hms/_exit.c: Remove.
1919 * libc/sys/h8300hms/_exit.S: New.
1920
41c3da6a
JJ
19212004-03-09 Thomas Pfaff <tpfaff@gmx.net>
1922
1923 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
1924 Change __sfp_lock to static global.
1925 (__fp_lock): New static function.
1926 (__fp_unlock): Ditto.
1927 (__fp_lock_all): New function.
1928 (__fp_unlock_all): Ditto.
1929
0ccf5430
CF
19302004-02-10 Christopher Faylor <cgf@redhat.com>
1931
1932 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
1933 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
1934 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
1935 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
1936
3536f0fb
CF
19372004-02-09 Christopher Faylor <cgf@redhat.com>
1938
1939 * libc/include/time.h (TIMER_RELTIME): New define.
1940
6a6e493a
JJ
19412004-02-09 Jeff Johnston <jjohnstn@redhat.com>
1942
1943 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
1944 * libc/stdlib/Makefile.in: Regenerated.
1945
733309f5
CF
19462004-02-08 Christopher Faylor <cgf@redhat.com>
1947
1948 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
1949 * libc/include/sys/reent.h (__getreent): Protect against possibly being
1950 defined.
1951 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
1952
b4a84c66
JJ
19532004-02-05 Paul Brook <paul@codesourcery.com>
1954
1955 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
1956 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
1957
4669438f
JJ
19582004-02-02 Jeff Johnston <jjohnstn@redhat.com>
1959
1960 * NEWS: Update with 1.12.0 info.
1961 * README: Ditto.
1962 * acinclude.m4: Change version number to 1.12.0.
1963 * aclocal.m4: Regenerated.
1964 * configure: Ditto.
1965 * doc/aclocal.m4: Ditto.
1966 * doc/configure: Ditto.
1967 * libc/*/aclocal.m4: Ditto.
1968 * libc/*/configure: Ditto.
1969 * libc/libc.texinfo: Ditto.
1970 * libm/*/aclocal.m4: Ditto.
1971 * libm/*/configure: Ditto.
1972 * libm/libm.texinfo: Ditto.
1973 * libc/sys/linux/shared.ld: Add VERS_1.12.
1974
94d61fcb
JJ
19752004-02-02 Joel Sherrill <joel@oarcorp.com>
1976
1977 * configure.host: Add support for tic4x.
1978 * libc/include/machine/ieeefp.h: Ditto.
1979 * libc/include/machine/setjmp.h: Ditto.
1980 * libc/machine/tic4x/Makefile.am: New file.
1981 * libc/machine/tic4x/configure.in: Ditto.
1982 * libc/machine/tic4x/setjmp.S: Ditto.
1983 * libc/machine/tic4x/aclocal.m4: Generated.
1984 * libc/machine/tic4x/configure: Ditto.
1985 * libc/machine/tic4x/Makefile.in: Ditto.
1986
c730e0e7
JJ
19872004-01-30 Jeff Johnston <jjohnstn@redhat.com>
1988
1989 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
1990 file chain on the passed in reentrancy struct if it
1991 is _GLOBAL_REENT.
1992
2892ec68
JJ
19932004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1994 Jeff Johnston <jjohnstn@redhat.com>
1995
1996 * libc/iconv/iconv.tex: Updated with more information.
1997
ff41498a
JJ
19982004-01-30 Thomas Pfaff <tpfaff@gmx.net>
1999 Jeff Johnston <jjohnstn@redhat.com>
2000
2001 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
2002 struct for std streams and traverse the global reeentrancy
2003 struct for all other streams.
2004
d5b6c234
JJ
20052004-01-27 Jeff Johnston <jjohnstn@redhat.com>
2006
2007 * libc/stdlib/atexit.c: Protect global atexit list with a
2008 lock when newlib is multithreaded.
2009
01e0a777
JJ
20102004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2011
2012 * configure.in: Add support to generate iconv converter flags
2013 for newlib.h
2014 * newlib.hin: Add iconv converter flags.
2015 * configure: Regenerated.
2016 * libc/Makefile.in: Ditto.
2017 * libc/configure.in: Moved iconv converter parsing logic to
2018 top level newlib configure.in.
2019 * libc/configure: Regenerated.
2020 * libc/iconv/Makefile.in: Ditto.
2021 * libc/iconv/README.TODO
2022 * libc/iconv/charset.aliases: Remove wrong BE aliases for
2023 UCS2/UCS4/UTF8.
2024 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
2025 newlib.h can be used.
2026 * libc/iconv/ces/Makefile.am: Ditto.
2027 * libc/iconv/lib/Makefile.am: Ditto.
2028 * libc/iconv/ccs/Makefile.in: Regenerated.
2029 * libc/iconv/ces/Makefile.in: Ditto.
2030 * libc/iconv/lib/Makefile.in: Ditto.
2031 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
2032 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
2033 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
2034 defined in newlib.h.
2035 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
2036 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
2037 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
2038 * libc/iconv/ccs/cp775.c: Ditto.
2039 * libc/iconv/ccs/cp850.c: Ditto.
2040 * libc/iconv/ccs/cp852.c: Ditto.
2041 * libc/iconv/ccs/cp855.c: Ditto.
2042 * libc/iconv/ccs/cp866.c: Ditto.
2043 * libc/iconv/ccs/gb_2312_80.c: Ditto.
2044 * libc/iconv/ccs/iso_8859_1.c: Ditto.
2045 * libc/iconv/ccs/iso_8859_15.c: Ditto.
2046 * libc/iconv/ccs/iso_8859_2.c: Ditto.
2047 * libc/iconv/ccs/iso_8859_4.c: Ditto.
2048 * libc/iconv/ccs/iso_8859_5.c: Ditto.
2049 * libc/iconv/ccs/jis_x0201.c: Ditto.
2050 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
2051 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
2052 * libc/iconv/ccs/koi8_r.c: Ditto.
2053 * libc/iconv/ccs/koi8_u.c: Ditto.
2054 * libc/iconv/ccs/ksx1001.c: Ditto.
2055 * libc/iconv/ccs/shift_jis.c: Ditto.
2056 * libc/iconv/ccs/us_ascii.c: Ditto.
2057 * libc/iconv/ccs/binary/big5.cct: Newly generated.
2058 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
2059 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
2060 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
2061 * libc/iconv/ccs/binary/cp775.cct: Ditto.
2062 * libc/iconv/ccs/binary/cp850.cct: Ditto.
2063 * libc/iconv/ccs/binary/cp852.cct: Ditto.
2064 * libc/iconv/ccs/binary/cp855.cct: Ditto.
2065 * libc/iconv/ccs/binary/cp866.cct: Ditto.
2066 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
2067 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
2068 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
2069 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
2070 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
2071 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
2072 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
2073 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
2074 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
2075 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
2076 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
2077 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
2078 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
2079 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
2080 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
2081 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
2082 * libc/iconv/ces/euc-kr.c: Ditto.
2083 * libc/iconv/ces/euc-tw.c: Ditto.
2084 * libc/iconv/ces/gb2312.c: Ditto.
2085 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
2086 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
2087 * libc/iconv/ces/ucs-2-internal.c: Ditto.
2088 * libc/iconv/ces/ucs-4-internal.c: Ditto.
2089 * libc/iconv/ces/utf-16.c: Ditto.
2090 * libc/iconv/ces/utf-8.c: Ditto.
2091 * libc/iconv/lib/aliases.c: Ditto.
2092 * libc/iconv/lib/biccs.c: Ditto.
2093 * libc/iconv/lib/bices.c: Ditto.
2094 * libc/iconv/lib/ccs.c: Ditto.
2095 * libc/iconv/lib/ces.c: Ditto.
2096 * libc/iconv/lib/ces_euc.c: Ditto.
2097 * libc/iconv/lib/ces_iso2022.c: Ditto.
2098 * libc/iconv/lib/ces_table.c: Ditto.
2099 * libc/iconv/lib/converter.c: Ditto.
2100 * libc/iconv/lib/deps.h: Ditto.
2101 * libc/iconv/lib/endian.h: Ditto.
2102 * libc/iconv/lib/iconv.c: Ditto.
2103 * libc/iconv/lib/loaddata.c: Ditto.
2104 * libc/iconv/lib/local.h: Include newlib.h.
2105 * libc/argz/Makefile.in: Regenerated.
2106 * libc/ctype/Makefile.in: Ditto.
2107 * libc/errno/Makefile.in: Ditto.
2108 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2109 * libc/locale/Makefile.in: Ditto.
2110 * libc/misc/Makefile.in: Ditto.
2111 * libc/posix/Makefile.in: Ditto.
2112 * libc/reent/Makefile.in: Ditto.
2113 * libc/search/Makefile.in: Ditto.
2114 * libc/signal/Makefile.in: Ditto.
2115 * libc/stdio/Makefile.in: Ditto.
2116 * libc/stdio64/Makefile.in: Ditto.
2117 * libc/stdlib/Makefile.in: Ditto.
2118 * libc/string/Makefile.in: Ditto.
2119 * libc/syscalls/Makefile.in: Ditto.
2120 * libc/time/Makefile.in: Ditto.
2121 * libc/unix/Makefile.in: Ditto.
2122 * testsuite/newlib.iconv/iconv.exp: New file.
2123 * testsuite/newlib.iconv/iconvjp.c: Ditto.
2124 * testsuite/newlib.iconv/iconvnm.c: Ditto.
2125 * testsuite/newlib.iconv/iconvru.c: Ditto.
2126
786ab12c
JJ
21272004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2128
2129 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
2130 (--enable-newlib-builtin-converters): Ditto.
2131 * configure.in: Add code to set _ICONV_ENABLED flag.
2132 Set _MB_LEN_MAX to 1 if not mb enabled.
2133 * configure: Regenerated.
2134 * aclocal.m4: Ditto.
2135 * Makefile.in: Ditto.
2136 * newlib.hin: Add _ICONV_ENABLED flag.
2137 * libc/Makefile.am: Add support for iconv.
2138 * libc/configure.in: Ditto.
2139 * libc/Makefile.in: Regenerated.
2140 * libc/aclocal.m4: Ditto.
2141 * libc/configure: Ditto.
2142 * libc/libc.texinfo: Add iconv documentation.
2143 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
2144 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
2145 libc/iconv/README.TODO, libc/iconv/charset.aliases,
2146 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
2147 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
2148 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
2149 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
2150 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
2151 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
2152 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
2153 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
2154 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
2155 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
2156 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
2157 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
2158 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
2159 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
2160 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
2161 libc/iconv/ccs/binary/big5.cct,
2162 libc/iconv/ccs/binary/cns11643_plane1.cct,
2163 libc/iconv/ccs/binary/cns11643_plane14.cct,
2164 libc/iconv/ccs/binary/cns11643_plane2.cct,
2165 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
2166 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
2167 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
2168 libc/iconv/ccs/binary/iso_8859_1.cct,
2169 libc/iconv/ccs/binary/iso_8859_15.cct,
2170 libc/iconv/ccs/binary/iso_8859_2.cct,
2171 libc/iconv/ccs/binary/iso_8859_4.cct,
2172 libc/iconv/ccs/binary/iso_8859_5.cct,
2173 libc/iconv/ccs/binary/jis_x0201.cct,
2174 libc/iconv/ccs/binary/jis_x0208_1983.cct,
2175 libc/iconv/ccs/binary/jis_x0212_1990.cct,
2176 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
2177 libc/iconv/ccs/binary/ksx1001.cct,
2178 libc/iconv/ccs/binary/shift_jis.cct,
2179 libc/iconv/ccs/binary/us_ascii.cct,
2180 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
2181 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
2182 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
2183 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
2184 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
2185 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
2186 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
2187 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
2188 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
2189 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
2190 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
2191 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
2192 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
2193 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
2194 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
2195 * libc/sys/linux/include/iconv.h: Ditto.
2196 * libc/include/sys/_types.h (_iconv_t): Added.
2197 * doc/aclocal.m4: Regenerated.
2198 * doc/configure: Ditto.
2199 * doc/Makefile.in: Ditto.
2200 * iconvdata/Makefile.in: Ditto.
2201 * iconvdata/aclocal.m4: Ditto.
2202 * iconvdata/configure: Ditto.
2203 * libc/*aclocal.m4: Ditto.
2204 * libc/*Makefile.in: Ditto.
2205 * libc/*configure: Ditto.
2206 * libm/*aclocal.m4: Ditto.
2207 * libm/*Makefile.in: Ditto.
2208 * libm/*configure: Ditto.
2209
ed1a95dc
JJ
22102004-01-22 Thomas Pfaff <tpfaff@gmx.net>
2211
2212 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
2213 by a lock when newlib is multithreaded.
2214
7d4be1ef
JJ
22152004-01-21 Jeff Johnston <jjohnstn@redhat.com>
2216
2217 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
2218 pointer to match C99 spec.
2219 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
2220 dst is NULL. Also fix to not alter src pointer when dst is NULL
2221 and call _mbrtowc_r instead of _mbtowc_r.
2222 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
2223 of _wctomb_r.
2224
403f752c
JJ
22252004-01-19 Thomas Pfaff <tpfaff@gmx.net>
2226
2227 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
2228 * libc/stdio/freopen.c (freopen): Ditto.
2229
85b6d63b
CF
22302004-01-16 Christopher Faylor <cgf@redhat.com>
2231
2232 * libc/stdio/vfprintf.c: Add sys/lock.h include.
2233
4af71a91
JJ
22342004-01-16 Thomas Pfaff <tpfaff@gmx.net>
2235
2236 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
2237 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
2238 Add calls to __lock_init_recursive and __lock_close_recursive
2239 instead.
2240
6a150987
JJ
22412004-01-15 Thomas Pfaff <tpfaff@gmx.net>
2242
2243 * libc/stdio/fclose.c: Include sys/lock.h.
2244 (fclose): Destroy lock when file is closed.
2245 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
2246 member.
2247 * libc/stdio/freopen.c: Include sys/lock.h.
2248 (_freopen_r): Destroy lock when file is closed.
2249 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
2250 _lock member.
2251
c9524c0c
JJ
22522004-01-08 Joel Sherrill <joel@oarcorp.com>
2253
2254 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
2255 Remove warnings.
2256
9f13ccb3
JJ
22572004-01-08 Joel Sherrill <joel@oarcorp.com>
2258
2259 * libc/sys/rtems/sys/queue.h: New file.
2260 * libc/include/sys/signal.h: Reflect renumbering of signals to
2261 fit into 32-bit mask.
2262 * libc/include/sys/unistd.h: Add fdatasync() prototype.
2263 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
2264 required. In particular, add the reentrant variants of libc calls.
2265 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
2266
9488c414
JJ
22672004-01-06 Mark Mitchell <mark@codesourcery.com>
2268
2269 * libc/sys/arm/syscalls.c (unistd.h): Include it.
2270 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
2271 Similarly for stdout and stderr.
2272
5125f919
JJ
22732004-01-06 Jeff Johnston <jjohnstn@redhat.com>
2274
2275 * libc/libc.texinfo: Correct escape character for @ sign
2276 so file will be processed by make info. Update copyright years.
2277 * libm/libm.texinfo: Ditto.
2278
9fc92ceb
JJ
22792003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2280
2281 * libc/include/sys/stat.h: No longer include stat-dj.h.
2282 * libc/include/sys/stat-dj.h: Removed.
2283
25c7dad1
JJ
22842003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2285
2286 * libc/include/wchar.h: Include <sys/reent.h>.
2287
576593dd
CF
22882003-12-05 Christopher Faylor <cgf@redhat.com>
2289
2290 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
2291 when defining _mbrtowc.
2292 * libc/stdlib/mbsinit.c: Ditto.
2293 * libc/stdlib/mbsrtowcs.c: Ditto.
2294 * libc/stdlib/wcrtomb.c: Ditto.
2295 * libc/stdlib/wcsrtombs.c: Ditto.
2296 * libc/stdlib/wctob.c: Ditto.
2297
22982003-12-05 Christopher Faylor <cgf@redhat.com>
2299
2300 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
2301 errors when defining _mbrtowc.
2302 * libc/stdlib/mbsinit.c: Ditto.
2303 * libc/stdlib/mbsrtowcs.c: Ditto.
2304
4c889d62
CF
23052003-12-05 Christopher Faylor <cgf@redhat.com>
2306
2307 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
2308 errors when defining _mbrtowc.
2309
5d109bde
JJ
23102003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2311
2312 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
2313 of mb routines for %lc and %ls support.
2314 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
2315 %ls, and %S support. Remove CYGNUS_NEC markers and
2316 code within.
2317
3aca0888
JJ
23182003-12-04 Jeff Johnston <jjohnstn@redhat.com>
2319
2320 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
2321 _wcrtomb_r, and _wcsrtombs_r.
2322
18dcb167
CV
23232003-12-01 Corinna Vinschen <corinna@vinschen.de>
2324
2325 * libc/include/sys/fcntl.h: Don't define struct flock when on
2326 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
2327
93f8e673
CF
23282003-11-28 Christopher Faylor <cgf@redhat.com>
2329
2330 * libc/include/sys/signal.h: Use system specific signal file when
2331 building on cygwin.
2332
cc2a11e0
JJ
23332003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2334
2335 * libc/include/stdlib.h (_atoi_r): New prototype.
2336 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
2337
83bf7d2f
JJ
23382003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2339
2340 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
2341 * libc/stdlib/atol.c (_atol_r): New reentrant function.
2342 * libc/stdlib/atoll.c (_atoll_r): Ditto.
2343
5d109bde 23442003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
2345 Jeff Johnston <jjohnstn@redhat.com>
2346
2347 * libc/include/stdlib.h (lldiv_t): New type.
2348 (atoll, llabs, lldiv): New prototypes.
2349 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
2350 * libc/stdlib/stdlib.tex: Ditto.
2351 * libc/stdlib/Makefile.in: Regenerated.
2352 * libc/stdlib/atoll.c: New file.
2353 * libc/stdlib/llabs.c: Ditto.
2354 * libc/stdlib/lldiv.c: Ditto.
2355
0a707c79
JJ
23562003-11-26 Corinna Vinschen <corinna@vinschen.de>
2357
2358 * libc/include/fcntl.h: Declare syscalls only when building newlib.
2359 * libc/include/unistd.h: Ditto.
2360 * libc/include/stat.h: Ditto. Also declare struct stat64.
2361
5d109bde 23622003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
2363
2364 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
2365 specifier to use ch instead of *fmt.
2366
5d109bde 23672003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
2368
2369 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
2370 code within checks for MB_CAPABLE. For non-mb-capable platforms,
2371 use simple byte logic.
2372
4f6149d6
JJ
23732003-11-21 Jeff Johnston <jjohnstn@redhat.com>
2374
2375 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
2376 _strtold routine for processing floats and doubles since it
2377 is not as fast as _strtod_r.
2378
7343eefb
JJ
23792003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2380
2381 * libc/machine/h8300/defines.h : Correct pointer register defines
2382 for normal mode.
2383 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
2384 for normal mode.
2385 * libc/machine/h8300/reg_memcpy.S : Likewise.
2386 * libc/machine/h8300/reg_memset.S : Likewise.
2387 * libc/machine/h8300/strcmp.S : Likewise.
2388
64cfc6f2
JJ
23892003-11-19 Nicholas Wourms <nwourms@netscape.net>
2390
2391 * configure.host: Enable positional arguments for printf
2392 family for Cygwin.
2393 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
2394 pointer reference for quad_ptr_t.
2395
e1dc8171
JJ
23962003-11-19 Jeff Johnston <jjohnstn@redhat.com>
2397
2398 * libc/stdio/scanf.c: Don't include local.h more than once.
2399
a472290f
JJ
24002003-11-18 Corinna Vinschen <corinna@vinschen.de>
2401
2402 * libc/include/sys/fcntl.h: Declare _open64.
2403 * libc/include/sys/stat.h: Declare _fstat64.
2404 * libc/include/sys/unistd.h: Declare _lseek64.
2405
a2f1155c
CV
24062003-11-17 Corinna Vinschen <corinna@vinschen.de>
2407
2408 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
2409 (setprogname): Ditto.
2410
030441fc
JJ
24112003-11-10 Jeff Johnston <jjohnstn@redhat.com>
2412
2413 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
2414 to use (Ebits + 1) which accounts for the sign-bit.
2415
fe359733
JJ
24162003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2417
2418 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
2419 x86 build.
2420 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
2421 and set up default flags to pass to aclocal.
2422 * iconvdata/Makefile.in: Regenerated.
2423 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
2424 and getpwuid routines.
2425 * libc/sys/linux/Makefile.in: Regenerated.
2426 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
2427 applications to link with newlib's shared libc library.
2428 * libc/sys/linux/getpwnam.c: Ditto.
2429 * libc/sys/linux/getpwuid.c: Ditto.
2430 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
2431 that were formerly supplied by /usr/include/linux/types.h with
2432 kernel types.
2433 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
2434 test _ELIX_LEVEL macro.
2435
2985521f
JJ
24362003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2437
2438 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
2439 referring to _NO_LONGLONG macro.
2440
dcad6a89
JJ
24412003-11-06 Jeff Johnston <jjohnstn@redhat.com>
2442
2443 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
2444 in LOG() macro so this will compile on gcc 3.4 and up.
2445 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2446 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2447 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2448 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2449 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2450 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2451 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2452 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2453 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2454 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2455 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2456 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2457 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2458 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2459 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2460 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2461 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2462 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2463 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2464 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2465 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2466 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2467 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2468 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2469 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2470 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2471 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2472 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2473 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2474 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2475 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2476 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2477 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2478 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2479 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2480 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2481
d2ffac09 24822003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 2483 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
2484
2485 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
2486 %ls, %S, %lc, and %C format specifiers.
2487 (get_arg): Ditto.
2488 * libc/stdio/sprintf.c: Add documentation regarding new
2489 format specifiers added in vfprintf.c.
2490
da2d1227
JJ
24912003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2492
2493 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
2494 to make code work as specified in standard.
2495
3ef05bac
JJ
24962003-10-23 Jeff Johnston <jjohnstn@redhat.com>
2497
2498 * configure.in: Use absolute newlib basedir when forming
2499 CC_FOR_NEWLIB include options.
2500 * configure: Regenerated.
2501
5d109bde 25022003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
2503
2504 * libc/string/wcsnlen.c: New file.
2505 * libc/include/wchar.h: Add wcsnlen prototype.
2506 * libc/string/Makefile.am: Add wcsnlen support.
2507 * libc/string/Makefile.in: Regenerated.
2508 * libc/string/wcstrings.tex: Add wcsnlen documentation.
2509
63a823f8
RS
25102003-10-22 Richard Sandiford <rsandifo@redhat.com>
2511
2512 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
2513
76a7df52
JJ
25142003-10-20 Bob Wilson <bob.wilson@acm.org>
2515
2516 * libc/locale/locale.c: Use double quotes in code.
2517 * libc/locale/locale.tex: Likewise.
2518 * libc/libc.texinfo: Hyphenate "floating-point".
2519 * libc/machine/necv70/necv70.tex: Likewise.
2520 * libc/stdio/sprintf.c: Likewise.
2521 * libc/stdio/sscanf.c: Likewise.
2522 * libc/stdlib/atof.c: Likewise.
2523 * libc/stdlib/ldtoa.c: Fix comment typo.
2524 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
2525 * libc/stdlib/ldiv.c: Likewise.
2526 * libm/common/s_expm1.c: Likewise.
2527 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
2528 * libm/common/s_infinity: Hyphenate "double- and single-precision".
2529 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
2530 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
2531 and "floating-point".
2532 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
2533 * libm/math/e_pow.c: Fix comment typo.
2534 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
2535 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
2536 * libm/math/s_atan.c: Likewise.
2537 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
2538 * libm/math/s_isnan.c: Hyphenate "single-precision" and
2539 "floating-point". Use "nonzero".
2540 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2541 * libm/math/w_acos.c: Likewise.
2542 * libm/math/w_acosh.c: Likewise.
2543 * libm/math/w_asin.c: Likewise.
2544 * libm/math/w_atan2.c: Likewise.
2545 * libm/math/w_atanh.c: Likewise.
2546 * libm/math/w_cosh.c: Likewise.
2547 * libm/math/w_exp.c: Likewise.
2548 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
2549 version of 2^x in the description.
2550 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
2551 * libm/math/w_gamma.c: Likewise.
2552 * libm/math/w_hypot.c: Likewise.
2553 * libm/math/w_j0.c: Likewise.
2554 * libm/math/w_sinh.c: Likewise.
2555 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
2556 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
2557 "floating-point".
2558 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
2559 * libm/mathfp/e_atanh.c: Likewise.
2560 * libm/mathfp/e_hypot.c: Likewise.
2561 * libm/mathfp/er_lgamma.c: Likewise.
2562 * libm/mathfp/s_acos.c: Likewise.
2563 * libm/mathfp/s_asine.c: Likewise.
2564 * libm/mathfp/s_asinh.c: Likewise.
2565 * libm/mathfp/s_atan.c: Likewise.
2566 * libm/mathfp/s_atan2.c: Likewise.
2567 * libm/mathfp/s_atangent.c: Likewise.
2568 * libm/mathfp/s_cosh.c: Likewise.
2569 * libm/mathfp/s_exp.c: Likewise.
2570 * libm/mathfp/s_fmod.c: Likewise.
2571 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
2572 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
2573 "floating-point". Use "nonzero".
2574 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2575 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2576 * libm/mathfp/s_sineh.c: Likewise.
2577 * libm/mathfp/w_jn.c: Likewise.
2578
b11926e7
JJ
25792003-10-15 Alexandre Oliva <aoliva@redhat.com>
2580
2581 * Makefile.am: Add $(MAKE) comments to multido and multiclean
2582 lines, to enable parallel make.
2583 * Makefile.in: Rebuilt.
2584
31271d5c
CF
25852003-10-14 Christopher Faylor <cgf@redhat.com>
2586
2587 * libc/time/clock.c: Clarify documentation of return value when no
2588 measurement is available.
2589
bc707cbd
JJ
25902003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
2591
2592 * libm/configure.in: Check libm_machine_dir, not machine_dir.
2593 * libm/configure: Regenerate.
2594 * libm/Makefile.in: Ditto.
2595
f4b10605
JR
25962003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
2597
2598 * libc/machine/sh/strncpy.S: New file.
2599 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
2600 * libc/machine/sh/Makefile.in: Regenerate.
2601
ce044d8f
JW
26022003-09-11 James E Wilson <wilson@specifixinc.com>
2603
2604 * MAINTAINERS: Update my e-mail address.
2605
080ef411
CV
26062003-09-10 Corinna Vinschen <corinna@vinschen.de>
2607
2608 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
2609
3a767b69
JJ
26102003-09-09 Jeff Johnston <jjohnstn@redhat.com>
2611
080ef411
CV
2612 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
2613 prototype.
2614 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
2615 _simdldcheck(). Also add unsigned cast for index variable in
2616 for loop using sizeof operators.
2617 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
2618 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
2619 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
2620 plus fix shift calculation for determining if there is a
2621 carry from word2.
3a767b69 2622
84154fcc
CV
26232003-09-09 Corinna Vinschen <corinna@vinschen.de>
2624
2625 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
2626 setgroupent for Cygwin.
2627
f1b15058
JJ
26282003-09-05 Jeff Johnston <jjohnstn@redhat.com>
2629
2630 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
2631 is different for _REENT_SMALL than when using regular reent
2632 struct.
2633
cf88c20f 26342003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 2635
b73263e4
BE
2636 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
2637 modern versions of GCC issue a warning.
2638
0a8fd4dc
BE
2639 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
2640 after continuation characters that induces a warning from modern
2641 versions of GCC.
2642
10a32423
BE
26432003-09-04 Ben Elliston <bje@wasabisystems.com>
2644
2645 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
2646 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2647
ed027a53
JJ
26482003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2649
2650 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
2651 * libc/stdlib/exit.c : Ditto.
2652 * libc/stdlib/on_exit.c: Ditto.
2653
880fa247
JJ
26542003-08-27 Corinna Vinschen <corinna@vinschen.de>
2655
2656 * libc/include/reent.h: Define stat64 as __stat64 when
2657 compiling newlib for Cygwin.
2658
54c1d7ea
JJ
26592003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2660
2661 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
2662 __stat64 when compiling newlib.
2663
0eca0750
JJ
26642003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2665
2666 * libc/include/stdio.h: Allow the io64 function prototypes for
2667 Cygwin when compiling newlib.
2668 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
2669 to expose the Cygwin struct __stat64 type.
2670 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
2671 pointer.
2672 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2673
9d4aef19
CF
26742003-08-23 Christopher Faylor <cgf@redhat.com>
2675
2676 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
2677 definition to fseeko64.
2678
9fc9e1c9
JJ
26792003-08-22 Jeff Johnston <jjohnstn@redhat.com>
2680
2681 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
2682 * libc/stdio: Globally remove/replace all references to fp->_data.
2683 Replace with _REENT or _GLOBAL_REENT where appropriate.
2684 * libc/stdio/asprintf.c: Ditto.
2685 * libc/stdio/fclose.c: Ditto.
2686 * libc/stdio/fvwrite.c: Ditto.
2687 * libc/stdio/makebuf.c: Ditto.
2688 * libc/stdio/refill.c: Ditto.
2689 * libc/stdio/local.h: Ditto.
2690 * libc/stdio/setvbuf.c: Ditto.
2691 * libc/stdio/sscanf.c: Ditto.
2692 * libc/stdio/stdio.c: Ditto.
2693 * libc/stdio/ungetc.c: Ditto.
2694 * libc/stdio/vfscanf.c: Ditto.
2695 * libc/stdio/vsscanf.c: Ditto.
2696 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
2697 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
2698 * libc/stdio/vsnprintf.c: Ditto.
2699 * libc/stdio/vsprintf.c: Ditto.
2700 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
2701 instead of _REENT to walk file list.
2702 * libc/stdio/fflush.c: Ditto.
2703 * libc/stdio/fgetpos.c: Add reentrant version and have regular
2704 version call reentrant version with _REENT argument.
2705 * libc/stdio/fsetpos.c: Ditto.
2706 * libc/stdio/fseek.c: Ditto.
2707 * libc/stdio/fseeko.c: Ditto.
2708 * libc/stdio/ftell.c: Ditto.
2709 * libc/stdio/ftello.c: Ditto.
2710 * libc/stdio/freopen.c: Ditto.
2711 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
2712 new files to chain. Also use _GLOBAL_REENT pointer for
2713 cleaning up.
2714 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
2715 * libc/stdio/siprintf.c: Ditto.
2716 * libc/stdio/iprintf.c: Ditto.
2717 * libc/stdio/fprintf.c: Ditto.
2718 * libc/stdio/printf.c: Ditto.
2719 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
2720 * libc/stdio/sprintf.c: Ditto.
2721 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
2722 * libc/stdio/rewind.c: Call _fseek_r directly.
2723 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
2724 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
2725 data pointer.
2726 (get_arg): Add extra struct _reent pointer argument.
2727 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
2728 to fp->_data.
2729 * libc/stdio64/fopen64.c: Ditto.
2730 * libc/stdio64/freopen64.c: Ditto.
2731 * libc/stdio64/fsetpos64.c: Ditto.
2732 * libc/stdio64/ftello64.c: Ditto.
2733 * libc/stdio64/local64.h: Ditto.
2734 * libc/stdio64/stdio64.c: Ditto.
2735 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
2736 _fstat64_r for the meantime.
2737
8f021114
JJ
27382003-08-19 Jeff Johnston <jjohnstn@redhat.com>
2739
2740 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
2741 overflow detection.
2742
db979bb4
JJ
27432003-08-13 Aldy Hernandez <aldyh@redhat.com>
2744
2745 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
2746 extern "C".
2747
6efbdc7d
JJ
27482003-08-13 Jeff Johnston <jjohnstn@redhat.com>
2749
2750 * libc/include/math.h: Add prototypes for __signbitf and
2751 __signbitd.
2752
e895fc20
JJ
27532003-07-31 Jeff Johnston <jjohnstn@redhat.com>
2754
2755 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
2756 correct type of conversion when dealing with EUCJP or SJIS.
2757 * libc/ctype/iswblank.c: Ditto.
2758 * libc/ctype/iswcntrl.c: Ditto.
2759 * libc/ctype/iswprint.c: Ditto.
2760 * libc/ctype/iswpunct.c: Ditto.
2761 * libc/ctype/iswspace.c: Ditto.
2762 * libc/ctype/towlower.c: Ditto.
2763 * libc/ctype/towupper.c: Ditto.
2764
0302dfe5
NC
27652003-07-31 Nick Clifton <nickc@redhat.com>
2766
2767 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
2768 before calling main, in case it saves its argument registers.
2769 Remove reference to deleted v850ea port.
2770 * configure.host: Remove reference to deleted v850ea port.
2771 Do not use -mv850 when building for v850e target. This
2772 prevents the ctbp system register from being initialised.
2773
42de5592
JJ
27742003-07-29 Honda Hiroki <hhonda@ipflex.com>
2775
2776 * libc/stdio/vfprintf.c: Set output size to 1 when
2777 we have %f format with precision 0 and # flag not specified.
2778
e5de27b6
AO
27792003-07-29 Alexandre Oliva <aoliva@redhat.com>
2780
2781 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
2782 .am33_2.
2783
3c98a593
CF
27842003-07-25 Christopher Faylor <cgf@redhat.com>
2785
2786 * libc/stdio64/fdopen64.c: Include sys/lock.h.
2787
e222bf67
CF
27882003-07-25 Christopher Faylor <cgf@redhat.com>
2789
2790 * configure.host: Find cygwin include directory, when appropriate.
2791
03536757
CF
27922003-07-24 Christopher Faylor <cgf@redhat.com>
2793
2794 * libc/stdio64/fdopen64.c: New file.
2795 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
2796 * libc/stdio64/Makefile.in: Regenerate.
2797 * libc/include/stdio.h (fdopen64): Define.
2798 * libc/include/stdio.h (_fdopen64_r): Ditto.
2799
18072a4f
AO
28002003-07-10 Alexandre Oliva <aoliva@redhat.com>
2801
2802 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
2803 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
2804 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
2805 restore callee-saved FP registers.
2806
e0bec12f
JR
28072003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
2808
2809 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
2810 for __sh__.
2811 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
2812 truncate.c.
2813 * libc/sys/sh/Makefile.in: Regenerate.
2814 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
2815 * libc/sys/sh/ftruncate.c: New file.
2816 * libc/sys/sh/truncate.c: Likewise.
2817
03d65dd9
AO
28182003-07-09 Alexandre Oliva <aoliva@redhat.com>
2819
2820 * libc/include/math.h (nan, nanf): Update prototype to C99.
2821 * libm/common/s_nan.c (nan): Likewise.
2822 * libm/common/s_nanf.c (nanf, nan): Likewise.
2823 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
2824
74aa9d7d
JJ
28252003-07-07 Jeff Johnston <jjohnstn@redhat.com>
2826
2827 * libc/include/stdbool.h: Removed as this is defined by gcc.
2828
0a447ef3
JJ
28292003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
2830
2831 * libc/include/stdbool.h: New header file defined by C99.
2832
282eff9a
JJ
28332003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2834
2835 * libc/include/sys/types.h (int8_t): Make signed.
2836
4e989b11
JJ
28372003-07-02 Jeff Johnston <jjohnstn@redhat.com>
2838
2839 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
2840
07b40cf8
JJ
28412003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
2842
2843 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
2844 on if we actually created the shared memory file exclusively.
2845
7daa7891
JJ
28462003-06-27 Joe Vornehm <joev@mitre.org>
2847
2848 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
2849 comparisons to account for unsigned internal value w.
2850
51fa7562
JJ
28512003-06-26 Jeff Johnston <jjohnstn@redhat.com>
2852
2853 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
2854 wrbuf for a non-creating open.
2855
b8f7ea5c
JJ
28562003-06-24 Kazu Hirata <kazu@cs.umass.edu>
2857
2858 * libc/machine/h8300/setarch.h: New.
2859 * libc/machine/h8300/memcpy.S: Use it.
2860 * libc/machine/h8300/memset.S: Likewise.
2861 * libc/machine/h8300/reg_memcpy.S: Likewise.
2862 * libc/machine/h8300/reg_memset.S: Likewise.
2863 * libc/machine/h8300/setjmp.S: Likewise.
2864 * libc/machine/h8300/strcmp.S: Likewise.
2865
6d7ea52a
RS
28662003-06-24 Richard Sandiford <rsandifo@redhat.com>
2867
2868 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
2869 to atexit().
2870
5a74f2aa
JJ
28712003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2872
2873 * configure.host (iq2000): Add tabs.
2874
8266e478
JJ
28752003-06-20 Jeff Johnston <jjohnstn@redhat.com>
2876
2877 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
2878 to handle latest on_exit change.
2879 * libc/sys/linux/Makefile.am: Remove special compilation
2880 for malloc.c and mcheck.c.
2881 * libc/sys/linux/Makefile.in: Regenerated.
2882 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
2883 after including <features.h>.
2884 * libc/sys/linux/mcheck.c: Ditto.
2885 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
2886 for <features.h>.
2887 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
2888 add -DNOT_IN_libc to C flags.
2889 * libc/sys/linux/intl/Makefile.in: Regenerated.
2890 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
2891 * libc/sys/linux/linuxthreads/semaphore.h: Include
2892 <bits/pthreadtypes.h>.
2893 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
2894 including <features.h>.
2895 * libc/sys/linux/sys/lock.h: Ditto.
2896
0efe117b
NC
28972003-06-11 Nick Clifton <nickc@redhat.com>
2898
2899 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
2900 _on_exit_args_ptr.
2901
bfdfd7e6
AG
29022003-06-10 Stan Cox <scox@redhat.com>
2903 Anthony Green <green@redhat.com>
2904
2905 * configure.host: Add iq2000 support.
2906 * newlib/libc/include/machine/ieeefp.h: Ditto.
2907 * newlib/libc/include/machine/setjmp.h: Ditto.
2908 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
2909 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
2910 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
2911 libc/machine/iq2000/Makefile.in: New files.
2912
d9e4104b
RS
29132003-06-10 Richard Sandiford <rsandifo@redhat.com>
2914
2915 * libc/sys/h8300hms/setarch.h: New file.
2916 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
2917 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
2918 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
2919 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
2920
729d1ff9
JJ
29212003-06-06 Jeff Johnston <jjohnstn@redhat.com>
2922
2923 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
2924 definition.
2925 * libc/argz/argz_add_sep.c: Ditto.
2926 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
2927 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
2928 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
2929 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
2930 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
2931 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
2932 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
2933 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
2934 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
2935 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
2936 * libc/posix/execl.c libc/posix/execle.c: Ditto.
2937 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
2938 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
2939 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
2940 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
2941 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
2942 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
2943 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
2944 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
2945 * libc/search/twalk.c libc/signal/signal.c: Ditto.
2946
75d7d177
NC
29472003-06-05 Nick Clifton <nickc@redhat.com>
2948
2949 * libc/include/sys/reent.h (struct _on_exit_args): New
2950 structure containing fields used by the on_exit() function.
2951 (struct _atexit): Include struct _on_exit_args. For
2952 _REENT_SMALL do his via a pointer that is initialised when
2953 needed.
2954 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
2955 structure, if one has been allocated.
2956 * libc/stdlib/atexit.c (atexit): Update indirection to
2957 _fntypes field.
2958 * libc/stdlib/on_exit.c (on_exit): Indirect via the
2959 _on_exit_args structure. For _REENT_SMALL, allocate a
2960 structure if one does not exist.
2961 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
2962 structure.
2963
2129f283
JJ
29642003-06-04 Jeff Johnston <jjohnstn@redhat.com>
2965
2966 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
2967 * libc/sys/linux/net/Makefile.in: Regenerated.
2968
bf3bcac2
JJ
29692003-06-03 Jeff Johnston <jjohnstn@redhat.com>
2970
2971 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
2972 * libc/reent/fcntlr.c: Ditto.
2973 * libc/reent/fstat64r.c: Ditto.
2974 * libc/reent/linkr.c: Ditto.
2975 * libc/reent/lseek64r.c: Ditto.
2976 * libc/reent/lseekr.c: Ditto.
2977 * libc/reent/openr.c: Ditto.
2978 * libc/reent/readr.c: Ditto.
2979 * libc/reent/reent.c: Ditto.
2980 * libc/reent/sbrkr.c: Ditto.
2981 * libc/reent/signalr.c: Ditto.
2982 * libc/reent/signgam.c: Ditto.
2983 * libc/reent/statr.c: Ditto.
2984 * libc/reent/timer.c: Ditto.
2985 * libc/reent/unlinkr.c: Ditto.
2986 * libc/reent/writer.c: Ditto.
2987 * libc/syscalls/sysclose.c: Ditto.
2988 * libc/syscalls/sysexecve.c: Ditto.
2989 * libc/syscalls/sysfcntl.c: Ditto.
2990 * libc/syscalls/sysfork.c: Ditto.
2991 * libc/syscalls/sysfstat.c: Ditto.
2992 * libc/syscalls/sysgetpid.c: Ditto.
2993 * libc/syscalls/sysgettod.c: Ditto.
2994 * libc/syscalls/syskill.c: Ditto.
2995 * libc/syscalls/syslink.c: Ditto.
2996 * libc/syscalls/syslseek.c: Ditto.
2997 * libc/syscalls/sysopen.c: Ditto.
2998 * libc/syscalls/sysread.c: Ditto.
2999 * libc/syscalls/syssbrk.c: Ditto.
3000 * libc/syscalls/sysstat.c: Ditto.
3001 * libc/syscalls/systimes.c: Ditto.
3002 * libc/syscalls/sysunlink.c: Ditto.
3003 * libc/syscalls/syswait.c: Ditto.
3004 * libc/syscalls/syswrite.c: Ditto.
3005
702ceb23
JJ
30062003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
3007
3008 * libc/time/tzset_r.c: Change local variables that are
3009 set via sscanf using the %h format specifier to be unsigned short
3010 instead of int.
3011
102861c9
JJ
30122003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
3013
3014 * configure.host: Allow i[34567]86 variant.
3015 * configure.in: Likewise.
3016 * README: Likewise to the docs.
3017 * configure: Regenerated.
3018 * Makefile.in: Ditto.
3019
b359e82c
JJ
30202003-05-28 Jeff Johnston <jjohnstn@redhat.com>
3021 Tom Fitzsimmons <fitzsim@redhat.com>
3022
3023 * configure.in: Add iconvdata support for x86 linux.
3024 * configure: Regenerated.
3025 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
3026 library, iconv, and linuxthreads support.
3027 * libc/sys/linux/configure.in: Ditto.
3028 * libc/sys/linux/Makefile.in: Regenerated.
3029 * libc/sys/linux/configure: Ditto.
3030 * iconvdata/EUC-JP.irreversible: New file.
3031 * iconvdata/Makefile.am: Ditto.
3032 * iconvdata/Makefile.in: Ditto.
3033 * iconvdata/SJIS.irreversible: Ditto.
3034 * iconvdata/aclocal.m4: Ditto.
3035 * iconvdata/configure: Ditto.
3036 * iconvdata/configure.in: Ditto.
3037 * iconvdata/dummy.c: Ditto.
3038 * iconvdata/euc-jp.c: Ditto.
3039 * iconvdata/gconv-modules: Ditto.
3040 * iconvdata/jis0201.c: Ditto.
3041 * iconvdata/jis0201.h: Ditto.
3042 * iconvdata/jis0208.c: Ditto.
3043 * iconvdata/jis0208.h: Ditto.
3044 * iconvdata/jis0212.c: Ditto.
3045 * iconvdata/jis0212.h: Ditto.
3046 * iconvdata/sjis.c: Ditto.
3047 * libc/include/errno.h: Protect definition of error_t.
3048 * libc/sys/linux/gethostid.c: New file.
3049 * libc/sys/linux/sethostid.c: Ditto.
3050 * libc/sys/linux/dl/Makefile.am: Ditto.
3051 * libc/sys/linux/dl/Makefile.in: Ditto.
3052 * libc/sys/linux/dl/abi-tag.h: Ditto.
3053 * libc/sys/linux/dl/atomicity.h: Ditto.
3054 * libc/sys/linux/dl/dl-addr.c: Ditto.
3055 * libc/sys/linux/dl/dl-cache.c: Ditto.
3056 * libc/sys/linux/dl/dl-cache.h: Ditto.
3057 * libc/sys/linux/dl/dl-close.c: Ditto.
3058 * libc/sys/linux/dl/dl-debug.c: Ditto.
3059 * libc/sys/linux/dl/dl-deps.c: Ditto.
3060 * libc/sys/linux/dl/dl-dst.h: Ditto.
3061 * libc/sys/linux/dl/dl-error.c: Ditto.
3062 * libc/sys/linux/dl/dl-fini.c: Ditto.
3063 * libc/sys/linux/dl/dl-init.c: Ditto.
3064 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
3065 * libc/sys/linux/dl/dl-libc.c: Ditto.
3066 * libc/sys/linux/dl/dl-librecon.h: Ditto.
3067 * libc/sys/linux/dl/dl-load.c: Ditto.
3068 * libc/sys/linux/dl/dl-lookup.c: Ditto.
3069 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
3070 * libc/sys/linux/dl/dl-minimal.c: Ditto.
3071 * libc/sys/linux/dl/dl-misc.c: Ditto.
3072 * libc/sys/linux/dl/dl-object.c: Ditto.
3073 * libc/sys/linux/dl/dl-open.c: Ditto.
3074 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
3075 * libc/sys/linux/dl/dl-profile.c: Ditto.
3076 * libc/sys/linux/dl/dl-profstub.c: Ditto.
3077 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3078 * libc/sys/linux/dl/dl-runtime.c: Ditto.
3079 * libc/sys/linux/dl/dl-support.c: Ditto.
3080 * libc/sys/linux/dl/dl-sym.c: Ditto.
3081 * libc/sys/linux/dl/dl-version.c: Ditto.
3082 * libc/sys/linux/dl/dlfcn.h: Ditto.
3083 * libc/sys/linux/dl/do-lookup.h: Ditto.
3084 * libc/sys/linux/dl/do-rel.h: Ditto.
3085 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3086 * libc/sys/linux/dl/kernel-features.h: Ditto.
3087 * libc/sys/linux/dl/ldsodefs.h: Ditto.
3088 * libc/sys/linux/dl/libintl.h: Ditto.
3089 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
3090 * libc/sys/linux/dl/unsecvars.h: Ditto.
3091 * libc/sys/linux/iconv/Makefile.am: Ditto.
3092 * libc/sys/linux/iconv/Makefile.in: Ditto.
3093 * libc/sys/linux/iconv/categories.def: Ditto.
3094 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
3095 * libc/sys/linux/iconv/gconv.c: Ditto.
3096 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
3097 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
3098 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
3099 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
3100 * libc/sys/linux/iconv/gconv_close.c: Ditto.
3101 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
3102 * libc/sys/linux/iconv/gconv_db.c: Ditto.
3103 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
3104 * libc/sys/linux/iconv/gconv_int.h: Ditto.
3105 * libc/sys/linux/iconv/gconv_open.c: Ditto.
3106 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3107 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
3108 * libc/sys/linux/iconv/hash-string.h: Ditto.
3109 * libc/sys/linux/iconv/iconv.c: Ditto.
3110 * libc/sys/linux/iconv/iconv.h: Ditto.
3111 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
3112 * libc/sys/linux/iconv/iconv_close.c: Ditto.
3113 * libc/sys/linux/iconv/iconv_open.c: Ditto.
3114 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
3115 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
3116 * libc/sys/linux/iconv/loadinfo.h: Ditto.
3117 * libc/sys/linux/iconv/localeinfo.h: Ditto.
3118 * libc/sys/linux/iconv/loop.c: Ditto.
3119 * libc/sys/linux/iconv/skeleton.c: Ditto.
3120 * libc/sys/linux/iconv/strtab.c: Ditto.
3121 * libc/sys/linux/include/dl-hash.h: Ditto.
3122 * libc/sys/linux/include/dlfcn.h: Ditto.
3123 * libc/sys/linux/include/fnmatch.h: Ditto.
3124 * libc/sys/linux/include/gconv.h: Ditto.
3125 * libc/sys/linux/include/glob.h: Ditto.
3126 * libc/sys/linux/include/hesiod.h: Ditto.
3127 * libc/sys/linux/include/ifaddrs.h: Ditto.
3128 * libc/sys/linux/include/libc_private.h: Ditto.
3129 * libc/sys/linux/include/link.h: Ditto.
3130 * libc/sys/linux/include/namespace.h: Ditto.
3131 * libc/sys/linux/include/netconfig.h: Ditto.
3132 * libc/sys/linux/include/netdb.h: Ditto.
3133 * libc/sys/linux/include/nsswitch.h: Ditto.
3134 * libc/sys/linux/include/regex.h: Ditto.
3135 * libc/sys/linux/include/resolv.h: Ditto.
3136 * libc/sys/linux/include/rune.h: Ditto.
3137 * libc/sys/linux/include/runetype.h: Ditto.
3138 * libc/sys/linux/include/semaphore.h: Ditto.
3139 * libc/sys/linux/include/setlocale.h: Ditto.
3140 * libc/sys/linux/include/un-namespace.h: Ditto.
3141 * libc/sys/linux/include/wordexp.h: Ditto.
3142 * libc/sys/linux/include/arpa/ftp.h: Ditto.
3143 * libc/sys/linux/include/arpa/inet.h: Ditto.
3144 * libc/sys/linux/include/arpa/nameser.h: Ditto.
3145 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
3146 * libc/sys/linux/include/arpa/telnet.h: Ditto.
3147 * libc/sys/linux/include/arpa/tftp.h: Ditto.
3148 * libc/sys/linux/include/net/bpf.h: Ditto.
3149 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
3150 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
3151 * libc/sys/linux/include/net/bridge.h: Ditto.
3152 * libc/sys/linux/include/net/ethernet.h: Ditto.
3153 * libc/sys/linux/include/net/fddi.h: Ditto.
3154 * libc/sys/linux/include/net/if.h: Ditto.
3155 * libc/sys/linux/include/net/if_arc.h: Ditto.
3156 * libc/sys/linux/include/net/if_arp.h: Ditto.
3157 * libc/sys/linux/include/net/if_atm.h: Ditto.
3158 * libc/sys/linux/include/net/if_dl.h: Ditto.
3159 * libc/sys/linux/include/net/if_gif.h: Ditto.
3160 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
3161 * libc/sys/linux/include/net/if_llc.h: Ditto.
3162 * libc/sys/linux/include/net/if_media.h: Ditto.
3163 * libc/sys/linux/include/net/if_mib.h: Ditto.
3164 * libc/sys/linux/include/net/if_ppp.h: Ditto.
3165 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
3166 * libc/sys/linux/include/net/if_slvar.h: Ditto.
3167 * libc/sys/linux/include/net/if_sppp.h: Ditto.
3168 * libc/sys/linux/include/net/if_stf.h: Ditto.
3169 * libc/sys/linux/include/net/if_tap.h: Ditto.
3170 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
3171 * libc/sys/linux/include/net/if_tun.h: Ditto.
3172 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
3173 * libc/sys/linux/include/net/if_types.h: Ditto.
3174 * libc/sys/linux/include/net/if_var.h: Ditto.
3175 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
3176 * libc/sys/linux/include/net/intrq.h: Ditto.
3177 * libc/sys/linux/include/net/iso88025.h: Ditto.
3178 * libc/sys/linux/include/net/net_osdep.h: Ditto.
3179 * libc/sys/linux/include/net/netisr.h: Ditto.
3180 * libc/sys/linux/include/net/pfil.h: Ditto.
3181 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
3182 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
3183 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
3184 * libc/sys/linux/include/net/radix.h: Ditto.
3185 * libc/sys/linux/include/net/raw_cb.h: Ditto.
3186 * libc/sys/linux/include/net/route.h: Ditto.
3187 * libc/sys/linux/include/net/slcompress.h: Ditto.
3188 * libc/sys/linux/include/net/slip.h: Ditto.
3189 * libc/sys/linux/include/net/zlib.h: Ditto.
3190 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
3191 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
3192 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
3193 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
3194 * libc/sys/linux/include/netinet/igmp.h: Ditto.
3195 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
3196 * libc/sys/linux/include/netinet/in.h: Ditto.
3197 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
3198 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
3199 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
3200 * libc/sys/linux/include/netinet/in_var.h: Ditto.
3201 * libc/sys/linux/include/netinet/ip.h: Ditto.
3202 * libc/sys/linux/include/netinet/ip6.h: Ditto.
3203 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
3204 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
3205 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
3206 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
3207 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
3208 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
3209 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
3210 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
3211 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
3212 * libc/sys/linux/include/netinet/tcp.h: Ditto.
3213 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
3214 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
3215 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
3216 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
3217 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
3218 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
3219 * libc/sys/linux/include/netinet/udp.h: Ditto.
3220 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
3221 * libc/sys/linux/include/netinet6/ah.h: Ditto.
3222 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
3223 * libc/sys/linux/include/netinet6/esp.h: Ditto.
3224 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
3225 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
3226 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
3227 * libc/sys/linux/include/netinet6/in6.h: Ditto.
3228 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
3229 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
3230 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
3231 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
3232 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
3233 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
3234 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
3235 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
3236 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
3237 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
3238 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
3239 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
3240 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
3241 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
3242 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
3243 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
3244 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
3245 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
3246 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
3247 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
3248 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
3249 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
3250 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
3251 * libc/sys/linux/include/netns/idp.h: Ditto.
3252 * libc/sys/linux/include/netns/idp_var.h: Ditto.
3253 * libc/sys/linux/include/netns/ns.h: Ditto.
3254 * libc/sys/linux/include/netns/ns_error.h: Ditto.
3255 * libc/sys/linux/include/netns/ns_if.h: Ditto.
3256 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
3257 * libc/sys/linux/include/netns/sp.h: Ditto.
3258 * libc/sys/linux/include/netns/spidp.h: Ditto.
3259 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
3260 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
3261 * libc/sys/linux/include/netns/spp_var.h: Ditto.
3262 * libc/sys/linux/include/rpc/Makefile: Ditto.
3263 * libc/sys/linux/include/rpc/auth.h: Ditto.
3264 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
3265 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
3266 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
3267 * libc/sys/linux/include/rpc/clnt.h: Ditto.
3268 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
3269 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
3270 * libc/sys/linux/include/rpc/des.h: Ditto.
3271 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
3272 * libc/sys/linux/include/rpc/nettype.h: Ditto.
3273 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
3274 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
3275 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
3276 * libc/sys/linux/include/rpc/raw.h: Ditto.
3277 * libc/sys/linux/include/rpc/rpc.h: Ditto.
3278 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
3279 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
3280 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
3281 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
3282 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
3283 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
3284 * libc/sys/linux/include/rpc/svc.h: Ditto.
3285 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
3286 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
3287 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
3288 * libc/sys/linux/include/rpc/types.h: Ditto.
3289 * libc/sys/linux/include/rpc/xdr.h: Ditto.
3290 * libc/sys/linux/intl/Makefile.am: Ditto.
3291 * libc/sys/linux/intl/Makefile.in: Ditto.
3292 * libc/sys/linux/intl/bindtextdom.c: Ditto.
3293 * libc/sys/linux/intl/catgets.c: Ditto.
3294 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
3295 * libc/sys/linux/intl/config.h: Ditto.
3296 * libc/sys/linux/intl/dcgettext.c: Ditto.
3297 * libc/sys/linux/intl/dcigettext.c: Ditto.
3298 * libc/sys/linux/intl/dcngettext.c: Ditto.
3299 * libc/sys/linux/intl/dgettext.c: Ditto.
3300 * libc/sys/linux/intl/dngettext.c: Ditto.
3301 * libc/sys/linux/intl/explodename.c: Ditto.
3302 * libc/sys/linux/intl/finddomain.c: Ditto.
3303 * libc/sys/linux/intl/gettext.c: Ditto.
3304 * libc/sys/linux/intl/gettext.h: Ditto.
3305 * libc/sys/linux/intl/gettextP.h: Ditto.
3306 * libc/sys/linux/intl/hash-string.h: Ditto.
3307 * libc/sys/linux/intl/l10nflist.c: Ditto.
3308 * libc/sys/linux/intl/loadinfo.h: Ditto.
3309 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
3310 * libc/sys/linux/intl/locale.alias: Ditto.
3311 * libc/sys/linux/intl/localealias.c: Ditto.
3312 * libc/sys/linux/intl/ngettext.c: Ditto.
3313 * libc/sys/linux/intl/open_catalog.c: Ditto.
3314 * libc/sys/linux/intl/plural.c: Ditto.
3315 * libc/sys/linux/intl/plural.y: Ditto.
3316 * libc/sys/linux/intl/stpcpy.c: Ditto.
3317 * libc/sys/linux/intl/textdomain.c: Ditto.
3318 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
3319 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3320 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
3321 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
3322 * libc/sys/linux/linuxthreads/attr.c: Ditto.
3323 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
3324 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
3325 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
3326 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
3327 * libc/sys/linux/linuxthreads/config.h: Ditto.
3328 * libc/sys/linux/linuxthreads/configure: Ditto.
3329 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3330 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
3331 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
3332 * libc/sys/linux/linuxthreads/events.c: Ditto.
3333 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
3334 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
3335 * libc/sys/linux/linuxthreads/internals.h: Ditto.
3336 * libc/sys/linux/linuxthreads/join.c: Ditto.
3337 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
3338 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
3339 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
3340 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
3341 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
3342 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
3343 * libc/sys/linux/linuxthreads/manager.c: Ditto.
3344 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
3345 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
3346 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
3347 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
3348 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
3349 * libc/sys/linux/linuxthreads/prio.c: Ditto.
3350 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
3351 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
3352 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
3353 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
3354 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
3355 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
3356 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
3357 * libc/sys/linux/linuxthreads/queue.h: Ditto.
3358 * libc/sys/linux/linuxthreads/reent.c: Ditto.
3359 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
3360 * libc/sys/linux/linuxthreads/restart.h: Ditto.
3361 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
3362 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
3363 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
3364 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
3365 * libc/sys/linux/linuxthreads/signals.c: Ditto.
3366 * libc/sys/linux/linuxthreads/specific.c: Ditto.
3367 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
3368 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
3369 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
3370 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
3371 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
3372 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
3373 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
3374 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
3375 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
3376 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
3377 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
3378 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
3379 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
3380 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
3381 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
3382 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
3383 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
3384 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
3385 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
3386 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
3387 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
3388 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
3389 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
3390 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
3391 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
3392 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
3393 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
3394 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
3395 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
3396 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
3397 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
3398 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
3399 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
3400 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
3401 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
3402 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
3403 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
3404 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
3405 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
3406 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
3407 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
3408 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
3409 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
3410 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
3411 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
3412 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
3413 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
3414 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
3415 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
3416 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
3417 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
3418 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
3419 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
3420 * libc/sys/linux/linuxthreads/unload.c: Ditto.
3421 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
3422 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
3423 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
3424 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
3425 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
3426 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
3427 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
3428 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
3429 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
3430 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
3431 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
3432 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
3433 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
3434 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3435 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
3436 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3437 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
3438 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
3439 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
3440 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
3441 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
3442 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3443 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
3444 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
3445 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
3446 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
3447 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
3448 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
3449 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
3450 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
3451 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
3452 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3453 * libc/sys/linux/net/Makefile.am: Ditto.
3454 * libc/sys/linux/net/Makefile.in: Ditto.
3455 * libc/sys/linux/net/addr2ascii.3: Ditto.
3456 * libc/sys/linux/net/addr2ascii.c: Ditto.
3457 * libc/sys/linux/net/ascii2addr.c: Ditto.
3458 * libc/sys/linux/net/base64.c: Ditto.
3459 * libc/sys/linux/net/bindresvport.c: Ditto.
3460 * libc/sys/linux/net/byteorder.3: Ditto.
3461 * libc/sys/linux/net/ether_addr.c: Ditto.
3462 * libc/sys/linux/net/ethers.3: Ditto.
3463 * libc/sys/linux/net/getaddrinfo.3: Ditto.
3464 * libc/sys/linux/net/getaddrinfo.c: Ditto.
3465 * libc/sys/linux/net/gethostbydns.c: Ditto.
3466 * libc/sys/linux/net/gethostbyht.c: Ditto.
3467 * libc/sys/linux/net/gethostbyname.3: Ditto.
3468 * libc/sys/linux/net/gethostbynis.c: Ditto.
3469 * libc/sys/linux/net/gethostnamadr.c: Ditto.
3470 * libc/sys/linux/net/getifaddrs.3: Ditto.
3471 * libc/sys/linux/net/getifaddrs.c: Ditto.
3472 * libc/sys/linux/net/getipnodebyname.3: Ditto.
3473 * libc/sys/linux/net/getnameinfo.3: Ditto.
3474 * libc/sys/linux/net/getnameinfo.c: Ditto.
3475 * libc/sys/linux/net/getnetbydns.c: Ditto.
3476 * libc/sys/linux/net/getnetbyht.c: Ditto.
3477 * libc/sys/linux/net/getnetbynis.c: Ditto.
3478 * libc/sys/linux/net/getnetent.3: Ditto.
3479 * libc/sys/linux/net/getnetnamadr.c: Ditto.
3480 * libc/sys/linux/net/getproto.c: Ditto.
3481 * libc/sys/linux/net/getprotoent.3: Ditto.
3482 * libc/sys/linux/net/getprotoent.c: Ditto.
3483 * libc/sys/linux/net/getprotoname.c: Ditto.
3484 * libc/sys/linux/net/getservbyname.c: Ditto.
3485 * libc/sys/linux/net/getservbyport.c: Ditto.
3486 * libc/sys/linux/net/getservent.3: Ditto.
3487 * libc/sys/linux/net/getservent.c: Ditto.
3488 * libc/sys/linux/net/herror.c: Ditto.
3489 * libc/sys/linux/net/hesiod.3: Ditto.
3490 * libc/sys/linux/net/hesiod.c: Ditto.
3491 * libc/sys/linux/net/if_indextoname.3: Ditto.
3492 * libc/sys/linux/net/ifname.c: Ditto.
3493 * libc/sys/linux/net/inet.3: Ditto.
3494 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
3495 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
3496 * libc/sys/linux/net/inet_addr.c: Ditto.
3497 * libc/sys/linux/net/inet_lnaof.c: Ditto.
3498 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
3499 * libc/sys/linux/net/inet_net.3: Ditto.
3500 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
3501 * libc/sys/linux/net/inet_net_pton.c: Ditto.
3502 * libc/sys/linux/net/inet_neta.c: Ditto.
3503 * libc/sys/linux/net/inet_netof.c: Ditto.
3504 * libc/sys/linux/net/inet_network.c: Ditto.
3505 * libc/sys/linux/net/inet_ntoa.c: Ditto.
3506 * libc/sys/linux/net/inet_ntop.c: Ditto.
3507 * libc/sys/linux/net/inet_pton.c: Ditto.
3508 * libc/sys/linux/net/innetgr-stub.c: Ditto.
3509 * libc/sys/linux/net/ip6opt.c: Ditto.
3510 * libc/sys/linux/net/iso_addr.3: Ditto.
3511 * libc/sys/linux/net/iso_addr.c: Ditto.
3512 * libc/sys/linux/net/issetugid-stub.c: Ditto.
3513 * libc/sys/linux/net/linkaddr.3: Ditto.
3514 * libc/sys/linux/net/linkaddr.c: Ditto.
3515 * libc/sys/linux/net/map_v4v6.c: Ditto.
3516 * libc/sys/linux/net/name6.c: Ditto.
3517 * libc/sys/linux/net/namespace.h: Ditto.
3518 * libc/sys/linux/net/ns.3: Ditto.
3519 * libc/sys/linux/net/ns_addr.c: Ditto.
3520 * libc/sys/linux/net/ns_name.c: Ditto.
3521 * libc/sys/linux/net/ns_netint.c: Ditto.
3522 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3523 * libc/sys/linux/net/ns_parse.c: Ditto.
3524 * libc/sys/linux/net/ns_print.c: Ditto.
3525 * libc/sys/linux/net/ns_ttl.c: Ditto.
3526 * libc/sys/linux/net/nsap_addr.c: Ditto.
3527 * libc/sys/linux/net/nsdispatch.3: Ditto.
3528 * libc/sys/linux/net/nsdispatch.c: Ditto.
3529 * libc/sys/linux/net/nslexer.c: Ditto.
3530 * libc/sys/linux/net/nslexer.l: Ditto.
3531 * libc/sys/linux/net/nsparser.c: Ditto.
3532 * libc/sys/linux/net/nsparser.h: Ditto.
3533 * libc/sys/linux/net/nsparser.y: Ditto.
3534 * libc/sys/linux/net/rcmd.3: Ditto.
3535 * libc/sys/linux/net/rcmd.c: Ditto.
3536 * libc/sys/linux/net/rcmdsh.3: Ditto.
3537 * libc/sys/linux/net/rcmdsh.c: Ditto.
3538 * libc/sys/linux/net/recv.c: Ditto.
3539 * libc/sys/linux/net/res_comp.c: Ditto.
3540 * libc/sys/linux/net/res_config.h: Ditto.
3541 * libc/sys/linux/net/res_data.c: Ditto.
3542 * libc/sys/linux/net/res_debug.c: Ditto.
3543 * libc/sys/linux/net/res_init.c: Ditto.
3544 * libc/sys/linux/net/res_mkquery.c: Ditto.
3545 * libc/sys/linux/net/res_mkupdate.c: Ditto.
3546 * libc/sys/linux/net/res_query.c: Ditto.
3547 * libc/sys/linux/net/res_send.c: Ditto.
3548 * libc/sys/linux/net/res_update.c: Ditto.
3549 * libc/sys/linux/net/resolver.3: Ditto.
3550 * libc/sys/linux/net/rthdr.c: Ditto.
3551 * libc/sys/linux/net/send.c: Ditto.
3552 * libc/sys/linux/net/un-namespace.h: Ditto.
3553 * libc/sys/linux/net/vars.c: Ditto.
3554 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
3555 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3556 * libc/sys/linux/stdlib/Makefile.in: Ditto.
3557 * libc/sys/linux/stdlib/cclass.h: Ditto.
3558 * libc/sys/linux/stdlib/cname.h: Ditto.
3559 * libc/sys/linux/stdlib/collate.c: Ditto.
3560 * libc/sys/linux/stdlib/collate.h: Ditto.
3561 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3562 * libc/sys/linux/stdlib/engine.c: Ditto.
3563 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
3564 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3565 * libc/sys/linux/stdlib/glob.3: Ditto.
3566 * libc/sys/linux/stdlib/glob.c: Ditto.
3567 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3568 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3569 * libc/sys/linux/stdlib/regerror.c: Ditto.
3570 * libc/sys/linux/stdlib/regex.3: Ditto.
3571 * libc/sys/linux/stdlib/regex2.h: Ditto.
3572 * libc/sys/linux/stdlib/regexec.c: Ditto.
3573 * libc/sys/linux/stdlib/regfree.c: Ditto.
3574 * libc/sys/linux/stdlib/utils.h: Ditto.
3575 * libc/sys/linux/stdlib/wordexp.c: Ditto.
3576 * libc/sys/linux/stdlib/wordfree.c: Ditto.
3577 * libc/sys/linux/sys/dlfcn.h: Ditto.
3578 * libc/sys/linux/sys/elfclass.h: Ditto.
3579 * libc/sys/linux/sys/event.h: Ditto.
3580 * libc/sys/linux/sys/ioccom.h: Ditto.
3581 * libc/sys/linux/sys/libc-tsd.h: Ditto.
3582 * libc/sys/linux/sys/link.h: Ditto.
3583 * libc/sys/linux/sys/lock.h: Ditto.
3584 * libc/sys/linux/sys/param.h: Ditto.
3585 * libc/sys/linux/sys/socket.h: Ditto.
3586 * libc/sys/linux/sys/sockio.h: Ditto.
3587
82095e79
JJ
35882003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3589
3590 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
3591 normal mode
3592 * newlib/libc/machine/h8300/memset.S: Likewise
3593 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
3594 * newlib/lib/machine/h8300/reg_memset.S: Likewise
3595 * newlib/lib/machine/h8300/setjmp.S: Likewise
3596 * newlib/lib/machine/h8300/strcmp.S: Likewise
3597 * newlib/lib/sys/h8300hms/crt0.S: Likewise
3598
8a4b4764
CV
35992003-05-13 Corinna Vinschen <corinna@vinschen.de>
3600
3601 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
3602 * libc/include/stdio.h: Ditto.
3603 * libc/include/sys/config.h: Ditto.
3604 * libc/stdio/mktemp.c: Ditto.
3605
837e070f
CV
36062003-05-13 Corinna Vinschen <corinna@vinschen.de>
3607
3608 * libc/locale/ldpart.c (__part_load_locale): Substitute
3609 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
3610 * libc/search/hash.c (__hash_open): Ditto.
3611 (init_hash): Ditto.
3612 * libc/stdio/fseek.c (fseek): Ditto.
3613 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3614 * libc/stdio/mktemp.c (_gettemp): Ditto.
3615
b47fcdf0
CV
36162003-05-12 Corinna Vinschen <corinna@vinschen.de>
3617
3618 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
3619
11e3a520
CV
36202003-05-12 Corinna Vinschen <corinna@vinschen.de>
3621
3622 * configure.host: Accomodate removing the libc/sys/cygwin dir.
3623 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
3624 if __CYGWIN_USE_BIG_TYPES__ is set.
3625 * libc/search/hash.c (__hash_open): Ditto.
3626 (init_hash): Ditto.
3627 * libc/stdio/fseek.c (fseek): Ditto.
3628 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3629 * libc/stdio/mktemp.c (_gettemp): Ditto.
3630 * libc/sys/cygwin/Makefile.am: Remove.
3631 * libc/sys/cygwin/Makefile.in: Remove.
3632 * libc/sys/cygwin/aclocal.m4: Remove.
3633 * libc/sys/cygwin/configure: Remove.
3634 * libc/sys/cygwin/configure.in: Remove.
3635 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
3636 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
3637 directory.
3638 * libc/sys/cygwin/sys/param.h: Ditto.
3639 * libc/sys/cygwin/sys/utime.h: Ditto.
3640 * libc/sys/cygwin/sys/utmp.h: Ditto.
3641
d1b5e65b
CV
36422003-05-11 Corinna Vinschen <corinna@vinschen.de>
3643
3644 * libc/include/sys/types.h: Don't define key_t for Cygwin.
3645
ec48a953
CF
36462003-05-10 Christopher Faylor <cgf@redhat.com>
3647
3648 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
3649 64 bit inodes.
3650
a3cc5851
CV
36512003-05-09 Corinna Vinschen <corinna@vinschen.de>
3652
3653 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
3654 Include cygwin/config.h instead.
3655
57ff95d3
JJ
36562003-04-16 Jeff Johnston <jjohnstn@redhat.com>
3657
3658 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
3659 all code with #ifdef __SPE__ test.
3660 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
3661
cfd2c7be
CF
36622003-04-15 Chris January <chris@atomice.net>
3663
3664 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
3665 Cygwin.
3666
6f48c0ae
JR
36672003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
3668
3669 * libc/machine/sh/memset.S: Avoid clobbering volatile
3670 objects following a tiny to-be-set array in the same quadword.
3671
8f8d09c0
CV
36722001-04-09 Corinna Vinschen <corinna@vinschen.de>
3673
3674 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
3675 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
3676 * libc/string/Makefile.in: Regenerated.
3677 * libc/string/wcswidth.c: New file.
3678 * libc/string/wcwidth.c: New file.
3679 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
3680
40c3b2d0
JR
3681Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
3682
3683 * libc/machine/sh/memset.S: Fix problem with alloco region
3684 exceeding destination region for length >= 88 bytes, start
3685 & 0x16 == 0, end & 0x1f == 18.
3686
8ae6a3dd
CV
36872001-04-03 Corinna Vinschen <corinna@vinschen.de>
3688
3689 * libc/string/wcscoll.c: Fix comment.
3690
d122b1cc
CV
36912001-04-02 Corinna Vinschen <corinna@vinschen.de>
3692
3693 * libc/include/wchar.h: Add definition for wcscoll.
3694 * libc/string/Makefile.am: Add wcscoll.c.
3695 * libc/string/Makefile.in: Regenerated.
3696 * libc/string/wcscoll.c: New file.
3697 * libc/string/wcstrings.tex: Add wcscoll.
3698
31ee99a4
CV
36992003-04-01 Corinna Vinschen <corinna@vinschen.de>
3700
3701 * libc/stdio/sscanf.c: Update flags description.
3702 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
3703 type.
3704 (__svfscanf_r): Add 'hh' and 'll' handling.
3705
d78045ee
CV
37062003-04-01 Corinna Vinschen <corinna@vinschen.de>
3707
3708 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
3709 __d_position member to _off_t.
3710
e6bdc6c5
JJ
37112003-03-20 Jeff Johnston <jjohnstn@redhat.com>
3712
3713 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
3714 count all characters used to create number against maximum width.
3715 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3716
e65d559e
JJ
37172003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
3718
3719 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
3720 support.
3721 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
3722 flag to support simulator only extensions.
3723
6b3bb52b
JJ
37242003-03-17 Bob Cassels <bcassels@abinitio.com>
3725
3726 * libc/string/wcschr.c: (wcschr): Look for character first,
3727 then for end of string, so you can do wcschr(x, '\0').
3728
2a940c1a
CV
37292003-03-10 Corinna Vinschen <corinna@vinschen.de>
3730
3731 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
3732 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
3733 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
3734 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
3735 * libc/stdio/fseeko.c (fseeko): Ditto.
3736 * libc/stdio/ftello.c (ftello): Ditto.
3737 * libc/stdio/stdio.c (__swrite): Ditto.
3738 (__sseek): Ditto.
3739 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
3740 * libc/stdio/fseek.c (fseek): Ditto.
3741 * libc/stdio/fsetpos.c (fsetpos): Ditto.
3742 * libc/stdio/ftell.c (ftell): Ditto.
3743 * libc/stdio/local.h: Declare __sseek using _off_t.
3744
150c2818
CV
37452003-03-09 Corinna Vinschen <corinna@vinschen.de>
3746
3747 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
3748
2c440f9c
CV
37492003-03-09 Corinna Vinschen <corinna@vinschen.de>
3750
3751 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
3752 Cygwin.
3753
f882fd15
CV
37542003-03-09 Corinna Vinschen <corinna@vinschen.de>
3755
3756 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
3757 Cygwin.
3758 * libc/include/sys/stat.h: Ditto.
3759 * libc/include/sys/unistd.h: Ditto.
3760 * libc/sys/cygwin/sys/dirent.h: Ditto.
3761
01d61543
CF
37622003-03-07 Christopher Faylor <cgf@redhat.com>
3763
3764 * libc/include/sys/unistd.h: Guard getopt.h call to force only
3765 declaration of getopt and avoid getopt_long declaration.
3766 * libc/sys/cygwin/include/unistd.h: Remove.
3767
5582abd2
CV
37682003-03-07 Corinna Vinschen <corinna@vinschen.de>
3769
3770 * configure.host: Define stdio64_dir for Cygwin.
3771 * libc/include/stdio.h: Change definition of fpos_t to fulfill
3772 Cygwin 64bit file access requirements.
3773 Drop definition of f*64() functions when compiled for Cygwin.
3774 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
3775 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
3776 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
3777
641da1eb
JJ
37782003-03-07 Jeff Johnston <jjohnstn@redhat.com>
3779
3780 * libc/include/sys/reent.h: Remove extraneous _sig_func
3781 declaration.
3782
37832003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
3784
3785 * libc/sys/h8300hms/Makefile.am: Add support for new files.
3786 * libc/sys/h8300hms/Makefile.in: Regenerated.
3787 * libc/sys/h8300hms/close.S: New file.
3788 * libc/sys/h8300hms/fstat.S: Ditto.
3789 * libc/sys/h8300hms/lseek.S: Ditto.
3790 * libc/sys/h8300hms/open.S: Ditto.
3791 * libc/sys/h8300hms/stat.S: Ditto.
3792 * libc/sys/h8300hms/read.S: New file to replace read.c.
3793 * libc/sys/h8300hms/read.c: Removed.
3794 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
3795 _lseek, _close, _stat, _fstat.
3796 * libc/sys/h8300hms/write.S: New file to replace write.c.
3797 * libc/sys/h8300hms/write.c: Removed.
3798
bac50d6b
NC
37992003-02-20 Nick Clifton <nickc@redhat.com>
3800
3801 * Add support for Cirrus Maverick ARM co-processor:
3802
3803 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
3804
3805 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
3806 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
3807
3808 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
3809
3810 * configure.host: set sys_dir, syscall_dir, and
3811 newlib_cflags for ep9312 host.
3812
3813 * configure.host: Restore alpha sorting of entries in case
3814 statements.
3815
12ee7037
JJ
38162003-02-19 Jeff Johnston <jjohnstn@redhat.com>
3817
3818 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
3819
1e810ba0
JJ
38202003-02-18 Christian Groessler <chris@groessler.org>
3821
3822 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
3823 support z8001 segmented mode.
3824
b1ca765e
JJ
38252003-02-18 Earnie Boyd <earnie@users.sf.net>
3826
3827 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
3828 with a NULL value.
3829
51a46b54
CF
38302003-02-10 Christopher Faylor <cgf@redhat.com>
3831
3832 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
3833 Don't define some types under cygwin.
3834
313f1349
JJ
38352003-02-07 Jeff Johnston <jjohnstn@redhat.com>
3836
3837 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
3838 option to allow disabling of syscalls being supplied in newlib.
3839 * aclocal.m4: Regenerated.
3840 * configure: Ditto.
3841 * configure.host: Add support of new configuration option and add
3842 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
3843 * doc/aclocal.m4: Regenerated.
3844 * doc/configure: Ditto.
3845 * libc/*aclocal.m4: Ditto.
3846 * libc/*configure: Ditto.
3847 * libm/*aclocal.m4: Ditto.
3848 * libm/*configure: Ditto.
3849 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
3850 is disabled.
3851 * libc/sys/arm/Makefile.in: Regenerated.
3852
5017a3da
JJ
38532003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
3854
3855 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
3856 -1 to be sure it cannot later match a valid file fd causing
3857 isatty() to return 1.
3858 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
3859 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
3860 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
3861
ad36f7d1
JJ
38622003-02-03 Jeff Johnston <jjohnstn@redhat.com>
3863
3864 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
3865 buffer based on the precision, after we have processed the input value
3866 in a local buffer and know its relative magnitude.
3867
a74181ee
JJ
38682003-01-31 Michael Snyder <msnyder@redhat.com>
3869
3870 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
3871 into registers r1 and r2, so that the simulator can distinguish
3872 this trap from a breakpoint trap. Copied from libgloss.
3873
b85498d4
JJ
38742003-01-31 Michael Snyder <msnyder@redhat.com>
3875
3876 * libc/sys/h8300hms/crt0.S (_start): Change local label
3877 from .loop to .Loop, so that ld and gdb will ignore it.
3878
4700b829
JJ
38792003-01-29 Jason Tishler <jason@tishler.net>
3880
3881 * libc/include/time.h: Declare nanosleep() under Cygwin.
3882
0127ae40
NC
38832003-01-24 Nick Clifton <nickc@redhat.com>
3884
3885 * Add sh2e support:
3886
3887 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
3888
3889 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
3890 * libc/machine/sh/setjmp.S: Likewise.
3891 * libc/include/machine/ieeefp.h: Likewise.
3892
8bbcd9a1
CV
38932003-01-24 Corinna Vinschen <corinna@vinschen.de>
3894
3895 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
3896 for Cygwin.
3897
b8838e6f
JJ
38982003-01-21 Anita Kulkarni <anitak@kpit.com>
3899
3900 * libc/time/difftime.c : Typecast the result to double.
3901
f9e41155
CF
39022003-01-20 Christopher Faylor <cgf@redhat.com>
3903
3904 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
3905
6b5a7988
NC
39062003-01-18 Nick Clifton <nickc@redhat.com>
3907
3908 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
3909 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
3910
c3e92877
JJ
39112003-01-16 Joel Sherrill <joel@OARcorp.com>
3912
3913 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
3914 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
3915 constants are defined in each file in the shared versions in
3916 libc/include.
3917 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
3918 autoconf can link programs.
3919 * libc/include/machine/types.h: Explicitly specify signed on
3920 intXX_t types to ensure they are signed.
3921
84510217
CF
39222003-01-14 Christopher Faylor <cgf@redhat.com>
3923
3924 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
3925 extensions.
3926
b3934ab3
RS
39272003-01-08 Richard Sandiford <rsandifo@redhat.com>
3928
3929 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
3930
be9c60e5
JJ
39312003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
3932
3933 * libc/stdio/sprintf.c: fix typo
3934 * libc/stdio/vfprintf.c: fix typo
3935
d4c3a750
JJ
39362003-01-07 Jeff Johnston <jjohnstn@redhat.com>
3937
3938 * configure.host: Support long double I/O for x86-linux.
3939 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
3940 large enough to hold formatted result.
3941 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
3942
b2294aaa
JJ
39432003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3944
3945 * Makefile.am: Add vasprintf.
3946 * Makefile.in: Regenerated.
3947
ea5e5daf
JJ
39482003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
3949
3950 * asprintf.c (_asprintf_r): insure both declarations
3951 are the same.
3952
5c581eca
CF
39532002-12-28 Christopher Faylor <cgf@redhat.com>
3954
3955 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
3956 than defining getopt directly.
3957
60b0838f
JJ
39582002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3959
3960 * NEWS: Update with 1.11.0 info.
3961 * README: Ditto.
3962 * acinclude.m4: Change version number to 1.11.0.
3963 * aclocal.m4: Regenerated.
3964 * configure: Ditto.
3965 * doc/aclocal.m4: Ditto.
3966 * doc/configure: Ditto.
3967 * libc/*/aclocal.m4: Ditto.
3968 * libc/*/configure: Ditto.
3969 * libc/libc.texinfo: Ditto.
3970 * libm/*/aclocal.m4: Ditto.
3971 * libm/*/configure: Ditto.
3972 * libm/libm.texinfo: Ditto.
3973 * libc/sys/linux/shared.ld: Add VERS_1.11.
3974
10501d57
JJ
39752002-12-20 Jeff Johnston <jjohnstn@redhat.com>
3976
3977 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
3978 Solutions to Red Hat Inc.
3979 * libc/machine/i386/f_atan2f.S: Ditto.
3980 * libc/machine/i386/f_exp.c: Ditto.
3981 * libc/machine/i386/f_expf.c: Ditto.
3982 * libc/machine/i386/f_frexp.S: Ditto.
3983 * libc/machine/i386/f_frexpf.S: Ditto.
3984 * libc/machine/i386/f_ldexp.S: Ditto.
3985 * libc/machine/i386/f_ldexpf.S: Ditto.
3986 * libc/machine/i386/f_log.S: Ditto.
3987 * libc/machine/i386/f_log10.S: Ditto.
3988 * libc/machine/i386/f_log10f.S: Ditto.
3989 * libc/machine/i386/f_logf.S: Ditto.
3990 * libc/machine/i386/f_pow.c: Ditto.
3991 * libc/machine/i386/f_powf.c: Ditto.
3992 * libc/machine/i386/f_tan.S: Ditto.
3993 * libc/machine/i386/f_tanf.S: Ditto.
3994 * libc/machine/i386/memchr.S: Ditto.
3995 * libc/machine/i386/memcmp.S: Ditto.
3996 * libc/machine/i386/memcpy.S: Ditto.
3997 * libc/machine/i386/memmove.S: Ditto.
3998 * libc/machine/i386/memset.S: Ditto.
3999 * libc/machine/i386/strchr.S: Ditto.
4000 * libc/machine/i386/strlen.S: Ditto.
4001 * libm/machine/i386/f_atan2.S: Ditto.
4002 * libm/machine/i386/f_atan2f.S: Ditto.
4003 * libm/machine/i386/f_exp.c: Ditto.
4004 * libm/machine/i386/f_expf.c: Ditto.
4005 * libm/machine/i386/f_frexp.S: Ditto.
4006 * libm/machine/i386/f_frexpf.S: Ditto.
4007 * libm/machine/i386/f_ldexp.S: Ditto.
4008 * libm/machine/i386/f_ldexpf.S: Ditto.
4009 * libm/machine/i386/f_log.S: Ditto.
4010 * libm/machine/i386/f_log10.S: Ditto.
4011 * libm/machine/i386/f_log10f.S: Ditto.
4012 * libm/machine/i386/f_logf.S: Ditto.
4013 * libm/machine/i386/f_pow.c: Ditto.
4014 * libm/machine/i386/f_powf.c: Ditto.
4015 * libm/machine/i386/f_tan.S: Ditto.
4016 * libm/machine/i386/f_tanf.S: Ditto.
4017
9b3f0d16
JJ
40182002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4019
4020 * libc/stdlib/environ.c: Update license to Red Hat.
4021 * libc/machine/hppa/setjmp.S: Ditto.
4022 * libm/test/Makefile.in: Ditto.
4023
d693ad84
JJ
40242002-12-19 Jeff Johnston <jjohnstn@redhat.com>
4025
4026 * configure.host: Remove references to go32.
4027 * libc/sys/go32/*: Removed.
4028
7da92d15
JJ
40292002-12-16 Kazu Hirata <kazu@cs.umass.edu>
4030
4031 * libc/include/sys/config.h: Change setting of INT_MAX
4032 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
4033 __H8300S__. Also consolidate flag settings for these
4034 platforms.
4035
ea01c7f5
JJ
40362002-12-10 Joel Sherrill <joel@OARcorp.com>
4037
4038 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
4039 for i386-rtems targets.
4040
c049dd5a
JJ
40412002-12-06 Jeff Johnston <jjohnstn@redhat.com>
4042
4043 * libc/include/stdlib.h (strtof): New prototype (from C99).
4044 (strtodf): Changed from prototype to macro which redefines
4045 to strtof.
4046 * libc/stdlib/atof.c: Change documentation to refer to strtof
4047 instead of strtodf.
4048 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
4049 strtodf.
4050 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
4051 (strtof): New function.
4052 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
4053 calls strtof.
4054
46a402e0
CF
40552002-11-27 Christopher Faylor <cgf@redhat.com>
4056
4057 * libc/string/memset.c (memset): Fix comment.
4058
b3cc01b0
CF
40592002-11-26 Christopher Faylor <cgf@redhat.com>
4060
4061 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
4062 function.
4063
d90f3dc1
CF
40642002-11-25 Christopher Faylor <cgf@redhat.com>
4065
4066 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
4067 variable, introduced below, everywhere.
4068
f24585c6
KH
40692002-11-25 Kazu Hirata <kazu@cs.umass.edu>
4070
4071 * libc/string/memset.c (memset): Make it safe even if
4072 sizeof (int) = 2.
4073
2955fd76
JJ
40742002-11-22 Joe Buehler <jbuehler@hekimian.com>
4075
4076 * configure.in: Change check for libc/include in ${CC} to
4077 use an intermediate value so as to work with different shells.
4078 * configure: Regenerated.
4079 * Makefile.in: Ditto.
4080
40ce7368
JJ
40812002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
4082
4083 * libc/sys/h8300hms/read.c: Add support for normal mode
4084 architecture.
4085
505746ad
JJ
40862002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
4087
4088 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
4089 code for __H8300H__ and __H8300S__. Also return 32-bit return code
4090 when -mint32 is used.
4091
28ecb2f5
NC
40922002-11-18 Nick Clifton <nickc@redhat.com>
4093
4094 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
4095
665b994e
JJ
40962002-11-14 Jeff Johnston <jjohnstn@redhat.com>
4097
4098 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
4099 only issue one pass/fail message for a compile/link/execute.
4100 * testsuite/newlib.elix/elix.exp: New file.
4101 * testsuite/newlib.elix/tmmap.c: Ditto.
4102
e91ec2e3
CF
41032002-11-06 Christopher Faylor <cgf@redhat.com>
4104
4105 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
4106 * libc/stdlib/mlock.c: Ditto.
4107 * libc/stdlib/msize.c: Ditto.
4108 * libc/stdlib/msize.c: Ditto.
4109 * libc/stdlib/mtrim.c: Ditto.
4110 * libc/stdlib/valloc.c: Ditto.
4111
944772c7
JJ
41122002-11-12 Jeff Johnston <jjohnstn@redhat.com>
4113
4114 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
4115 for inf/nan, make sure that the check ignores the sign bit.
4116
dd7ee147
JJ
41172002-11-07 Joel Sherrill <joel@OARcorp.com>
4118
4119 * libc/sys/rtems/machine: New directory.
4120 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
4121 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
4122 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
4123 targets more BSD like when installed without requiring files to
4124 be overwritten at install point when RTEMS itself is installed.
4125 * Makefile.am: Pick up system dependent machine .h files such as
4126 might be found on a BSD-ish system.
4127 * Makefile.in: Regenerate.
4128 * libc/include/machine/types.h: When on an RTEMS target, define a
4129 few BSD flavor types.
4130
41312002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
4132
4133 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
4134
18cd62b7
JJ
41352002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4136
4137 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
4138 * libc/include/wctype.h: Ditto.
4139
d2888812
JJ
41402002-11-04 Jeff Johnston <jjohnstn@redhat.com>
4141
4142 * libc/include/wchar.h: Add extern "C" specifier if C++.
4143 * libc/include/wctype.h: Ditto.
4144
978ea3cf
JJ
41452002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4146
4147 * testsuite/newlib.wctype/tiswctype.c: New test case.
4148 * testsuite/newlib.wctype/twctrans.c: Ditto.
4149
a42cf80a
JJ
41502002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4151
4152 * libc/sys/linux/machine/i386/include/endian.h: New file.
4153 * libc/sys/linux/machine/i386/include/param.h: Ditto.
4154
c9ccb1f2
JJ
41552002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4156
4157 * libm/machine/i386/aclocal.m4: Regenerated.
4158 * libm/machine/i386/configure: Ditto.
4159
94c5b430
JJ
41602002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4161
4162 * testsuite/include/check.h: New header file to use with
4163 test cases.
4164 * testsuite/lib/newlib.exp: Add testsuite/include directory
4165 to list of header files to use.
4166 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
4167 * testsuite/newlib.wctype/wctype.exp: New file.
4168
ccdae543
RS
41692002-10-11 Graham Stott <graham.stott@btinternet.com>
4170 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
4171
4172 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
4173 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
4174 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
4175
73972116
JS
41762002-10-07 Joel Sherrill <joel@OARcorp.com>
4177
4178 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
4179 dummy programs.
4180
89e3fcba
JS
41812002-10-07 Joel Sherrill <joel@OARcorp.com>
4182
4183 * libc/include/pthread.h: Define PTHREAD_CANCELED.
4184
54ec52e4
JS
41852002-10-07 Joel Sherrill <joel@OARcorp.com>
4186
4187 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
4188 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
4189 compile with current GNU tools.
4190
d389acba
JJ
41912002-10-07 Jeff Johnston <jjohnstn@redhat.com>
4192
4193 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
4194 the build library.
4195 * configure.in: Ditto.
4196 * Makefile.in: Regenerated.
4197 * configure: Ditto.
4198 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
4199 for specifying configured libraries/directories.
4200 * libc/sys/linux/configure.in: Ditto.
4201 * libc/sys/linux/Makefile.in: Regenerated.
4202 * libc/sys/linux/configure: Ditto.
4203
af5a221f
JJ
42042002-10-03 Jeff Johnston <jjohnstn@redhat.com>
4205
4206 * libc/include/reent.h: Update documentation at start of file.
4207
59a758bd
JW
42082002-09-27 Jim Wilson <wilson@redhat.com>
4209
4210 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
4211 the ctbp register.
4212
1ed3c86d
JJ
42132002-09-27 Jeff Johnston <jjohnstn@redhat.com>
4214
4215 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
4216 Also convert to EUCJP before using arrays. For values not in
4217 the conversion arrays, return WEOF.
4218 * libc/ctype/jp2uc.h: Change from one array to a number of
4219 arrays to account for the fact that the originating table
4220 is not contiguous for the input values since some are invalid.
4221
6e1dfd2d
JJ
42222002-09-24 Jeff Johnston <jjohnstn@redhat.com>
4223
4224 * libc/time/ctime.c: Fix prototype documentation.
4225
06f1353a
CV
42262002-09-24 Corinna Vinschen <corinna@vinschen.de>
4227
4228 * libc/include/sys/errno.h: Add EOVERFLOW.
4229
1e0e64c9
JJ
42302002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4231
4232 * libc/include/wctype.h: New file.
4233
1525d127
JJ
42342002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4235
4236 * libc/ctype/Makefile.am: Add new files.
4237 * libc/ctype/Makefile.in: Regenerated.
4238 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
4239 and wctrans functions to documentation index.
4240 * libc/ctype/iswalnum.c: New file.
4241 * libc/ctype/iswalpha.c: Ditto.
4242 * libc/ctype/iswblank.c: Ditto.
4243 * libc/ctype/iswcntrl.c: Ditto.
4244 * libc/ctype/iswctype.c: Ditto.
4245 * libc/ctype/iswdigit.c: Ditto.
4246 * libc/ctype/iswgraph.c: Ditto.
4247 * libc/ctype/iswlower.c: Ditto.
4248 * libc/ctype/iswprint.c: Ditto.
4249 * libc/ctype/iswpunct.c: Ditto.
4250 * libc/ctype/iswspace.c: Ditto.
4251 * libc/ctype/iswupper.c: Ditto.
4252 * libc/ctype/iswxdigit.c: Ditto.
4253 * libc/ctype/jp2uc.c: Ditto.
4254 * libc/ctype/jp2uc.h: Ditto.
4255 * libc/ctype/local.h: Ditto.
4256 * libc/ctype/towctrans.c: Ditto.
4257 * libc/ctype/towlower.c: Ditto.
4258 * libc/ctype/towupper.c: Ditto.
4259 * libc/ctype/utf8alpha.h: Ditto.
4260 * libc/ctype/utf8print.h: Ditto.
4261 * libc/ctype/utf8punct.h: Ditto.
4262 * libc/ctype/wctrans.c: Ditto.
4263 * libc/ctype/wctype.c: Ditto.
4264 * libc/locale/locale.c (__lc_ctype): New external array to
4265 replace static lc_ctype array.
4266 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
4267 rather than reentrancy structure's _current_locale field.
4268 * libc/stdlib/wctomb_r.c: Ditto.
4269
da25e61f
JJ
42702002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4271
4272 * configure.host: Minor comment and formatting changes.
4273 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
4274 * libc/Makefile.in: Regenerated.
4275 * libc/include/sys/config.h: Minor format change.
4276
5b9ee539
JJ
42772002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4278
4279 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
4280 statement comment.
4281
50558bf3
JJ
42822002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4283
4284 * libc/posix/opendir.c (opendir): Change code to check
4285 for HAVE_FCNTL before calling fcntl.
4286 * libc/search/hash.c (hash_open): Ditto.
4287 * libc/search/hash_page.c (open_tmp): Ditto.
4288 * libc/reent/Makefile.am: Add fcntlr.c.
4289 * libc/reent/Makefile.in: Regenerated.
4290 * libc/reent/fcntlr.c: New file.
4291 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
4292 instead of _fcntl when HAVE_FCNTL flag is set.
4293 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
4294 to see if _fcntl or _fcntl_r should be called. If flag is not
4295 set, default to ENOSYS stub.
4296
9211a1ad
JJ
42972002-09-16 Jeff Johnston <jjohnstn@redhat.com>
4298
4299 * libc/include/wchar.h (mbstate_t): Change protective flag to
4300 be _MBSTATE_T.
4301 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
4302 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
4303 for Cygwin.
4304 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
4305
a8615092
JJ
43062002-09-11 Jeff Johnston <jjohnstn@redhat.com>
4307
4308 * acinclude.m4 (enable-newlib-mb): Change check to
4309 default newlib_mb variable to empty string rather than "no".
4310 * configure.host: Remove hard-coding of -DMB_CAPABLE for
4311 x86-linux and Cygwin. Add code to check for newlib_mb
4312 being unset in which case set to "yes" for x86-linux and
4313 Cygwin. Change check for newlib_mb being "yes" to allow
4314 for an empty string.
4315 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
4316 * newlib.hin (_MB_LEN_MAX): New define to configure.
4317 * aclocal.m4: Regenerated.
4318 * configure: Ditto.
4319 * libc/include/limits.h: New file.
4320 * libc/sys/linux/include/limits.h: Ditto.
4321 * doc/aclocal.m4 doc/configure libc/aclocal.m4
4322 libc/configure libc/include/%redact libc/machine/aclocal.m4
4323 libc/machine/configure libc/machine/a29k/aclocal.m4
4324 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4325 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4326 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4327 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4328 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
4329 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
4330 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4331 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4332 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4333 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4334 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4335 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
4336 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
4337 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4338 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4339 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4340 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4341 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4342 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4343 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
4344 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4345 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
4346 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
4347 libc/machine/v850/configure libc/machine/w65/aclocal.m4
4348 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
4349 libc/machine/xscale/configure
4350 libc/machine/xstormy16/aclocal.m4
4351 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
4352 libc/machine/z8k/configure libc/sys/aclocal.m4
4353 libc/sys/configure libc/sys/a29khif/aclocal.m4
4354 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
4355 libc/sys/arc/configure libc/sys/arm/aclocal.m4
4356 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
4357 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
4358 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
4359 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
4360 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
4361 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
4362 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
4363 libc/sys/idt/configure libc/sys/linux/aclocal.m4
4364 libc/sys/linux/configure libc/sys/linux/include/%redact
4365 libc/sys/linux/machine/aclocal.m4
4366 libc/sys/linux/machine/configure
4367 libc/sys/linux/machine/i386/aclocal.m4
4368 libc/sys/linux/machine/i386/configure
4369 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4370 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
4371 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4372 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4373 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4374 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4375 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4376 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4377 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4378 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4379 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4380 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4381 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4382 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4383 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4384 libm/aclocal.m4 libm/configure: Regenerated.
4385
be83844e
JJ
43862002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4387
4388 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
4389 code that clears the .bss section.
4390
9c64d2a7
JJ
43912002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4392
4393 * libc/include/sys/_types.h (_mbstate_t): Changed to use
4394 unsigned char internally.
4395 * libc/sys/linux/sys/_types.h: Ditto.
4396 * libc/include/sys/reent.h
4397 * libc/stdlib/mblen.c (mblen): Use function-specific state
4398 value from default reentrancy structure.
4399 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
4400 _mbtowc_r is less than 0, reset state __count value and
4401 return -1.
4402 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
4403 is NULL, use the function-specific pointer provided in the
4404 default reentrancy structure.
4405 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
4406 If input state pointer is NULL, use function-specific area
4407 provided in reentrancy structure.
4408 * libc/stdlib/mbsrtowcs.c: Ditto.
4409 * libc/stdlib/wcrtomb.c: Ditto.
4410 * libc/stdlib/wcsrtombs.c: Ditto.
4411 * libc/stdlib/mbstowcs.c: Reformat.
4412 * libc/stdlib/wcstombs.c: Ditto.
4413 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
4414 reset the state's __count value and return -1.
4415 * libc/stdlib/mbtowc.c: Ditto.
4416 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
4417 If number of bytes is used up before completing a valid multibyte
4418 character, return -2 and save the state.
4419 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
4420 and change some __count references to __state for clarity.
4421
218b7a56
JJ
44222002-09-06 Jeff Johnston <jjohnstn@redhat.com>
4423
4424 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
4425 is defined by <limits.h>.
4426
c210a6ea
JJ
44272002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4428
4429 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
4430 defined.
4431
efa077ce
JJ
44322002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4433
4434 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
4435 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
4436 __WCHAR_MAX__ or 0x7fffffffu.
4437 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
4438 * libc/string/wcsncmp.c: Ditto.
4439
e4b0ebc1
JJ
44402002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4441
4442 * libc/string/wcschr.c: Add include of <stddef.h>.
4443 * libc/string/wcspbrk.c: Ditto.
4444 * libc/string/wcsrchr.c: Ditto.
4445 * libc/string/wcsstr.c: Ditto.
4446
3db40db7
JJ
44472002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4448
4449 * libc/include/sys/_types.h (_flock_t): Added.
4450 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
4451 (__lock_try_acquire_recursive): Ditto.
4452 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
4453 _lock field.
4454 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
4455 field.
4456 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
4457 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
4458 * libc/sys/linux/include/time.h (struct timespec): Moved from
4459 <sys/types.h> and added check for __need_timespec flag so type
4460 can be defined by itself.
4461 * libc/sys/linux/sys/_types.h (_flock_t): New type.
4462 * libc/sys/linux/sys/types.h (struct timespec): Moved to
4463 <time.h>.
4464
cd45f029
TF
44652002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4466
4467 * libc/sys/linux/argp: New directory.
4468 * libc/sys/linux/getopt.c: New file.
4469 * libc/sys/linux/getopt1.c: New file.
4470 * libc/sys/linux/getoptlong.c: Remove file.
4471 * libc/sys/linux/include/argp.h: New file.
4472 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
4473 based on ELIX level.
4474 (SUBDIRS): Add argp_dir.
4475 (SUBLIBS): Add ARGP_LIB.
4476 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
4477 getopt_long.$(oext).
4478 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
4479
3c689185
JJ
44802002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4481
4482 * libc/libc.texinfo: Add node reference to wide-character strings.
4483 * libc/string/wcstrings.tex: New file.
4484 * libc/string/strtok_r.c: Remove outdated advertising clause.
4485 * libc/string/Makefile.am (doc): Add wide-character string
4486 chapter to documentation.
4487 * libc/string/Makefile.in: Regenerated.
4488
890e7a1d
JJ
44892002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4490
4491 * libc/include/wchar.h: Define NULL. Define WEOF more general
4492 way. Declare functions in newlib manner.
4493 * libc/stdlib/Makefile.am: Delete wmem*.c
4494 * libc/stdlib/Makefile.in: Regenerated.
4495 * libc/stdlib/wmemchr.c: Delete.
4496 * libc/stdlib/wmemcmp.c: Ditto.
4497 * libc/stdlib/wmemcpy.c: Ditto.
4498 * libc/stdlib/wmemmove.c: Ditto.
4499 * libc/stdlib/wmemset.c: Ditto.
4500 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
4501 * libc/string/Makefile.in: Regenerated.
4502 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
4503 * libc/string/wcschr.c: Ditto.
4504 * libc/string/wcscmp.c: Ditto.
4505 * libc/string/wcscpy.c: Ditto.
4506 * libc/string/wcscspn.c: Ditto.
4507 * libc/string/wcslcat.c: Ditto.
4508 * libc/string/wcslcpy.c: Ditto.
4509 * libc/string/wcslen.c: Ditto.
4510 * libc/string/wcsncat.c: Ditto.
4511 * libc/string/wcsncmp.c: Ditto.
4512 * libc/string/wcsncpy.c: Ditto.
4513 * libc/string/wcspbrk.c: Ditto.
4514 * libc/string/wcsrchr.c: Ditto.
4515 * libc/string/wcsspn.c: Ditto.
4516 * libc/string/wcsstr.c: Ditto.
4517 * libc/string/wmemchr.c: Ditto.
4518 * libc/string/wmemcmp.c: Ditto.
4519 * libc/string/wmemcpy.c: Ditto.
4520 * libc/string/wmemmove.c: Ditto.
4521 * libc/string/wmemset.c: Ditto.
4522
86620e21
JJ
45232002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4524
4525 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
4526 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
4527 and is treated as if "C" was specified.
4528
f3741c27
JJ
45292002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4530
4531 * Makefile.am (install-data-local): Move install of build
4532 newlib.h after installing headers in libc/include so as to
4533 overwrite default newlib.h.
4534 * Makefile.in: Regenerated.
4535
48da61f5
JJ
45362002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4537
4538 * libc/include/newlib.h: New file for tools that use newlib
4539 headers but don't build newlib first (e.g. gcc).
4540
d82a94ac
JJ
45412002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4542
4543 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
4544 * libc/stdlib/wmemcmp.c: Ditto.
4545 * libc/stdlib/wmemcpy.c: Ditto.
4546 * libc/stdlib/wmemmove.c: Ditto.
4547 * libc/stdlib/wmemset.c: Ditto.
4548
7d08241b
JJ
45492002-08-27 Egor Duda <deo@logos-m.ru>
4550
4551 * libc/stdlib/wmemchr.c: New file.
4552 * libc/stdlib/wmemcmp.c: Ditto.
4553 * libc/stdlib/wmemcpy.c: Ditto.
4554 * libc/stdlib/wmemmove.c: Ditto.
4555 * libc/stdlib/wmemset.c: Ditto.
4556 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
4557 * configure.host: Default -DMB_CAPABLE for cygwin.
4558 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
4559 wmemmove() and wmemset(). Add include of <_ansi.h>.
4560 * libc/stdlib/Makefile.in: Regenerate.
4561
8da1639b
JJ
45622002-08-27 Jeff Johnston <jjohnstn@redhat.com>
4563
ff2bf852 4564 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
4565 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
4566 (install-data-local): Install newlib.h.
4567 * Makefile.in: Regenerated.
4568 * aclocal.m4: Ditto.
4569 * configure: Ditto.
4570 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
4571 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
4572 and _NEWLIB_VERSION to fill in newlib.h header file entries.
4573 In AC_OUTPUT statement, unset ac_file so multilib support does
4574 not use last ac_file temporary used in newlib.h configuration.
4575 * libc/include/_ansi.h: Include <newlib.h>.
4576 * newlib.hin: New template file for newlib.h.
4577 * stamp-h.in: New file.
4578
a4421c11
JJ
45792002-08-26 Wu Yongwei <adah@netstd.com>
4580
4581 * time.h (timezonevar): Change "#if" to "#ifdef".
4582
90b65e2d
JJ
45832002-08-26 Jeff Johnston <jjohnstn@redhat.com>
4584
4585 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
4586 * Makefile.in: Regenerated.
4587 * acinclude.m4: Add support for --enable-newlib-elix-level option.
4588 * aclocal.m4: Regenerated.
4589 * configure: Ditto.
4590 * configure.host: Add code to define _ELIX_LEVEL if
4591 --enable-newlib-elix-level option is used.
4592 * configure.in:
4593 * libc/aclocal.m4: Regenerated.
4594 * libc/configure: Ditto.
4595 * libc/argz/Makefile.am: Add EL/IX level checking.
4596 * libc/argz/Makefile.in: Regenerated.
4597 * libc/argz/dummy.c: New file.
4598 * libc/ctype/Makefile.am: Add EL/IX level checking.
4599 * libc/ctype/Makefile.in: Regenerated.
4600 * libc/locale/Makefile.am: Add EL/IX level checking.
4601 * libc/locale/Makefile.in: Regenerated.
4602 * libc/posix/Makefile.am: Add EL/IX level checking.
4603 * libc/posix/Makefile.in: Regenerated.
4604 * libc/posix/telldir.c: Add EL/IX level checking.
4605 * libc/reent/Makefile.am: Ditto.
4606 * libc/reent/fstat64r.c: Ditto.
4607 * libc/reent/lseek64r.c: Ditto.
4608 * libc/reent/open64r.c: Ditto.
4609 * libc/reent/Makefile.in: Regenerated.
4610 * libc/search/Makefile.am: Add EL/IX level checking.
4611 * libc/search/Makefile.in: Regenerated.
4612 * libc/stdio/Makefile.am: Add EL/IX level checking.
4613 * libc/stdio/Makefile.in: Regenerated.
4614 * libc/stdio64/Makefile.am: Add EL/IX level checking.
4615 * libc/stdio64/Makefile.in: Regenerated.
4616 * libc/stdio64/dummy.c: New file.
9b487837 4617 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
4618 after first include.
4619 * libc/stdio64/fopen64.c: Ditto.
4620 * libc/stdio64/freopen64.c: Ditto.
4621 * libc/stdio64/fseeko64.c: Ditto.
4622 * libc/stdio64/fsetpos64.c: Ditto.
4623 * libc/stdio64/ftello64.c: Ditto.
4624 * libc/stdio64/tmpfile64.c: Ditto.
4625 * libc/stdlib/Makefile.am: Add EL/IX level checking.
4626 * libc/stdlib/Makefile.in: Regenerated.
4627 * libc/stdlib/mstats.c: Add EL/IX level checking.
4628 * libc/string/Makefile.am: Ditto.
4629 * libc/string/Makefile.in: Regenerated.
4630 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
4631 * libc/sys/linux/Makefile.in: Regenerated.
4632 * libc/sys/linux/aclocal.m4: Ditto.
4633 * libc/sys/linux/configure: Ditto.
4634 * libc/sys/linux/aio.c: Add EL/IX level checking.
4635 * libc/sys/linux/ftok.c: Ditto.
4636 * libc/sys/linux/getdate.c: Ditto.
4637 * libc/sys/linux/ids.c: Ditto.
4638 * libc/sys/linux/inode.c: Ditto.
4639 * libc/sys/linux/io.c: Ditto.
4640 * libc/sys/linux/process.c: Ditto.
4641 * libc/sys/linux/resource.c: Ditto.
4642 * libc/sys/linux/sched.c: Ditto.
4643 * libc/sys/linux/sig.c: Ditto.
4644 * libc/sys/linux/termios.c: Ditto.
4645 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
4646 __libc___waitpid weak aliases.
4647 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
4648 that generate the code for a syscall, but do not create a
4649 weak alias.
4650 * libc/syscalls/Makefile.am: Add EL/IX level checking.
4651 * libc/syscalls/Makefile.in: Regenerated.
4652 * libc/time/tzset_r.c: Change to replace strdup with equivalent
4653 functionality.
4654 * libc/unix/Makefile.am: Add EL/IX level checking.
4655 * libc/unix/Makefile.in: Regenerated.
4656
2e2b268c
CF
46572002-08-26 Christopher Faylor <cgf@redhat.com>
4658
4659 * libc/include/malloc.h: On cygwin, define malloc _r functions as
4660 wrapper macros to standard malloc functions.
4661 * libc/include/stdlib.h: Ditto.
4662 * configure.host: Always define MALLOC_PROVIDED on cygwin.
4663
8d9112f2
TF
46642002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4665
4666 * libc/include/langinfo.h: New file.
4667 * libc/include/wchar.h: Likewise.
4668 * libc/include/sys/syslimits.h: Likewise.
4669 * libc/locale/fix_grouping.c: Likewise.
4670 * libc/locale/ldpart.c: Likewise.
4671 * libc/locale/ldpart.h: Likewise.
4672 * libc/locale/lmessages.c: Likewise.
4673 * libc/locale/lmessages.h: Likewise.
4674 * libc/locale/lmonetary.c: Likewise.
4675 * libc/locale/lmonetary.h: Likewise.
4676 * libc/locale/lnumeric.c: Likewise.
4677 * libc/locale/lnumeric.h: Likewise.
4678 * libc/locale/nl_langinfo.3: Likewise.
4679 * libc/locale/nl_langinfo.c: Likewise.
4680 * libc/locale/timelocal.c: Likewise.
4681 * libc/locale/timelocal.h: Likewise.
4682 * libc/stdlib/btowc.c: Likewise.
4683 * libc/stdlib/mbrlen.c: Likewise.
4684 * libc/stdlib/mbrtowc.c: Likewise.
4685 * libc/stdlib/mbsinit.c: Likewise.
4686 * libc/stdlib/mbsrtowcs.c: Likewise.
4687 * libc/stdlib/wcrtomb.c: Likewise.
4688 * libc/stdlib/wcsrtombs.c: Likewise.
4689 * libc/stdlib/wctob.c: Likewise.
4690 * libc/sys/linux/prof-freq.c: Likewise.
4691 * libc/sys/linux/profile.c: Likewise.
4692 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
4693 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
4694 * libc/include/stdlib.h: Change re-entrant functions to take
4695 mbstate_t pointers.
4696 * libc/include/sys/_types.h: Define _mbstate_t.
4697 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
4698 * libc/include/sys/errno.h (EILSEQ): New error code.
4699 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
4700 structure to use mbstate_t.
4701 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
4702 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
4703 * libc/machine/powerpc/vfscanf.c: Likewise.
4704 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
4705 * libc/stdio/vfprintf.c: Likewise.
4706 * libc/stdio/vfscanf.c: Likewise.
4707 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
4708 * libc/stdlib/mblen.c: Use mbstate_t.
4709 * libc/stdlib/mblen_r.c: Likewise.
4710 * libc/stdlib/mbstowcs.c: Likewise.
4711 * libc/stdlib/mbstowcs_r.c: Likewise.
4712 * libc/stdlib/mbtowc.c: Likewise.
4713 * libc/stdlib/mbtowc_r.c: Likewise.
4714 * libc/stdlib/wcstombs.c: Likewise.
4715 * libc/stdlib/wcstombs_r.c: Likewise.
4716 * libc/stdlib/wctomb_r.c: Likewise.
4717 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
4718 profile.c.
4719 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
4720 dl-procinfo.c.
4721 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
4722 * libc/sys/linux/sys/types.h (off_t): Define type.
4723 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
4724 to C-UTF-8.
4725 * testsuite/newlib.locale/UTF-8.exp: Likewise.
4726
fe47ea33
JJ
47272002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
4728
4729 * libc/stdlib/mallocr.c: #include windows.h on Win32.
4730 (AlignPage): Continue macro on next line.
4731
ada73509
JJ
47322002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4733
4734 * libc/sys/linux/include/pthread.h: New file.
4735
64b5e8f2
JJ
47362002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4737
4738 * libc/include/sys/types.h: Support __need_inttypes macro
4739 that only sets the __intxx and __uintxx types.
4740 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
4741 to get mprec.h.
4742 * libc/machine/powerpc/Makefile.in: Regenerated.
4743 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
4744 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
4745 redundant fixed-point conversion prototypes.
4746 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
4747 after setting __need_inttypes.
4748
a94b60ce
CF
47492002-08-18 Christopher Faylor <cgf@redhat.com>
4750
4751 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
4752
29e17a86
JJ
47532002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4754
4755 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
4756 _LONG_DOUBLE to double.
4757
936b520f
JJ
47582002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4759
4760 * configure.host: Add powerpc*-*-eabispe* configuration.
4761 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
4762 * libc/machine/powerpc/atosfix32.c: Ditto.
4763 * libc/machine/powerpc/atosfix64.c: Ditto.
4764 * libc/machine/powerpc/atoufix16.c: Ditto.
4765 * libc/machine/powerpc/atoufix32.c: Ditto.
4766 * libc/machine/powerpc/atoufix64.c: Ditto.
4767 * libc/machine/powerpc/fix64.h: Ditto.
4768 * libc/machine/powerpc/simdldtoa.c: Ditto.
4769 * libc/machine/powerpc/strtosfix16.c: Ditto.
4770 * libc/machine/powerpc/strtosfix32.c: Ditto.
4771 * libc/machine/powerpc/strtosfix64.c: Ditto.
4772 * libc/machine/powerpc/strtoufix16.c: Ditto.
4773 * libc/machine/powerpc/strtoufix32.c: Ditto.
4774 * libc/machine/powerpc/strtoufix64.c: Ditto.
4775 * libc/machine/powerpc/ufix64toa.c: Ditto.
4776 * libc/machine/powerpc/configure.in: Add check for
4777 powerpc*-eabispe and add fixed-point conversion functions.
4778 * libc/machine/powerpc/configure: Regenerated.
4779 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
4780 %r and %R format specifiers which handle fixed-point data.
4781 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
4782 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
4783 function prototypes.
4784
ad552766
JJ
47852002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4786
4787 * Makefile.am: Move cmath stuff into libc/sys/linux.
4788 * Makefile.in: Regenerated.
4789 * configure.host: Default -DMB_CAPABLE for x86-linux.
4790 * libc/include/reent.h: Define _sbrk to take signed int argument.
4791 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
4792 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
4793 make locale name checking more efficient. Also allow "C-ISO-8859-1"
4794 locale for LC_CTYPE and LC_MESSAGES.
4795 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
4796 * libc/sys/linux/brk.c: Change sbrk prototype.
4797 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
4798 include <sys/features.h>.
4799 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
4800 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
4801 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
4802 with a few local additions.
4803 * libc/sys/linux/sys/features.h: New file.
4804 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
4805 to take signed argument.
4806 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
4807 prototypes to take signed size argument.
4808
d3bd3632
TF
48092002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
4810
4811 * libc/sys/linux/cmath: New directory.
4812 * libc/sys/linux/include/cmathcalls.h: New file.
4813 * libc/sys/linux/include/complex.h: New file.
4814 * libc/sys/linux/machine/i386/huge_val.h: New file
4815 * libm/math/w_sincos.c: New file
4816 * libm/math/wf_sincos.c: New file
4817 * libm/mathfp/s_sincos.c: New file
4818 * libm/mathfp/sf_sincos.c: New file
4819 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
4820 * libc/include/math.h: Add sincos and sincosf declarations.
4821 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
4822 (SUBLIBS): Likewise.
4823 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
4824 * libm/math/Makefile.am (src): Add w_sincos.c.
4825 (fsrc): Add wf_sincos.c.
4826 * libm/mathfp/Makefile.am (src): Add s_sincos.c
4827 (fsrc): Add sf_sincos.c.
4828
b3a9676b
JJ
48292002-08-12 Jeff Johnston <jjohnstn@redhat.com>
4830
4831 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
4832 Declare as extern chars and use the address operator to
4833 properly use values set in linker script.
4834
659e7062
JJ
48352002-08-09 Jason Tishler <jason@tishler.net>
4836
4837 * libc/stdlib/mallocr.c: Include <limits.h>.
4838 (request2size): Change macro to do
4839 unsigned long comparisons and avoid signed overflow.
4840 (mALLOc): Add overflow check for the number of bytes to allocate.
4841 (rEALLOc): Ditto.
4842
037240a2
JJ
48432002-08-09 Jeff Johnston <jjohnstn@redhat.com>
4844
4845 * configure.host: Add check for --enable-newlib-io-pos-args
4846 and define WANT_IO_POS_ARGS flag if enabled. Define
4847 the flag by default for x86-linux configurations.
4848 * configure.in: Add support for --enable-newlib-io-pos-args.
4849 * libc/configure.in: Ditto.
4850 * configure: Regenerated.
4851 * libc/configure: Ditto.
4852 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
4853 vfprintf.c and vfiprintf.c.
4854 * libc/stdio/Makefile.in: Regenerated.
4855 * libc/stdio/vfprintf.c: Add positional argument support that
4856 is enabled by compiling with -DWANT_IO_POS_ARGS.
4857
172fda76
RS
48582002-08-07 Richard Sandiford <rsandifo@redhat.com>
4859
4860 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
4861 based on __mips_soft_float rather than __mips64.
4862 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
4863 of both 32-bit and 64-bit code.
4864
4866247e
CF
48652002-08-04 Christopher Faylor <cgf@redhat.com>
4866
4867 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
4868 arguments for popen to match similar functionality in fopen.
4869
b96332ce
CV
48702002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
4871
4872 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
4873
60d99bce
JJ
48742002-07-29 Jeff Johnston <jjohnstn@redhat.com>
4875
4876 * libc/sys/linux/Makefile.am: Add aio64.c.
4877 * libc/sys/linux/Makefile.in: Regenerated.
4878 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
4879 * libc/sys/linux/aio64.c: New file.
4880
80a21be0
JJ
48812002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4882
4883 * libc/include/sys/param.h (MAX, MIN): Added macros.
4884 * libc/sys/linux/Makefile.am: Add new files.
4885 * libc/sys/linux/Makefile.in: Regenerated.
4886 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4887 * libc/sys/linux/inode.c (fchdir): Added syscall.
4888 * libc/sys/linux/ftw.c: New file.
4889 * libc/sys/linux/ftw64.c: Ditto.
4890 * libc/sys/linux/getwd.c: Ditto.
4891 * libc/sys/linux/scandir64.c: Ditto.
4892 * libc/sys/linux/strverscmp.c: Ditto.
4893 * libc/sys/linux/versionsort.c: Ditto.
4894 * libc/sys/linux/versionsort64.c: Ditto.
4895
6b6425cb
JJ
48962002-07-26 Jeff Johnston <jjohnstn@redhat.com>
4897
4898 * libc/string/strings.tex: Fix typo for memccpy.
4899
dc8ac8e6
JJ
49002002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4901
4902 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
4903 * libc/sys/linux/sys/types.h (off64_t): Definition added.
4904
aa0ca6fd
JJ
49052002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4906
4907 * libc/sys/linux/Makefile.am: Add fclean.c.
4908 * libc/sys/linux/Makefile.in: Regenerated.
4909 * libc/sys/linux/fclean.c: New file.
4910
61921945
JJ
49112002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4912
4913 * libc/sys/linux/Makefile.am: Add confstr.c.
4914 * libc/sys/linux/Makefile.in: Regenerated.
4915 * libc/sys/linux/confstr.c: New file.
4916 * libc/sys/linux/confstr.h: Ditto.
4917 * libc/sys/linux/sys/unistd.h: Include <features.h> and
4918 <bits/environments.h>.
4919
3d966a92
JJ
49202002-07-25 Jeff Johnston <jjohnstn@redhat.com>
4921
4922 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
4923 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
4924 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
4925 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
4926 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
4927 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
4928
53b5bff7
JJ
49292002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4930
4931 * libc/sys/linux/Makefile.am: Add new files.
4932 * libc/sys/linux/Makefile.in: Regenerated.
4933 * libc/sys/linux/fstab.c: New file.
4934 * libc/sys/linux/fstatvfs.c: Ditto.
4935 * libc/sys/linux/fstatvfs64.c: Ditto.
4936 * libc/sys/linux/internal_statvfs.c: Ditto.
4937 * libc/sys/linux/mntent.c: Ditto.
4938 * libc/sys/linux/mntent_r.c: Ditto.
4939 * libc/sys/linux/statvfs.c: Ditto.
4940 * libc/sys/linux/statvfs64.c: Ditto.
4941 * libc/sys/linux/include/paths.h: Ditto.
4942 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
4943 with double-underscore weak-aliases.
4944 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
4945
9cef8ef5
JJ
49462002-07-24 Jeff Johnston <jjohnstn@redhat.com>
4947
4948 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
4949 to use _sig_func_ptr type casted constants.
4950 (_sig_func_ptr): Typedef moved to sys/signal.h.
4951 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
4952 For __rtems, use POSIX definition, otherwise default to ANSI.
4953 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
4954
a703e0f2
JJ
49552002-07-24 Stephane Carrez <stcarrez@nerim.fr>
4956
4957 * configure.host: Recognize m6811-elf and m6812-elf targets.
4958 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
4959 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
4960 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
4961 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
4962 according to __INT_MAX__.
4963 (_POINTER_INT): Define to short.
4964 * libc/machine/m68hc11/Makefile.am: New file.
4965 * libc/machine/m68hc11/Makefile.in: New file.
4966 * libc/machine/m68hc11/configure.in: New file.
4967 * libc/machine/m68hc11/configure: New file.
4968 * libc/machine/m68hc11/aclocal.m4: New file.
4969 * libc/machine/m68hc11/setjmp.S: New file.
4970
d254189b
JJ
49712002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4972
4973 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
4974 prototypes.
4975 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
4976 * libc/stdlib/Makefile.in: Regenerated.
4977 * libc/stdlib/strdup.c: Removed.
4978 * libc/stdlib/strdup_r.c: Removed.
4979 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
4980 mempcpy.c, strndup.c, and strndup_r.c.
4981 * libc/string/Makefile.in: Regenerated.
4982 * libc/string/memccpy.c: New file.
4983 * libc/string/mempcpy.c: Ditto.
4984 * libc/string/strndup.c: Ditto.
4985 * libc/string/strndup_r.c: Ditto.
4986 * libc/string/strdup.c: New file moved from stdlib.
4987 * libc/string/strdup_r.c: Ditto.
4988 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
4989
bc100655
JJ
49902002-07-23 Jeff Johnston <jjohnstn@redhat.com>
4991
4992 * libc/include/stdio.h: Move fcloseall prototype within
4993 #ifndef _REENT_ONLY section.
4994 * libc/sys/linux/Makefile.am: Add new files.
4995 * libc/sys/linux/Makefile.in: Regenerated.
4996 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
4997 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
4998 * libc/sys/linux/sys/types.h: Add ino64_t type.
4999 * libc/sys/linux/ctermid.c: New file.
5000 * libc/sys/linux/ttyname_r.c: Ditto.
5001 * libc/sys/linux/readdir64.c: Ditto.
5002
f5f27f07
JJ
50032002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5004
5005 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
5006 * libc/stdio/Makefile.am: Added fcloseall.c support.
5007 * libc/stdio/Makefile.in: Regenerated.
5008 * libc/stdio/fcloseall.c: New file.
5009 * libc/stdio64/Makefile.am: Remove missing .def references.
5010 * libc/stdio64/Makefile.in: Regenerated.
5011
d541ba3e
JJ
50122002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5013
5014 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
5015 * libc/machine/powerpc/times.c: New file.
5016 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
5017 * libc/machine/powerpc/Makefile.in: Regenerated.
5018
50192002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
5020
5021 * libc/machine/powerpc/time.c: New file.
5022 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
5023 time.c.
5024 * libc/machine/powerpc/Makefile.in: Regenerated.
5025
5e7d0a55
TF
50262002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5027
5028 * libc/libc.texinfo: Change copyright notices to Red Hat from
5029 Cygnus.
5030 * libm/libm.texinfo: Likewise.
5031 * README: Change docs URL to
5032 http://sources.redhat.com/newlib/docs.html.
5033
504628e7
JJ
50342002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5035
5036 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
5037 * libc/sys/linux/Makefile.in: Regenerated.
5038 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
5039 * libc/sys/linux/io.c: Add ftruncate syscall.
5040 * libc/sys/linux/fpathconf.c: New file.
5041 * libc/sys/linux/pathconf.c: Ditto.
5042 * libc/sys/linux/linux_fsinfo.h: Ditto.
5043 * libc/sys/linux/sys/unistd.h: Ditto.
5044
b155ad9f
JJ
50452002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5046
5047 * libc/stdio64/Makefile.am: Remove missing files.
5048 * libc/stdio64/Makefile.in: Regenerated.
5049
c119e0ab
JJ
50502002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5051
5052 * libc/include/sys/config.h[__i386__][__linux__]: Define
5053 _LARGE64FILE_SOURCE to 1.
5054 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
5055 * libc/sys/linux/Makefile.in: Regenerated.
5056 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
5057 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
5058 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
5059 of <linux/resource.h>.
5060 * libc/sys/linux/getrlimit64.c: New file.
5061 * libc/sys/linux/setrlimit64.c: Ditto.
5062
9b022d6d
TF
50632002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5064
5065 * libc/argz/argz_replace.c: Include buf_findstr.h.
5066 * libc/argz/buf_findstr.c: Likewise.
5067 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
5068 value to (char *).
5069 * libc/argz/envz_get.c: Likewise.
5070 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
5071 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
5072 * libc/stdlib/getsubopt.3: New file.
5073 * libc/stdlib/getsubopt.c: New file.
5074 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
5075 Change esp to ebp.
5076
dee51391
JJ
50772002-07-17 Jeff Johnston <jjohnstn@redhat.com>
5078
5079 * configure.host(stdio64_dir): New setting that is used to
5080 enable building of new stdio64 directory.
5081 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
5082 large files.
5083 (stmp-stdio64,stdio64.texi): New targets to optionally add in
5084 stdio64 info to info files.
5085 * libc/Makefile.in: Regenerated.
5086 * libc/configure: Ditto.
5087 * libc/configure.in: Add configuration variables that are set
5088 when stdio64 is selected as subdir in configure.host.
5089 * libc/libc.texinfo: Add optional menu item for Stdio64, based
5090 on whether STDIO64 flag is set or not.
5091 * libc/sys.tex: Add optional stdio64 syscalls based on whether
5092 STDIO64 flag is set or not.
5093 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
5094 _r sycall routines.
5095 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
5096 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
5097 (__SL64): New file flag indicating file is opened via fopen64.
5098 * libc/include/sys/_types.h(_off64_t): Added.
5099 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
5100 * libc/include/sys/reent.h(struct __sFILE64): New file structure
5101 for 64-bit offset large file support.
5102 (__FILE): New intermediate type either set to struct __sFILE64 or
5103 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
5104 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
5105 * libc/reent/Makefile.in: Regenerated.
5106 * libc/reent/fstat64r.c: New file.
5107 * libc/reent/lseek64r.c: Ditto.
5108 * libc/reent/open64r.c: Ditto.
5109 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
5110 based on whether STDIO64 flag is set.
5111 * libc/stdio/stdio.tex: Add blank line.
5112 * libc/stdio64/Makefile.am: New file.
5113 * libc/stdio64/Makefile.in: Ditto.
5114 * libc/stdio64/fgetpos64.c: Ditto.
5115 * libc/stdio64/fopen64.: Ditto.
5116 * libc/stdio64/freopen64.c: Ditto.
5117 * libc/stdio64/fseeko64.c: Ditto.
5118 * libc/stdio64/fsetpos64.c: Ditto.
5119 * libc/stdio64/ftello64.c: Ditto.
5120 * libc/stdio64/local64.h: Ditto.
5121 * libc/stdio64/stdio64.c: Ditto.
5122 * libc/stdio64/stdio64.tex: Ditto.
5123 * libc/stdio64/tmpfile64.c: Ditto.
5124 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
5125 open64.
5126
778876f6
JJ
51272002-07-16 Jeff Johnston <jjohnstn@redhat.com>
5128
5129 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
5130 if LIBC_EXTRA_LIB is present.
5131 * libc/Makefile.in: Regenerated.
5132 * libc/libc.texinfo: Add blank line.
5133 * libc/argz/Makefile.am: Add doc support.
5134 * libc/search/Makefile.am: Ditto.
5135 * libc/argz/Makefile.in: Regenerated.
5136 * libc/search/Makefile.in: Ditto.
5137 * libc/misc/misc.tex: Add ffs function.
5138 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
5139
37981145
JJ
51402002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5141
5142 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
5143 definition that was removed in error.
5144
38b5dc59
JJ
51452002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5146
5147 * libc/include/machine/ieeefp.h: Change to only define
5148 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
5149 __IEEE_LITTLE_ENDIAN must be defined for each platform).
5150 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
5151 remove redundant floating point definitions.
5152
8cb61a96
JJ
51532002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5154
5155 * libc/sys/linux/callocr.c: Fix so code references
5156 calloc.
5157
edba3282
JJ
51582002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5159
5160 * libc/sys/linux/Makefile.am: Add new files.
5161 * libc/sys/linux/Makefile.in: Regenerated.
5162 * libc/sys/linux/bp-sym.h: Moved to include directory.
5163 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
5164 * libc/sys/linux/inode.c: Set _LIBC to 1.
5165 * libc/sys/linux/mq_close.c: Ditto.
5166 * libc/sys/linux/mq_getattr.c: Ditto.
5167 * libc/sys/linux/mq_open.c: Ditto.
5168 * libc/sys/linux/mq_receive.c: Ditto.
5169 * libc/sys/linux/mq_send.c: Ditto.
5170 * libc/sys/linux/mq_setattr.c: Ditto.
5171 * libc/sys/linux/mq_unlink.c: Ditto.
5172 * libc/sys/linux/calloc.c: New file.
5173 * libc/sys/linux/callocr.c: Ditto.
5174 * libc/sys/linux/cfreer.c: Ditto.
5175 * libc/sys/linux/config.h: Ditto.
5176 * libc/sys/linux/free.c: Ditto.
5177 * libc/sys/linux/freer.c: Ditto.
5178 * libc/sys/linux/msize.c: Ditto.
5179 * libc/sys/linux/msizer.c: Ditto.
5180 * libc/sys/linux/mstats.c: Ditto.
5181 * libc/sys/linux/mtrim.c: Ditto.
5182 * libc/sys/linux/mtrimr.c: Ditto.
5183 * libc/sys/linux/pvallocr.c: Ditto.
5184 * libc/sys/linux/realloc.c: Ditto.
5185 * libc/sys/linux/reallocr.c: Ditto.
5186 * libc/sys/linux/thread-m.h: Ditto.
5187 * libc/sys/linux/vallocr.c: Ditto.
5188 * libc/sys/linux/bp-checks.h: Ditto.
5189 * libc/sys/linux/libc-symbols.h: Ditto.
5190 * libc/sys/linux/libc-tsd.h: Ditto.
5191 * libc/sys/linux/libintl.h: Ditto.
5192 * libc/sys/linux/malign.c: Ditto.
5193 * libc/sys/linux/malignr.c: Ditto.
5194 * libc/sys/linux/mallinfor.c: Ditto.
5195 * libc/sys/linux/malloc.c: Ditto.
5196 * libc/sys/linux/mallocr.c: Ditto.
5197 * libc/sys/linux/malloptr.c: Ditto.
5198 * libc/sys/linux/mallstatsr.c: Ditto.
5199 * libc/sys/linux/mcheck.c: Ditto.
5200 * libc/sys/linux/mhooks.h: Ditto.
5201 * libc/sys/linux/include/bp-sym.h: Ditto.
5202 * libc/sys/linux/include/malloc.h: Ditto.
5203 * libc/sys/linux/include/mcheck.h: Ditto.
5204 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
5205 getpagesize.c.
5206 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
5207 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
5208 * libc/sys/linux/machine/i386/getpagesize.c: New file.
5209 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
5210 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5211 * libc/sys/linux/machine/i386/sysdep.h: New file.
5212 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
5213 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
5214 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
5215
ea20b60a
JJ
52162002-07-12 Jeff Johnston <jjohnstn@redhat.com>
5217
5218 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
5219 instead of <asm/siginfo.h>.
5220 * libc/sys/linux/sys/signal.h: Change to include various linux
5221 <bits/xxx.h> header files, rather than <linux/signal.h> so as
5222 to work with multiple releases of glibc header files.
5223
2fc82912
JJ
52242002-07-11 Chris Demetriou <cgd@broadcom.com>
5225
5226 * testsuite/newlib.search/hsearchtest.c: New file to test
5227 newlib/libc/search.
5228 * testsuite/newlib.search/hsearchtest.exp: Likewise.
5229
4a404e97 52302002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
5231
5232 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
5233 a terminal.
5234 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
5235
6aec558e
JJ
52362002-07-08 Jeff Johnston <jjohnstn@redhat.com>
5237
5238 * libc/include/math.h (MAXFLOAT): Added.
5239
e47e6f0e 5240Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
5241
5242 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
5243 Make strcmp.S unconditional.
5244 * libc/machine/sh/Makefile.in: Regenerate.
5245 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
5246 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
5247 for SHcompact.
5248
89ffbd66
JJ
52492002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5250
5251 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
5252 define before including <sys/lock.h>.
5253
ae6c4c84
JJ
52542002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5255
5256 * libc/include/utime.h: Add include of <_ansi.h>.
5257 * libc/sys/linux/Makefile.am: Add utimes.c.
5258 * libc/sys/linux/Makefile.in: Regenerated.
5259 * libc/sys/linux/inode.c(__umask): New static routine.
5260 (umask): Written to use __umask and attempt to thread lock.
5261 (getumask): New function written to use __umask and thread lock.
5262 * libc/sys/linux/utimes.c: New file.
5263 * libc/sys/linux/sys/time.h: Fix utimes prototype.
5264 * libc/sys/linux/sys/utime.h: New file.
5265
a6cac46c
TF
52662002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
5267
5268 * libtool.m4: New file.
5269 * libc/sys/linux/process.c: Implement vfork in terms of fork,
5270 rather than as a syscall.
5271
30b2092f
JJ
52722002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5273
5274 * libc/include/stdio.h: Add new prototypes.
5275 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
5276 * libc/stdio/Makefile.in: Regenerated.
5277 * libc/stdio/fseek.c: Add fseeko documentation.
5278 * libc/stdio/ftell.c: Add ftello documentation.
5279 * libc/stdio/fseeko.c: New file.
5280 * libc/stdio/ftello.c: New file.
5281
7501704d
JJ
52822002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5283
5284 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
5285 * libc/stdio/Makefile.in: Regenerated.
5286 * libc/stdio/asprintf.c: New file.
5287 * libc/stdio/vasprintf.c: Ditto.
5288 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
5289 the buffer for asprintf support.
5290 * libc/stdio/sprintf.c: Add asprintf documentation.
5291 * libc/stdio/vfprintf.c: Add vasprintf documentation.
5292 * libc/include/stdio.h: Add new prototypes.
5293
66eee32b
TF
52942002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
5295
5296 * libc/search/hcreate.c: Remove advertising clause from license.
5297 * libc/search/hcreate_r.c: Likewise.
5298
cec4a9f8
JJ
52992002-07-02 Chris Demetriou <cgd@broadcom.com>
5300
5301 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
5302 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
5303 Check that one of them is defined and error out if not.
5304 Add any platforms defined in <machine/ieeefp.h> that are missing.
5305 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
5306 (DB_LITTLE_ENDIAN): New defines.
5307 * libc/search/hash.c: Replace all incorrect checks for
5308 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
5309 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
5310 * libc/search/hash_page.c: Likewise.
5311
2d5eb17e
TF
53122002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5313
5314 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
5315
c1a3171f
JJ
53162002-06-27 Benjamin Kosnik <bkoz@redhat.com>
5317
5318 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
5319 * libc/include/time.h: Same.
5320 * libc/include/string.h: Same.
5321 * libc/include/stdlib.h: Same.
5322 * libc/include/signal.h: Same.
5323 * libc/include/setjmp.h: Same.
5324 * libc/include/math.h: Same.
5325 * libc/include/locale.h: Same.
5326 * libc/include/ctype.h: Same.
5327 * libc/include/machine/setjmp.h: Same.
5328 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
5329 (_END_STD_C): Add.
5330
533b4e66
JJ
53312002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5332
5333 * libc/include/sys/_types.h: Define _ssize_t as int if int is
5334 32-bits, otherwise define it as long.
5335 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
5336 and define ssize_t as _ssize_t.
5337 * libc/reent/readr.c: Change return type to _ssize_t.
5338 * libc/reent/writer.c: Ditto.
5339 * libc/sys/linux/Makefile.am: Add aio.c.
5340 * libc/sys/linux/Makefile.in: Regenerated.
5341 * libc/sys/linux/aio.c: New file.
5342 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
5343 * libm/common/fdlibm.h: Undef __P before defining it.
5344
c36e6dd7
TF
53452002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5346
54be629f
TF
5347 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
5348 exponent_is_even_int variable. Handle case where x is
5349 negative, and y is an odd integer.
5350 * libm/mathfp/sf_pow.c (powf): Likewise.
5351
c36e6dd7
TF
5352 * libm/mathfp/er_lgamma.c: Remove __kernel references.
5353 * libm/mathfp/erf_lgamma.c: Likewise.
5354 * libm/mathfp/s_tgamma.c: Likewise.
5355 * libm/mathfp/sf_tgamma.c: Likewise.
5356
baf051ca
JJ
53572002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5358
5359 * libc/sys/linux/Makefile.am: Add new clock routines.
5360 * libc/sys/linux/Makefile.in: Regenerated.
5361 * libc/sys/linux/clock_getres.c: New file.
5362 * libc/sys/linux/clock_gettime.c: Ditto.
5363 * libc/sys/linux/clock_settime.c: Ditto.
5364 * libc/sys/linux/hp-timing.h: Ditto.
5365 * libc/sys/linux/libc-internal.h: Ditto.
5366 * libc/sys/linux/sysconf.c: Fix typo.
5367 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
5368 * libc/sys/linux/machine/hp-timing.h: New file.
5369 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
5370 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5371 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
5372 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
5373 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
5374 * libc/sys/linux/sys/linux_time.h: New file.
5375 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
5376 replace with <sys/linux_time.h>.
5377
0431ed4e
JR
5378Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
5379
5380 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
5381
fc067ba5
JJ
53822002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5383
5384 * libc/sys/linux/Makefile.am: Consolidate additional items under
5385 ADD_OBJS.
5386 * libc/sys/linux/Makefile.in: Regenerated.
5387
ffddf61e
JJ
53882002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5389
5390 * libc/sys/linux/sethostname.c: New file.
5391 * libc/sys/linux/Makefile.am: Add sethostname.c support.
5392 * libc/sys/linux/Makefile.in: Regenerated.
5393
d5487d3f
TF
53942002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5395
5396 * libc/search/db_local.h: New file.
5397 * libc/include/db.h: Remove.
5398 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
5399 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
5400 "db_local.h".
5401 * libc/search/hash_bigkey.c: Likewise.
5402 * libc/search/hash_buf.c: Likewise.
5403 * libc/search/hash_func.c: Likewise.
5404 * libc/search/hash_log2.c: Likewise.
5405 * libc/search/hash_page.c: Likewise.
5406
54072002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 5408
1e7ca711 5409 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
5410 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
5411 * libc/machine/sh/Makefile.am: Regenerate.
5412
59c6d6c4
JJ
54132002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5414
5415 * libc/sys/linux/gethostname.c: Change name to __gethostname and
5416 add gethostname alias.
5417
a70486d7
JJ
54182002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5419
5420 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 5421 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 5422 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 5423 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
5424 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
5425 * libm/common/fdlibm.h: Ditto.
5426
3118725a
TF
54272002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5428
5429 * libc/include/ndbm.h: Remove.
5430 * libc/search/ndbm.c: Remove.
5431
30a06168
TF
54322002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
5433
5434 * libc/stdio/fseek.c (fseek): Fix braces.
5435
01f5155e
CV
54362002-06-21 Corinna Vinschen <corinna@vinschen.de>
5437
5438 * libc/time/strftime.c (strftime): Add %e format specifier.
5439
930bc96b
TF
54402002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5441
5442 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
5443 previously defined.
5444
55105f86
JJ
54452002-06-21 Richard Earnshaw (rearnsha@arm.com)
5446
5447 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
5448 (BYTE_ORDER): Define as appropriate for the target.
5449
2e78444a
JJ
54502002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5451
5452 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
5453 to _ssize_t.
5454 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
5455
d427d092
JJ
54562002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5457
5458 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
5459 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
5460 [HAVE_GETDATE](getdate_err): New error code.
5461 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
5462 * libc/stdio/Makefile.in: Regenerated.
5463 * libc/stdio/getdelim.c: New file.
5464 * libc/stdio/getline.c: Ditto.
5465 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
5466 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
5467 * libc/sys/linux/Makefile.in: Regenerated.
5468 * libc/sys/linux/getdate.c: New file.
5469 * libc/sys/linux/getdate_err.c: Ditto.
5470 * libc/sys/linux/ntp_gettime.c: Ditto.
5471 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
5472 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
5473
35728d4f
JJ
54742002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5475
5476 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
5477 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
5478 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
5479 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
5480 * libc/include/sys/param.h: Remove i386 case which is handled
5481 by default case.
5482 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
5483 definitions in case they are already defined.
5484 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
5485 _IEEE_LITTLE_ENDIAN flags.
5486 * libc/include/sys/reent.h: Change __uint32_t references to
5487 use _ULong instead.
5488 (_REENT_GETDATE_REENT_P): New macro.
5489 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
5490 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
5491 * libc/search/hash.h: Add default setting of BYTE_ORDER,
5492 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
5493 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
5494 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
5495 pid_t, off_t, loff_t, caddr_t, and daddr_t type
5496 definitions which are done by subsequent glibc headers.
5497 Add macro definitions to prevent subsequent header files from
5498 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
5499 intptr_t to after glibc definitions of types they are based on.
5500
4a2bfab7
JJ
55012002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5502
5503 * libc/include/errno.h: Protect from multiple inclusion.
5504
f42d18ea
NC
55052002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
5506
5507 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
5508
a7b23a8f
TF
55092002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
5510
5511 * Makefile.am (LIB_OBJECTLISTS): Add
5512 libc/search/objectlist.awk.in.
5513 * libc/Makefile.am (SUBDIRS): Add search.
5514 (SUBLIBS): Add search/libsearch.la.
5515 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
5516 * libc/search: New directory.
5517 * libc/search/Makefile.am: New file.
5518 * libc/search/extern.h: New file.
5519 * libc/search/hash.c: New file.
5520 * libc/search/hash.h: New file.
5521 * libc/search/hash_bigkey.c: New file.
5522 * libc/search/hash_buf.c: New file.
5523 * libc/search/hash_func.c: New file.
5524 * libc/search/hash_log2.c: New file.
5525 * libc/search/hash_page.c: New file.
5526 * libc/search/hcreate.3: New file.
5527 * libc/search/hcreate.c: New file.
a7b23a8f
TF
5528 * libc/search/hcreate_r.c: New file.
5529 * libc/search/ndbm.c: New file.
5530 * libc/search/page.h: New file.
5531 * libc/search/tdelete.c: New file.
5532 * libc/search/tdestroy.c: New file.
5533 * libc/search/tfind.c: New file.
5534 * libc/search/tsearch.3: New file.
5535 * libc/search/tsearch.c: New file.
5536 * libc/search/twalk.c: New file.
5537 * libc/include/db.h: New file.
5538 * libc/include/ndbm.h: New file.
5539 * libc/include/search.h: New file.
5540 * libc/include/sys/queue.h: New file.
5541 * libc/include/sys/cdefs.h: New file.
5542 * libc/include/sys/param.h
5543 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
5544 LITTLE_ENDIAN or BIG_ENDIAN.
5545 * libc/include/sys/errno.h (EFTYPE): New macro.
5546 * libc/search/bsearch.c: Move from libc/stdlib.
5547 * libc/search/qsort.c: Likewise.
5548 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
5549 qsort.c.
5550 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
5551 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
5552
ef467338
JJ
55532002-06-19 Jeff Johnston <jjohnstn@redhat.com>
5554
5555 * libc/sys/linux/Makefile.am: Add support for message queue routines,
5556 ipc routines, and ftok.
5557 * libc/sys/linux/Makefile.in: Regenerated.
5558 * libc/sys/linux/ftok.c: New file.
5559 * libc/sys/linux/ipc.c: Ditto.
5560 * libc/sys/linux/mq_close.c: Ditto.
5561 * libc/sys/linux/mq_getattr.c: Ditto.
5562 * libc/sys/linux/mq_notify.c: Ditto.
5563 * libc/sys/linux/mq_open.c: Ditto.
5564 * libc/sys/linux/mq_receive.c: Ditto.
5565 * libc/sys/linux/mq_send.c: Ditto.
5566 * libc/sys/linux/mq_setattr.c: Ditto.
5567 * libc/sys/linux/mq_unlink.c: Ditto.
5568 * libc/sys/linux/mqlocal.h: Ditto.
5569 * libc/sys/linux/include/mqueue.h: Ditto.
5570 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
5571 __uid_t_defined.
5572
7f55c08c
TF
55732002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5574
5575 * libm/common/sf_lround.c (round): Change name to: (lround).
5576 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
5577 remquof.
5578
c9ca68d7
TF
55792002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5580
5581 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
5582 procedure.
5583 (newlib_pass_fail): Change to compile and run only one file.
5584 * testsuite/newlib.locale/locale.exp: Use new
5585 newlib_pass_fail_all procedure.
5586 * testsuite/newlib.string/string.exp: Likewise.
5587
4ecedd09
DB
55882002-06-18 Dave Brolley <brolley@redhat.com>
5589
5590 From Catherine Moore, Michael Meissner, Richard Sandiford:
5591 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
5592 (_JBTYPE): Ditto.
5593 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
5594 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
5595 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
5596 * configure.host: Support frv-*-*.
5597 * libc/machine/frv/Makefile.am: New file.
5598 * libc/machine/frv/configure.in: New file.
5599 * libc/machine/frv/setjmp.S: New file.
5600
af1c257a
TF
56012002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5602
5603 * libc/include/ctype.h: Remove isblank macro.
5604
5605 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
5606 * libc/ctype/isblank.c: New file.
5607 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
5608 declaration. Add isblank macro.
5609
4e04fa90
JJ
56102002-06-18 Jeff Johnston <jjohnstn@redhat.com>
5611
5612 * testsuite/newlib.stdlib/atexit.c: New file.
5613 * testsuite/newlib.stdlib/atexit.exp: Ditto.
5614 * testsuite/newlib.string/tstring.c: Change default start size
5615 to something more reasonable for embedded platforms.
5616
b56d7e79
TF
56172002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5618
ece3c72f
TF
5619 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
5620
b56d7e79
TF
5621 * libc/argz: New directory.
5622 * libc/argz/*: New files.
5623 * libc/argz/argz_add.c: New file.
5624 * libc/argz/argz_add_sep.c: New file.
5625 * libc/argz/argz_append.c: New file.
5626 * libc/argz/argz_count.c: New file.
5627 * libc/argz/argz_create.c: New file.
5628 * libc/argz/argz_create_sep.c: New file.
5629 * libc/argz/argz_delete.c: New file.
5630 * libc/argz/argz_extract.c: New file.
5631 * libc/argz/argz_insert.c: New file.
5632 * libc/argz/argz_next.c: New file.
5633 * libc/argz/argz_replace.c: New file.
5634 * libc/argz/argz_stringify.c: New file.
5635 * libc/argz/buf_findstr.c: New file.
5636 * libc/argz/envz_add.c: New file.
5637 * libc/argz/envz_entry.c: New file.
5638 * libc/argz/envz_get.c: New file.
5639 * libc/argz/envz_merge.c: New file.
5640 * libc/argz/envz_remove.c: New file.
5641 * libc/argz/envz_strip.c: New file.
5642 * libc/include/argz.h: New file.
5643 * libc/include/envz.h: New file.
5644 * Makefile.am (LIBC_OBJECTLISTS): Add
5645 libc/argz/objectlist.awk.in.
5646 * libc/Makefile.am (SUBDIRS): Add argz.
5647 (SUBLIBS): Add argz/libargz.la.
5648 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
5649 * libc/include/errno.h: Add error_t typedef.
5650
d062d3dd
JJ
56512002-06-13 Jeff Johnston <jjohnstn@redhat.com>
5652
5653 * libc/include/stdlib.h: Add _Exit prototype.
5654 * libc/stdlib/Makefile.am: Add _Exit.c support.
5655 * libc/stdlib/Makefile.in: Ditto.
5656 * libc/stdlib/_Exit.c: New file.
5657
a47e66ae
JJ
56582002-06-13 Stephen L. Moshier <steve@moshier.net>
5659
5660 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
5661 x is close to -1.0 and y is very large to use ax (absolute value)
5662 instead of x.
5663 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
5664
13f7d71f
JR
5665Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
5666
5667 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
5668 Fix clobbering bytes before destination if src and dst have same
5669 non-zero misalignment.
1f1fb421
JR
5670
5671 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5672 Fixed bug in writing end of set region.
5673
b2e8018f
CF
56742002-06-10 Christopher Faylor <cgf@redhat.com>
5675
5676 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
5677 spawnve declaration.
5678
0953fe64
TF
56792002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5680
5681 * libm/common/s_fdim.c: New file.
5682 * libm/common/s_fma.c: Likewise.
5683 * libm/common/s_fmax.c: Likewise.
5684 * libm/common/s_fmin.c: Likewise.
5685 * libm/common/s_fpclassify.c: Likewise.
5686 * libm/common/s_lrint.c: Likewise.
5687 * libm/common/s_lround.c: Likewise.
5688 * libm/common/s_nearbyint.c: Likewise.
5689 * libm/common/s_remquo.c: Likewise.
5690 * libm/common/s_round.c: Likewise.
5691 * libm/common/s_scalbln.c: Likewise.
5692 * libm/common/s_signbit.c: Likewise.
5693 * libm/common/s_trunc.c: Likewise.
5694 * libm/common/sf_fdim.c: Likewise.
5695 * libm/common/sf_fma.c: Likewise.
5696 * libm/common/sf_fmax.c: Likewise.
5697 * libm/common/sf_fmin.c: Likewise.
5698 * libm/common/sf_lrint.c: Likewise.
5699 * libm/common/sf_lround.c: Likewise.
5700 * libm/common/sf_nearbyint.c: Likewise.
5701 * libm/common/sf_remquo.c: Likewise.
5702 * libm/common/sf_round.c: Likewise.
5703 * libm/common/sf_scalbln.c: Likewise.
5704 * libm/common/sf_trunc.c: Likewise.
5705 * libm/math/w_exp2.c: Likewise.
5706 * libm/math/w_tgamma.c: Likewise.
5707 * libm/math/wf_exp2.c: Likewise.
5708 * libm/math/wf_tgamma.c: Likewise.
5709 * libm/mathfp/s_exp2.c: Likewise.
5710 * libm/mathfp/s_tgamma.c: Likewise.
5711 * libm/mathfp/sf_exp2.c: Likewise.
5712 * libm/mathfp/sf_tgamma.c: Likewise.
5713 * libm/math/er_gamma.c: Fix return value.
5714 * libm/math/erf_gamma.c: Likewise.
5715 * libm/mathfp/er_gamma.c: Likewise.
5716 * libm/mathfp/erf_gamma.c: Likewise.
5717 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
5718 declarations and macros.
5719 Regenerated all Makefile.in, aclocal.m4 and configure files to
5720 use new libtool macros in top-level libtool.m4
5721
39e65e01
JJ
57222002-06-05 Jeff Johnston <jjohnstn@redhat.com>
5723
5724 * libc/include/string.h[__linux__]: Add strsignal prototype.
5725 * libc/include/sys/lock.h: New file with default locking support.
5726 * libc/include/sys/reent.h: Add signal buffer support for strsignal
5727 and psignal.
5728 * libc/posix/Makefile.am: Add support for readdir_r.c.
5729 * libc/posix/Makefile.in: Regenerated.
5730 * libc/posix/closedir.c: Add locking support and hash table cleanup.
5731 * libc/posix/opendir.c: Add lock support.
5732 * libc/posix/readdir.c: Ditto.
5733 * libc/posix/rewinddir.c: Ditto.
5734 * libc/posix/scandir.c: Ditto.
5735 * libc/posix/seekdir.c: Ditto.
5736 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
5737 clean up leftover hash table entries.
5738 * libc/posix/readdir_r.c: New file.
5739 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
5740 * libc/sys/linux/Makefile.in: Regenerated.
5741 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
5742 * libc/sys/linux/sys/signal.h: Add psignal prototype.
5743 * libc/sys/linux/psignal.c: New file.
5744 * libc/sys/linux/strsignal.c: Ditto.
5745
cc890e89
CV
57462002-06-03 Corinna Vinschen <corinna@vinschen.de>
5747
5748 * libc/include/sys/types.h: Don't define dev_t when compiling for
5749 Cygwin.
5750
ea55e3f7
JJ
57512002-05-31 Jeff Johnston <jjohnstn@redhat.com>
5752
5753 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
5754 make siglist.inc dependent on sig.c instead of signal.c.
5755 * libc/sys/linux/Makefile.in: Regenerated.
5756 * libc/sys/linux/sig.c: Rename from signal.c and change code to
5757 use NSIG instead of _NSIG.
5758 * libc/sys/linux/sigaction.c: New file.
5759 * libc/sys/linux/signal.c: Changed to be linux signal() function
5760 so as to override regular newlib default signal.c.
ea55e3f7
JJ
5761 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
5762 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5763 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
5764 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
5765 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
5766 default linux sigset_t typedef by defining it equal to __sigset_t.
5767 * libc/unix/sigset.c: Add check so code isn't compiled on systems
5768 with a sigset_t that isn't implemented with a single int.
5769
9d362914
JJ
57702002-05-30 Jeff Johnston <jjohnstn@redhat.com>
5771
5772 * libc/sys/linux/Makefile.am: Add support for new files.
5773 * libc/sys/linux/Makefile.in: Regenerated.
5774 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
5775 * libc/sys/linux/signal.c: Change to use real-time syscalls for
5776 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
5777 it is in a separate file now.
5778 * libc/sys/linux/machine/i386/Makefile.am
5779 * libc/sys/linux/machine/i386/Makefile.in
5780 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
5781 * libc/sys/linux/sigaction.c: New file.
5782 * libc/sys/linux/sigqueue.c: Ditto.
5783 * libc/sys/linux/sigwait.c: Ditto.
5784 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
5785 * libc/sys/linux/kernel_sigaction.h: Ditto.
5786
b1f07180
JJ
57872002-05-28 Jeff Johnston <jjohnstn@redhat.com>
5788
5789 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
5790 tcsendbrk.c.
5791 * libc/sys/linux/Makefile.in: Regenerated.
5792 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
5793 tcgetpgrp(), and tcsetpgrp() functions.
5794 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
5795 to get __MAX_BAUD rate.
5796 * libc/sys/linux/machine/i386/include/termios.h: New file.
5797 * libc/include/machine/termios.h: Ditto.
5798 * libc/sys/linux/cfspeed.c: Ditto.
5799 * libc/sys/linux/tcsendbrk.c: Ditto.
5800
d29587b4
JJ
58012002-05-24 Jeff Johnston <jjohnstn@redhat.com>
5802
5803 * libc/include/string.h: Add strnlen and strerror_r prototypes.
5804 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
5805 * libc/string/Makefile.in: Regenerated.
5806 * libc/string/strerror_r.c: New file.
5807 * libc/string/strnlen.c: New file.
5808 * libc/sys/linux/Makefile.am: Add rename.c.
5809 * libc/sys/linux/Makefile.in: Regenerated.
5810 * libc/sys/linux/rename.c: New file to override default rename.
5811
9a292385
TF
58122002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5813
5814 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
5815 * libc/sys/linux/sys/time.h: Add conversion macros.
5816 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
5817 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
5818 * libc/sys/linux/gethostname.c: New file.
5819 * libc/sys/linux/seteuid.c: New file.
5820 * libc/sys/linux/sysctl.c: New file.
5821
7a364eb3
JJ
58222002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5823
5824 * libc/string/Makefile.am: Add support for strsep.c.
5825 * libc/string/Makefile.in: Regenerated.
5826 * libc/string/strsep.c: New file.
5827 * libc/string/strtok.c: Change to call __strtok_r service routine.
5828 * libc/string/strtok_r.c: Add __strtok_r routine which takes
5829 additional flag parameter regarding whether to skip leading delimeters.
5830 Change strtok_r to call __strtok_r.
5831
164ee5b0
JJ
58322002-05-23 Gareth Pearce <tilps@hotmail.com>
5833
5834 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
5835 * libc/stdio/Makefile.in: Regenerated.
5836 * libc/stdio/setbuffer.c: New file.
5837 * libc/stdio/setlinebuf.c: New file.
5838
f6b2b567
JJ
58392002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5840
5841 * libc/sys/linux/Makefile.am: Add resource.c.
5842 * libc/sys/linux/Makefile.in: Regenerated.
5843 * libc/sys/linux/resource.c: New file.
5844 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
5845 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
5846 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5847 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
5848 are now found in libc/sys/linux/resource.c.
5849
afe56517
JJ
58502002-05-23 Jeff Johnston <jjohnstn@redhat.com>
5851
5852 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
5853 to use void * pointers and comply with Single Unix spec.
5854 * libc/string/bcmp.c: Change to use void * instead of char *.
5855 * libc/string/bcopy.c: Ditto.
5856 * libc/string/bzero.c: Ditto.
5857
7736feb2
JJ
58582002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5859
5860 * libc/sys/linux/shm_open.c: New file.
5861 * libc/sys/linux/shm_unlink.c: Ditto.
5862 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
5863 shm_unlink.c.
5864 * libc/sys/linux/Makefile.in: Regenerated.
5865 * libc/sys/linux/sys/types.h: Add some additional checks to see
5866 if clock_t or time_t is already defined.
5867
19f111bd
JJ
58682002-05-22 Jeff Johnston <jjohnstn@redhat.com>
5869
5870 * Makefile.am: Don't pass $toollibdir down directly in
5871 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
5872 Pass it under the name: top_toollibdir.
5873 * Makefile.in: Regenerated.
5874
c811b1ee
CV
58752002-05-22 Corinna Vinschen <vinschen@redhat.com>
5876
5877 * libc/include/sys/types.h: Revert previous patch.
5878
2b43ad33
CV
58792002-05-22 Corinna Vinschen <vinschen@redhat.com>
5880
5881 * libc/include/sys/types.h: Include cygwin/types.h always under
5882 Cygwin, not only if _POSIX_THREADS is defined.
5883
dd671cde
TF
58842002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
5885
5886 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
5887
5e2cbfb6
JJ
58882002-05-17 Jeff Johnston <jjohnstn@redhat.com>
5889
5890 * Makefile.am: Copy and install headers from sys/machine/include
5891 directory. Also pass $toollibdir to lower-level directories.
5892 * Makefile.in: Regenerated.
5893 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5894 stderr to use _REENT macro instead of _impure_ptr directly.
5895 * libc/include/sys/config.h[__i386__][__linux__]: Define
5896 __DYNAMIC_REENT__.
5897 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5898 call to __getreent() function if !__SINGLE_THREAD__ and
5899 __DYNAMIC_REENT__ is set.
5900 * libc/reent/Makefile.am: Add support for getreent.c.
5901 * libc/reent/Makefile.in: Regenerated.
5902 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
5903 * libc/sys/linux/Makefile.am: Add support for new files.
5904 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
5905 * libc/sys/linux/Makefile.in: Regenerated.
5906 * libc/sys/linux/configure: Ditto.
5907 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
5908 __close, __read, __write, __poll, __open, __lseek, __fcntl from
5909 their __libc_ counterparts.
5910 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
5911 and weak-alias to regular names.
5912 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
5913 to pread64 and __pread64.
5914 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
5915 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
5916 weak-alias to pwrite64.
5917 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
5918 __libc_sched_getscheduler, __libc_sched_get_priority_max,
5919 __libc_sched_get_priority_min, and __libc_sched_setschedule to
5920 name with __ instead of __libc_.
5921 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
5922 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
5923 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
5924 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
5925 to raise.
5926 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
5927 __libc_send to __send.
5928 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
5929 __gettimeofday.
5930 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
5931 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
5932 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
5933 type and typedef __jmp_buf to jmp_buf.
5934 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
5935 setjmp.S.
5936 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5937 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
5938 section.
5939 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
5940 prefix for function macros and then use weak_alias() to regular names.
5941 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5942 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
5943 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
5944 to be flockfile() and funlockfile() respectively.
5945 * libc/sys/linux/sys/types.h
5946 * libc/reent/getreent.c: New file.
5947 * libc/sys/linux/flockfile.c: Ditto.
5948 * libc/sys/linux/funlockfile.c: Ditto.
5949 * libc/sys/linux/getreent.c: Ditto.
5950 * libc/sys/linux/pread.c: Ditto.
5951 * libc/sys/linux/pwrite.c: Ditto.
5952 * libc/sys/linux/raise.c: Ditto.
5953 * libc/sys/linux/system.c: Ditto.
5954 * libc/sys/linux/tcdrain.c: Ditto.
5955 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
5956 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
5957 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
5958 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5959 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
5960
7fc85bd1
TF
59612002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
5962
5963 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
5964 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
5965 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
5966 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
5967
6935231f 5968Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
5969
5970 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
5971 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
5972 exit point.
d7a2f413 5973
3a6cb01b
TF
59742002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
5975
a68fa571
TF
5976 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
5977 options when testing natively on i[3456]86-*-linux.
5978
3a6cb01b
TF
5979 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
5980 only one pass or fail per test file. Trim \r's from output
5981 values received from test programs. Remove support for named
5982 tests.
5983 * testsuite/newlib.locale/UTF-8.exp: Update to support new
5984 newlib_check_output behaviour.
5985 * testsuite/newlib.locale/UTF-8.c: Likewise.
5986
dc824ef7
JJ
59872002-05-15 Jeff Johnston <jjohnstn@redhat.com>
5988
5989 * libc/include/stdlib.h: Add on_exit prototype.
5990 * libc/include/sys/reent.h (struct _atexit): Add argument array
5991 and bits to track type of exit routine to support both on_exit
5992 and atexit.
5993 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
5994 by default and change the setting of the atexit structure.
5995 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
5996 * libc/stdlib/on_exit.c: New file.
5997 * libc/stdlib/Makefile.am: Add support for on_exit.
5998 * libc/stdlib/Makefile.in: Regenerated.
5999 * libc/stdlib/atexit.c: Change to initialize types field.
6000 * libc/stdlib/exit.c: Change to look at types field for each
6001 exit routine and either call an atexit-style or an on_exit-style
6002 routine accordingly.
6003
48d91b4a
JJ
60042002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6005
6006 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
6007 allow v specifier with n or L specifiers. For vector c format,
6008 move tmp declaration to the top.
6009
024739eb
JJ
60102002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6011
6012 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
6013 the original format specifier when looping for vectors to compensate
6014 for any changes made in vector %g format processing.
6015 Also add syntax checking for various invalid scenarios
6016 involving vector format extensions.
6017 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
6018 return code setting for vector formats. Also treat vector
6019 separator mismatch as a match error instead of an input error.
6020 Perform some syntax checking for vector formats.
6021
7d2ce898
TF
60222002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6023
6024 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
6025 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
6026 * libc/string/strlcat.c: New file.
6027 * libc/string/strlcpy.c: New file.
6028
809b6ce7
JJ
60292002-05-10 Jeff Johnston <jjohnstn@redhat.com>
6030
6031 * libc/string/strchr.c: Fix comment typo.
6032
76490806
TF
60332002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6034
0c048a9a
TF
6035 * acinclude.m4: Add support for --enable-newlib-multithread.
6036 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
6037 --enable-newlib-multithread=no.
6038
76490806
TF
6039 * libc/stdio/getc_u.c: New file.
6040 * libc/stdio/getchar_u.c: New file.
6041 * libc/stdio/putc_u.c: New file.
6042 * libc/stdio/putchar_u.c: New file.
6043 * libc/include/stdio.h: Add declarations for getc_unlocked,
6044 getchar_unlocked, putc_unlocked and putchar_unlocked.
6045 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
6046 (CHEWOUT_FILES): Add new files' .def's.
6047 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
6048
96bff22c
JR
6049Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
6050
6051 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
6052 Also handle as single quad word when destination ends at last
6053 byte of first quad word. Fix byte selection in single quad code.
6054
e71372fa
TF
60552002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6056
6057 * libc/include/sys/stdio.h: New file.
6058 * libc/sys/linux/sys/stdio.h: New file.
6059 * libc/include/stdio.h: Add declarations for flockfile,
6060 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
6061 * libc/stdio/clearerr.c: Add file locking.
6062 * libc/stdio/fclose.c: Likewise.
6063 * libc/stdio/feof.c: Likewise.
6064 * libc/stdio/ferror.c: Likewise.
6065 * libc/stdio/fflush.c: Likewise.
6066 * libc/stdio/fgetc.c: Likewise.
6067 * libc/stdio/fgetpos.c: Likewise.
6068 * libc/stdio/fgets.c: Likewise.
6069 * libc/stdio/fileno.c: Likewise.
6070 * libc/stdio/fputc.c: Likewise.
6071 * libc/stdio/fputs.c: Likewise.
6072 * libc/stdio/fread.c: Likewise.
6073 * libc/stdio/freopen.c: Likewise.
6074 * libc/stdio/fseek.c: Likewise.
6075 * libc/stdio/ftell.c: Likewise.
6076 * libc/stdio/fwrite.c: Likewise.
6077 * libc/stdio/getc.c: Likewise.
6078 * libc/stdio/putc.c: Likewise.
6079 * libc/stdio/setvbuf.c: Likewise.
6080 * libc/stdio/ungetc.c: Likewise.
6081 * libc/stdio/vfprintf.c: Likewise.
6082
a03790e4
JJ
60832002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6084
60b2107c
TF
6085 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
6086 support for 'p' format. Fix code to print bytes for vector
6087 integer formats that do not specify 'h' or 'l'.
6088 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
6089 for 'p' specifier. Fix code to scan 16 bytes for vector integer
6090 formats that do not specify 'h' or 'l'.
6091
6092 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
6093
9c7d6a9d
TF
60942002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
6095
6096 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
6097 (_sbrk): Add cast of return value.
6098
c33c3635
JJ
60992002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6100
6101 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
6102 (_REENT_L64A_BUF): New macro for accessing area.
6103 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
6104 * libc/stdlib/Makefile.in: Regenerated.
6105 * libc/stdlib/a64l.c: New file.
6106 * libc/stdlib/l64a.c: New file.
6107
f78e59a8
JJ
61082002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6109
6110 * libc/unix/pread.c: Fix typo for _pread_r.
6111 * libc/unix/pwrite.c: Fix type for _pwrite_r.
6112 * libc/sys/linux/pread64.c: Fix typo for read syscall.
6113 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
6114
4b3f6588
CF
61152002-05-03 Christopher Faylor <cgf@redhat.com>
6116
6117 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
6118
e911832c
TF
61192002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
6120
6121 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
6122
0d0fdc8d
CF
61232002-05-01 Christopher Faylor <cgf@redhat.com>
6124
6125 * utmp.h: Define more UNIX constants.
6126
1e997c56
TF
61272002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
6128
0717f01c
TF
6129 * Makefile.am: Add support for checking multilibs.
6130
09841445
TF
6131 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
6132 (SUBDEFS): Add LIBC_EXTRA_DEF.
6133 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
6134 (LIBC_EXTRA_DEF): Likewise.
6135 (extra_dir): Likewise.
6136 * libc/machine/xscale/machine: New directory.
6137 * libc/machine/xscale/machine/profile.h: New file.
6138
1e997c56
TF
6139 * Makefile.am (site.exp): Remove newlib_cflags. Add
6140 multibuildtop.
6141 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
6142 * testsuite/lib/flags.exp: New file.
6143 * testsuite/lib/newlib.exp: Load flags.exp.
6144 (newlib_target_compile): Remove libgloss directory references.
6145 (newlib_init): Remove newlib_cflags references.
6146
4cf4f010
TF
61472002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6148
f6bdb6f9
TF
6149 * testsuite/lib/newlib.exp (newlib_target_compile): Change
6150 method of finding libgloss_target_dir.
6151
4cf4f010
TF
6152 * Makefile.am (site.exp): Change host_alias, host_triplet,
6153 target_alias, target_triplet to refer to gcc's host and target
6154 variables (newlib's build and host variables).
6155 * testsuite/lib/newlib.exp (newlib_init): Change build
6156 references to host references, host references to target
6157 references to reflect Makefile.am changes.
6158 (newlib_target_compile): Likewise.
6159 (newlib_finish): Likewise.
6160
83096ae8
JJ
61612002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6162
6163 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
6164
822afa53
JL
61652002-04-29 Jonathan Larmour <jlarmour@redhat.com>
6166
6167 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
6168 (_system): New function. Ditto.
6169 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
6170 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
6171 targets.
6172
29798f0d
JJ
61732002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6174
6175 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
6176 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
6177 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
6178 * libc/sys/linux/Makefile.in: Regenerated.
6179 * libc/unix/Makefile.in: Ditto.
6180 * libc/sys/linux/pread64.c: New file.
6181 * libc/sys/linux/pwrite64.c: Ditto.
6182 * libc/unix/pread.c: Ditto.
6183 * libc/unix/pwrite.c: Ditto.
6184
557856bd
JJ
61852002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6186
6187 * libc/sys/linux/Makefile.am: Add io64.c.
6188 * libc/sys/linux/Makefile.in: Regenerated.
6189 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
6190 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
6191 * libc/sys/linux/io64.c: New file.
6192
7b2b12d5
JJ
61932002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6194
6195 * configure.in (CC_FOR_NEWLIB): New variable that
6196 bases on $(CC) and adds targ-include and libc/include as
6197 -isystem directives if they are not already part of $(CC).
6198 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
6199 $(CC_FOR_NEWLIB).
6200 * configure: Regenerated.
6201 * Makefile.in: Ditto.
6202
c62adacc
JJ
62032002-04-25 Jeff Johnston <jjohnstn@redhat.com>
6204
6205 * libc/sys/linux/Makefile.am: Add support for sched.c.
6206 * libc/sys/linux/Makefile.in: Regenerated.
6207 * libc/sys/linux/sched.c: New file.
6208 * libc/sys/linux/sys/types.h: Add struct timespec.
6209
217ad4a0
TF
62102002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
6211
6212 * configure.in (CC_FOR_BUILD): Set to gcc whether
6213 cross-compiling or not.
6214 (CC): Add -isystem's for targ-include and libc/include when they
6215 do not already appear in CC.
6216
eaa75b70
TF
62172002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6218
6219 * Makefile.am (check-DEJAGNU): New target.
6220 (site.exp): Likewise.
6221 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
6222 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
6223 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
6224 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
6225 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
6226 * testsuite: New directory.
6227 * testsuite/config: Likewise.
6228 * testsuite/lib: Likewise.
6229 * testsuite/newlib.locale: Likewise.
6230 * testsuite/newlib.string: Likewise.
6231 * testsuite/config/default.exp: New file.
6232 * testsuite/lib/checkoutput.exp: New file.
6233 * testsuite/lib/newlib.exp: New file.
6234 * testsuite/lib/passfail.exp: New file.
6235 * testsuite/newlib.locale/UTF-8.c: New file.
6236 * testsuite/newlib.locale/UTF-8.exp: New file.
6237 * testsuite/newlib.locale/locale.exp: New file.
6238 * testsuite/newlib.string/string.exp: New file.
6239 * testsuite/newlib.string/tstring.c: New file.
6240
b9f9f699
JJ
62412002-04-23 Jeff Johnston <jjohnstn@redhat.com>
6242
6243 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
6244 * libc/sys/linux/Makefile.am: Add support for mmap.c.
6245 * libc/sys/linux/Makefile.in: Regenerated.
6246 * libc/sys/linux/mmap.c: New file.
6247 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
6248 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
6249
7394edbb
TF
62502002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6251
6252 * acinclude.m4 (newlib_cflags): Remove include directories that
6253 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
6254
b9f9f699 62552002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
6256
6257 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
6258 * libc/machine/xscale/memcmp.c: Ditto.
6259 * libc/machine/xscale/memcpy.c: Ditto.
6260 * libc/machine/xscale/memmove.c: Ditto.
6261 * libc/machine/xscale/memset.c: Ditto.
6262 * libc/machine/xscale/strchr.c: Ditto.
6263 * libc/machine/xscale/strcmp.c: Ditto.
6264 * libc/machine/xscale/strcpy.c: Ditto.
6265 * libc/machine/xscale/strlen.c: Ditto.
6266
2dd4c4dc
JJ
62672002-04-19 Alexandre Oliva <aoliva@redhat.com>
6268
6269 * libc/include/sys/config.h: Remove include of <limits.h>.
6270 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
6271 define INT_MAX and LONG_MAX. Use them in tests.
6272
0d844014
JJ
62732002-04-19 Jeff Johnston <jjohnstn@redhat.com>
6274
6275 * configure.host: Add support for powerpc-eabialtivec*.
6276 * libc/include/malloc.h: Add include of <machine/malloc.h>.
6277 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
6278 * libc/include/machine/malloc.h: New file.
6279 * libc/include/machine/stdlib.h: Ditto.
6280 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
6281 * libc/machine/powerpc/Makefile.am: Add conditional objects and
6282 sources based on configuration.
6283 * libc/machine/powerpc/Makefile.in: Regenerated.
6284 * libc/machine/powerpc/configure: Ditto.
6285 * libc/machine/powerpc/configure.in: Add check for
6286 powerpc-eabialtivec* in which case add in additional source files.
6287 * libc/machine/powerpc/setjmp.S: Add altivec support.
6288 * libc/machine/powerpc/vec_calloc.c: New file.
6289 * libc/machine/powerpc/vec_free.c: Ditto.
6290 * libc/machine/powerpc/vec_malloc.c: Ditto.
6291 * libc/machine/powerpc/vec_mallocr.c: Ditto.
6292 * libc/machine/powerpc/vec_realloc.c: Ditto.
6293 * libc/machine/powerpc/machine/malloc.h: Ditto.
6294 * libc/machine/powerpc/machine/stdlib.h: Ditto.
6295 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
6296 with added altivec format specifiers.
6297 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
6298 added altivec format specifiers.
6299
d413aadc
JS
63002002-04-19 Joel Sherrill <joel@OARcorp.com>
6301
6302 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
6303 while autoconf is trying to link main(){}.
6304
27193895
JJ
63052002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6306
6307 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
6308 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
6309
10d00216
JJ
63102002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6311
6b0f808e
JJ
6312 * libc/time/time.tex: Add tzset info.
6313
63142002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6315
6316 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6317 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6318 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6319 (tzname): Defined for all platforms.
6320 (daylight, timezone): Defined only for CYGWIN.
6321 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6322 environment set up.
6323 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6324 environment variable is set.
6325 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6326 tzset_r.c.
6327 * libc/time/Makefile.in: Regenerated.
6328 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6329 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6330 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6331 * libc/time/local.h: New local header file.
6332 * libc/time/mktime.c (mktime): Add timezone support.
6333 * libc/time/mktm_r.c: New file which is the common engine
6334 for gmtime_r and lcltime_r. This code has timezone support.
6335 * libc/time/strftime.c (strftime): Add %Z timezone support.
6336 * libc/time/tzlock.c: New file containing timezone lock stubs.
6337 * libc/time/tzset.c: New file containing tzset() routine.
6338 * libc/time/tzset_r.c: New file containing _tzset_r and
6339 internal routine for calculating timezone changes for specified year.
6340
63412002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6342
6343 * configure.in (CRT0_DIR): Set to libc/.
6344 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6345 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6346 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6347 $(CRT1_DIR)/$(CRT1).
6348 * libc/machine/xstormy16/Makefile.in: Regenerated.
6349 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6350 * libc/machine/xstormy16/configure: Regenerated.
6351
63522002-04-13 Alexandre Oliva <aoliva@redhat.com>
6353
6354 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6355 fails, don't bail out, and try to correct next time.
6356
6357 * libc/include/sys/config.h: Include limits.h.
6358
63592002-04-12 Eric Norum <eric.norum@usask.com>
6360
6361 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6362 routine to allow autoconf to determine that building executables
6363 for rtems works.
6364 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6365 (rtems_gxx_mutex_once): Ditto.
6366
63672002-04-09 Tom Rix <trix@redhat.com>
6368
6369 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6370
63712002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6372
6373 * libc/include/time.h: Fix strptime declaration.
6374 * libc/time/Makefile.am: Add strptime.c.
6375 * libc/time/Makefile.in: Regenerated.
6376 * libc/time/strptime.c: New file.
6377
63782002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6379
6380 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6381 siglongjmp prototype, and sigsetjmp macro definition.
6382 * libc/sys/linux/siglongjmp.c: New file.
6383 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6384 * libc/sys/linux/Makefile.in: Regenerated.
6385
63862002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6387
6388 * Makefile.am: Add support for installing crt1.o if one exists.
6389 * configure.host: Specify crt1.o for linux.
6390 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6391 * Makefile.in: Regenerated.
6392 * configure: Ditto.
6393 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6394 Added for non-Cygwin, non-RTEMS configurations.
6395 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6396 * libc/sys/linux/Makefile.in: Regenerated.
6397 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6398 by gcc. This fixes problem with reconfiguring linux newlib build.
6399 * libc/sys/linux/sysconf.c: New file.
6400
64012002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6402
6403 * configure.host: Add support for machine subdirectory of
6404 sys subdirectory.
6405 * configure.in: Add check for sys machine subdirectory.
6406 * Makefile.am: Ditto.
6407 * configure: Regenerated.
6408 * Makefile.in: Ditto.
6409 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6410 * libc/sys/linux/sys/syscall.h: Ditto.
6411 * libc/sys/linux/sleep.c: New file.
6412 * libc/sys/linux/socket.c: Ditto.
6413 * libc/sys/linux/sockops.h: Ditto.
6414 * libc/sys/linux/stack.c: Ditto.
6415 * libc/sys/linux/usleep.c: Ditto.
6416 * libc/sys/linux/machine/Makefile.am: Ditto.
6417 * libc/sys/linux/machine/Makefile.in: Ditto.
6418 * libc/sys/linux/machine/aclocal.m4: Ditto.
6419 * libc/sys/linux/machine/configure: Ditto.
6420 * libc/sys/linux/machine/configure.in: Ditto.
6421 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6422 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6423 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6424 * libc/sys/linux/machine/i386/configure: Ditto.
6425 * libc/sys/linux/machine/i386/configure.in: Ditto.
6426 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6427 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6428 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6429 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6430 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6431 * libc/sys/linux/sys/select.h: Ditto.
6432 * libc/sys/linux/configure.in: Add support for machine directory.
6433 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6434 * libc/sys/linux/Makefile.in: Regenerated.
6435 * libc/sys/linux/configure: Ditto.
6436 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6437 * libc/sys/linux/inode.c: Ditto.
6438 * libc/sys/linux/linux.c: Ditto.
6439 * libc/sys/linux/process.c: Ditto.
6440 * libc/sys/linux/systat.c: Ditto.
6441 * libc/sys/linux/time.c: Ditto.
6442 * libc/sys/linux/wait.c: Ditto.
6443 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6444 * libc/sys/linux/io.c: Change header plus add readv/writev.
6445 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6446 use __sigsuspend syscall.
6447 * libc/sys/linux/select.c: Change header plus change select to
6448 use _newselect syscall.
6449 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6450 used by glibc header files.
6451 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6452 types.
6453
64542002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6455
6456 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6457 initializing a struct _reent that has been dynamically allocated.
6458 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6459 _REENT_SMALL and does nothing otherwise.
6460 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6461 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6462 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6463 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6464 [_REENT_SMALL](struct _misc_reent): New structure containing
6465 miscellaneous reentrant areas needed by newlib.
6466 [_REENT_SMALL](struct _reent): Add _misc pointer.
6467 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6468 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6469 and _REENT_STRTOK_LAST macros.
6470 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6471 and _REENT_MBLEN_STATE macros.
6472 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6473 and _REENT_MBTOWC_STATE macros.
6474 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6475 and _REENT_WCTOMB_STATE macros.
6476
64772002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6478
6479 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6480
6481Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6482
6483 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6484
6485Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6486
6487 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6488 Store high part of leading bytes too.
6489
64902002-03-22 Richard Sandiford <rsandifo@redhat.com>
6491
6492 * libm/math/ef_hypot.c: Increase scale factor to 68.
6493
64942002-03-13 Alexandre Oliva <aoliva@redhat.com>
6495
6496 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6497 error.
6498
64992002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6500
6501 * libc/sys/go32/access.c: Change license to relaxed license
6502 used in identical file throughout newlib/libgloss.
6503
65042002-03-12 Richard Earnshaw <rearnsha@arm.com>
6505
6506 * libc/sys/arm/access.c: New file.
6507 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6508 * libc/sys/arm/Makefile.in: Regenerate.
6509 * libc/sys/arm/syscalls.c (_stat): New function.
6510
65112002-03-11 Michael Meissner <meissner@redhat.com>
6512
6513 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6514 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6515 * libc/machine/mips/Makefile.in: Regenerate.
6516 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6517 * libc/machine/mips/memset.c: Dito.
6518 * libc/machine/mips/strcmp.c: Dito.
6519 * libc/machine/mips/strlen.c: Dito.
6520 * libc/machine/mips/strncmp.c: Dito.
6521
65222002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6523
6524 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6525 object so it works for shared library or statici library.
65262002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6527
10d00216
JJ
6528 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6529 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6530 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6531 (tzname): Defined for all platforms.
6532 (daylight, timezone): Defined only for CYGWIN.
6533 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6534 environment set up.
6535 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6536 environment variable is set.
6537 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6538 tzset_r.c.
6539 * libc/time/Makefile.in: Regenerated.
6540 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6541 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6542 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6543 * libc/time/local.h: New local header file.
6544 * libc/time/mktime.c (mktime): Add timezone support.
6545 * libc/time/mktm_r.c: New file which is the common engine
6546 for gmtime_r and lcltime_r. This code has timezone support.
6547 * libc/time/strftime.c (strftime): Add %Z timezone support.
6548 * libc/time/tzlock.c: New file containing timezone lock stubs.
6549 * libc/time/tzset.c: New file containing tzset() routine.
6550 * libc/time/tzset_r.c: New file containing _tzset_r and
6551 internal routine for calculating timezone changes for specified year.
6552
5f1c13c6
TF
65532002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6554
6555 * configure.in (CRT0_DIR): Set to libc/.
6556 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6557 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6558 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6559 $(CRT1_DIR)/$(CRT1).
6560 * libc/machine/xstormy16/Makefile.in: Regenerated.
6561 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6562 * libc/machine/xstormy16/configure: Regenerated.
6563
0cc261b1
AO
65642002-04-13 Alexandre Oliva <aoliva@redhat.com>
6565
2f3009bd
AO
6566 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6567 fails, don't bail out, and try to correct next time.
6568
0cc261b1
AO
6569 * libc/include/sys/config.h: Include limits.h.
6570
26116455
JJ
65712002-04-12 Eric Norum <eric.norum@usask.com>
6572
6573 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6574 routine to allow autoconf to determine that building executables
6575 for rtems works.
6576 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6577 (rtems_gxx_mutex_once): Ditto.
6578
4608280d
TR
65792002-04-09 Tom Rix <trix@redhat.com>
6580
6581 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6582
dea7e25c
JJ
65832002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6584
6585 * libc/include/time.h: Fix strptime declaration.
6586 * libc/time/Makefile.am: Add strptime.c.
6587 * libc/time/Makefile.in: Regenerated.
6588 * libc/time/strptime.c: New file.
6589
c5ef1e95
JJ
65902002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6591
6592 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6593 siglongjmp prototype, and sigsetjmp macro definition.
6594 * libc/sys/linux/siglongjmp.c: New file.
6595 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6596 * libc/sys/linux/Makefile.in: Regenerated.
6597
6e6cd5bd
JJ
65982002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6599
6600 * Makefile.am: Add support for installing crt1.o if one exists.
6601 * configure.host: Specify crt1.o for linux.
6602 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6603 * Makefile.in: Regenerated.
6604 * configure: Ditto.
6605 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6606 Added for non-Cygwin, non-RTEMS configurations.
6607 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6608 * libc/sys/linux/Makefile.in: Regenerated.
6609 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6610 by gcc. This fixes problem with reconfiguring linux newlib build.
6611 * libc/sys/linux/sysconf.c: New file.
6612
fa4a16a1
JJ
66132002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6614
6615 * configure.host: Add support for machine subdirectory of
6616 sys subdirectory.
6617 * configure.in: Add check for sys machine subdirectory.
6618 * Makefile.am: Ditto.
6619 * configure: Regenerated.
6620 * Makefile.in: Ditto.
6621 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6622 * libc/sys/linux/sys/syscall.h: Ditto.
6623 * libc/sys/linux/sleep.c: New file.
6624 * libc/sys/linux/socket.c: Ditto.
6625 * libc/sys/linux/sockops.h: Ditto.
6626 * libc/sys/linux/stack.c: Ditto.
6627 * libc/sys/linux/usleep.c: Ditto.
6628 * libc/sys/linux/machine/Makefile.am: Ditto.
6629 * libc/sys/linux/machine/Makefile.in: Ditto.
6630 * libc/sys/linux/machine/aclocal.m4: Ditto.
6631 * libc/sys/linux/machine/configure: Ditto.
6632 * libc/sys/linux/machine/configure.in: Ditto.
6633 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6634 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6635 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6636 * libc/sys/linux/machine/i386/configure: Ditto.
6637 * libc/sys/linux/machine/i386/configure.in: Ditto.
6638 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6639 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6640 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6641 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6642 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6643 * libc/sys/linux/sys/select.h: Ditto.
6644 * libc/sys/linux/configure.in: Add support for machine directory.
6645 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6646 * libc/sys/linux/Makefile.in: Regenerated.
6647 * libc/sys/linux/configure: Ditto.
6648 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6649 * libc/sys/linux/inode.c: Ditto.
6650 * libc/sys/linux/linux.c: Ditto.
6651 * libc/sys/linux/process.c: Ditto.
6652 * libc/sys/linux/systat.c: Ditto.
6653 * libc/sys/linux/time.c: Ditto.
6654 * libc/sys/linux/wait.c: Ditto.
6655 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6656 * libc/sys/linux/io.c: Change header plus add readv/writev.
6657 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6658 use __sigsuspend syscall.
6659 * libc/sys/linux/select.c: Change header plus change select to
6660 use _newselect syscall.
6661 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6662 used by glibc header files.
6663 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6664 types.
6665
d4dca0e4
JJ
66662002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6667
6668 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6669 initializing a struct _reent that has been dynamically allocated.
6670 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6671 _REENT_SMALL and does nothing otherwise.
6672 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6673 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6674 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6675 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6676 [_REENT_SMALL](struct _misc_reent): New structure containing
6677 miscellaneous reentrant areas needed by newlib.
6678 [_REENT_SMALL](struct _reent): Add _misc pointer.
6679 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6680 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6681 and _REENT_STRTOK_LAST macros.
6682 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6683 and _REENT_MBLEN_STATE macros.
6684 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6685 and _REENT_MBTOWC_STATE macros.
6686 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6687 and _REENT_WCTOMB_STATE macros.
6688
54a7c6d2
JJ
66892002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6690
6691 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6692
c82479b1
CF
6693Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6694
6695 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6696
43ecf6e8
JR
6697Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6698
6699 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6700 Store high part of leading bytes too.
6701
a485d93f
RS
67022002-03-22 Richard Sandiford <rsandifo@redhat.com>
6703
6704 * libm/math/ef_hypot.c: Increase scale factor to 68.
6705
62a963ee
AO
67062002-03-13 Alexandre Oliva <aoliva@redhat.com>
6707
6708 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6709 error.
6710
c53d8453
JJ
67112002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6712
6713 * libc/sys/go32/access.c: Change license to relaxed license
6714 used in identical file throughout newlib/libgloss.
6715
d2a246ad
JJ
67162002-03-12 Richard Earnshaw <rearnsha@arm.com>
6717
6718 * libc/sys/arm/access.c: New file.
6719 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6720 * libc/sys/arm/Makefile.in: Regenerate.
6721 * libc/sys/arm/syscalls.c (_stat): New function.
6722
eabb48d5
MM
67232002-03-11 Michael Meissner <meissner@redhat.com>
6724
6725 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6726 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6727 * libc/machine/mips/Makefile.in: Regenerate.
6728 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6729 * libc/machine/mips/memset.c: Dito.
6730 * libc/machine/mips/strcmp.c: Dito.
6731 * libc/machine/mips/strlen.c: Dito.
6732 * libc/machine/mips/strncmp.c: Dito.
6733
2a606041
JJ
67342002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6735
eabb48d5
MM
6736 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6737 object so it works for shared library or statici library.
6738 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 6739
55f26f11
JR
6740Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
6741
96bff22c
JR
6742 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
6743 Add memcpy.S, memset.S and strcpy.S.
6744 * libc/machine/sh/Makefile.in: Regenerate.
6745 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 6746 (SHHI, SHLO): Define.
96bff22c
JR
6747 * libc/machine/sh/memset.S: Add code for SH5.
6748 * libc/machine/sh/memset.S: Likewise.
6749 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 6750
afecf2fa
JJ
67512002-02-27 Jeff Johnston <jjohnstn@redhat.com>
6752
6753 * configure.host: Add check for --disable-newlib-io-float
6754 configuration option and add -DNO_FLOATING_POINT to newlib cflags
6755 if appropriate.
6756 * acinclude.m4: Added --disable-newlib-io-float option.
6757 * aclocal.m4: Regenerated.
6758 * configure: Ditto.
6759 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6760 * libc/*/aclocal.m4 libc/*/configure
6761 * libm/*/aclocal.m4 libm/*/configure: Ditto.
6762 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
6763 if NO_FLOATING_POINT flag is not defined.
6764
c1010a63
JJ
67652002-02-25 Jeff Johnston <jjohnstn@redhat.com>
6766
6767 * libc/include/sys/config.h: Add __extension__ in front of
6768 long long references.
6769
630c657e
CV
67702002-02-23 Corinna Vinschen <corinna@vinschen.de>
6771
6772 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
6773 (_stat): Ditto.
6774
59ee2e20
CV
67752002-02-23 Corinna Vinschen <corinna@vinschen.de>
6776
6777 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
6778 of off_t.
6779
2dd68dc2
NC
67802002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
6781
6782 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
6783 clobbered registers.
6784
55500bf1
TF
67852002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6786
6787 * configure.host (newlib_cflags): When host is in m68* add
6788 -DCOMPACT_CTYPE.
6789
ba0173f0
JJ
67902002-02-15 Jeff Johnston <jjohnstn@redhat.com>
6791
6792 * libc/include/sys/config.h: Add definitions for
6793 __int16_t, __uint16_t, __int64_t, and __uint64_t.
6794
7b61d0c5
JJ
67952002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
6796
6797 * libc/sys/mmixware/link.c: New.
6798 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
6799 volatile.
6800 * libc/sys/mmixware/times.c (_times): Renamed from times.
6801 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
6802 properly by reading previous contents, not through BinaryReadWrite.
6803 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
6804 * libc/sys/mmixware/Makefile.in: Regenerate.
6805
a505db65
CV
68062002-02-10 Corinna Vinschen <corinna@vinschen.de>
6807
6808 * libc/include/grp.h: Don't declare group functions when compiling
6809 Cygwin.
6810
f3b39c45
CV
68112002-02-09 Corinna Vinschen <corinna@vinschen.de>
6812
6813 * libc/include/grp.h: Include Cygwin specific header.
6814 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
6815 when compiling for Cygwin.
6816 * libc/include/sys/types.h: Don't define off_t, uid_t
6817 and gid_t when compiling for Cygwin.
6818
82b3ac56
MG
68192002-02-08 matthew green <mrg@redhat.com>
6820
6821 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
6822 _REENT_EMERGENCY_SIZE, not sizeof(char *).
6823
9f25eed9
AO
68242002-02-08 Alexandre Oliva <aoliva@redhat.com>
6825
6826 Contribute sh64-elf.
6827 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
6828 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
6829 support in printf.
6830 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
6831 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
6832 any labels.
6833 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
6834 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
6835 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
6836 * libc/machine/sh/configure.in: Rework conditionals.
6837 * libc/machine/sh/Makefile.am: Likewise.
6838 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
6839 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
6840 * configure.host: Match `sh*'.
6841 * libc/include/machine/setjmp.h: Define for SH5.
6842 * libc/machine/sh/configure.in: Detect SH5.
6843 * libc/machine/sh/configure: Rebuilt.
6844 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
6845 * libc/machine/sh/Makefile.in: Rebuilt.
6846 * libc/machine/sh/asm.h: Adjust for SH5.
6847 * libc/machine/sh/setjmp.S: Implement in SHmedia.
6848 * libc/sys/sh/crt0.S: Likewise.
6849 * libc/sys/sh/trap.S: Likewise.
6850
a2a405ae
JJ
68512002-02-07 Jeff Johnston <jjohnstn@redhat.com>
6852
6853 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
6854 (mach_add_obj): Conditionally set to setjmp.o or nothing.
6855 (LIB_SOURCES): Remove $(mach_add_src).
6856 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
6857 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
6858 * libc/machine/i386/Makefile.in: Regenerate.
6859
27478365
JJ
68602002-02-05 Manik Raina <manik@cisco.com>
6861
994fa212 6862 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
6863 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
6864 s, p, k, and outstr.
6865 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
6866
815a37f7
JJ
68672002-02-04 Jeff Johnston <jjohnstn@redhat.com>
6868
6869 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
6870 _REENT_CHECK_EMERGENCY macro.
6871
a4139c12
MG
68722002-02-03 matthew green <mrg@redhat.com>
6873
6874 * libc/reent/signgam.c (__signgam): Fix error in previous.
6875
8195aff7
MG
68762002-02-02 matthew green <mrg@redhat.com>
6877
6878 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
6879
6880 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
6881 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
6882 * libc/include/sys/reent.h (struct _reent): Completely new version
6883 for _REENT_SMALL.
6884 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
6885 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
6886 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
6887 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
6888 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
6889 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
6890 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
6891 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
6892 (_REENT_EMERGENCY): Likewise.
6893
6894 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
6895 the start of the real __sFILE, used for stdin, stdout and stderr until
6896 they are setup properly.
6897 (struct __sFILE): Move location of _data in _REENT_SMALL case.
6898 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
6899 allocated stdin, stdout and stderr.
6900 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
6901 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
6902 * libc/stdio/perror.c (_perror_r): Likewise.
6903 * libc/stdio/printf.c (printf, _printf_r): Likewise.
6904 * libc/stdio/putchar.c (_putchar_r): Likewise.
6905 * libc/stdio/puts.c (_puts_r): Likewise.
6906 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
6907 * libc/stdio/vprintf.c (vprintf): Likewise.
6908 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
6909
6910 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
6911
6912 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
6913 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
6914 for _REENT_SMALL.
6915 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
6916 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
6917
6918 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
6919 _REENT_SMALL.
6920 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
6921 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
6922 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
6923 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
6924 * libc/stdlib/rand48.c (__dorand48): Likewise.
6925 * libc/stdlib/seed48.c (_seed48_r): Likewise.
6926 * libc/stdlib/srand48.c (_srand48_r): Likewise.
6927 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
6928 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
6929 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
6930 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
6931 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
6932 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
6933 * libc/stdlib/rand.c (rand): Likewise.
6934
6935 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
6936 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
6937
6938 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
6939 _REENT_MP_FREELIST() and _REENT_MP_P5S.
6940 * libc/include/sys/reent.h (struct _mprec): New structure.
6941
6942 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
6943 _unused_strtok_last.
6944 * libc/string/strtok.c (strtok): Use a local static variable.
6945
6946 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
6947 (_REENT_EMERGENCY_SIZE): Likewise.
6948 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
6949 _REENT_ASCTIME_BUF().
6950 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
6951 _REENT_TM().
6952
6953 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
6954 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
6955 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
6956 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
6957 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
6958 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
6959
9c2e7642
GK
69602002-02-01 Geoffrey Keating <geoffk@redhat.com>
6961
6962 * configure.host (xstormy16): Don't use the generic malloc.
6963 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
6964 * libc/machine/xstormy16/Makefile.in: Regenerate.
6965 * libc/machine/xstormy16/mallocr.c: New file.
6966 * libc/machine/xstormy16/tiny-malloc.c: New file.
6967
4bb6112f
TF
69682002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
6969
6970 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
6971 when _CYGWIN_TYPES_H is not defined.
6972
8d345552
TF
69732002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6974
6975 * libc/include/sys/signal.h: Revert 2002-01-23 change.
6976
bcc49082
TF
69772002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6978
6979 * libc/include/sys/signal.h: Remove pthread_kill declaration
6980 when __CYGWIN__ is defined.
6981
13baedeb
CF
69822002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6983
6984 * libc/include/time.h: Add prototype for strptime for Cygwin.
6985
b2db0ebc
NC
69862002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
6987
ebf139fb
NC
6988 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
6989 dst was not word aligned.
6990
b2db0ebc
NC
6991 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
6992 if too much memory is requested.
6993
798c015d
JJ
69942002-01-11 Jeff Johnston <jjohnstn@redhat.com>
6995
6996 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
6997 reads blanks from the input file to break if EOF reached
6998 rather than end processing.
6999
46ad2ef4
JJ
70002002-01-07 Jeff Johnston <jjohnstn@redhat.com>
7001
7002 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
7003
86b06396
JJ
70042002-01-07 Alan Matsuoka <alanm@redhat.com>
7005
7006 * libc/include/machine/ieeefp.h: Configure d10v doubles to
7007 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
7008 libc/include/sys/config.h: Ditto.
7009
423d5064
CV
70102001-12-28 Corinna Vinschen <corinna@vinschen.de>
7011
7012 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
7013
f6eff1c0
GK
70142001-12-22 Geoffrey Keating <geoffk@redhat.com>
7015 Catherine Moore <clm@redhat.com>
7016 Richard Henderson <rth@redhat.com>
7017 Corinna Vinschen <vinschen@redhat.com>
7018
7019 * configure.host: Add support for xstormy16.
7020 * libc/include/machine/ieeefp.h: Add support for xstormy16.
7021 * libc/include/machine/setjmp.h: Add support for xstormy16.
7022 * libc/include/sys/config.h: Add support for xstormy16.
7023 * libc/machine/xstormy16/Makefile.am: New file.
7024 * libc/machine/xstormy16/Makefile.in: New file.
7025 * libc/machine/xstormy16/aclocal.m4: New file.
7026 * libc/machine/xstormy16/configure: New file.
7027 * libc/machine/xstormy16/configure.in: New file.
7028 * libc/machine/xstormy16/setjmp.S: New file.
7029
1f93c55f
TF
70302001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7031
7032 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
7033 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
7034
13b918be
CV
70352001-12-19 Corinna Vinschen <corinna@vinschen.de>
7036
7037 * libm/machine/Makefile.am: Change rules to create correct lib.a.
7038 * libm/machine/Makefile.in: Regenerated through automake.
7039
08e857b4
TF
70402001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7041
7042 * Makefile.am (DOCDIR): Force to empty string when doc
7043 directory is not present.
7044
60565ed6
TF
70452001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7046
7047 * libc/machine/i386/f_*: Move to libm/machine/i386.
7048
70492001-12-18 Joel Sherrill <joel@OARcorp.com>
7050
7051 * libm/machine/Makefile.am: Add dummy doc stub so
7052 "make info" works.
7053
70542001-12-17 Joel Sherrill <joel@OARcorp.com>
7055
7056 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
7057
fc504135
TF
70582001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7059
7060 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
7061 $(COMPILE) rather than $(CC).
7062 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
7063 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
7064 $(LIB_COMPILE) change.
7065 (vfiprintf.$(oext)): Likewise.
7066
efeae9a3
CV
70672001-12-17 Corinna Vinschen <vinschen@redhat.de>
7068
7069 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
7070 conditionalized including of getopt stuff.
7071
cdf7120d
TF
70722001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7073
7074 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
7075 compile line.
f85be99c 7076 (vfiprintf.$(oext)): Likewise.
cdf7120d 7077
2e1a7175
TF
70782001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7079
7080 * Makefile.shared: New file.
7081 * libc/sys/linux/shared.ld: New file.
7082 * libm/machine/*: New files.
7083 * libm/machine/i386/*: New files.
7084 * Makefile.am: Add libtool support. Change math and mathfp
7085 references to variables.
7086 * configure.host: Add variables for libtool support. Add
7087 libm_machine_dir variable.
7088 * configure.in: Add objectlist variables, for libtool
7089 support. Add CC_FOR_BUILD tests.
7090 * libc/Makefile.am: Add libtool support. Change crt0.o
7091 reference to be a variable reference.
7092 * libc/configure.in: Add libtool support. Change sublib
7093 names to be lib${subdir}.la when using libtool.
7094 * libc/ctype/Makefile.am: Add libtool support.
7095 * libc/errno/Makefile.am: Likewise.
7096 * libc/locale/Makefile.am: Likewise.
7097 * libc/machine/Makefile.am: Likewise.
7098 * libc/machine/configure.in: Likewise.
7099 * libc/machine/i386/Makefile.am: Likewise.
7100 * libc/machine/i386/configure.in: Likewise.
7101 * libc/misc/Makefile.am: Likewise.
7102 * libc/posix/Makefile.am: Likewise.
7103 * libc/reent/Makefile.am: Likewise.
7104 * libc/signal/Makefile.am: Likewise.
7105 * libc/stdio/Makefile.am: Likewise.
7106 * libc/stdlib/Makefile.am: Likewise.
7107 * libc/string/Makefile.am: Likewise.
7108 * libc/sys/Makefile.am: Likewise.
7109 * libc/sys/configure.in: Likewise.
7110 * libc/sys/linux/Makefile.am: Add libtool support. Change
7111 awk reference to a variable reference. Change signal.h
7112 reference to a variable reference.
7113 * libc/sys/linux/configure.in: Add libtool support.
7114 * libc/syscalls/Makefile.am: Likewise.
7115 * libc/time/Makefile.am: Likewise.
7116 * libc/unix/Makefile.am: Likewise.
7117 * libm/Makefile.am: Add libtool support. Change math and
7118 mathfp references to variables.
7119 * libm/configure.in: Add libtool support. Add
7120 LIBM_MACHINE_LIB variable.
7121 * libm/common/Makefile.am: Add libtool support.
7122 * libm/math/Makefile.am: Likewise.
7123 * libm/mathfp/Makefile.am: Likewise.
7124 Regenerate all Makefile.in, aclocal.m4, and configure.
7125
b92591a1
JJ
71262001-12-13 Anita Kulkarni <anitak@kpit.com>
7127
7128 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
7129
355b664e
CF
71302001-12-06 John Peacock <jpeacock@rowman.com>
7131
7132 * libc/include/sys/unistd.h: Correct ualarm declaration.
7133
e9853806
NC
71342001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
7135
7136 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
7137 vector before calling the initialisation functions.
7138
a8e091b0
CF
71392001-11-29 Christopher Faylor <cgf@redhat.com>
7140
7141 * libc/include/dirent.h: Protect against multiple inclusion.
7142
ab634123
CF
71432001-11-27 Christopher Faylor <cgf@redhat.com>
7144
7145 * libc/include/sys/types.h: Define useconds_t.
7146 * libc/include/sys/ulimit.h: Declare ualarm.
7147
d37e401e
CF
71482001-11-21 Christopher Faylor <cgf@redhat.com>
7149
7150 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
7151
8ac90051
HPN
71522001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
7153
7154 * libc/sys/mmixware/*: Tweak license header in all source files.
7155
d7ca37e4
CV
71562001-11-12 Corinna Vinschen <vinschen@redhat.com>
7157
7158 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
7159 to here. Rearrange for general inclusion by stdlib.h.
7160 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
7161 isn't defined.
7162 * libc/sys/linux/include/alloca.h: Move to libc/include.
7163
28f8744e
AG
71642001-11-12 Anthony Green <green@redhat.com>
7165
7166 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
7167
4cede8c4
HPN
71682001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
7169
7170 * libc/sys/mmixware/*: Correct spacing in all source files.
7171 * libc/sys/mmixware/syscall.h: Move misplaced file...
7172 * libc/sys/mmixware/sys/syscall.h: ...here.
7173
8be9b48b
JJ
71742001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
7175
7176 * libc/include/machine/ieeefp.h: Add support for mmix target.
7177 * libc/include/machine/setjmp.h: Ditto.
7178 * configure.host: Ditto.
7179 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
7180 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
7181 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
7182 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
7183 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
7184 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
7185 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
7186 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
7187 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
7188 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
7189 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
7190 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
7191 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
7192 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
7193 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
7194 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
7195 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
7196 libc/sys/mmixware/aclocal.m4: Generate.
7197
c7dd4f95
CV
71982001-11-05 Corinna Vinschen <corinna@vinschen.de>
7199
7200 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
7201 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
7202 when __CYGWIN__ is defined.
7203 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
7204 logwtmp().
7205
a6a6f9fe
JJ
72062001-11-01 Arati Dikey <aratidikey@hotmail.com>
7207
7208 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
7209 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
7210 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
7211 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
7212
d0504c35
JJ
72132001-10-24 Christopher Faylor <cgf@redhat.com>
7214
7215 * libc/stdio/fseek.c: Reset pointer to buffer base
7216 when forced to seek outside of current buffer contents.
7217 This prevents the code from erroneously thinking there is
7218 anything in the current buffer.
7219
0280c8c0
GK
72202001-10-22 Geoffrey Keating <geoffk@redhat.com>
7221
7222 * libc/include/math.h: The C++ standard adds the single-precision
7223 versions of the elementary functions.
7224
333d6098
CF
72252001-10-22 Christopher Faylor <cgf@redhat.com>
7226
7227 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
7228 throughout.
7229 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
7230 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
7231 * system.c (_system_r): Ditto.
7232
c7118319
CV
72332001-10-17 Corinna Vinschen <corinna@vinschen.de>
7234
7235 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 7236 __CYGWIN__ or __rtems__ is defined.
c7118319 7237
5665b0e1
JJ
72382001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
7239
7240 * libc/include/stdlib.h: add declarations for
7241 _strtoull_r, _strtoll_r, strtoull, and strtoll.
7242 * libc/stdio/local.h: remove declarations of
7243 __strtoull_r and __strtoll_r.
7244 * libc/stdio/vfscanf.c(__svfscanf_r): call
7245 _strtoull_r instead of __strtoull_r. Ditto
7246 _strtoll_r vs. __strtoll_r.
7247 * libc/stdlib/Makefile.am: add new files to
7248 .c list and .def list
7249 * libc/stdlib/Makefile.in: regenerate
7250 * libc/stdlib/strtoll_r.c: rename __strtoll_r
7251 as _strtoll_r
7252 * libc/stdlib/strtoull_r.c: rename __strtoull_r
7253 as _strtoull_r
7254 * libc/stdlib/strtoull.c: new file
7255 * libc/stdlib/strtoll.c: new file
7256
d2d5eb41
CF
7257Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
7258
7259 * libc/include/process.h: Add getpid() declaration.
7260
448e3c14
NC
72612001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
7262
7263 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
7264 for new style arm/elf ctor/dtor handling.
7265 Minor formatting tidy up.
7266
7a2afbbb
JJ
72672001-09-13 Jeff Johnston <jjohnstn@redhat.com>
7268
7269 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
7270 and strtoull_r.c.
7271 * libc/stdlib/Makefile.in: Regenerated.
7272 * libc/stdlib/strtoll_r.c: New file.
7273 * libc/stdlib/strtoull_r.c: New file.
7274 * libc/stdio/local.h: Add prototypes for long long string
7275 conversion routines.
7276 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
7277 tied to %L integer conversion specifier.
7278
6342caa4
JJ
7279Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
7280
7281 * strftime.c (strftime): Fix "%W" implementation to properly handle
7282 Mondays too.
7283
b2d319cb
JJ
72842001-09-07 Jeff Law <law@redhat.com>
7285
7286 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
7287 __fini with "mov.l" instead of "mov.w".
7288
233823ba
CV
72892001-09-05 Corinna Vinschen <corinna@vinschen.de>
7290
7291 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
7292 and getopt.h.
7293
63c17b54
JJ
72942001-09-04 Jason Merrill <jason_merrill@redhat.com>
7295
7296 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
7297
a3e67ddf
CV
72982001-09-03 Corinna Vinschen <corinna@vinschen.de>
7299
7300 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
7301 field.
7302 (__DIRENT_VERSION): New define.
7303
6d47f33a
CV
73042001-09-03 Corinna Vinschen <corinna@vinschen.de>
7305
7306 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
7307 Shrink __d_reserved accordingly to keep structure size.
7308 (dirfd): Declare external.
6d47f33a 7309
348c5e06
JJ
73102001-08-29 Joel Sherrill <joel@OARcorp.com>
7311
7312 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
7313
73142001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7315
7316 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
7317 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
7318 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
7319 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
7320 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
7321 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
7322 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
7323 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
7324 Add conditional compilation to avoid HW FPU instructions
7325 when compiled for soft-float.
7326
f29865c5
JJ
73272001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7328
7329 * Makefile.am: Add check for ln failing when creating libg.a
7330 so that cp gets used as a backup.
7331 * Makefile.in: Regenerated.
7332
9e2a4ef8
JJ
73332001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7334
7335 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
7336 No longer include time.h. Add struct __tm to use for
7337 _localtime_buf in the reentrant structure. Add a
7338 _NULL definition to use in initializing the reentrant struct.
7339 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
7340 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
7341 <sys/_types.h>.
7342 * libc/include/sys/unistd.h: Include <sys/_types.h>.
7343 * libc/time/lcltime.c (localtime): Cast the reentrant struct
7344 _localtime_buf to be struct tm *.
7345
1ae900d6
JR
7346Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
7347
7348 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
7349 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
7350 __ctors_end.
7351 * libc/sys/h8300hms/syscalls.c: Include errno.h.
7352 (_unlink): New stub function.
7353
8e26d5b5
CF
7354Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
7355
7356 * libc/include/sys/errno.h: Add a cautionary comment.
7357
e8267664
JJ
73582001-08-21 Jeff Johnston <jjohnstn@redhat.com>
7359
7360 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
7361 for SIZE_SZ so that alignment ends up a minimum of 8.
7362
4acf3edf
CF
7363Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
7364
7365 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
7366 arguments.
7367
7368 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
7369 Cygwin.
7370
52c80be8
JJ
73712001-08-13 Jeff Johnston <jjohnstn@redhat.com>
7372
7373 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
7374 macro constants for mallopt options.
7375 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
7376
a7061f7f
JJ
73772001-08-02 Jeff Johnston <jjohnstn@redhat.com>
7378
7379 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
7380 otherwise default.
7381
0b4bfdd5
AH
73822001-07-12 Aldy Hernandez <aldyh@redhat.com>
7383
7384 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
7385
2b6b730c
NC
73862001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
7387
7388 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
7389 Define for little endian ARMs.
7390
7391 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
7392 __IEEE_BYTES_LITTLE_ENDIAN is defined.
7393
25842b68
JJ
73942001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
7395
7396 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
7397
371b76ef
JJ
73982001-06-11 Egor Duda <deo@logos-m.ru>
7399
7400 * libc/ctype/ctype_.c: When compiled with gcc on platforms
7401 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
7402 initialized memory region. Platform can define COMPACT_CTYPE
7403 to avoid allocation of the additional 128 bytes of data.
7404 Add pointer to _ctype_ array. Always initialize all _ctype_
7405 array elements.
7406
43b44bc5
JL
74072001-06-08 Jonathan Larmour <jlarmour@redhat.com>
7408
7409 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
7410 NULL pointer.
7411
188bc140
NC
74122001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
7413
7414 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
7415
2ce88418
NC
74162001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
7417
7418 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
7419 matching, non-word alignment, and the length is <= 4 but more than
7420 enough to move them over a word boundary.
7421 Add comments explaining what each instruction does.
7422
ca60ed47
CF
7423Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
7424
7425 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 7426 * libc/include/sys/unistd.h: Ditto.
ca60ed47 7427
8b3bcfba
JJ
74282001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
7429
7430 * libc/string/strrchr.c: Use strchr for the speed improvements.
7431
b09e3cf8
JJ
74322001-05-01 Jeff Johnston <jjohnstn@redhat.com>
7433
7434 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
7435 real file systems, let __smakebuf() determine if line buffering
7436 should be used for stdout.
7437
0ca66974
JJ
74382001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7439
7440 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
7441
7cb7017a
JJ
74422001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7443
7444 * libc/include/stdlib.h: Add prototype for _strtod_r.
7445
a874cd21
JJ
74462001-04-24 Charles Wilson <cwilson@ece.gatech.edu
7447
7448 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
7449 * libc/stdio/vprintf.c (_vprintf_r): new function
7450 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
7451 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
7452 _DEFUN, and call _vfprintf_r, not vfprintf.
7453 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
7454 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
7455 _DEFUN, and call _vfprintf_r, not vfprintf.
7456
cb4cc283
CF
74572001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
7458
7459 * libc/include/sys/unistd.h [X_OK]: Use better protection against
7460 Cygwin X_OK definitions in sys/file.h.
7461
8c9df1d5
CF
7462Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
7463
7464 * libc/include/sys/time.h: Define timercmp and other macros for
7465 __CYGWIN__, too.
7466
3ac6f3a7
JJ
74672001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7468
7469 * acinclude.m4: Added --enable-malloc-debugging configure flag.
7470 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
7471 --enable-malloc-debugging selected.
7472 * aclocal.m4 configure: Regenerated.
7473 libm/aclocal.m4 libm/configure: Ditto.
7474 * libc/aclocal.m4 libc/configure: Ditto.
7475 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
7476 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
7477 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
7478 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
7479 * doc/aclocal.m4 doc/configure: Ditto.
7480
52cb9e69
JJ
74812001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7482
7483 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
7484 into one list.
7485 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
7486 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
7487 function prototypes.
7488 (_fscanf_r, _sscanf_r): Ditto.
7489 * libc/include/stdlib.h: Added _strtod_r prototype.
7490 * libc/stdio/Makefile.am: Add new v*scanf functions.
7491 * libc/stdio/Makefile.in: Regenerate.
7492 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
7493 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
7494 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
7495 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
7496 (sscanf): Changed to call __svfscanf_r with _REENT argument.
7497 (_sscanf_r): New routine.
7498 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
7499 with __svfscanf_r prototype.
7500 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
7501 routines.
7502 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
7503 structure as argument as calls reentrant versions of helper functions
7504 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
7505 to _strtol_r and _strtod_r respectively.
7506 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
7507 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
7508 _REENT argument.
7509 * libc/stdio/vscanf.c: New file.
7510 * libc/stdio/vsscanf.c: Ditto.
7511
ee9f39fb
JJ
75122001-04-19 Robert Collins <rbtcollins@hotmail.com>
7513
7514 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
7515 Define daylight to _daylight if it is not defined
7516 Prepare a variable export of timezone based on timezonevariable.
7517 (Cannot be used with the timezone() function.)
7518
273861e3
JJ
75192001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
7520
7521 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
7522 Correct the numerical values.
7523
a25b8414
CF
75242001-04-13 Robert Collins <rbtcollins@hotmail.com>
7525
7526 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
7527
b8a8c59d
CV
7528Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
7529
7530 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
7531 on case insensitve file systems.
7532
74f8cc63
CF
75332001-04-12 Robert Collins <rbtcollins@hotmail.com>
7534
7535 * libc/include/sys/features.h: Add appropriate defines for Cygwin
7536 pthread support.
7537 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
7538 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
7539 types. Include <cygwin/types.h> for the cygwin specific typedefs.
7540
16740220
RS
75412001-04-04 Richard Sandiford <rsandifo@redhat.com>
7542
7543 * libc/include/machine/ieeefp.h: Comment about new configuration
7544 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
7545 * libm/common/fdlib.h: Define new macros for testing floats.
7546 * libm/common/sf_*: Use them.
7547 * libm/math/ef_*: Likewise.
7548 * libm/math/sf_*: Likewise.
7549
0694d8d3
JJ
75502001-03-29 Jeff Johnston <jjohnstn@redhat.com>
7551
7552 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
7553 prolog to by-pass possible assembler error.
7554
4833b38c
JJ
75552001-03-21 Egor Duda <deo@logos-m.ru>
7556
7557 Allow building internal stubs for non-reentrant syscalls
7558 if target provides its own malloc
7559 * libc/reent/reent.c (errno): Move definition here.
7560 * libc/reent/sbrkr.c: From here.
7561
d17d6d42
CF
75622001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
7563
7564 * libc/include/sys/types.h (BSD int typedefs): Guard with
7565 _BSDTYPES_DEFINED rather than _WINSOCK_H.
7566 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
7567 _SYS_TYPES_FD_SET.
7568 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
7569 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
7570
c7ee75cd
CV
7571Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
7572
7573 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7574 _PC_POSIX_SECURITY constants for Cygwin.
7575
63dc5d80
CV
7576Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
7577
7578 * libc/sys/cygwin/crt0.c: Add copyright hint.
7579 * libc/sys/cygwin/sys/dirent.h: Ditto.
7580 * libc/sys/cygwin/sys/param.h: Ditto.
7581 * libc/sys/cygwin/sys/utime.h: Ditto.
7582 * libc/sys/cygwin/sys/utmp.h: Ditto.
7583
6f637037
AO
75842001-03-13 Alexandre Oliva <aoliva@redhat.com>
7585
7586 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
7587 equivalent to LONGINT.
7588
e69b6f73
JJ
75892001-03-08 Richard Sandiford <rsandifo@redhat.com>
7590
7591 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
7592 jmpbuf on MIPS64 targets.
7593 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
7594
6198dece
CF
7595Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
7596
e69b6f73
JJ
7597 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
7598 declarations.
6198dece 7599
cfc05d96
JJ
7600Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
7601
7602 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
7603 For RTEMS, define to be ssize_t. Default to int if not defined.
7604 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
7605 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
7606 * libc/stdio/local.h (__sread, __swrite): Likewise.
7607 * libc/include/sys/reent.h (_read, _write): Likewise.
7608 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
7609 * libc/syscalls/sysread.c (read): Likewise.
7610 * libc/syscalls/syswrite.c (write): Likewise.
7611
6249353a
JJ
76122001-03-05 Jeff Johnston <jjohnstn@redhat.com>
7613
7614 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
7615
658b5db9
CF
7616Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
7617
7618 * libc/include/sys/stat.h: Use special defines for executable stat bits
7619 when compiling for Cygwin.
7620 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
7621 for Cygwin.
7622
19ca46d5
JJ
76232001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7624
7625 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
7626 of strtok_r is always defined.
7627
b73ed85e
JJ
76282001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7629
7630 * libc/include/machine/ansi.h: New dummy header file.
7631
ee37ede1
JJ
76322001-02-22 Jeff Johnston <jjohnstn@redhat.com>
7633
7634 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
7635 changed the copyright information to allow free modification of the
7636 file with no reference to "copying.dj".
7637 * libc/include/sys/stat-dj.h: Ditto.
7638 * libc/machine/i386/setjmp.S: Ditto.
7639 * libc/sys/h8300hms/sys/file.h: Ditto.
7640 * libc/sys/sysmec/access.c: Ditto.
7641 * libc/sys/sysnecv850/access.c: Ditto.
7642 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
7643 * libc/stdlib/getenv_r.c: Ditto.
7644 * libc/stdlib/putenv_r.c: Ditto.
7645 * libc/stdlib/setenv_r.c: Ditto.
7646 * libc/stdlib/getenv.c: Removed DJ reference since any possible
7647 modifications will now be in the _r version of this file.
7648 * libc/stdlib/putenv.c: Ditto.
7649 * libc/stdlib/setenv.c: Ditto.
7650 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
7651 valid. Added a reference to DJ's web page that contains his address.
7652 * libc/sys/go32/*.s: Removed references to DJ's old address.
7653 * libc/sys/go32/*.c: Ditto.
7654 * libc/sys/go32/*.h: Ditto.
7655 * libc/sys/go32/*.S: Ditto.
7656 * libc/sys/go32/sys/*.h: Ditto.
7657
3a8fc0e4
JJ
76582001-02-21 Jeff Johnston <jjohnstn@redhat.com>
7659
7660 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
7661 HAVE_FCNTL flag check.
7662 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
7663 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
7664
b24ee749
CF
7665Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
7666
7667 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
7668
ab4745dc
JJ
76692001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7670
7671 * libc/include/stdlib.h: Add declarations of rand48 functions and
7672 their reentrant versions.
7673 * libc/include/sys/reent.h: Move macros from rand48.h. Add
7674 struct _rand48 for shared parameters of rand48 functions.
7675 (struct _reent): Add a variable _r48 of struct _rand48.
7676 (_REENT_INIT): Add _r48 initialization.
7677 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
7678 (CHEWOUT_FILES): Add rand48.def.
7679 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
7680 * libc/stdlib/Makefile.in: Regenerated.
7681 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
7682 NetBSD C library.
7683 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
7684 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
7685 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
7686 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
7687 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
7688 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
7689 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
7690 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
7691 * libc/stdlib/rand48.c (__dorand48): Ditto.
7692 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
7693 parameters into macros referring them in the reentrant structure.
7694
a34c461f
JJ
76952001-02-12 Jeff Johnston <jjohnstn@redhat.com>
7696
7697 * libc/include/sys/stat.h: Add mknod for Cygwin now that
7698 Cygwin definition has correct prototype.
7699
34f31ff2
JJ
77002001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7701
7702 * libc/include/sys/stat.h: Must revert change for mknod
7703 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
7704 prototype.
7705
5336d6de
JJ
77062001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7707
7708 * libc/include/stdio.h: Revert putw prototype.
7709
8915d10a
JJ
77102001-02-08 Edward M. Lee <tailbert@yahoo.com>
7711
7712 * libc/include/grp.h: add prototype for initgroups.
7713 * libc/include/stdio.h: fix prototype for putw.
7714 * libc/include/sys/signal.h: add prototype for killpg.
7715 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
7716 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
7717 vhangup and remove duplicate sysconf prototype.
7718
93ac4487
JJ
77192001-02-07 Jeff Johnston <jjohnstn@redhat.com>
7720
7721 * libc/sys/rtems/sys/types.h: Removed.
7722
31f5feea
JJ
77232001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
7724
7725 * libc/include/locale.h: add LC_MESSAGES definition
7726
b5139f59
AO
77272001-02-01 Alexandre Oliva <aoliva@redhat.com>
7728
7729 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
7730 SYS_get_argN):
7731 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
7732 __setup_argv_and_call_main): New.
7733
e29d8355
JJ
77342001-01-31 Jeff Johnston <jjohnstn@redhat.com>
7735
7736 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
7737 if defined.
7738 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
7739 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
7740 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
7741 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
7742
82ea92f3
CF
7743Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
7744
7745 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
7746 compiling under Cygwin.
7747
3aaa66f8
JJ
77482001-01-29 Jeff Johnston <jjohnstn@redhat.com>
7749
7750 * libc/include/math.h (signgam): Change to errno-like solution
7751 using a function to return the address of the real signgam.
7752 * libc/reent/signgam.c: New file containing __signgam().
7753 * libc/reent/Makefile.am: Added signgam.c to list of files.
7754 * libc/reent/Makefile.in: Regenerated.
7755
610b895a
AO
77562001-01-25 Alexandre Oliva <aoliva@redhat.com>
7757
b0913397
AO
7758 * libc/sys/sh/syscalls.c (_times): New.
7759
610b895a
AO
7760 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
7761 * libc/sys/sh/syscalls.c (_gettimeofday): New.
7762
3643210e
JJ
77632001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7764
7765 * libc/include/math.h (signgam): Regress previous fix as
7766 it does not handle programs with extern int signgam in them.
7767
841081c9
JJ
77682001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7769
7770 * libc/include/math.h (signgam): Changed to a macro refering to
7771 its location in the reentrant structure.
7772
e9cd87b8
JJ
77732001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7774
7775 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
7776 that suppressed . for %.0f, 0.1. Check now looks if there
7777 are padding zeroes (expt) in addition to any digits (ndig) to
7778 print.
7779
a302b48c
JJ
77802001-01-18 Jeff Johnston <jjohnstn@redhat.com>
7781
7782 * libc/sys/arc/Makefile.am: New file.
7783 * libc/sys/arc/Makefile.in: Ditto.
7784 * libc/sys/arc/aclocal.m4: Ditto.
7785 * libc/sys/arc/configure: Ditto.
7786 * libc/sys/arc/configure.in: Ditto.
7787 * libc/sys/arc/crt0.S: Ditto.
7788 * libc/sys/arc/isatty.c: Ditto.
7789 * libc/sys/arc/mem-layout.c: Ditto.
7790 * libc/sys/arc/sbrk.c: Ditto.
7791 * libc/sys/arc/syscalls.c: Ditto.
7792 * libc/sys/arc/sys/syscall.h: Ditto.
7793
d0319c3b
CF
7794Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
7795
7796 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
7797
e45ab890
CF
7798Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
7799
7800 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
7801
1376245a
DD
7802Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
7803
7804 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
7805
92b57543
NC
78062001-01-09 Nick Clifton <nickc@redhat.com>
7807
7808 * configure.host (v859): Remove unsupported compiler options.
7809
7d6d33d4
JJ
7810Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
7811
7812 * src/newlib/configure.host (*-*-rtems*): add printf long long
7813 support for RTEMS.
7814
602f8b5a 78152000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
7816
7817 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
7818
9c2b8183
JJ
7819Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7820
7821 * configure.host: Turn on long double I/O for Cygwin.
7822
804368d3
JJ
7823Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
7824
7825 * MAINTAINERS: Removed Ranjith.
7826 * NEWS: Updated for 1.9.0.
7827 * README: Updated.
7828 * acinclude.m4: Updated to release 1.9.0.
7829 * aclocal.m4 configure
7830 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
7831 libc/machine/aclocal.m4 libc/machine/configure
7832 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
7833 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
7834 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
7835 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
7836 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
7837 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
7838 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
7839 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
7840 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
7841 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
7842 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
7843 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
7844 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
7845 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
7846 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
7847 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
7848 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
7849 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
7850 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
7851 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
7852 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7853 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7854 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7855 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
7856 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7857 libc/sys/aclocal.m4 libc/sys/configure
7858 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7859 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7860 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7861 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7862 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7863 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7864 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7865 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7866 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
7867 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7868 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7869 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7870 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7871 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7872 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7873 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7874 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7875 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7876 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7877 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7878 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7879 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7880 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7881 libm/aclocal.m4 libm/configure: Regenerated.
7882
0985d43f
CV
7883Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7884
7885 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
7886 when __CYGWIN__ is defined.
7887
b6182a09
JJ
78882000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7889
7890 * libc/stdlib/ldtoa.c (_ldcheck): New routine
7891 that categorizes a long double as NaN, Infinity, or other.
7892 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
7893 isinfl and isnanl static routines which were i386-specific. Changed
7894 calls to the two removed routines to a single _ldcheck call.
7895 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
7896
adbbb034
JJ
78972000-12-13 Jeff Johnston <jjohnstn@redhat.com>
7898
7899 * Makefile.am: Fixed install-data-local target to use
7900 $(mkinstalldirs) for the installed header files to ensure
7901 the directories exist before copying.
7902 * Makefile.in: Regenerated.
7903
cbd19336
JJ
79042000-12-12 Jeff Johnston <jjohnstn@redhat.com>
7905
7906 * libc/include/sys/unistd.h: Restored Cygwin _SC
7907 constants and moved new constants appropriately
7908 so Cygwin will build.
7909
8fb37963
JJ
79102000-12-11 Joel Sherrill <joel@OARcorp.com>
7911
7912 * Merge RTEMS specific .h files into main libc/include.
7913 * libc/sys/rtems/include/signal.h: Removed.
7914 * libc/sys/rtems/include/time.h: Removed.
7915 * libc/sys/rtems/sys/features.h: Removed.
7916 * libc/sys/rtems/sys/sched.h: Removed.
7917 * libc/sys/rtems/sys/siginfo.h: Removed.
7918 * libc/sys/rtems/sys/signal.h: Removed.
7919 * libc/sys/rtems/sys/time.h: Removed.
7920 * libc/sys/rtems/sys/times.h: Removed.
7921 definitions for time_t and clock_t since these are
7922 no longer in time.h.
7923 * libc/include/pthread.h: New file.
7924 * libc/include/sys/sched.h: New file.
7925 * libc/include/sys/features.h: New file.
7926 * libc/include/time.h: Removed duplicate definition of clock_t
7927 and time_t, get them from <sys/types.h> instead. Add prototypes
7928 for POSIX clock and timer functionality.
7929 * libc/sys/linux/sys/types.h: Changed to include
7930 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
7931 * libc/include/sys/signal.h: Add more complete set of POSIX
7932 signal functionality including real-time and threaded signals.
7933 * libc/include/sys/types.h: Add clock_t, time_t, struct
7934 timespec, and struct itimerspec. Centralizing these makes
7935 things cleaner. RTEMS uses 64-bit dev_t.
7936 Added numerous primitive definitions
7937 for pthreads including macros, pthread_attr_t,
7938 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
7939 pthread_once_t, and pthread_t.
7940 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
7941 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
7942 Feature flags removed and moved to new file <sys/features.h>.
7943 Full set of POSIX sysconf() constants
7944
2efbc2a7
JJ
79452000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
7946
7947 * configure.host: Added x86 linux target.
7948 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
7949 definitions provided if not already defined.
7950 * libc/sys/linux/crt0.c: New file.
7951 * libc/sys/linux/Makefile.am: Ditto.
7952 * libc/sys/linux/Makefile.in: Ditto.
7953 * libc/sys/linux/aclocal.m4: Ditto.
7954 * libc/sys/linux/brk.c: Ditto.
7955 * libc/sys/linux/configure: Ditto.
7956 * libc/sys/linux/configure.in: Ditto.
7957 * libc/sys/linux/getoptlong.c: Ditto.
7958 * libc/sys/linux/ids.c: Ditto.
7959 * libc/sys/linux/inode.c: Ditto.
7960 * libc/sys/linux/io.c: Ditto.
7961 * libc/sys/linux/linux.c: Ditto.
7962 * libc/sys/linux/process.c: Ditto.
7963 * libc/sys/linux/realpath.c: Ditto.
7964 * libc/sys/linux/select.c: Ditto.
7965 * libc/sys/linux/signal.c: Ditto.
7966 * libc/sys/linux/systat.c: Ditto.
7967 * libc/sys/linux/termios.c: Ditto.
7968 * libc/sys/linux/time.c: Ditto.
7969 * libc/sys/linux/wait.c: Ditto.
7970 * libc/sys/linux/include/alloca.h: Ditto.
7971 * libc/sys/linux/include/getopt.h: Ditto.
7972 * libc/sys/linux/include/stdint.h: Ditto.
7973 * libc/sys/linux/include/unistd.h: Ditto.
7974 * libc/sys/linux/sys/cdefs.h: Ditto.
7975 * libc/sys/linux/sys/dirent.h: Ditto.
7976 * libc/sys/linux/sys/errno.h: Ditto.
7977 * libc/sys/linux/sys/fcntl.h: Ditto.
7978 * libc/sys/linux/sys/file.h: Ditto.
7979 * libc/sys/linux/sys/ioctl.h: Ditto.
7980 * libc/sys/linux/sys/resource.h: Ditto.
7981 * libc/sys/linux/sys/signal.h: Ditto.
7982 * libc/sys/linux/sys/stat.h: Ditto.
7983 * libc/sys/linux/sys/syscall.h: Ditto.
7984 * libc/sys/linux/sys/termios.h: Ditto.
7985 * libc/sys/linux/sys/time.h: Ditto.
7986 * libc/sys/linux/sys/types.h: Ditto.
7987 * libc/sys/linux/sys/utmp.h: Ditto.
7988 * libc/sys/linux/sys/utsname.h: Ditto.
7989 * libc/sys/linux/sys/wait.h: Ditto.
7990
a08c98bb
JJ
79912000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7992
7993 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
7994 can be a relative path to $(top_srcdir)/install.sh so ensure the
7995 autoconf detected settings are properly passed recursively.
7996 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
7997 properly to subdirectories.
7998 * Makefile.in: Regenerated.
7999
b294082c
JJ
80002000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
8001
8002 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
8003 a floating point register unless really printing a floating
8004 point number.
8005
2005ab6b
JJ
80062000-12-07 Jeff Johnston <jjohnstn@redhat.com>
8007
8008 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
8009 Also removed \r's.
8010 (asctoeg): Replaced alloca call with stack array and malloc
8011 when storage exceeds reasonable limit.
8012 (e53toe): Fixed einfin calls missing ldp parameter.
8013 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
8014
9f6e8f1b
JJ
80152000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8016
2005ab6b 8017
9f6e8f1b
JJ
8018 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
8019
6bdac416
JJ
80202000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8021
8022 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
8023 * libc/stdlib/Makefile.in: Regenerated.
8024 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
8025 * libc/stdio/vfieeefp.h: Added long double bit structures.
8026 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
8027 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
8028 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
8029 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
8030 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
8031 _strtold routines used for conversions between character
8032 and long double.
8033
ec270d31
CV
8034Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8035
8036 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
8037
db2d9549
JJ
80382000-12-04 Joel Sherrill <joel@OARcorp.com>
8039
8040 * libc/include/machine/time.h: RTEMS systems can configure clock
8041 tick rate so use sysconf() to ask.
8042
6ba54a15
JJ
80432000-12-04 Joel Sherrill <joel@OARcorp.com>
8044
8045 * libc/include/sys/times.h: Add reference to POSIX standard.
8046
8677b819
JJ
80472000-12-04 Joel Sherrill <joel@OARcorp.com>
8048
8049 * libc/include/sys/time.h: Added BSD timer manipulation macros
8050 used by RTEMS code.
8051
1b61a706
JJ
80522000-12-04 Joel Sherrill <joel@OARcorp.com>
8053
8054 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
8055 referenced by code generated by gcc 2.8.1.
8056 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
8057 satisfy gcc.
8058
f5e7c124
JJ
80592000-12-04 Joel Sherrill <joel@OARcorp.com>
8060
8061 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
8062
768abc9c
JJ
80632000-12-04 Joel Sherrill <joel@OARcorp.com>
8064
8065 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
8066
9e5dd5ea
JJ
80672000-12-04 Joel Sherrill <joel@OARcorp.com>
8068
8069 * configure.host (or16, or32): New entries for OpenCores
8070 OpenRisc CPUs.
8071 (*-*-rtems*): Add -DNO_EXEC.
8072
768abc9c 80732000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
8074
8075 * libc/include/sys/errno.h: Added comments on many error numbers.
8076 * libc/string/strerror.c: Added some more strings.
8077
b273323f
JJ
80782000-11-30 Jeff Johnston <jjohnstn@redhat.com>
8079
8080 * libc/sys/sh/syscalls.c (_link): New stub.
8081
0ffc3b94
NC
80822000-11-29 Nick Clifton <nickc@redhat.com>
8083
8084 * configure.host: Add xscale target.
8085 * libc/machine/xscale: New directory.
8086 * libc/machine/xscale/Makefile.am: New file.
8087 * libc/machine/xscale/Makefile.in: New file.
8088 * libc/machine/xscale/aclocal.m4: New file.
8089 * libc/machine/xscale/configure: New file.
8090 * libc/machine/xscale/configure.in: New file.
8091 * libc/machine/xscale/memchr.S: New file.
8092 * libc/machine/xscale/memcmp.S: New file.
8093 * libc/machine/xscale/memcpy.S: New file.
8094 * libc/machine/xscale/memmove.S: New file.
8095 * libc/machine/xscale/memset.S: New file.
8096 * libc/machine/xscale/strchr.S: New file.
8097 * libc/machine/xscale/strcmp.S: New file.
8098 * libc/machine/xscale/strcpy.S: New file.
8099 * libc/machine/xscale/strlen.S: New file.
8100
cbbf0f96
CV
8101Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8102
8103 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
8104 avoid compiler warnings.
8105
73dea790
MM
81062000-11-22 Michael Meissner <meissner@redhat.com>
8107
8108 * libc/posix/execl.c (execl): Don't reference environ directly,
8109 reference it only via a static pointer to avoid problems with some
8110 shared library systems and with different uses of small data where
8111 the user specifies his own version of environ.
8112 * libc/posix/execv.c (execv): Ditto.
8113 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
8114 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
8115 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
8116
8117 * libc/stdlib/getenv.c (environ): Delete unused reference to
8118 environ.
8119
8120 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
8121 colorization.
8122 * libc/stdlib/system.c: Ditto.
8123
08eac2ae
CF
8124Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
8125
8126 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
8127 including windows headers.
8128
5478bf37
JJ
81292000-11-20 Jeff Johnston <jjohnstn@redhat.com>
8130
8131 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
8132 * libc/include/dirent.h: Added definition of MAXNAMLEN if
8133 not defined by sys/dirent.h.
8134 * libc/posix/execvp.c: Added include of dirent.h to get
8135 MAXNAMLEN value which used to be in unistd.h.
8136
3a760728
CV
8137Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8138
8139 * libc/include/sys/types.h: Change type of i to `size_t' in
8140 FD_ZERO macro to avoid compiler warnings.
8141
86fff69f
CF
8142Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
8143
8144 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
8145 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
8146
ba9e88d2
CV
8147Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8148
8149 * libc/include/sys/unistd.h: Add defines for sysconf values
8150 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
8151 _SC_AVPHYS_PAGES.
8152
a8018ef3
CF
8153Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
8154
8155 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
8156 declarations for __CYGWIN__.
8157
b944c6f6
GK
81582000-09-19 Geoffrey Keating <geoffk@cygnus.com>
8159
8160 * libc/signal/signal.c (__sigtramp_r): ISO C requires
8161 case labels to be integral constant expressions, so
8162 use an if/else tree instead.
8163 (_raise_r): Likewise.
8164
7f18fcb4
JJ
81652000-09-13 Jeff Johnston <jjohnstn@redhat.com>
8166
8167 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
8168 clipping patch from e-mail reader.
8169
242361df
JJ
81702000-09-13 Will Cohen <wcohen@redhat.com>
8171
8172 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
8173 Added return value 0.
8174 (_longjmp): Allow longjmp to return value of second argument
8175 passed to it.
8176
8a8c59b9
JJ
81772000-09-06 Jeff Johnston <jjohnstn@redhat.com>
8178
8179 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
8180 inline code to prevent having to include another header file.
8181
a385ae75
CF
8182Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
8183
8184 * Makefile.am: Fix space vs. tab problem in install-data-local.
8185 * Makefile.in: Regenerate.
8186
8187Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
8188
8189 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
8190 (_EXPARM): New macro for defining a function parameter.
8191 * libc/include/stdlib.h: Use _EXPARM.
8192 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
8193
a36cd013
JJ
81942000-09-05 Manfred Hollstein <manfredh@redhat.com>
8195
8196 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
8197 required, as documented in the gnu coding standards.
8198 * Makefile.in: Regenerate.
8199
f825dfda
JJ
82002000-09-05 Jeff Johnston <jjohnstn@redhat.com>
8201
8202 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
8203 make O_NDELAY and O_NONBLOCK have the same value.
8204
4ba9aab7
JJ
82052000-08-30 Kazu Hirata <kazu@hxi.com>
8206
8207 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
8208
db7acc38
JJ
82092000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
8210
8211 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
8212 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
8213 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
8214 everywhere else.
8215
44e36af4
GK
82162000-08-30 Geoffrey Keating <geoffk@cygnus.com>
8217
8218 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
8219 * libc/include/string.h: Don't include <sys/types.h>,
8220 as it causes really bad namespace pollution. Don't declare
8221 swab(), it is properly declared in unistd.h.
8222
00a2f168
JJ
82232000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
8224
8225 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
8226 (broken) support for non-existent /etc/passwd field "comment".
8227
6beeb240
JJ
82282000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8229
8230 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
8231 only if _DIRENT_HAVE_D_NAMLEN is defined.
8232 (alphasort): aligned prototype with
8233 libc/sys/cygwin/sys/dirent.h and simplified function body.
8234 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
8235 long telldir (DIR *) as mentioned in annex B of POSIX.1
8236
ef44da42
JJ
82372000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8238
8239 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
8240 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
8241 Added __CLI and __STI macros (controlled via
8242 _I386MACH_ALLOW_HW_INTERRUPTS macro).
8243 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
8244 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
8245 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
8246 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
8247 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
8248 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
8249 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
8250 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
8251 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
8252 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
8253 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
8254 for all global entry points.
8255 * libc/machine/i386/setjmp.S: removed code replicated in
8256 libc/machine/i386/i386mach.h and included i386mach.h instead;
8257 Use __CLI and __STI instead of cli and sti.
8258
14d3488d
DD
82592000-08-25 DJ Delorie <dj@redhat.com>
8260
8261 * libc/include/sys/unistd.h (environ): this one isn't from the
8262 DLL, no __IMPORT
8263
c9ca4412
CF
8264Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
8265
8266 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
8267 environ when compiling under cygwin since it is already declared in
8268 unistd.h.
8269
2d5862de
JJ
82702000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8271
8272 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
8273 like x << y-z to the equivalent x << (y-z).
8274 (d2b): changed if statements with assignment to perform the
8275 assignment prior to the if check.
8276 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
8277 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
8278 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
8279 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
8280 precedence.
8281 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
8282 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
8283 execve.c).
8284 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
8285 precedence.
8286 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
8287 clarify && and || precendence (and to remove pascalism).
8288 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
8289 * libm/math/s_infconst.c: added another pair of braces to all
8290 initializers for __infinity (need three: for __infinity[1] array,
8291 for union __dmath, and for i[2]).
8292
0888fedd
JJ
82932000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8294
199359f0
JJ
8295 * libc/stdlib/abort.c: changed description: uses "raise" instead of
8296 "getpid" and "kill"; added: uses "write" and "_exit".
8297 Also included unistd.h for "_exit" prototype.
8298 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
8299 reent.h for "_fork_r" and "_wait_r" prototypes.
8300 (do_system): changed extern char *environ[] to POSIX-friendly
8301 extern char **environ.
8302 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
8303 prototypes.
8304 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
8305 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
8306 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
8307 * libc/reent/openr.c: included fcntl.h for "open" prototype.
8308 * libc/reent/signalr.c: included signal.h for "kill" prototype,
8309 unistd.h for "getpid" prototype.
8310 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
8311 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
8312 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
8313 prototype. Also included stdlib.h for "abort", string.h for
8314 "strdup" and "strncmp" prototypes.
8315 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
8316 "strncpy", unistd.h for "read" and "close" prototypes.
8317 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
8318 "strcat" prototypes.
8319
83202000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
8321
0888fedd
JJ
8322 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
8323 used later (ifdef __SCLE)
8324 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
8325 used later (ifdef MB_CAPABLE)
8326 * libc/string/memset.c (memset): removed unused variables "count"
8327 and "unaligned_addr"
8328 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
8329 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
8330 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
8331 and "gid"
8332
a334e5ef
JJ
83332000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8334
8335 * libc/stdlib/envlock.c: changed documented "__env_lock" and
8336 "__env_unlock" prototype from "void *" or "char *" to
8337 "struct _reent *" to match real function. Also added include
8338 of envlock.h.
8339 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
8340 "__malloc_unlock" prototype from "void *" or "char *" to
8341 "struct _reent *" to match real function.
8342 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
8343 prototypes (for getenv_r.c and setenv_r.c).
8344
644b7f26
DD
83452000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
8346
8347 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
8348 and prototype in cygwin's utmp.h
8349
5bacbf10
JJ
83502000-08-16 Eric Fifer <efifer@sanwaint.com>
8351
8352 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
8353
38a6bf98
NC
83542000-08-09 Nick Clifton <nickc@cygnus.com>
8355
8356 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
8357 epilogue and to allow the functions to be used in a Thumb based
8358 toolchain.
8359
befe0fb3
JJ
83602000-08-08 Jeff Johnston <jjohnstn@redhat.com>
8361
8362 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
8363 so size of 0 results in nothing being written to string.
8364 Also fixed code so that when size is non-zero, there is only
8365 a maximum of size - 1 characters written to the array and
8366 a nul terminator is appended at the end.
8367 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
8368
749d9bcd
DD
83692000-08-01 DJ Delorie <dj@redhat.com>
8370
8371 * libc/include/sys/config.h: define __IMPORT appropriately
8372 * libc/include/ctype.h (_ctype_): use __IMPORT
8373 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
8374 * libc/include/math.h (__mb_cur_max): ditto
8375 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
8376 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
8377 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
8378 * libc/include/unistd.h (environ): ditto
8379
7c110b17
MM
83802000-07-28 Michael Meissner <meissner@redhat.com>
8381
8382 * libc/include/math.h (__infinity): Declare as an array without
8383 bounds to get around small data support. Rewrite Cygwin support
8384 to be more general.
8385 * libm/math/s_infconst.c (__infinity): Ditto.
8386 * libm/mathfp/s_infconst.c (__infinity): Ditto.
8387
bf7be721
CF
8388Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
8389
8390 * libc/include/math.h: Use appropriate dll import linkage for
8391 __infinity under Cygwin.
8392
91a8d90b
DD
83932000-07-13 DJ Delorie <dj@cygnus.com>
8394
8395 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
8396
ba2048d3
JJ
8397Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
8398
8399 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
8400 to argument list for AngelSWI_Reason_GetCmdLine.
8401
4634da64
JJ
8402Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8403
8404 * configure.host: Add support for AVR target.
8405 * libc/include/machine/ieeefp.h: Likewise.
8406 * libc/include/sys/config.h: Likewise.
8407
b19f72a2
RK
8408Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8409
8410 * README: Newlib 1.8.2 must be built in a separate directory
8411 than the sources.
8412
a704d94a
JJ
8413Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8414
8415 * libc/include/sys/reent.h (_rand_next): Added __extension__
8416 qualifier as long long type is not strict ANSI.
8417 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
8418 to long long constant.
8419
b585720b
CV
8420Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
8421
8422 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
8423 `setegid' provided by Cygwin.
8424
01c327ba
CV
8425Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
8426
8427 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
8428 account for Cygwin.
8429
46a43a99
JJ
8430Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8431
8432 * libc/include/sys/reent.h (_rand_next): Changed to
8433 unsigned long long and moved to end of _reent struct in _new union.
8434 (_REENT_INIT): Changed to move _rand_next initialization.
8435 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
8436 linear congruential algorithm that is used by DJGPP.
8437
a68078cb
RK
8438Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8439
8440 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
8441 * libc/include/sys/config.h: Define __RAND_MAX.
8442
518882f3
JJ
8443Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8444
8445 * libc/stdlib/rand_r.c: New algorithm that meets minimal
8446 standard.
8447
d51d968a
CF
8448Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
8449
8450 * libc/include/string.h: Work around problem with strsignal and gdb.
8451
d2dd5765
CF
8452Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
8453
8454 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
8455 * libc/include/malloc.h: Ditto.
8456 * libc/include/process.h: Ditto.
8457 * libc/include/stdio.h: Ditto.
8458 * libc/include/stdlib.h: Ditto.
8459 * libc/include/time.h: Ditto.
8460 * libc/include/machine/setjmp.h: Ditto.
8461 * libc/include/sys/errno.h: Ditto.
8462 * libc/include/sys/signal.h: Ditto.
8463 * libc/include/sys/stat.h: Ditto.
8464 * libc/include/sys/time.h: Ditto.
8465 * libc/include/sys/unistd.h: Ditto.
8466 * libc/include/string.h: Ditto. strsignal should return a const char *.
8467
88870218
JJ
84682000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
8469
8470 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
8471 * libm/common/s_log1p.c (log1p): Likewise.
8472 * libm/common/s_scalbn.c (scalbn): Likewise.
8473 * libm/math/e_log.c: Likewise.
8474 * libm/math/e_asin.c: Likewise.
8475 * libm/math/ef_asin.c: Likewise.
8476 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
8477 * libm/math/e_j1.c (pone, qone): Likewise.
8478 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
8479 * libm/math/ef_j1.c (ponef, qonef): Likewise.
8480 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
8481 * libm/mathfp/e_j1.c (pone, qone): Likewise.
8482 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
8483 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
8484
c4e1aa01
DD
84852000-05-19 DJ Delorie <dj@cygnus.com>
8486
8487 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
8488 (__sread): always read in binary mode
8489 (__swrite): always write in binary mode
8490 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
8491 compatibility issues with different dll versions
8492 * libc/stdio/fopen.c: use __stextmode
8493 * libc/stdio/fdopen.c: ditto
8494 * libc/stdio/freopen.c: ditto
8495 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
8496 * libc/stdio/local.h: declare __stextmode
8497
f4393261
DD
84982000-05-18 DJ Delorie <dj@cygnus.com>
8499
8500 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
8501
2b533fac
JJ
8502Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8503
8504 * libc/include/ctype.h: Changed tolower and toupper macros
8505 to use __extension__ to prevent pedantic warnings.
8506
75362a76
RK
8507Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
8508
8509 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
8510 structures.
8511
ec463fc7
JW
8512Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
8513
8514 * libc/include/machine/ieeefp.h: Add ia64 support.
8515 * configure.host: Likewise.
8516
f35ceefa
JJ
8517Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
8518
8519 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
8520 month is now padded with space, not zero. This now conforms to
8521 ANSI standard.
8522
b96fca8c
CV
8523Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
8524
8525 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
8526 host or network path") used by cygwin. Add some comments.
8527
49d64538
JJ
8528Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
8529
8530 * libc/include/stdio.h (FILE): define __SCLE for "convert line
8531 endings" for Cygwin.
8532 (__sgetc): convert line endings if needed
8533 (__sputc): ditto
8534 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
8535 * libc/stdio/fopen.c (_fopen_r): ditto
8536 * libc/stdio/freopen.c (freopen): ditto
8537 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
8538 * libc/stdio/fvwrite.c (__sfvwrite): ditto
8539
91fb1e7f
AO
8540Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
8541
8542 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
8543 post-increment when it is worth it, spacewise.
8544
c87be3e4
JJ
8545Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8546
8547 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
8548 * libc/stdio/findfp.c (std): Added declaration of flags and file.
8549 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
8550 return type.
8551 * libc/stdio/putchar.c (putchar): Added return statement.
8552 * libc/stdio/refill.c (lflush): Added correct parentheses.
8553 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
8554 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
8555 prints long value to use l qualifier.
8556 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
8557 messages and initialized local values: ilim, ilim1, and spec_case.
8558 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
8559 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
8560 * libc/stdlib/mprec.c: Ditto.
8561 * libc/stdlib/setenv_r.c: Ditto.
8562 * libc/stdlib/strtod.c: Ditto.
8563 * libc/stdlib/strtol.c: Ditto.
8564 * libc/stdlib/strtoul.c: Ditto.
8565 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
8566 * libm/common/sf_log1p.c: Ditto.
8567 * libm/common/sf_scalbn.c: Ditto.
8568 * libm/math/ef_log.c: Ditto.
8569
11f5b065
CV
8570Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
8571
8572 * libc/posix/execvp.c (execvp): Check path for
8573 trailing slash.
8574
796e3b20
CV
8575Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
8576
8577 * libc/include/sys/unistd.h: Add prototypes for
8578 fchmod, fchown, lchown.
8579
b489803a
JJ
8580Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8581
8582 * acinclude.m4: Changed release to 1.8.2.
8583 * aclocal.m4 configure doc/aclocal.m4 doc/configure
8584 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
8585 libc/machine/configure libc/machine/a29k/aclocal.m4
8586 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8587 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8588 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8589 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8590 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
8591 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8592 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8593 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8594 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8595 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8596 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8597 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8598 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8599 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8600 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8601 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8602 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8603 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8604 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8605 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8606 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8607 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8608 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
8609 libc/machine/z8k/configure libc/sys/aclocal.m4
8610 libc/sys/aclocal.m4 libc/sys/configure
8611 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8612 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8613 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8614 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8615 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8616 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8617 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8618 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8619 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8620 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8621 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8622 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8623 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8624 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8625 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8626 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8627 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8628 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8629 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8630 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8631 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8632 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8633 libm/aclocal.m4 libm/configure: Regenerated.
8634
79908d67
NC
86352000-03-24 Nick Clifton <nickc@cygnus.com>
8636
8637 * libc/sys/arm/syscalls.c: Fix compile time warnings.
8638 (do_AngelSWI): Add "cc" to list o registers clobbered.
8639
7684ddaf
FN
8640Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8641
8642 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
8643 information to be clobbered by an Angel C library support syscall.
8644
b8ec20c8
JJ
8645Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8646
8647 * libc/stdlib/envlock.c: Fixed comment typo.
8648
fae4c299
JJ
8649Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8650
8651 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
8652 code to update nread as each character is processed instead
8653 of using buffer contents which throw away leading zeroes.
8654
dc98804b
RK
8655Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
8656
8657 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
8658
5ed2f523
JJ
8659Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
8660
8661 * libc/include/string.h: Include <sys/types.h>.
8662
1cf0ee34
AO
8663Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8664
8665 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
8666 with XSH5, not SVID.
8667
e9c94978
JJ
8668Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8669
8670 * libc/include/string.h: Changed last argument back to ssize_t
8671 to make it compatible with XPG4 definition which is
8672 defined in <unistd.h>. There is a conflict in the SVID 3
8673 and XPG4 definitions and newlib will settle with XPG4.
8674 * libc/string/swab.c: Ditto.
8675
3072163c
JJ
8676Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8677
8678 * libc/include/string.h: Changed last argument to size_t.
8679 * libc/string/swab.c: Changed last argument to size_t.
8680
f205ea7a
AO
8681Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8682
8683 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
8684 (CHEWOUT_FILES): Added unlinkr.def.
8685 * libc/reent/Makefile.in: Rebuilt.
8686 * libc/sys.tex: Include unlinkr.def.
8687 * libc/reent/linkr.c (_unlink_r): Moved to...
8688 * libc/reent/unlinkr.c: ... new file.
8689
85dd2e5b
AO
8690Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8691
8692 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
8693 (CHEWOUT_FILES): Added swab.def.
8694 * libc/string/Makefile.in: Rebuilt.
8695 * libc/string/string.tex: Include swab.def.
8696 * libc/include/string.h (swab): Declare.
8697 * libc/string/swab.c: New file.
8698
c5053058
AO
8699Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8700
8701 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
8702 (CHEWOUT_FILES): Added getw.def and putw.def.
8703 * libc/stdio/Makefile.in: Rebuilt.
8704 * libc/stdio/stdio.tex: Include getw.def and putw.def.
8705 * libc/stdio/getw.c: New file.
8706 * libc/stdio/putw.c: New file.
8707
dbaf37cf
JJ
8708Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8709
8710 * libc/stdio/flags.c (__sflags): Added check that mode[1]
8711 is non-null before looking at mode[2].
8712
bc019ef2
RK
8713Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8714
8715 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
8716 * libm/mathfp/sf_atan.c: Ditto.
8717
8718Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
8719
8720 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
8721
cd641b2d
RK
8722Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8723
8724 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
8725 _DOUBLE_IS_32BITS.
8726
b0ba0ac2
JJ
8727Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8728
8729 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
8730 call prior to calling _VFPRINTF_R so reentrant data area is set.
8731 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
8732
8a0efa53
CF
8733Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8734
8735 * libc/stdio/vfscanf.c (limits.h): #include.
8736 (MAX_LONG_LEN): #define.
8737 (__svfscanf): Handle floating point numbers with arbitrary amounts
8738 of leading zeroes.
8739
87402000-02-15 Nick Clifton <nickc@cygnus.com>
8741
8742 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
8743 zero. Set the blocksize to 1024/
8744
8745Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8746
8747 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
8748 with line buffering.
8749
8750Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8751
8752 * acinclude.m4: Changed include directory for winsup headers.
8753 * aclocal.m4 configure libc/aclocal.m4
8754 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
8755 libc/locale/Makefile.in libc/machine/aclocal.m4
8756 libc/machine/configure libc/machine/a29k/aclocal.m4
8757 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8758 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8759 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8760 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8761 libc/machine/fr30/configure
8762 libc/machine/h8300/aclocal.m4
8763 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8764 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8765 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8766 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8767 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8768 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8769 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8770 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8771 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8772 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8773 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8774 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8775 libc/machine/powerpc/configure
8776 libc/machine/sh/aclocal.m4
8777 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8778 libc/machine/sparc/configure
8779 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8780 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8781 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8782 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8783 libc/misc/Makefile.in libc/posix/Makefile.in
8784 libc/reent/Makefile.in
8785 libc/signal/Makefile.in
8786 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
8787 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8788 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
8789 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
8790 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
8791 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8792 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8793 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8794 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8795 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8796 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8797 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8798 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8799 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
8800 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
8801 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
8802 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
8803 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
8804 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
8805 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
8806 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
8807 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
8808 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
8809 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
8810 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
8811 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
8812 libm/configure: Regenerated.
8813
8814Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
8815
8816 * libc/stdlib/putenv_r.c (_putenv_r): New file.
8817 * libc/stdlib/strdup_r.c (_strdup_r): New file.
8818 * libc/include/string.h: Added _strdup_r.
8819 * libc/stdlib/putenv.c: Added call to reentrant version.
8820 * libc/stdlib/strdup.c: Ditto.
8821 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
8822 * libc/include/stdlib.h: Ditto.
8823 * libc/stdlib/Makefile.in: Regenerated.
8824 * libc/string/Makefile.in: Regenerated.
8825 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
8826 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
8827 management calls to reentrant versions.
8828 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
8829 * libc/stdlib/wctomb.c: Ditto.
8830 * libc/stdlib/mblen.c: Ditto.
8831 * libc/stdlib/mbstowcs.c: Ditto.
8832 * libc/stdlib/mbtowc.c: Ditto.
8833 * libc/stdlib/getenv.c: Ditto.
8834 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
8835 and _strdup_r.
8836
8837Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
8838
8839 patch from Corinna Vinschen <corinna@vinschen.de>
8840 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
8841
bc019ef2 8842Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
8843
8844 * libm/mathfp/s_atangent.c: Fix exponent calculation.
8845 * libm/mathfp/s_ldexp.c: Ditto.
8846 * libm/mathfp/sf_atangent.c: Ditto.
8847 * libm/mathfp/sf_ldexp.c: Ditto.
8848
8849Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8850
8851 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
8852 * libc/include/locale.h: define NULL to be 0.
8853
8854Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
8855
8856 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
8857 function.
8858
8859Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
8860
8861 * libc/machine/mn10300/setjmp.S: Handle am33.
8862
88631999-11-26 Nick Clifton <nickc@cygnus.com>
8864
8865 * libc/sys/arm/syscalls.c: Add function prototypes.
8866 (stack_ptr): Move declaration before function definitions.
8867
8868Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8869
8870 * NEWS: Updated version information.
8871 * README: Ditto.
8872
8873Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
8874
8875 * libc/machine/i386/strchr.S: Fixed alignment test.
8876
8877Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
8878
8879 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
8880
8881Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
8882
8883 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
8884 ensuring that there is space between the two.
8885
8886Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
8887
8888 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
8889 only.
8890
88911999-10-08 Vadim Egorov <egorovv@1c.ru>
8892
8893 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
8894 section
8895
8896Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8897
8898 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
8899 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
8900
8901Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
8902 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
8903 per POSIX 1003.1b.
8904 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
8905 per POSIX 1003.1b.
8906
89071999-09-13 DJ Delorie <dj@cygnus.com>
8908
8909 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
8910 also.
8911
8912Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
8913
8914 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
8915 also note BUFSIZ as its size.
8916
8917Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
8918
8919 * configure.host: Corrected feature defines for RTEMS.
8920 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
8921 * libc/include/sys/stat.h: mkfifo() should take const path arg.
8922 * libc/include/sys/unistd.h: pathconf() should take const path arg.
8923 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
8924 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
8925 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
8926 _PC_PRIO_IO, and _PC_SYNC_IO.
8927 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
8928 * libc/machine/m68k/Makefile.in: Regenerated.
8929 * libc/machine/m68k/strcpy.c: New file.
8930 * libc/machine/m68k/strlen.c: New file.
8931 * libc/stdio/tmpnam.c: Always make the returned name usable.
8932 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
8933 * libc/sys/rtems/sys/dirent.h: New file.
8934 * libc/sys/rtems/sys/types.h: Added dev_t.
8935
8936Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
8937
8938 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
8939
8940Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
8941
8942 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
8943 my patch.
8944
8945Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
8946
8947 patch from Jeff Johnston <jjohnstn@cygnus.com>
8948 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
8949 buffer is not in a useful state.
8950
89511999-09-01 Nick Clifton <nickc@cygnus.com>
8952
8953 * libc/sys/arm/syscalls.c (_link): Add stub.
8954
8955Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8956
8957 * ftell.c (ftell): Use actual position within buffer for text mode.
8958 * findfp.c (std): Initialize ptr->_bf._size.
8959
8960Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
8961
8962 * libc/include/sys/unistd.h: Add nice() declaration.
8963
89641999-08-09 Nick Clifton <nickc@cygnus.com>
8965
8966 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
8967 declare as a thumb function so that the disassembler will see the
8968 mode change.
8969
8970Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8971
8972 * libc/reent/reent.tex: Updated list of reentrant functions.
8973
89741999-07-09 Michael Meissner <meissner@cygnus.com>
8975
8976 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
8977
8978Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
8979
8980 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
8981 separate file.
8982 * libc/stdio/snprintf.c: New file.
8983 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
8984 separate file.
8985 * libc/stdio/vsnprintf.c: New file.
8986 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
8987 * libc/stdio/Makefile.in: Regenerated.
8988
8989Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
8990
8991 Patch submitted by Egor Duda <deo@logos-m.ru>:
8992 * libc/include/stdio.h: Add declarations for *nprintf.
8993 * libc/stdio/sprintf.c (snprintf): New function.
8994 (_snprintf_r): New function.
8995 * libc/stdio/vsprintf.c (vsnprintf): New function.
8996 (_vnsprintf_r): New function.
8997
8998Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
8999
9000 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
9001 * libm/Makefile.am (stmp-targetdep): Ditto.
9002 * libc/Makefile.in: Regenerated.
9003 * libm/Makefile.in: Ditto.
9004
9005Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9006
9007 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
9008 * libm/Makefile.am (stmp-targetdep): Ditto.
9009 * libc/Makefile.in: Regenerated.
9010 * libm/Makefile.in: Ditto.
9011
9012Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
9013
9014 * Makefile.am: Removed dependencies on all-recursive and added "."
9015 to the SUBDIRS list to prevent infinite recursion from occurring.
9016 Also removed any references to EXTRA_DATA.
9017 * libc/Makefile.am: Ditto.
9018 * libc/machine/Makefile.am: Ditto.
9019 * libc/machine/i386/Makefile.am: Ditto.
9020 * libm/Makefile.am: Ditto.
9021 * libc/sys/Makefile.am: Ditto.
9022 * Makefile.in: Regenerated.
9023 * aclocal.m4: Ditto.
9024 * configure: Ditto.
9025 * doc/Makefile.in: Ditto.
9026 * doc/aclocal.m4: Ditto.
9027 * doc/configure: Ditto.
9028 * libc/Makefile.in: Ditto.
9029 * libc/aclocal.m4: Ditto.
9030 * libc/configure: Ditto.
9031 * libc/machine/Makefile.in: Ditto.
9032 * libc/machine/aclocal.m4: Ditto.
9033 * libc/machine/configure: Ditto.
9034 * libc/machine/mn10300/Makefile.in: Ditto.
9035 * libc/machine/mn10300/aclocal.m4: Ditto.
9036 * libc/machine/mn10300/configure: Ditto.
9037 * libc/sys/Makefile.in: Ditto.
9038 * libc/sys/aclocal.m4: Ditto.
9039 * libc/sys/configure: Ditto.
9040 * libm/Makefile.in: Ditto.
9041 * libm/aclocal.m4: Ditto.
9042 * libm/configure: Ditto.
9043
9044Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9045
9046 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
9047
9048Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9049
9050 * libc/include/stdlib.h: Add reentrant routines.
9051 * libc/stdlib/Makefile.am: Add reentrant routines.
9052 * libc/stdlib/Makefile.in: Ditto.
9053 * libc/stdlib/envlock.c: New file.
9054 * libc/stdlib/envlock.h: New file.
9055 * libc/stdlib/getenv.c: Modify to call reentrant routine.
9056 * libc/stdlib/getenv_r.c: New file.
9057 * libc/stdlib/mblen.c: Modify to call reentrant routine.
9058 * libc/stdlib/mblen_r.c: New file.
9059 * libc/stdlib/setenv.c: Modify to call reentrant routine.
9060 * libc/stdlib/setenv_r.c: New file.
9061 * libc/stdlib/stdlib.tex: Add reentrant routines.
9062
9063Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
9064
9065 * libc/include/sys/types.h: Define __MS_types__ whenever
9066 cygwin or win32.
9067
9068Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
9069
9070 * libc/include/machine/ieeefp.h: Always default to little
9071 endian if Windows, regardless of architecture.
9072 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
9073 regardless of architecture.
9074
9075Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
9076
9077 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
9078 _WIN32 isn't defined.
9079
9080Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
9081
9082 * libm/common/s_rint.c (rint): Add volatile qualifier for
9083 intermediate value w.
9084 * libm/common/sf_rint.c (rintf): Ditto.
9085
9086Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9087
9088 * libc/sys/arm/syscalls.c (remap_handle): Added check to
9089 ensure that std streams are initialized before being referenced.
9090
90911999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
9092
9093 * README: Update reference to newlib@cygnus.com new
9094 newlib@sourceware.cygnus.com address.
9095
9096Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
9097
9098 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
9099 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
9100 defined, even if _WIN32 isn't defined.
9101
9102Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
9103
9104 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
9105
9106Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9107
9108 * libc/include/sys/reent.h: Change Long and ULong to __Long and
9109 __ULong.
9110 * libc/stdlib/dtoa.c: Ditto.
9111 * libc/stdlib/mprec.c: Ditto.
9112 * libc/stdlib/mprec.h: Ditto.
9113 * libc/stdlib/strtod.c: Ditto.
9114
91151999-04-21 Nick Clifton <nickc@cygnus.com>
9116
9117 * configure.host (mcore): Remove mcore machine directory.
9118
91191999-04-18 Nick Clifton <nickc@cygnus.com>
9120
9121 * libc/include/machine/ieeefp.h: Add support for mcore target.
9122 * libc/include/machine/setjmp.h: Add support for mcore target.
9123 * configure.host: Add support for mcore target.
9124
91251999-04-13 Mark Salter <msalter@cygnus.com>
9126
9127 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
9128 * libc/sys/arm/syscalls.c: Added isatty.
9129
9130Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9131
9132 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
9133 insert zeroes after significant digits.
9134
9135Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9136
9137 * libc/stdio/vfprintf.c (cvt): Changed floating point
9138 cvt routine to use union used by dtoa to properly determine
9139 if the sign bit is on or not.
9140 * libc/stdio/vfieeefp.h: New file
9141
9142Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9143
9144 * aclocal.m4: Regenerated.
9145 * configure: Regenerated.
9146
9147Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9148
9149 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
9150 f_tanf reference.
9151 * libc/machine/i386/Makefile.in: Regenerated.
9152
9153Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
9154
9155 * acinclude.m4: Changed to work with new automake.
9156 * configure: Regenerated.
9157 * libc/machine/i386/aclocal.m4: Regenerated.
9158 * libc/machine/i386/configure: Regenerated.
9159
9160Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
9161
9162 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
9163 for telldir() and seekdir(). Rename unused structure element
9164 for use with these two routines.
9165
9166Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
9167
9168 * libc/time/mktime.c (validate_structure): Multiple fixes to
9169 code to handle cases where input fields are outside valid ranges.
9170 * libc/stdlib/div.c (div): Modified invalid rounding check.
9171 * libc/stdlib/ldiv.c (ldiv): Ditto.
9172
9173Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
9174
9175 * libc/machine/i386/memcpy.S: Performance rewrite.
9176 * libc/machine/i386/memmove.S: Ditto.
9177 * libc/machine/i386/i386mach.h: Added more register definitions.
9178 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
9179 option used.
9180 * libc/include/machine/fastmath.h: Add definitions for x86
9181 fast-math routines.
9182
9183Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9184
9185 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
9186
9187Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
9188
9189 Adjust newlib headers for new Cygwin Win32 API header files:
9190 * libc/include/sys/time.h: Check _WINSOCK_H rather than
9191 _GNU_H_WINDOWS32_SOCKETS.
9192 * libc/include/sys/types.h: Ditto.
9193
9194Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9195
9196 *include/sys/reent.h: Add checks for size of Bigint element Long.
9197 *libc/dtoa.c: Change routines to use generic Long type.
9198 *libc/mprec.c: Change routines to use generic Long type.
9199 *libc/mprec.h: Change routines to use generic Long type.
9200
9201Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
9202
9203 * libc/Makefile.am: Add .def files.
9204 * libc/Makefile.in: Regenerate.
9205 * libc/e_acosh.c: Documentation update.
9206 * libc/e_atanh.c: Documentation update.
9207 * libc/e_hypot.c: Documentation update.
9208 * libc/e_remainder.c: Documentation update.
9209 * libc/er_lgamma.c: Documentation update.
9210 * libc/mathfp.tex: Documentation update.
9211 * libc/s_acos.c: Documentation update.
9212 * libc/s_atan.c: Documentation update.
9213 * libc/s_atan2.c: Documentation update.
9214 * libc/s_cosh.c: Documentation update.
9215 * libc/s_fmod.c: Documentation update.
9216 * libc/s_isnan.c: Documentation update.
9217 * libc/s_log10.c: Documentation update.
9218 * libc/s_pow.c: Documentation update.
9219 * libc/w_jn.c: Documentation update.
9220
9221Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
9222
9223 * aclocal.m4: Regenerate.
9224 * configure: Regenerate.
9225
9226Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
9227
9228 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
9229 to return 1 if user specified return code is 0.
9230 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
9231
9232Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
9233
9234 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
9235 to save the return address. Fixed longjmp to return to the original
9236 calling address of setjmp and to return the user specified return code
9237 rather than default to 1.
9238 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
9239
9240Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
9241
9242 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
9243
92441999-02-10 Nick Clifton <nickc@cygnus.com>
9245
9246 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
9247 volatile so that its assignments will not be discarded.
9248
9249Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
9250
9251 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
9252 be __STRICT_ANSI__ which is generated by compiler.
9253 * libc/include/ctype.h: Ditto.
9254 * libc/include/math.h: Ditto.
9255 * libc/include/stdio.h: Ditto.
9256 * libc/include/stdlib.h: Ditto.
9257 * libc/include/string.h: Ditto.
9258 * libc/include/sys/signal.h: Ditto.
9259
92601999-02-08 Nick Clifton <nickc@cygnus.com>
9261
9262 * configure.host: Add support for StrongARM target.
9263
9264Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
9265
9266 * libc/string/strncpy.c (strncpy): Removed redundant code
9267 that was copying bytes if data unaligned.
9268
92691999-02-02 Brendan Kehoe <brendan@cygnus.com>
9270
9271 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
9272 mbstowcs.def, and wcstombs.def.
9273
9274Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
9275
9276 * libc/include/sys/errno.h: Add Cygwin errno.
9277 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
9278 is specified.
9279
92801999-01-29 Nick Clifton <nickc@cygnus.com>
9281
9282 * libc/sys/arm/syscalls.c: Move C library functions into seperate
9283 file.
9284
9285 * libc/sys/arm/libcfunc.c: New file containing C library functions
9286 from syscalls.c
9287
9288 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
9289 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
9290
9291
92921999-01-27 Michael Meissner <meissner@cygnus.com>
9293
9294 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
9295 type, and cut size in half so that the jmp_buf array is guaranteed
9296 to be aligned on a 64-bit boundary.
9297
9298Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
9299
9300 * libc/string/strings.tex: Added information about
9301 strcasecmp and strncasecmp.
9302 * libc/stdlib/stdlib.tex: Added missing information
9303 about mblen, mbstowcs, and wcstombs.
9304 * libc/string/strchr.c: Changed how mask is built to use
9305 shift operators so register will be used instead of storage.
9306
93071999-01-22 DJ Delorie <dj@cygnus.com>
9308
9309 * libc/include/stdlib.h: don't use dllimport if we're building
9310 newlib, since it's inside cygwin.dll
9311
9312Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
9313
9314 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
9315 _ctype_ under cygwin.
9316
9317Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
9318
9319 * include/stdlib.h: Fix typo from previous checkin.
9320
9321Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
9322
9323 * include/ctype.h: Use __declspec(dllimport) method for exporting
9324 variable from cygwin DLL.
9325 * include/time.h: Ditto.
9326 * sys/errno.h: Ditto.
9327 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
9328 * libc/locale/locale.c: Use __declspec(dllexport) method for
9329 exporting variable from cygwin DLL.
9330
9331Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
9332
9333 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
9334 access of bogus pointer will result in SIGSEGV.
9335
93361999-01-07 Nick Clifton <nickc@cygnus.com>
9337
9338 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
9339 of an underscore prefix to function names.
9340
9341Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
9342
9343 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
9344 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
9345
93461998-12-31 Michael Meissner <meissner@cygnus.com>
9347
9348 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
9349 to `%' if not already defined.
9350
93511998-12-30 Michael Meissner <meissner@cygnus.com>
9352
9353 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
9354 arguments const char *, not char *.
9355 * libc/include/stdio.h (_tempnam_r): Ditto.
9356
9357 * libc/include/sys/reent.h (struct _reent): The _sig_func type
9358 points to a function taking an integer, not void.
9359
9360Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
9361
9362 * configure.host: Add a define for Cygwin builds.
9363 * libc/include/ctype.h: Don't use dll imported variables in newlib.
9364
9365Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
9366
9367 * libc/include/ctype.h: Define _ctype_ as dll imported variable
9368 for use with Cygwin.
9369 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
9370 dll imported variables for use with Cygwin.
9371 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
9372 as a dll imported variable for Cygwin.
9373
9374Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
9375
9376 * libc/include/sys/unistd.h: Add proto for getpass.
9377
9378Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
9379
9380 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
9381 alphasort.
9382
9383Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
9384
9385 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
9386 not posix_path_list_p.
9387
93881998-12-15 Nick Clifton <nickc@cygnus.com>
9389
9390 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
9391 a signed int.
9392
93931998-12-13 Nick Clifton <nickc@cygnus.com>
9394
9395 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
9396
93971998-12-12 Nick Clifton <nickc@cygnus.com>
9398
9399 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
9400 <msalter@cygnus.com>
9401 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
9402 * libc/machine/fr30/Makefile.in: Regenerated.
9403
94041998-12-11 Nick Clifton <nickc@cygnus.com>
9405
9406 * configure.host: Remove use of libc/sys for FR30 port.
9407 * libc/sys/fr30: Remove directory (replaced by libgloss).
9408
94091998-12-10 Ken Raeburn <raeburn@cygnus.com>
9410
9411 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
9412 * libc/string/strncat.c (ALIGNED): Ditto.
9413
9414Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
9415
9416 * libc/include/sys/time.h: include sys/types.h
9417
9418Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
9419
9420 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
9421 comparison found when checking word at a time.
9422
94231998-12-04 Nick Clifton <nickc@cygnus.com>
9424
9425 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
9426
94271998-12-03 Nick Clifton <nickc@cygnus.com>
9428
9429 * libc/sys/fr30/syscalls.c (_times): New function stub.
9430
9431Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9432
9433 * configure.host (mach_add_setjmp): Replaced mach_add_objs
9434 with mach_add_setjmp flag which indicates if setjmp should
9435 be added to the machine directory objects.
9436 * acinclude.m4: Removed reference to mach_add_objs.
9437 * aclocal.m4: Regenerated.
9438 * Makefile.in: Regenerated.
9439 * configure: Regenerated.
9440 * libc/aclocal.m4: Regenerated.
9441 * libc/Makefile.in: Regenerated.
9442 * libc/configure: Regenerated.
9443 * libc/machine/aclocal.m4: Regenerated.
9444 * libc/machine/Makefile.in: Regenerated.
9445 * libc/machine/configure: Regenerated.
9446 * libc/machine/i386/aclocal.m4: Regenerated.
9447 * libc/machine/i386/Makefile.am: Altered to selectively add
9448 setjmp.S to the src files list.
9449 * libc/machine/i386/Makefile.in: Regenerated.
9450 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
9451 * libc/machine/i386/configure: Regenerated.
9452
94531998-12-02 Nick Clifton <nickc@cygnus.com>
9454
9455 * libc/sys/fr30/crt0.s (_start): Fix function names.
9456
9457 * libc/machine/fr30: New directory
9458 * libc/machine/fr30/Makefile.am: New file.
9459 * libc/machine/fr30/Makefile.in: New generated file.
9460 * libc/machine/fr30/configure.in: New file.
9461 * libc/machine/fr30/configure: New generated file.
9462 * libc/machine/fr30/aclocal.m4: New generated file.
9463 * libc/sys/fr30/Makefile.am: New file.
9464 * libc/sys/fr30/Makefile.in: New generated file.
9465 * libc/sys/fr30/configure.in: New file.
9466 * libc/sys/fr30/configure: New generated file.
9467 * libc/sys/fr30/syscalls.c: New file.
9468
9469Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
9470
9471 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
9472
94731998-12-01 Ken Raeburn <raeburn@cygnus.com>
9474
9475 * libc/time/strftime.c (strftime): Also handle %y for years before
9476 1900.
9477
9478Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
9479
9480 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
9481 UNIX convention. Perform tolower on characters before comparing
9482 them rather than use toupper.
9483 * libc/string/strncasecmp.c (strncasecmp): Ditto.
9484
9485Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9486
9487 * configure.host: Added using i386 machine directory
9488 for all x86 cross-compiler and configuring
9489 which added object files to use via new "mach_add_objs" variable.
9490 * configure: Regenerated.
9491 * libc/configure: Regenerated.
9492 * libc/Makefile.in: Regenerated.
9493 * libc/aclocal.m4: Regenerated.
9494 * libc/ctype/Makefile.in: Regenerated.
9495 * libc/errno/Makefile.in: Regenerated.
9496 * libc/locale/Makefile.in: Regenerated.
9497 * libc/machine/Makefile.in: Regenerated.
9498 * libc/machine/aclocal.m4: Regenerated.
9499 * libc/machine/configure: Regenerated.
9500 * libc/posix/Makefile.in: Regenerated.
9501 * libc/reent/Makefile.in: Regenerated.
9502 * libc/signal/Makefile.in: Regenerated.
9503 * libc/stdio/Makefile.in: Regenerated.
9504 * libc/stdlib/Makefile.in: Regenerated.
9505 * libc/string/Makefile.in: Regenerated.
9506 * libc/string/memmove.c: Optimized code to use memcpy
9507 logic when performing a non-destructive copy.
9508 * libc/string/strncmp.c: Altered code to allow building
9509 optimized for size or speed.
9510 * libc/syscalls/Makefile.in: Regenerated.
9511 * libc/time/Makefile.in: Regenerated.
9512 * libc/unix/Makefile.in: Regenerated.
9513 * libc/machine/i386/Makefile.am: Added new files and reference
9514 to "mach_add_objs" to indicate optional object files.
9515 * libc/machine/i386/Makefile.in: Regenerated.
9516 * libc/machine/i386/aclocal.m4: Regenerated.
9517 * libc/machine/i386/configure: Regenerated.
9518 * libc/machine/i386/memchr.S: New file that implements
9519 function in Intel assembler.
9520 * libc/machine/i386/memcmp.S: ditto.
9521 * libc/machine/i386/memcpy.S: ditto.
9522 * libc/machine/i386/memmove.S: ditto.
9523 * libc/machine/i386/memset.S: ditto.
9524 * libc/machine/i386/strchr.S: ditto.
9525 * libc/machine/i386/strlen.S: ditto.
9526 * libc/machine/i386/f_atan2.S: New file that implements
9527 fast version of math function to be used by compiler when
9528 --ffast_math compile option is used.
9529 * libc/machine/i386/f_atan2f.S: ditto.
9530 * libc/machine/i386/f_exp.c: ditto.
9531 * libc/machine/i386/f_expf.c: ditto.
9532 * libc/machine/i386/f_frexp.S: ditto.
9533 * libc/machine/i386/f_frexpf.S: ditto.
9534 * libc/machine/i386/f_ldexp.S: ditto.
9535 * libc/machine/i386/f_ldexpf.S: ditto.
9536 * libc/machine/i386/f_log.S: ditto.
9537 * libc/machine/i386/f_logf.S: ditto.
9538 * libc/machine/i386/f_log10.S: ditto.
9539 * libc/machine/i386/f_log10f.S: ditto.
9540 * libc/machine/i386/f_math.h: New file.
9541 * libc/machine/i386/f_pow.c: ditto.
9542 * libc/machine/i386/f_powf.S: ditto.
9543 * libc/machine/i386/f_tan.S: ditto.
9544 * libc/machine/i386/f_tan.S: ditto.
9545 * libc/machine/i386/i386mach.h: New file.
9546
9547Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
9548
9549 patch from Mumit Khan <khan@xraylith.wisc.edu>
9550 * libc/include/stdio.h (tempnam): Add prototype.
9551 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
9552 (tempnam): Adhere to prototype.
9553
9554Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
9555
9556 * Makefile.am: Add default for AR_FLAGS.
9557 * Makefile.in: Regenerate.
9558
9559Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
9560
9561 * libc/include/time.h: move __cplusplus wrapper after includes
9562 * libc/include/sys/time.h: ditto. If Cygwin, include
9563 sys/select.h.
9564 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
9565
95661998-11-23 Ken Raeburn <raeburn@cygnus.com>
9567
9568 * libc/time/strftime.c (strftime): Handle %y after year 2000.
9569
9570Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
9571
9572 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
9573 abnormnal end-of-crt0 marker.
9574
9575Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
9576
9577 * libc/sys/fr30/crt0.s: New file/directory.
9578 * libc/include/machine/setjmp.h: Add FR30 target.
9579 * libc/include/machine/ieeefp.h: Add FR30 target.
9580 * configure.host: Add FR30 target.
9581
9582Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9583
9584 * libm/math: Files that are duplicated in common directory removed.
9585 * libm/math/fdlibm.h: Removed.
9586 * libm/math/s_cbrt.c: Removed.
9587 * libm/math/s_copysign.c: Removed.
9588 * libm/math/s_expm1.c: Removed.
9589 * libm/math/s_finite.c: Removed.
9590 * libm/math/s_ilogb.c: Removed.
9591 * libm/math/s_infinity.c: Removed.
9592 * libm/math/s_lib_ver.c: Removed.
9593 * libm/math/s_log1p.c: Removed.
9594 * libm/math/s_logb.c: Removed.
9595 * libm/math/s_matherr.c: Removed.
9596 * libm/math/s_modf.c: Removed.
9597 * libm/math/s_nan.c: Removed.
9598 * libm/math/s_nextafter.c: Removed.
9599 * libm/math/s_rint.c: Removed.
9600 * libm/math/s_scalbn.c: Removed.
9601 * libm/math/sf_cbrt.c: Removed.
9602 * libm/math/sf_copysign.c: Removed.
9603 * libm/math/sf_expm1.c: Removed.
9604 * libm/math/sf_finite.c: Removed.
9605 * libm/math/sf_ilogb.c: Removed.
9606 * libm/math/sf_infinity.c: Removed.
9607 * libm/math/sf_log1p.c: Removed.
9608 * libm/math/sf_logb.c: Removed.
9609 * libm/math/sf_modf.c: Removed.
9610 * libm/math/sf_nan.c: Removed.
9611 * libm/math/sf_nextafter.c: Removed.
9612 * libm/math/sf_rint.c: Removed.
9613 * libm/math/sf_scalbn.c: Removed.
9614 * libm/math/Makefile.am: Removed references to deleted files (above).
9615 * libm/math/Makefile.in: Regenerated.
9616 * libm/Makefile.am: Added common directory to math.
9617 * libm/Makefile.in: Regenerated.
9618
9619Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9620
9621 * libm/mathfp: Add non-ANSI functions.
9622 * libm/mathfp/e_acosh.c acosh(): New file.
9623 * libm/mathfp/e_atanh.c atanh(): New file.
9624 * libm/mathfp/e_hypot.c hypot(): New file.
9625 * libm/mathfp/e_j0.c j0(): New file.
9626 * libm/mathfp/e_j1.c j1(): New file.
9627 * libm/mathfp/e_remainder.c remainder(): New file.
9628 * libm/mathfp/e_scalb.c scalb(): New file.
9629 * libm/mathfp/ef_acosh.c acoshf(): New file.
9630 * libm/mathfp/ef_atanh.c atanhf(): New file.
9631 * libm/mathfp/ef_hypot.c hypotf(): New file.
9632 * libm/mathfp/ef_j0.c j0f(): New file.
9633 * libm/mathfp/ef_j1.c j1f(): New file.
9634 * libm/mathfp/ef_remainder.c remainderf(): New file.
9635 * libm/mathfp/ef_scalb.c scalbf(): New file.
9636 * libm/mathfp/er_gamma.c gamma_r: New file.
9637 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
9638 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
9639 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
9640 * libm/mathfp/w_cabs.c cabs(): New file.
9641 * libm/mathfp/w_drem.c drem(): New file.
9642 * libm/mathfp/w_jn.c jn(): New file.
9643 * libm/mathfp/wf_cabs.c cabsf(): New file.
9644 * libm/mathfp/wf_drem.c dremf(): New file.
9645 * libm/mathfp/wf_jn.c jnf(): New file.
9646
9647Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
9648
9649 * libc/sys/cygwin32: remove directory and contents
9650 * libc/sys/cygwin: and add back, losing the "32".
9651 * configure.host: check for cygwin* instead of cygwin32.
9652 * acinclude.m4: ditto.
9653 * aclocal.m4: regenerate with aclocal
9654 * configure: regenerate with autoconf
9655
9656Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
9657
9658 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
9659 for length
9660
9661Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9662
9663 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
9664 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
9665 to make rand/srand, strtok, asctime, localtime, w_gamma,
9666 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
9667 time.h to bring in struct tm definition.
9668 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
9669 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
9670 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
9671 instead of static variable.
9672 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
9673 struct reent instead of static variable.
9674 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
9675 struct reent instead of static variable.
9676 * libm/math/Makefile.am: Removed s_signgam.o.
9677 * libm/math/Makefile.in: Regenerated.
9678 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
9679 struct reent instead of global variable 'signgam'.
9680 * libm/math/w_lgamma.c (lgamma): Likewise.
9681 * libm/math/wf_gamma.c (gammaf): Likewise.
9682 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9683 * libm/math/s_signgam.c: Removed.
9684 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
9685 to be const.
9686 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
9687 to be const.
9688 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
9689 libc/include/reent.h.
9690 * libc/reent/Makefile.in: Regenerated.
9691 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
9692 to be const.
9693 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
9694 'JIS_action_table' to be const.
9695 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
9696
9697Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
9698
9699 * acinclude.m4: $with_target_subdir should default to '.'
9700 or confusion results when configuring in same directory as sources.
9701 * Regenerate all aclocal.m4 and configure files.
9702
9703Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
9704
9705 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
9706 can be set by defining MALLOC_ALIGNMENT=16. Also added support
9707 for platforms where sizeof(size_t) < sizeof(long) via
9708 SIZE_T_SMALLER_THAN_LONG macro.
9709
9710Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
9711
9712 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
9713 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
9714 which sets _CLOCKS_PER_SEC_ for selected machines.
9715 * libc/include/machine/time.h: New file.
9716
9717Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9718
9719 * libc/syscalls/sysexecve.c: New file.
9720 * libc/syscalls/sysgettod.c: New file.
9721 * libc/syscalls/systimes.c: New file.
9722 * libc/syscalls/Makefile.am: Added new objects.
9723 * libc/syscalls/Makefile.in: Regenerated.
9724 * libc/include/_syslist.h (_execve): Moved define in file.
9725 * libc/include/reent.h: Added _execve_r declaration.
9726 * libc/Makefile.in: Regenerated.
9727 * libc/ctype/Makefile.in: Regenerated.
9728 * libc/errno/Makefile.in: Regenerated.
9729 * libc/locale/Makefile.in: Regenerated.
9730 * libc/machine/Makefile.in: Regenerated.
9731 * libc/misc/Makefile.in: Regenerated.
9732 * libc/posix/Makefile.in: Regenerated.
9733 * libc/reent/Makefile.in: Regenerated.
9734 * libc/reent/execr.c (_execve_r): Added _execve_r function.
9735 * libc/signal/Makefile.in: Regenerated.
9736 * libc/stdio/Makefile.in: Regenerated.
9737 * libc/time/Makefile.in: Regenerated.
9738 * libc/unix/Makefile.in: Regenerated.
9739 * libm/mathfp/Makefile.in: Regenerated.
9740
9741Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9742
9743 * libc/string/Makefile.in: Regenerated.
9744 * libc/string/memchr.c (memchr): Moved code to reduce object size.
9745 * libc/string/memcpy.c (memcpy): Ditto.
9746 * libc/string/memcmp.c (memcmp): Ditto.
9747 * libc/string/memset.c (memset): Ditto.
9748 * libc/string/strchr.c (strchr): Ditto.
9749 * libc/string/strcmp.c (strcmp): Ditto.
9750 * libc/string/strcpy.c (strcpy): Ditto.
9751 * libc/string/strlen.c (strlen): Ditto.
9752
9753Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9754
9755 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
9756 to generate aclocal.m4.
9757 * libm/Makefile.in: Regenerated.
9758 * libm/aclocal.m4: Regenerated.
9759 * libm/configure: Regenerated.
9760 * libm/math/Makefile.in: Regenerated.
9761 * libm/mathfp/Makefile.in: Regenerated.
9762
97631998-09-25 Mark Salter <msalter@cygnus.com>
9764
9765 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
9766 by adding leading and trailing underscores to symbol names.
9767
9768Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
9769
9770 * Makefile.in: Add default for AR_FLAGS.
9771
9772Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
9773
9774 patch from ian@airs.com (Ian Taylor):
9775 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
9776 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
9777 is needed for detecting the build machine. Required for
9778 cygwin native builds.
9779
9780 * Regenerate all aclocal.m4 and configure files.
9781
9782Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
9783
9784 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
9785 used to start with LC.
9786
9787Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9788
9789 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
9790 (longjmp): Likewise.
9791
9792Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9793
9794 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
9795 the test for small number of bytes.
9796
9797Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9798
9799 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
9800 math library that uses floating point algorithms instead of the old
9801 libm.
9802 * Makefile.in: Regenerate with automake version 1.3b.
9803 * configure: Rebuild.
9804 * libm/Makefile.in: Regenerate with automake version 1.3b.
9805 * libm/aclocal.m4: Regenerate.
9806 * libm/configure: Rebuild.
9807 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
9808 * libm/acinclude.m4: Define macros for configure.in.
9809 * libm/config.h.in: Generate.
9810 * libm/mathfp/Makefile.am: New file.
9811 * libm/mathfp/Makefile.in: Generate.
9812 * libm/mathfp/s_acos.c (acos): New file.
9813 * libm/mathfp/s_asin.c (asin): New file.
9814 * libm/mathfp/s_asine.c (asine): New file.
9815 * libm/mathfp/s_atan.c (atan): New file.
9816 * libm/mathfp/s_atan2.c (atan2): New file.
9817 * libm/mathfp/s_atangent.c (atangent): New file.
9818 * libm/mathfp/s_ceil.c (ceil): New file.
9819 * libm/mathfp/s_copysign.c (copysign): New file.
9820 * libm/mathfp/s_cos.c (cos): New file.
9821 * libm/mathfp/s_cosh.c (cosh): New file.
9822 * libm/mathfp/s_exp.c (exp): New file.
9823 * libm/mathfp/s_fabs.c (fabs): New file.
9824 * libm/mathfp/s_finite.c (finite): New file.
9825 * libm/mathfp/s_floor.c (floor): New file.
9826 * libm/mathfp/s_fmod.c (fmod): New file.
9827 * libm/mathfp/s_frexp.c (frexp): New file.
9828 * libm/mathfp/s_infconst.c: New file.
9829 * libm/mathfp/s_isinf (isinf).c: New file.
9830 * libm/mathfp/s_isnan.c (isnan): New file.
9831 * libm/mathfp/s_ispos.c (ispos): New file.
9832 * libm/mathfp/s_ldexp.c (ldexp): New file.
9833 * libm/mathfp/s_log.c (log): New file.
9834 * libm/mathfp/s_log10.c (log10): New file.
9835 * libm/mathfp/s_logarithm.c (logarithm): New file.
9836 * libm/mathfp/s_mathcnst.c: New file.
9837 * libm/mathfp/s_modf (modf).c: New file.
9838 * libm/mathfp/s_numtest.c (numtest): New file.
9839 * libm/mathfp/s_pow.c (pow): New file.
9840 * libm/mathfp/s_scalbn.c (scalbn): New file.
9841 * libm/mathfp/s_sin (sin).c: New file.
9842 * libm/mathfp/s_sine.c (sine): New file.
9843 * libm/mathfp/s_sineh.c (sineh): New file.
9844 * libm/mathfp/s_sinf.c (sinf): New file.
9845 * libm/mathfp/s_sinh.c (sinh): New file.
9846 * libm/mathfp/s_sqrt.c (sqrt): New file.
9847 * libm/mathfp/s_tan.c (tan): New file.
9848 * libm/mathfp/s_tanh.c (tanh): New file.
9849 * libm/mathfp/sf_acos.c (acosf): New file.
9850 * libm/mathfp/sf_asin.c (asinf): New file.
9851 * libm/mathfp/sf_asine.c (asinef): New file.
9852 * libm/mathfp/sf_atan.c (atanf): New file.
9853 * libm/mathfp/sf_atan2.c (atan2f): New file.
9854 * libm/mathfp/sf_atangent.c (atangent): New file.
9855 * libm/mathfp/sf_ceil.c (ceilf): New file.
9856 * libm/mathfp/sf_copysign.c (copysignf): New file.
9857 * libm/mathfp/sf_cos.c (cosf): New file.
9858 * libm/mathfp/sf_cosh.c (coshf): New file.
9859 * libm/mathfp/sf_exp.c (expf): New file.
9860 * libm/mathfp/sf_fabs.c (fabsf): New file.
9861 * libm/mathfp/sf_finite.c (finitef): New file.
9862 * libm/mathfp/sf_floor.c (floorf): New file.
9863 * libm/mathfp/sf_fmod.c (fmodf): New file.
9864 * libm/mathfp/sf_frexp.c (frexpf): New file.
9865 * libm/mathfp/sf_isinf.c (isinff): New file.
9866 * libm/mathfp/sf_isnan.c (isnanf): New file.
9867 * libm/mathfp/sf_ispos.c (isposf): New file.
9868 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
9869 * libm/mathfp/sf_log.c (logf): New file.
9870 * libm/mathfp/sf_log10.c (log10f): New file.
9871 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
9872 * libm/mathfp/sf_modf.c (modff): New file.
9873 * libm/mathfp/sf_numtest.c (numtestf): New file.
9874 * libm/mathfp/sf_pow.c (powf): New file.
9875 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
9876 * libm/mathfp/sf_sin.c (sinf): New file.
9877 * libm/mathfp/sf_sine.c (sinef): New file.
9878 * libm/mathfp/sf_sineh.c (sinehf): New file.
9879 * libm/mathfp/sf_sinh.c (sinhf): New file.
9880 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
9881 * libm/mathfp/sf_tan.c (tanf): New file.
9882 * libm/mathfp/sf_tanh.c (tanhf): New file.
9883 * libm/mathfp/zmath.h: New file.
9884
9885Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9886
9887 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
9888 exit if it has been overwritten by pre-fetching in delay slot.
9889
98901998-09-01 Michael Meissner <meissner@cygnus.com>
9891
9892 * Makefile.am (tooldir): Add in host_alias, so that multilib
9893 libraries are installed in the directory the compiler looks in.
9894 * Makefile.in: Regenerate.
9895
9896 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
9897
9898Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
9899
9900 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
9901 ahead of test for number of bytes being moved.
9902
9903Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
9904
9905 * libc/include/sys/unistd.h: Nothing special needed for
9906 _exit under cygwin.
9907
9908Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
9909
9910 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
9911 conform to user label naming conventions.
9912
9913Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
9914
9915 * libc/sys/cygwin32/sys/utime.h: variable names in
9916 protos should start with two leading underscores
9917 * libc/include/string.h: ditto
9918 * libc/include/sys/signal.h: ditto
9919 * libc/include/sys/stat.h: ditto
9920 * libc/include/sys/time.h: ditto
9921 * libc/include/sys/unistd.h: ditto
9922 * libc/include/ctype.h: ditto
9923 * libc/include/stdlib.h: ditto
9924 * libc/include/sys/reent.h: struct _atexit function ptr takes a
9925 void, same with _sig_func.
9926
9927Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
9928
9929 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
9930 for MB_CAPABLE to reduce code size when newlib is not configured
9931 with --enable-newlib-mb.
9932 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
9933 mbtowc_r.o to minimize size.
9934 * libc/stdlib/Makefile.in: Rebuild.
9935
9936Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
9937
9938 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
9939 to -DREENT.
9940 * libc/sys/sparc64/Makefile.in: Rebuild.
9941
9942Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
9943
9944 * Makefile.am (MAKEOVERRIDES): Define.
9945 * Makefile.in: Rebuild.
9946
9947Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
9948
9949 * libc/sys/sparc64/sys/stat.h (stat): Add const.
9950
9951Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
9952
9953 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
9954 newlib_cflags when looking for targ-include.
9955 * */aclocal.m4, */configure: Rebuild.
9956
9957Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
9958
9959 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
9960 to "_end".
9961
9962Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
9963
9964 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
9965 on SPARCs with little-endian data.
9966 * libc/include/machine/ieeefp.h: Ditto.
9967
9968Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
9969
9970 * acinclude.m4: Handle a relative srcdir correctly when setting
9971 newlib_cflags.
9972 * */aclocal.m4, */configure: Rebuild.
9973
9974Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
9975
9976 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
9977 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
9978 * libm/math/wrf_gamma.c (gammaf_r): ditto
9979 * libm/math/wr_lgamma.c (lgamma_r): ditto
9980 * libm/math/wr_gamma.c (gamma_r): ditto
9981 * libm/math/wf_sqrt.c (sqrtf): ditto
9982 * libm/math/wf_sinh.c (sinhf): ditto
9983 * libm/math/wf_scalb.c (scalbf): ditto
9984 * libm/math/wf_remainder.c (remainderf): ditto
9985 * libm/math/wf_pow.c (powf): ditto
9986 * libm/math/wf_log10.c (log10f): ditto
9987 * libm/math/wf_log.c (logf): ditto
9988 * libm/math/wf_lgamma.c (lgammaf): ditto
9989 * libm/math/wf_jn.c (jnf, ynf): ditto
9990 * libm/math/wf_j1.c (j1f, y1f): ditto
9991 * libm/math/wf_j0.c (j0f, y0f): ditto
9992 * libm/math/wf_hypot.c (hypotf): ditto
9993 * libm/math/wf_gamma.c (gammaf): ditto
9994 * libm/math/wf_fmod.c (fmodf): ditto
9995 * libm/math/wf_exp.c (expf): ditto
9996 * libm/math/wf_cosh.c (coshf): ditto
9997 * libm/math/wf_atanh.c (atanhf): ditto
9998 * libm/math/wf_atan2f.c (atan2f): ditto
9999 * libm/math/wf_asin.c (asinf): ditto
10000 * libm/math/wf_acosh.c (acoshf): ditto
10001 * libm/math/wf_acos.c (acosf): ditto
10002 * libm/math/w_sqrt.c (sqrt): ditto
10003 * libm/math/w_sinh.c (sinh): ditto
10004 * libm/math/w_scalb.c (scalb): ditto
10005 * libm/math/w_remainder.c (remainder): ditto
10006 * libm/math/w_pow.c (pow): ditto
10007 * libm/math/w_log10.c (log10): ditto
10008 * libm/math/w_log.c (log): ditto
10009 * libm/math/w_lgamma.c (lgamma): ditto
10010 * libm/math/w_jn.c (jn, yn): ditto
10011 * libm/math/w_j1.c (j1, y1): ditto
10012 * libm/math/w_j0.c (j0, y0): ditto
10013 * libm/math/w_hypot.c (hypot): ditto
10014 * libm/math/w_gamma.c (gamma): ditto
10015 * libm/math/w_fmod.c (fmod): ditto
10016 * libm/math/w_exp.c (exp): ditto
10017 * libm/math/w_cosh.c (cosh): ditto
10018 * libm/math/w_atanh.c (atanh): ditto
10019 * libm/math/w_atan2f.c (atan2): ditto
10020 * libm/math/w_asin.c (asin): ditto
10021 * libm/math/w_acosh.c (acosh): ditto
10022 * libm/math/w_acos.c (acos): ditto
10023
10024Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
10025
10026 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
10027 (fsrc): Add wf_cabs.c and wf_drem.c.
10028 * libm/math/Makefile.in: Rebuild.
10029
10030 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
10031 unused directory variables. Remove duplicate CFLAGS.
10032 * Makefile.in: Rebuild.
10033
10034 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
10035 with $(CC_FOR_BUILD).
10036 (makedoc.o): Likewise.
10037 * doc/Makefile.in: Rebuild.
10038
10039 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
10040 force a definition of COMPILE.
10041 (libfoo_a_SOURCES): Define.
10042 * libc/sys/cygwin32/Makefile.in: Rebuild.
10043 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
10044 force a definition of COMPILE.
10045 (libfoo_a_SOURCES): Define.
10046 * libc/sys/tic80/Makefile.in: Rebuild.
10047
10048Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
10049
10050 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
10051 flag.
10052
10053Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
10054
10055 * Build using autoconf and automake. Added many Makefile.am and
10056 configure.in files, plus generated files. Old configure.in files
10057 and all old Makefile.in files completely replaced. Removed
10058 host/any. Added acinclude.m4 and configure.host.
10059
10060Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
10061
10062 * libc/stdio/vfprintf.c: enable long long support, sometimes.
10063 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
10064
10065Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10066
10067 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
10068 * libc/machine/sh/Makefile.in: Add rules for new files.
10069
10070Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10071
10072 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
10073 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
10074 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
10075
10076Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
10077
10078 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
10079 code is ignored.
10080
10081Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
10082
10083 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
10084 internal static buffer when s is NULL, as prescribed by ANSI.
10085
100861998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
10087
10088 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
10089 removed.
10090 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
10091 libc/stdlib will be used for h8300hms.
10092
10093Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10094
10095 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
10096 version that can be built either for speed or size.
10097 * libc/machine/mn10300/memset.S (_memset): ditto
10098 * libc/machine/mn10300/memchr.S (_memchr): ditto
10099 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
10100 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
10101 * libc/machine/mn10300/strchr.S (_strchr): ditto
10102 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
10103 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
10104 * libc/machine/mn10300/Makefile.in: Added entries for
10105 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
10106 strcmp.o, strcpy.o, and strlen.o.
10107
10108Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
10109
10110 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
10111 been replaced with libgloss/mn10200.
10112
10113Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
10114
10115 * libc/string/strchr.c (strchr): Make s a constant pointer to
10116 avoid warning.
10117
10118Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
10119
10120 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
10121 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
10122 board SWIs instead of Demon board SWIs).
10123
10124Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
10125
10126 * libc/string/strncat.c (strncat): Make -Os act the same as
10127 PREFER_SIZE_OVER_SPEED being defined.
10128
10129Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
10130
10131 * libc/string/memchr.c (memchr): Make -Os act the same as
10132 PREFER_SIZE_OVER_SPEED being defined.
10133 * libc/string/memcmp.c (memcmp): Ditto.
10134 * libc/string/memcpy.c (memcpy): Ditto.
10135 * libc/string/memset.c (memset): Ditto.
10136 * libc/string/strcat.c (strcat): Ditto.
10137 * libc/string/strchr.c (strchr): Ditto.
10138 * libc/string/strcmp.c (strcmp): Ditto.
10139 * libc/string/strcpy.c (strcpy): Ditto.
10140 * libc/string/strlen.c (strlen): Ditto.
10141 * libc/string/strncat.c (strncat): Ditto.
10142 * libc/string/strncmp.c (strncmp): Ditto.
10143 * libc/string/strncpy.c (strncpy): Ditto.
10144
10145Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
10146
10147 * libc/include/sys/itimer.h: remove
10148 * libc/include/sys/time.h: itimer stuff should be here
10149
10150Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
10151
10152 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
10153 bit instead of comparing to 0 so -0.0 can be printed correctly.
10154
10155Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10156
10157 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
10158
10159Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
10160
10161 * libc/include/sys/unistd.h: fix sync() proto
10162 * libc/include/sys/fcntl.h: remove _close which is already
10163 defined in unistd.h.
10164 * libc/include/sys/time.h: add getitimer proto
10165
10166Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
10167
10168 * libc/string/strchr.c: convert arg to unsigned char
10169 * libc/include/stdlib.h: add protos for random, srandom
10170 * libc/include/sys/stat.h: add lstat proto
10171 * libc/include/sys/time.h: add setitimer proto
10172 * libc/include/sys/unistd.h: add readlink, symlink protos
10173 * libc/include/process.h: instead of including windows.h and using
10174 HANDLEs in sexec protos, just use void *s. Need to include
10175 sys/types.h.
10176
10177Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
10178
10179 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
10180
10181Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
10182
10183 * libc/include/process.h: add secure exec protos
10184
10185Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
10186
10187 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
10188 which are accessed as both doubles and integers.
10189 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
10190 * libc/stdlib/strtod.c (_strtod_r): Likewise.
10191 * libc/stdlib/mprec.h: Add "union double_union" and change
10192 word0/word1 macros to use it.
10193
10194Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
10195
10196 * libc/include/sys/signal.h: add __cplusplus wrapper
10197
10198Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
10199
10200 * libc/include/sys/utime.h: new generic file that gets replaced by
10201 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
10202 function.
10203 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
10204 * libc/include/time.h: remove duplicate utime proto
10205 * libc/include/utime.h: add comment
10206
10207Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
10208
10209 * libc/include/sys/time.h: Add missing include to
10210 allow use of _EXFUN. Remove times function that is
10211 already defined in times.h.
10212
10213Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
10214
10215 * libc/include/time.h: Fix typo in tzset.
10216
10217Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
10218
10219 * libc/include/sys/time.h: add missing Cygwin32 function protos
10220 * libc/include/sys/unistd.h: ditto
10221 * libc/include/time.h: ditto
10222
10223Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
10224
10225 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
10226 FIXME.
10227 * libc/include/sys/types.h: add a new __MS_types__ section
10228 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
10229 __BIT_TYPES_DEFINED__.
10230
10231Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
10232
10233 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
10234 since it overrides the one in libc/include/sys. Also, start
10235 including types.h.
10236
10237Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
10238
10239 * libm/math/Makefile.in: add s_signgam.o to obj list
10240
10241Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
10242
10243 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
10244
10245Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
10246
10247 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
10248 so don't use defines.
10249
10250Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
10251
10252 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
10253
10254Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
10255
10256 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
10257 _current_locale as default locale.
10258
10259Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
10260
10261 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
10262 insufficient space in a chunk.
10263
10264Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
10265
10266 * configure.in (links): Added check for --enable-newlib-mb configure
10267 option which defines the MB_CAPABLE macro.
10268 * libc/locale/locale.c (_setlocale_r): Added support for setting
10269 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
10270 defined.
10271 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
10272 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
10273 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
10274 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
10275 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
10276 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
10277 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
10278 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
10279 * libc/stdlib/Makefile.in: Added new multibyte
10280 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
10281 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
10282 _mbstowcs_r(), and _wcstombs_r().
10283 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
10284 for JIS, SJIS, and EUC-JP characters.
10285 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
10286 MB_CAPABLE defined.
10287 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
10288 MB_CAPABLE defined.
10289 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
10290 MB_CAPABLE defined.
10291 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
10292 if MB_CAPABLE defined.
10293 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
10294 if MB_CAPABLE defined.
10295 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
10296 to the format string processing when MB_CAPABLE.
10297 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
10298 call _mbtowc_r().
10299
10300Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
10301
10302 The following modifications are courtesy of Anthony Thompson,
10303 athompson@cambridge.arm.com:
10304 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
10305 boith RDI and RDP monitors.
10306 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
10307 RDI and RDP monitors.
10308
10309Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
10310
10311 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
10312 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
10313 (_swiopen): Fixed open flags to treat write with append as just append.
10314 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
10315 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
10316
10317Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10318
10319 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
10320 When needing to transfer an initial 2-byte-word, store as
10321 two single bytes.
10322
10323Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10324
10325 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
10326 __SH3E__ .
10327 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
10328 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
10329
10330Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
10331
10332 * configure.in (target_cflags): If --enable-target-optspace, use
10333 -Os to compile newlib rather than -O2. Default to using -Os for
10334 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
10335 used.
10336
10337Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
10338
10339 * libc/include/machine/setjmp.h: change sigsetjmp and
10340 siglongjmp definitions to use an array instead of a struct
10341 for __CYGWIN32__
10342
10343Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
10344
10345 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
10346
10347Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
10348
10349 * libc/string/strxfrm.c: fix to get correct return value
10350
10351Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
10352
10353 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
10354 builds. Make mode change labels global so that they will be seen
10355 by the debugger.
10356
10357Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
10358
10359 * configure.in (links): Do not use ARM debiugging protocols for PE
10360 builds.
10361
10362 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
10363 message.
10364
10365Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10366
10367 * libc/stdio/findfp.c (__sinit): Made stdout default to
10368 line buffered mode as defined by ANSI.
10369
10370Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
10371
10372 * libc/include/sys/itimer.h: New file.
10373
10374 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
10375
10376Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10377
10378 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
10379 failure.
10380
10381Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
10382
10383 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
10384 insns.
10385
10386Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
10387
10388 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
10389
10390Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
10391
10392 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
10393 support.
10394
10395 * libc/include/machine/setjmp.h: Add D30V support.
10396
10397 * configure.in (d30v-*): Add d30v machine directory.
10398
10399Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
10400
10401 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
10402 been replaced with libgloss/mn10300.
10403
10404Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
10405
10406 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
10407 it is no longer needed.
10408
10409Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10410
10411 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
10412
10413Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
10414
10415 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
10416 the file when O_APPEND is set, wherever the EOF happens to be at
10417 that time.
10418
10419Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
10420
10421 patch from cgf@bbc.com (Christopher Faylor):
10422 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
10423 convention of closing fp prior to attempting to open the file
10424 argument. This allows correct operation when reopening
10425 stdin/stdout/stderr. Replaces last freopen.c patch.
10426
10427Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
10428
10429 patch from cgf@bbc.com (Christopher Faylor):
10430 * libc/stdio/freopen.c: freopen was not preserving the fd
10431 of the stream being operated on. This confuses programs that
10432 expect that the handles for stdout and stderr will be 1 and 2.
10433
10434Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
10435
10436 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
10437
10438Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
10439
10440 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
10441
10442Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
10443
10444 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
10445 altered to not use a branch. Also added hint that last
10446 bclr in longjmp will likely result in branch.
10447
10448
10449Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
10450
10451 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
10452
10453Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
10454
10455 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
10456 v850 builds.
10457
10458 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
10459
10460Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
10461
10462 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
10463 that loads FR14 to specify offset of 8 rather than 4
10464 so it loads from offset 96 (where setjmp stored it).
10465
10466Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10467
10468 * libc/machine/sh/memcpy.S: (_memcpy): Update to
10469 latest version supplied by customer.
10470 * libc/machine/sh/memset.S (_memset): Ditto.
10471
10472Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
10473
10474 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
10475 PR14730).
10476
10477Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
10478
10479 * libc/include/string.h: remove redefinition of ffs
10480
10481Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
10482
10483 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
10484 defined
10485
10486Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10487
10488 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
10489 TI Libraries to link to libc.a
10490
10491Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
10492
10493 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
10494 * libc/include/sys/stat.h (_{,f}stat): Ditto.
10495 * libc/include/sys/wait.h (_wait): Ditto.
10496 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
10497 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
10498
10499Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
10500
10501 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
10502 minded stabs so function name shows up when running the simulator
10503 with -t.
10504 * libc/sys/d10v/{crt0,trap}.S: Ditto.
10505
10506Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
10507
10508 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
10509 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
10510 Use R5 where we used to use R3.
10511
10512Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
10513
10514 * libc/stdlib/getopt.c (getopt): replaced __progname
10515 with nargv[0] to improve portability to imbedded systems.
10516
10517Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
10518
10519 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
10520 patch supplied by Tont.Thompson@arm.com to fix the creation of the
10521 stdout file.
10522
10523Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
10524
10525 * libc/stdio/tmpnam.c (worker): Generate a different file name
10526 each time.
10527
10528 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
10529 fails, try an execlp for sh.
10530
10531 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
10532 option for the winsup include directory.
10533
10534Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
10535
10536 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
10537 debugging interface from Tony.Thompson@arm.com.
10538
10539 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
10540 * libc/sys/arm/swi.h: ditto.
10541
10542Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10543
10544 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
10545 DIR struct used for readdir hashes.
10546
10547Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
10548
10549 * libc/string/strchr.c: Use "unsigned chars" as necessary.
10550
10551Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
10552
10553 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
10554 integer targets.
10555
10556Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
10557
10558 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
10559 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
10560 * libc/include/malloc.h: Add extern "C" if __cplusplus.
10561 (__malloc_copy): Declare.
10562
10563Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
10564
10565 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
10566 <sys/config.h>.
10567 (POINTER_UINT): Define.
10568 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
10569 (MALLOC_ALIGNMENT): Don't define if already defined.
10570 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
10571 long.
10572
10573Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10574
10575 * libc/string/memset.c (memset): Fiddle with code so that the long
10576 value being stored is not a stack value. Unroll storing longs 4
10577 times.
10578
10579Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
10580
10581 * Reduce code size for libm modules.
10582 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
10583 and simply move code into sqrt.
10584 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
10585 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
10586 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
10587 * libm/math/wr_gamma.c (gamma_r): Likewise.
10588 * libm/math/wf_sinh.c (sinfh): Likewise.
10589 * libm/math/w_sinh.c (sinh): Likewise.
10590 * libm/math/wf_scalb.c (scalbf): Likewise.
10591 * libm/math/w_scalb.c (scalb): Likewise.
10592 * libm/math/wf_remainder.c (remainderf): Likewise.
10593 * libm/math/w_remainder.c (remainder): Likewise.
10594 * libm/math/wf_pow.c (powf): Likewise.
10595 * libm/math/w_pow.c (pow): Likewise.
10596 * libm/math/wf_log10.c (log10f): Likewise.
10597 * libm/math/w_log10.c (log10): Likewise.
10598 * libm/math/wf_log.c (logf): Likewise.
10599 * libm/math/w_log.c (log): Likewise.
10600 * libm/math/w_lgamma.c (lgamma): Likewise.
10601 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10602 * libm/math/wf_jn.c (jnf): Likewise.
10603 * libm/math/w_jn.c (jn): Likewise.
10604 * libm/math/wf_j1.c (j1f): Likewise.
10605 * libm/math/w_j1.c (j1): Likewise.
10606 * libm/math/wf_j0.c (j0f): Likewise.
10607 * libm/math/w_j0.c (j0): Likewise.
10608 * libm/math/wf_hypot.c (hypotf): Likewise.
10609 * libm/math/w_hypot.c (hypot): Likewise.
10610 * libm/math/wf_gamma.c (gammaf): Likewise.
10611 * libm/math/w_gamma.c (gamma): Likewise.
10612 * libm/math/wf_fmod.c (fmodf): Likewise.
10613 * libm/math/w_fmod.c (fmod): Likewise.
10614 * libm/math/wf_exp.c (expf): Likewise.
10615 * libm/math/w_exp.c (exp): Likewise.
10616 * libm/math/wf_cosh.c (coshf): Likewise.
10617 * libm/math/w_cosh.c (cosh): Likewise.
10618 * libm/math/wf_atanh.c (atanhf): Likewise.
10619 * libm/math/w_atanh.c (atanh): Likewise.
10620 * libm/math/wf_atan2.c (atan2f): Likewise.
10621 * libm/math/w_atan2.c (atan2): Likewise.
10622 * libm/math/wf_asin.c (asinf): Likewise.
10623 * libm/math/w_asin.c (asin): Likewise.
10624 * libm/math/wf_acosh.c (acoshf): Likewise.
10625 * libm/math/w_acosh.c (acosh): Likewise.
10626 * libm/math/wf_acos.c (asocf): Likewise.
10627 * libm/math/w_acos.c (acos): Likewise.
10628 * libm/math/wf_sqrt.c (sqrtf): Likewise.
10629 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
10630 for embedded systems.
10631
10632Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
10633
10634 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
10635 Lea in case of a foreign sbrk.
10636
10637Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
10638
10639 Incorporate Doug Lea's malloc:
10640 * libc/stdlib/mallocr.c: Completely replaced.
10641 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
10642 (realloc): Remove.
10643 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
10644 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
10645 mallopt.
10646 (mallinfo, malloc_stats, mallopt): New functions.
10647 (_mstats_r): Just call _malloc_stats_r.
10648 * libc/stdlib/malign.c: New file.
10649 * libc/stdlib/mlock.c: New file.
10650 * libc/stdlib/msize.c: New file.
10651 * libc/stdlib/mtrim.c: New file.
10652 * libc/stdlib/realloc.c: New file.
10653 * libc/stdlib/valloc.c: New file.
10654 * libc/stdlib/malloc.h: Remove.
10655 * libc/stdlib/callocr.c: Remove.
10656 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
10657 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
10658 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
10659 reallocr.o, valloc.o, vallocr.o.
10660 (CHEWOUT_FILES): Add mlock.def, mstats.def.
10661 (MALLOC_CFLAGS): New variable.
10662 (mallocr.o): New target, build from mallocr.c.
10663 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
10664 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
10665 (msizer.o, malloptr.o): Likewise.
10666 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
10667 (valloc.o): New target.
10668 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
10669 * libc/include/malloc.h: Declare struct mallinfo, and new
10670 routines.
10671 * libc/include/stdlib.h (cfree): Correct declaration.
10672
10673Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
10674
10675 * libc/include/machine/setjmp.h: Add support for Thumb target.
10676
10677 * libc/include/machine/ieeefp.h: Add support for Thumb target.
10678
10679 * configure.in (links): Add support for Thumb target.
10680
10681Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
10682
10683 * libc/sys/arm/setjmp.S: Updated with version from branch.
10684
10685Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
10686
10687 * libc/include/stdio.h: add POSIX-required define L_ctermid
10688 for ctermid
10689
10690Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
10691
10692 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
10693 addition to MISSING_SYSCALL_NAMES.
10694
10695Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10696
10697 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
10698
10699Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
10700
10701 * libc/include/string.h: change strsignal proto to return
10702 a char *. This eliminates compile problems in gdb resulting
10703 from gdb's definition of strsignal in defs.h.
10704
10705Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
10706
10707 * libc/sys/cygwin32/sys/utime.h: new (moved here from
10708 winsup/include) so as not to conflict with the one in
10709 libc/include.
10710 * libc/include/string.h: add protos for strsignal, strtosigno
10711
10712Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
10713
10714 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
10715
10716 * configure.in (d30v-*-*): Add configuration.
10717
10718Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
10719
10720 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
10721 to select which kind of debug monitor is in use for an ARM target.
10722
10723 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
10724 Angel and Demon debug monitors. Part of this code was supplied by
10725 Tony Thompson at ARM: athompso@arm.com.
10726
10727Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
10728
10729 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
10730 semantics when the count is greater than the length of the second
10731 source string.
10732
10733Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
10734
10735 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
10736 * libc/include/sys/unistd.h: add protos for usleep, truncate,
10737 truncate and ftruncate take off_t, not size_t
10738
10739Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
10740
10741 * libc/string/strcat.c (strcat): Add missing comment end.
10742 * libc/string/strncat.c (strncat): Likewise.
10743
10744Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
10745
10746 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
10747 targets.
10748 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
10749 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
10750 defined.
10751 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10752 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10753 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10754
10755Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
10756
10757 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
10758 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
10759
10760Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
10761
10762 * libc/machine/i386/setjmp.S: New file.
10763 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
10764 (OFILES): Add setjmp.o.
10765 (setjmp.o): Add rule for.
10766 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
10767
10768Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
10769 Jeffrey A Law (law@cygnus.com)
10770
10771 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
10772 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10773 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10774 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10775
10776Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
10777
10778 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
10779 rules.
10780
10781 * libc/include/sys/config.h: Use __v850 to select v850
10782 endianness.
10783
10784 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
10785 buffer size.
10786
10787 * libc/include/machine/ieeefp.h: Use __v850 to select v850
10788 endianness.
10789
10790Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
10791
10792 * libc/stdlib/setenv.c: change unsetenv definition to match
10793 style of setenv (with _DEFUN). The string should be a const.
10794 * libc/include/stdlib.h: unsetenv proto should return void.
10795
10796Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
10797
10798 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
10799
10800Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
10801
10802 * libc/stdio/glue.h: remove.
10803 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
10804 * libc/stdio/Makefile.in: remove glue.h dependencies
10805
10806Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
10807
10808 * libc/sys/sysnecv850/crt0.S: Created V850e version.
10809
10810Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
10811
10812 * configure.in (target_cpu): Add `arc'.
10813
10814Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
10815
10816 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
10817 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
10818 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
10819 * newlib/libc/reent/reent.c: Add _wrapup_reent.
10820 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
10821
10822Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
10823
10824 * libc/machine/mips/setjmp.S: Handle mips16 builds.
10825
10826Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
10827
10828 * libc/include/stdio.h (siprintf): Declare.
10829
10830Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
10831
10832 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
10833 TARGET_CFLAGS and NEWLIB_FLAGS.
10834
10835Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10836
10837 * configure.in (links): Add support for v850ea target.
10838
10839Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
10840
10841 * configure.in (links): Add support for v850e target.
10842
10843Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
10844
10845 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
10846
10847Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
10848
10849 * configure.in (arc-*-*): Add support for.
10850 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
10851
10852Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10853
10854 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
10855
10856Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
10857
10858 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
10859 comparison which accesses invalid memory when the key is
10860 larger than the last member of the array.
10861 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
10862 for CYGWIN32
10863 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
10864
10865Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
10866
10867 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
10868 not _STRICT_ANSI.
10869
10870Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
10871
10872 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
10873 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
10874
10875Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
10876
10877 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
10878 to load/store memory.
10879
10880Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
10881
10882 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
10883 underscores if _WIN32.
10884
10885Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
10886
10887 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
10888 support ifdef _USE_WRITE missed in last change.
10889 From Anders Blomdell <anders.blomdell@control.lth.se>.
10890
10891Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
10892
10893 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
10894 (_tmpnam_r, _tempnam_r): Update.
10895
10896Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
10897
10898 * libc/machine/sparc/setjmp.S: New file.
10899 * libc/machine/sparc/Makefile.in: Add setjmp.
10900 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
10901
10902Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
10903
10904 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
10905
10906Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
10907
10908 From Joel Sherrill <joel@oarcorp.com>.
10909 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
10910
10911 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
10912 * configure.in: Recognize *-*-rtems*.
10913 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
10914 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
10915 time.h,times.h,types.h}: New files.
10916 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
10917
10918Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
10919
10920 patch from sos@prospect.com.ru (Sergey Okhapkin):
10921 * include/sys/wait.h: correct operator precidence bug
10922 in WIFSIGNALED
10923
10924Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
10925
10926 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
10927 with newlib's unsetenv function
10928 * libc/sys/cygwin32/sys: new directory for includes
10929 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
10930 here from winsup/include/sys
10931
10932Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
10933
10934 * libc/include/sys/unistd.h: _exit should only be
10935 labelled noreturn when not __CYGWIN32__
10936 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
10937 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
10938 increment NSIG
10939
10940Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
10941
10942 * libc/include/sys/time.h: Only define timeval and timezone if
10943 _GNU_H_WINDOWS32_SOCKETS is not defined.
10944 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
10945
10946Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
10947
10948 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
10949 * libc/machine/mn10300/setjmp.S: Likewise.
10950
10951 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
10952 the mn10300 (more relaxing opportunities).
10953
10954Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
10955
10956 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
10957 Build libraries with -mstrict-align.
10958
10959Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
10960
10961 * libc/string/strlwr.c: New file.
10962 * libc/string/strupr.c: New file.
10963 * libc/include/string.h: Declare strlwr and strupr.
10964 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
10965 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
10966 (strlwr.o, strupr.o): New targets.
10967 * libc/string/strings.tex: Include strlwr and strupr docs.
10968
10969 * libc/include/sys/types.h: Don't define u_char, et. al., if
10970 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
10971 et. al. Make FD_SETSIZE default 64 rather than 60. Define
10972 _types_fd_set rather than fd_set, and define fd_set as a macro.
10973
10974 * libc/include/malloc.h: New file.
10975
10976 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
10977 strnicmp if they are not already defined.
10978
10979 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
10980 _timezone, _daylight, and _tzname.
10981
10982Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
10983
10984 * configure.in: Sort all configuration tables.
10985
10986 From Joel Sherrill <joel@oarcorp.com>
10987 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
10988
10989Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
10990
10991 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
10992 use int when declaring kill.
10993
10994 * libc/include/sys/timeb.h: New file.
10995
10996Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
10997
10998 * libc/include/sys/time.h: add itimer support for Cygwin32
10999
11000Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
11001
11002 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
11003 out a message that abort was called to stderr.
11004
11005Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
11006
11007 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
11008 so that libio doesn't freak.
11009
11010 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
11011 int.
11012
11013 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
11014 memory sizes, not int.
11015
11016Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
11017
11018 * libm/math/ef_hypot.c: Use long constants where
11019 appropriate.
11020 * libm/math/ef_sqrt.c: Ditto.
11021
11022 * libc/sys/sysmec/times.c(_times): Change to times.
11023
11024 * libc/sys/sysmec/read.c(_read): The third argument is
11025 size_t.
11026 * libc/sys/sysmec/write.c (_write): Ditto.
11027
11028 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
11029 (_lseek): It's off_t for the second argument.
11030
11031Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
11032
11033 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
11034 as well as machine/ieeefp.h.
11035
11036Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
11037
11038 * libc/include/sys/signal.h: add signal protos for winsup
11039 functions (when __CYGWIN32__), include types.h
11040 * libc/include/sys/types.h: Change __go32_types__ internal
11041 define to __MS_types__ since it's used for more than just
11042 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
11043 defined.
11044 * libc/include/sys/unistd.h: add ftruncate proto for
11045 winsup functions (when __CYGWIN32__)
11046
11047Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
11048
11049 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
11050
11051Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
11052
11053 * libc/include/machine/setjmp.h: Add tic80 support.
11054 * libc/machine/tic80/setjmp.S: Likewise.
11055
11056Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
11057
11058 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
11059 link programs from libraries only (such as in the X11
11060 distribution)
11061
11062Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
11063
11064 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
11065 supplied elsewhere in newlib.
11066
11067Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
11068
11069 * Makefile.in (INSTALL): Change install.sh to install-sh.
11070
11071Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
11072
11073 * README: update WWW address for on-line documentation.
11074
11075Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
11076
11077 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
11078 increment NSIG
11079
11080Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
11081
11082 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
11083 mn10300.
11084 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
11085
11086Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
11087
11088 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
11089 * libc/sys/d10v/syscalls.c: Likewise.
11090 * libc/sys/h8300hms/sbrk.c: Likewise.
11091 * libc/sys/h8500hms/syscalls.c: Likewise.
11092 * libc/sys/m88kbug/syscalls.c: Likewise.
11093 * libc/sys/sh/syscalls.c: Likewise.
11094 * libc/sys/sysmec/sbrk.c: Likewise.
11095 * libc/sys/sysnecv850/sbrk.c: Likewise.
11096 * libc/sys/w65/syscalls.c: Likewise.
11097 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
11098
11099Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
11100
11101 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
11102 emulated syscall instead of "trap".
11103
11104Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
11105
11106 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
11107 not trap 0.
11108
11109Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
11110
11111 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
11112
11113Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
11114
11115 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
11116 not "sh".
11117 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
11118 not "d10v".
11119 * libc/sys/tic80/crt0.c: New file for TIc80.
11120 * libc/sys/tic80/Makefile.in: New file for TIc80.
11121 * libc/machine/tic80/Makefile.in: New file for TIc80.
11122
11123Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
11124
11125 * libc/machine/sh/memcpy.S: New file.
11126 * libc/machine/sh/memset.S: New file.
11127 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
11128
11129Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
11130
11131 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
11132 for TIc80.
11133
11134Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
11135
11136 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
11137 the mn10200.
11138
11139Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
11140
11141 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
11142 (patch from andrew@pogo.WV.TEK.COM).
11143
11144Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
11145
11146 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
11147 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
11148
11149Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
11150
11151 * configure.in: Add cases for "tic80" to set machine_dir,
11152 sys_dir, and syscall_dir.
11153
11154Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
11155
11156 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
11157
11158Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
11159
11160 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
11161
11162Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
11163
11164 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
11165 Use proper constant prefix.
11166
11167Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
11168
11169 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
11170 that loses on the mn10200 where ints and pointers are different
11171 sizes.
11172
11173Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
11174
11175 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
11176 target as signal is provided in winsup.
11177
11178Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
11179
11180 * libc/include/sys/process.h: Corrected const definitions
11181 in spawn functions. Added cwait.
11182
11183Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
11184
11185 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
11186 doubles.
11187 * libc/include/sys/config.h: Similarly.
11188
11189Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11190
11191 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
11192 target_cflags.
11193 (i[3456]86-*-sco*): Ditto.
11194
11195 * libc/signal/Makefile.in (OFILES): Add signal.o.
11196 (CFILES): Add signal.c.
11197
11198 * libc/signal/raise.c (_raise_r): Only compile code if
11199 SIGNAL_PROVIDED is defined.
11200
11201 * libc/signal/signal.c: Redo whole file so that it works with
11202 current newlib. Use _kill_r if no signal handler provided.
11203
11204 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
11205 signal stubs.
11206 * libc/sys/sysvnecv70/Makefile.in: Ditto.
11207 * libc/sys/sysnecv850/Makefile.in: Ditto.
11208
11209 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
11210 * libc/sys/sysmec/{raise,signal}.c: Ditto.
11211 * libc/sys/sysvnecv70/signal.s: Ditto.
11212 * libc/sys/sysnecv850/raise.c: Ditto.
11213
11214 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
11215 simulator and debugger can tell the difference between a signal
11216 being raised and an exit system call.
11217
11218 * NEWS: Document software signals being provided.
11219
11220Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11221
11222 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
11223 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
11224 include/sys/config.h.
11225 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
11226 Change from 'inpure_data'.
11227 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
11228 &impure_data, not &inpure_data.
11229
11230 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
11231 and and System V ABI, define so that _impure_ptr lives in the
11232 .sdata section.
11233
11234Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11235
11236 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
11237 nothing if not defined.
11238 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
11239 its attributes.
11240
11241 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
11242
11243Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
11244
11245 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
11246 * libc/sys/sysmec/trap.s: Handle mn10200 too.
11247 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
11248
11249Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
11250
11251 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
11252
11253Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
11254
11255 * libc/include/sys/errno.h: Added net errno's.
11256
11257Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11258
11259 * libc/misc/ffs.c: New file to support ffs function for GCC test
11260 gcc.c-torture/execute/960909-1.c.
11261
11262 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
11263
11264Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
11265
11266 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
11267 * libc/sys/sysmec/trap.S: Likewise.
11268
11269Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
11270
11271 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
11272 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
11273
11274Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
11275
11276 * libc/sys/sysmec/signal.c: Dummy file.
11277 * libc/sys/sysmec/Makefile.in: Build it.
11278
11279Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
11280
11281 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
11282 mips16.
11283
11284Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
11285
11286 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
11287 c-startup and simulator traps.
11288
11289
11290 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
11291 * libc/sys/sysmec/trap0.S: Likewise.
11292
11293Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11294
11295 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
11296 round to double word alignment.
11297 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
11298 byte alignment.
11299
11300 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
11301
11302 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
11303 out of memory.
11304
11305Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
11306
11307 * configure.in: Handle mn10200 and mn10300.
11308 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
11309 * libc/include/sys/config.h: Likewise.
11310 * libc/sys/sysmec: New directory for mec stuff.
11311 * libc/machine/mn10300: New directory for mn10300 stuff.
11312 * libc/machine/mn10200: Similarly for mn10200 stuff.
11313
11314Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
11315
11316 * libc/sys/arm/crt0.S: Use .text, not .section .text.
11317 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
11318
11319 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
11320 (nlink_t): Change type from unsigned int to unsigned short.
11321 (mode_t): Ensure size is 32 bits even if int is 16.
11322 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
11323 (st_spare[123]): Change type from int to long.
11324
11325Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11326
11327 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
11328 byte boundary.
11329
11330 * configure.in (d10v*): Define SMALL_MEMORY.
11331
11332Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11333
11334 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
11335 -mrelocatable-lib and -mno-eabi flags.
11336
11337Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
11338
11339 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
11340 Fix handling of mis-aligned source operand when both the
11341 destination & length are properly aligned.
11342
11343Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
11344
11345 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
11346 times.o, time.o and gettime.o
11347 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
11348 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
11349 SYS_gettimeofday.
11350
11351Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
11352
11353 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
11354 * libc/sys/sysnecv850/access.c: New file.
11355
11356Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
11357
11358 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
11359
11360 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
11361 long.
11362
11363Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
11364
11365 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
11366
11367Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
11368
11369 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
11370 * libc/include/sys/config.h: Add m32r support.
11371
11372Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
11373
11374 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
11375 here.
11376
11377Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
11378
11379 * libc/include/machine/setjmp.h: Add D10v support.
11380
11381Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
11382
11383 * configure.in: Configure the "libc/syscalls" directory for
11384 the v850.
11385
11386 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
11387 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
11388 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
11389 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
11390 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
11391
11392Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
11393
11394 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
11395 stack for args for main and other routines. Zero out args for
11396 main.
11397
11398 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
11399 correctly.
11400
11401Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11402
11403 * libc/stdio/findfp.c (std): Remove extraneous ';' after
11404 function.
11405
11406 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
11407
11408 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
11409 real system calls now.
11410
11411 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
11412 before casting them to int.
11413 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
11414
11415 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
11416 aligning pointer.
11417 * libc/string/memset.c (memset): Ditto.
11418
11419 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
11420 first convert ints to _POINTER_INT to eliminate GCC warning.
11421
11422 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
11423 processing %p.
11424
11425 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
11426 from 65000 if ints are only 16 bits.
11427
11428 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
11429 from 50000 if ints are only 16 bits.
11430
11431 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
11432 int type that is the same size as a pointer.
11433
11434 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
11435 processing %p.
11436 (get_number): Explicitly cast number to long before shifting by 16
11437 or 24, in case ints are short.
11438
11439 * libc/include/sys/config.h (_POINTER_INT): Define as short.
11440
11441Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
11442
11443 * libc/string.h: Added ffs, removed swab.
11444 * libc/sys/errno.h: Added EOPNOTSUPP.
11445 * libc/sys/unistd.h: Added swab.
11446
11447Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
11448
11449 * libc/include/sys/stat.h: Added fchmod.
11450 * libc/include/sys/unistd.h: Added fsync.
11451
11452Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
11453
11454 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
11455 and ECONNRESET (104) for cygwin32.
11456
11457Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
11458
11459 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
11460 do the static destructors.
11461
11462Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
11463
11464 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
11465
11466Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
11467
11468 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
11469 * configure.in: Recognize m32r-*-*.
11470
11471Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
11472
11473 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
11474 __rt_stkovf_split_small): Added default software stack overflow
11475 handlers, which just call SWI_Exit.
11476 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
11477 limit initialisation.
11478
11479Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
11480
11481 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
11482
11483Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
11484
11485 * libc/include/sys/types.h: Added ssize_t definition.
11486
11487Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11488
11489 * libc/machine/d10v/setjmp.S: Use ';' for comments.
11490 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
11491
11492 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
11493 branch around a single ldi instruction.
11494
11495 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
11496 Call exit, instead of just issuing a stop instruction.
11497
11498Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11499
11500 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
11501
11502Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11503
11504 * libc/stdlib/mprec.h: Explicitly declare all large constants as
11505 longs, and then cast them to __uint32_t.
11506
11507 * libc/include/sys/config.h: Protect against multiple inclusions.
11508
11509Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
11510
11511 * configure.in (d10v*): Set syscall_dir.
11512
11513Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
11514
11515 * libc/sys/d10v/crt0.S: Set stack pointer.
11516
11517Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
11518
11519 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
11520 in assembly for efficiency. Change calling convention to allow
11521 long ints to be returned.
11522
11523Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11524
11525 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
11526
11527Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
11528
11529 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
11530 Handle empty entries in $PATH.
11531
11532Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
11533
11534 * libc/machine/d10v/setjmp.S: Make it really work.
11535
11536Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
11537
11538 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
11539 the .stack section.
11540
11541Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
11542
11543 * sys/sysnecv850/sys/file.h: Remove.
11544 * sys/sysnecv850/sys/syscall.h: New file.
11545 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
11546 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
11547 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
11548 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
11549 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
11550 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
11551 * sys/sysnec850/trap.S: New file.
11552 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
11553 syscalls.
11554 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
11555 * sys/sysnec850/sbrk.c: New version.
11556
11557Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
11558
11559 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
11560 as long as r6 is less than r7.
11561
11562Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
11563
11564 * Makefile.in (mostlyclean): Separate from clean target. Don't
11565 remove *.a or targ-include.
11566 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
11567
11568Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11569
11570 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
11571 d10v.
11572 (__SMALL_BITFIELDS): Ditto.
11573
11574 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
11575
11576Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
11577
11578 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
11579 prefix.
11580
11581 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
11582 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
11583 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
11584 * libc/sys/sysnecv850/write.c (write): Likewise.
11585
11586 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
11587 .bss.
11588
11589Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11590
11591 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
11592 appropriately for D10V, depending on -mint16/-mint32.
11593
11594Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
11595
11596 * configure.in: Add cases for D10V.
11597
11598Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11599
11600 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
11601
11602Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
11603
11604 * libc/include/machine/ieeefp.h: Fix typo.
11605
11606Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
11607
11608 * libc/sys/d10v: New directory for D10V stuff.
11609 * libc/include/machine/ieeefp.h: Add D10V defines.
11610
11611Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
11612
11613 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
11614 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
11615 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
11616 * libc/string/strerror.c (strerror): Add them.
11617
11618Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
11619
11620 * libc/sys/sysnecv850: New directory for v850 stuff.
11621
11622 * libc/machine/v850: New directory for v850 stuff.
11623 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
11624
11625 * configure.in: Add support for the v850.
11626
11627 * libc/include/machine/ieeefp.h: Add v850 defines.
11628 * libc/include/machine/setjmp.h: Likewise.
11629 * libc/include/sys/config.h: Add v850 defines.
11630
11631Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
11632
11633 * libc/include/machine/ieeefp.h
11634 * libc/include/machine/setjmp.h
11635 * libc/include/sys/fcntl.h
11636 * libc/include/sys/signal.h
11637 * libc/include/sys/types.h
11638 * libc/stdlib/system.c:
11639 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
11640 API availability, __CYGWIN32__ for cygwin32 environment specific).
11641
11642Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
11643
11644 * libc/include/stdlib.h: add multibyte character functions. Add
11645 __eprintf for assert.
11646
11647Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11648
11649 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
11650 arithmetic or __alignof__ to properly get the alignment, instead
11651 of hardwiring it to 4.
11652
11653Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
11654
11655 * libc/stdio/fseek.c: add fflush call to adjust seek offset
11656 on append stream (fix from NetBSD sources), adjust curoff offset
11657 for ungetc's benefit.
11658 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
11659 * libc/stdio/rewind.c: replace code with up to date NetBSD
11660 code to undo hacks made to work around above problem of not
11661 having fflush call mentioned above
11662
11663Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11664
11665 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
11666 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
11667 Partially revert last changes. The thread specific errno is set
11668 iff if the underlying syscall fails and the global errno is not
11669 zero.
11670
11671Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11672
11673 * libc/reent/filer.c: Removed files, all functions have split out
11674 into their own files.
11675 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
11676 New files containing functions formally in filer.c
11677 * libc/reent/Makefile.in: Updated for above change.
11678
11679 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
11680 syscall fails, not if errno is changed.
11681 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
11682 _write_r): Likewise.
11683 * libc/reent/fstatr.c (_fstat_r): Likewise.
11684 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
11685 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
11686 * libc/reent/signalr.c (_kill_r): Likewise.
11687 * libc/reent/statr.c (_stat_r): Likewise.
11688 * libc/reent/timer.c (_gettimeofday_r): Likewise.
11689
11690 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
11691 signalr.c, statr.c, timer.c} (errno): declare extern rather
11692 than as a common.
11693
11694 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
11695 instead of calling vfprintf so that i*printf will not require
11696 floating point support code.
11697
11698Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
11699
11700 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
11701 path delimiter.
11702 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
11703 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
11704
11705Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
11706
11707 * libc/include/signal.h: _sig_func_ptr function takes an int
11708 * libc/include/sys/signal.h: sa_handler function takes an int
11709
11710Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
11711
11712 * libc/include/machine/ieeefp.h: Simplify H8/S support.
11713 * libc/include/sys/config.h: Add missing H8/S conditional.
11714
11715Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
11716
11717 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
11718
11719Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
11720
11721 * libc/include/machine/setjmp.h: Handle H8/S.
11722 * libc/include/machine/ieeefp.h: Likewise.
11723 * libc/include/sys/config.h: Likewise.
11724 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
11725 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
11726 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
11727 * libc/sys/h8300hms/crt0.S: Likewise.
11728
11729Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11730
11731 * Makefile.in (datadir): Set to $(prefix)/share.
11732 (oldincludedir, docdir): Removed.
11733 * doc/Makefile.in (datadir): Set to $(prefix)/share.
11734 (oldincludedir, docdir): Removed.
11735 * libc/Makefile.in (datadir): Set to $(prefix)/share.
11736 (oldincludedir, docdir): Removed.
11737 * libm/Makefile.in (datadir): Set to $(prefix)/share.
11738 (oldincludedir, docdir): Removed.
11739
11740Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
11741
11742 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
11743 _reent struct.
11744
11745Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
11746
11747 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
11748 fetch current path rules with sysconf and handler posix/win32
11749 appropriately.
11750
11751 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
11752
11753 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
11754 (WAIT_CHILD): Always define.
11755
11756Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
11757
11758 * libc/stdlib/eprintf.c: New file.
11759 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
11760 (eprintf.o): New target.
11761
11762Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
11763
11764 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
11765 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
11766
11767Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
11768
11769 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
11770 NT in PowerPC endianess cases.
11771
11772Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11773
11774 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
11775
11776Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11777
11778 * libc/string/strtok.c: Fix doc typo.
11779
11780Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11781
11782 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
11783 _next, _scanpoint, _signgam fields.
11784
11785 * libc/include/stdlib.h (rand_r): Added new declaration.
11786 (_rand_r, _srand_r): Removed declarations.
11787 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
11788 have been made obsolete by rand_r.
11789 * libc/stdlib/rand_r.c: New file, rand_r function as specified
11790 by POSIX.1c.
11791
11792 * libc/string/strtok.c: Update documentation to describe
11793 strtok_r().
11794
11795Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
11796
11797 * libc/include/sys/stat.h (stat structure): Use the expanded stat
11798 structure on Solaris, and PowerPC systems even though __svr4__ is
11799 defined.
11800
11801Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
11802
11803 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
11804
11805Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
11806
11807 * host/any: Use ../.. rather than .. to get to the main build
11808 directory. This matches the current layout of the build
11809 directory.
11810
11811Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
11812
11813 * libc/machine/h8300/__main.S: Delete. No longer needed.
11814 * libc/machine/h8300/Makefile.in: Corresponding changes.
11815 * libc/sys/h8300hms/crt1.c: New file.
11816 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
11817 * libc/sys/h8300hms/crt0.s: Call __main.
11818
11819 * libc/sys/h8300hms/crt0.S: Use temporary label names
11820 for branch targets.
11821
11822Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
11823
11824 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
11825
11826Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11827
11828 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
11829 .sdata on the PowerPC so that we can link newlib with code
11830 compiled with -msdata.
11831
11832Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
11833
11834 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
11835
11836Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
11837
11838 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
11839 exception handler to __cygwin_exception_handler.
11840
11841Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
11842
11843 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
11844
11845Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
11846
11847 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
11848 SunOS VPATH.
11849 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
11850 wcstombs.o): Likewise.
11851
11852Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
11853
11854 * libc/stdlib/environ.c (initial_env): New static local.
11855 (environ): Point to `initial_env'.
11856
11857 * libc/include/machine/setjmp.h: Clean up.
11858 (__H8300H__,__PPC__): Define _JBTYPE.
11859 (__arm__): Provide entry for.
11860 (sigjmp_buf): Delete.
11861 (jmp_buf): Use _JBTYPE if defined, otherwise int.
11862
11863Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
11864
11865 * libc/machine/h8300/strcmp.S: Sign extend the result to
11866 32bits so we don't lose with -mint32.
11867
11868Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
11869
11870 * libc/sys/go32/sys/errno.h: New file.
11871 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
11872 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
11873 errno's address (make compatible with rest of newlib).
11874 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
11875 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
11876
11877Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
11878
11879 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
11880 * libc/machine/sparc/Makefile.in: Build them.
11881 * libc/machine/sparc/machine/sparclet.h: New file.
11882
11883Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11884
11885 * libc/machine/sh/asm.h: New file.
11886 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
11887 support for SH3e's FP registers. Use asm.h.
11888
11889Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
11890
11891 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
11892 as first argument. Call _dtoa_r and pass the reent structure
11893 instead of calling __dtoa.
11894
11895Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
11896
11897 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
11898 the h8300, h8500, and others. Add comments for some rather
11899 dubious code.
11900
11901Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
11902
11903 * Makefile.in (check): Check that testsuite exists before cd.
11904
11905Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11906
11907 * libc/include/string.h (strsep): Correct prototype.
11908
11909Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
11910
11911 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
11912 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
11913 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
11914
11915Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
11916
11917 * libc/posix/{creat.c,isatty.c}: New files.
11918 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
11919
11920 * libc/sys/sparc64/crt0.S (environ): Delete.
11921 (.LHaveBias): Renamed from HaveBias.
11922
11923Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
11924
11925 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
11926 (_morecore_r): Delete SBRK_IS_ALLOC support.
11927
11928Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11929
11930 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
11931 module rather than touch, so we don't get warning messages when
11932 all of the libraries are combined into libc.a.
11933
11934Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
11935
11936 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
11937 crt0.s replaced by version in libgloss.
11938
11939Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11940
11941 * libc/reent/Makefile.in (OFILES): Add impure.o.
11942 * libc/reent/impure.o: New file, define initial reentrancy struct.
11943 * libc/reent/reent.c: Remove above definition.
11944
11945 * libm/math/sf_asinh.c: Fix typo.
11946
11947 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
11948 srf_ldexp.o.
11949
11950 * libm/libm.texinfo: Change documentation to reflect changes
11951 in reentrancy model.
11952 * libm/math/w_gamma.c: Likewise.
11953
11954Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
11955
11956 * configure.in (*-*-cygwin32): New.
11957 (*-*-win32): Deleted.
11958 * libc/sys/win32 renamed libc/sys/cygwin32.
11959
11960Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11961
11962 * libc/include/sys/file.h: New include file.
11963
11964Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
11965
11966 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
11967
11968Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
11969
11970 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
11971
11972Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11973
11974 * doc/makedoc.c (realloc): Declare at file scope.
11975 (catchar): Not here.
11976
11977Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
11978
11979 * Makefile.in (VERSION): Update to 1.7.0.
11980 * {libc,libm}/Makefile.in (VERSION): Likewise.
11981 * configure.in: Minor clean up of multilib stuff.
11982
11983 From David Johnson <davidj@ICSI.Berkeley.EDU>
11984 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
11985
11986 * libc/stdlib/environ.c: New file.
11987 * libc/stdlib/Makefile.in (OFILES): Build it.
11988 * libc/sys/h8500hms/crt0.c (environ): Deleted.
11989 * libc/sys/m88kbug/crt0.c (environ): Deleted.
11990 * libc/sys/z8ksim/crt0.c (environ): Deleted.
11991 * libc/sys/netware/environ.c: Deleted.
11992
11993Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
11994
11995 * configure.in (links): set sys_dir, posix_dir, syscall_dir
11996
11997Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11998
11999 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
12000 declaration out to external scope and declare it PTR, not char *.
12001
12002Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
12003
12004 * libc/include/sys/unistd.h (getpagesize): New declaration.
12005 (_SC_PAGESIZE): New definition.
12006 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
12007 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
12008
12009Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
12010
12011 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
12012 addressing. System call returns size, not (last address + 1).
12013
12014Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12015
12016 * libm/math/*.c: Removed _foo_r() reentrancy API.
12017 * libc/include/math.h: Removed _foo_r prototypes and macros.
12018
12019 * libm/math/*.c: On systems with IEEE single precision "doubles"
12020 move foo() -> foof() wrapper code from the files that implement
12021 the standard IEEE double precision functions to the files that
12022 implement IEEE single precision functions. (ie. On those systems
12023 sin is moved from s_sin.c to sf_sin.c). There should eventually
12024 be use of a C extension (like gcc's alias attribute) so that the
12025 wrappers are not needed at all.
12026
12027 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
12028 strict NEC V810 compiler.
12029 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
12030 for same reason.
12031
12032Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12033
12034 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
12035 from NetBSD C library.
12036 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
12037
12038 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
12039 and adapted from implementation I wrote for NetBSD C library.
12040 The difference is __assert doesn't take a format argument,
12041 so that there won't be multiple copies of the same string
12042 constant in the executable if assertions are enabled in
12043 more than one source module.
12044 * libc/include/assert.h (assert): Changed to call __assert.
12045
12046Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12047
12048 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
12049 word1 on systems with 32 bit doubles.
12050 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
12051 so that we can do arithmetic on them.
12052 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
12053 compilers.
12054
12055Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
12056
12057 * libc/sys/arm/crt0.S: Zero bss.
12058
12059Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
12060
12061 * libc/include/unctrl.h: New file.
12062 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
12063 * configure.in (subdirs): Add libc/misc.
12064 * libc/Makefile.in (SUBDIRS): Add misc.
12065 (SUBLIBS): Add misc/lib.a.
12066
12067 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
12068
12069Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
12070
12071 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
12072 (_vfprintf_r): Call CHECK_INIT.
12073
12074Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
12075
12076 * Makefile.in (MULTITOP): Delete.
12077 (MULTISRCTOP, MULTIBUILDTOP): Add.
12078 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
12079 instead of cfg-ml-pos.in.
12080
12081Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12082
12083 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
12084 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
12085 presence.
12086
12087Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12088
12089 * libc/string/strtok.c: Include string.h to pick up strtok_r
12090 prototype.
12091
12092Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12093
12094 * libc/string/strtok.c: include <_ansi.h>.
12095 * libc/time/asctime_r.c: `reresult' -> `result'.
12096
12097Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12098
12099 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
12100 in #ifndef _REENT_ONLY ... #endif conditional.
12101
12102 * libc/include/string.h (_strtok_r): Remove declaration.
12103 * libc/include/time.h (_asctime_r): Remove declaration.
12104 * libc/string/strtok.c (_strtok_r): Removed.
12105 * libc/time/asctime.c (_asctime_r): Removed.
12106
12107 * libc/string/Makefile.in (OFILES): Add new object.
12108 * libc/string/strtok_r.c: New file. strtok_r function as
12109 specified by POSIX.1c, adapted from strtok implementation
12110 from NetBSD C library.
12111 * libc/string/strtok.c (strtok): Reimplemented in terms of
12112 strtok_r.
12113
12114 * libc/time/Makefile.in (OFILES): Add new objects.
12115 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
12116 New files, reentrant time functions specified by POSIX.1c.
12117 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
12118 reentrant time functions re-written in terms of reentrant
12119 functions.
12120 * libc/time/lcltime.c: Renamed from localtime.c
12121
12122 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
12123 gmtime_r, and localtime_r.
12124
12125Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
12126
12127 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
12128 * libc/include/sys/unistd.h (getlogin): Revert change of
12129 Oct 19.
12130 * libc/include/sys/signal.h (sigprocmask): Change prototype
12131 so it compiles with c++.
12132
12133Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
12134
12135 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
12136 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
12137 to give some room in case we need to align the jmp_buf.
12138
12139 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
12140 the new ppc-asm.h include file the compiler provides to specify
12141 function prologue/epilogue. Eliminate saves of the xer and ctr
12142 registers, which are volatile. Before starting to save registers,
12143 align to 8 byte boundary.
12144
12145Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12146
12147 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
12148 referenced by standard libraries.
12149
12150Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
12151
12152 * libc/unix/Makefile.in, libc/string/Makefile.in,
12153 libc/stdio/Makefile.in, libc/reent/Makefile.in,
12154 libc/posix/Makefile.in:
12155 Remove tabs from otherwise empty line. Confuses some
12156 older non-GNU versions of "make".
12157
12158Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
12159
12160 * libc/sys/unistd.h (getlogin): Returns const char *.
12161
12162Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
12163
12164 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
12165 * libc/include/errno.h: Moved into and include...
12166 * libc/include/sys/errno.h: New file.
12167 * libc/include/sys/wait.h: New file.
12168 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
12169 * libc/sys/win32/*: Moved out.
12170 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
12171 * configure.in (i[345]86-*-win32): HAVE_RENAME
12172
12173Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
12174
12175 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
12176 avoid macro expansion for these two names.
12177
12178Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
12179
12180 * libc/machine/h8500/psi.S: r6 renamed to fp.
12181
12182Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12183
12184 * configure.in (powerpc*): No longer need to define
12185 NO_LONGLONG_POINTERS to supress warnings.
12186
12187Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12188
12189 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
12190 through PTR instead of directly.
12191
12192 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
12193 non-standard constructor support.
12194
12195Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12196
12197 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
12198 address of the Bigint instead of the address of its _x field,
12199 as the size the result buffer was calculated accordingly.
12200 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
12201
12202 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
12203 from NetBSD C library. No longer special cases division by
12204 zero (which needs to be done by the application anyway), but
12205 it doesn't need to call abs() (or labs()) four times either.
12206
12207 * libc/stdlib/qsort.c: Replaced with implementation from
12208 NetBSD C library.
12209
12210Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12211
12212 * libc/stdio/vfprintf.c: Replaced with implementation from
12213 NetBSD C library (which is derived from the 4.4BSD C library).
12214 * libc/stdio/cvt.c: Removed.
12215 * libc/stdio/Makefile: Updated.
12216
12217Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
12218
12219 * libc/sys/win32/syscalls.c (rename): New.
12220 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
12221
12222Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12223
12224 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
12225 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
12226
12227 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
12228 (setjmp.o): Delete rule to build setjmp.o.
12229 * libc/sys/sh/setjmp.S: Delete file.
12230
12231Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12232
12233 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
12234 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
12235 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
12236 pow5mult and s2b to identifiers with leading underscores.
12237 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
12238 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
12239
12240Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
12241
12242 * libc/sys/posix/popen.c (sys/types.h): Include.
12243
12244Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
12245
12246 * libc/sys/win32/syscalls.h (fhandler): New struct.
12247 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
12248 (__fhandler_normal): Declare.
12249 (hinfo): New member op_handlers.
12250 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
12251 (__write): Likewise.
12252 (_read, _write, _open, _close, _lseek): Validate fd here.
12253 Move file type specific stuff to foo_normal.
12254 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
12255 New functions.
12256 (__lookup_fhandler): New function.
12257 (__lookup_fhandler_hook, __fhandler_normal): New variables.
12258
12259 From anders.blomdell@control.lth.se (Anders Blomdell)
12260 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
12261 Don't touch standard handles.
12262 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
12263 (_execve): Only create __FD_TABLE__ if necessary.
12264 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
12265
12266Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
12267
12268 * libc/sys/win32/sys/termios.h (FLUSHO): New.
12269 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
12270 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
12271 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
12272 without a handler is received.
12273 * libc/sys/win32/Makefile.in: Remove --nodelete.
12274 * libc/sys/win32/resouce.c (gettimeofday): New.
12275 * libc/sys/win32/syscalls.c (path_to_real_path): New.
12276 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
12277
12278Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
12279
12280 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
12281 Don't append "/*" to search pattern if trailing '/' already there,
12282 append "*".
12283 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
12284 like /'s, convert them to \'s. Handle //<drive>/ path names.
12285 Add space for quoted \'s in arg string. Print translated prog name
12286 and original prog name.
12287 (_execve): Handle parent doing exec a teensy bit better.
12288 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
12289 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
12290 path needs conversion, handle both cases. Delete `const' from result.
12291 (hash_path_name): New function.
12292 (_open): Call it.
12293 (_stat): Likewise. Fill in more fields for directories.
12294 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
12295 (wait_for_any): Fix trace message.
12296 (waitpid): Explicitly test for intpid == 0.
12297
12298 From anders.blomdell@control.lth.se (Anders Blomdell)
12299 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
12300 so `next' is valid.
12301
12302Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
12303
12304 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
12305 complicated.
12306
12307Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12308
12309 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
12310 at all, not just == 1.
12311 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
12312
12313Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12314
12315 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
12316 * libc/sys/win32/include/wintypes.h: include <winnt.h>
12317 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
12318 file.
12319
12320Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12321
12322 * libc/sys/syscalls.c (getcwd): Fix off by one error.
12323
12324 * libc/sys/signal.c (sleep): Fill it in.
12325 * libc/sys/termios.c (tcflush): Use PurgeComm
12326 (tcsetattr): Set some more of the bits.
12327 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
12328
12329Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
12330
12331 * libc/sys/arm/crt0.S (fp): Initialize to 0.
12332 Conditionally include .idata$3 stuff ifdef __pe__.
12333
12334Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12335
12336 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
12337 * libc/sys/win32/pipe.c (pipe): Ditto.
12338 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
12339 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
12340 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
12341 (tcgetattr): Contents are new.
12342 * libc/sys/win32/include/winkernel.h (DCB): New.
12343 (GetCommState, SetCommState): New.
12344
12345Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
12346
12347 * libc/sys/arm/crt0.S (_start): Define.
12348
12349Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
12350
12351 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
12352 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
12353
12354 * libc/sys/win32/sysconf.c: New
12355 * libc/sys/win32/sys/winadvapi.h: New
12356 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
12357 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
12358 * libc/sys/win32/pipe.c (pipe): Ditto.
12359 * libc/sys/win32/signal.c (_raise): New.
12360 (_kill): Moved from spawn.c
12361 * libc/sys/win32/spawn.c (kill): Moved to signal.c
12362 * libc/sys/win32/syscalls.c (__read): Use new fields.
12363 (_open): Ditto.
12364 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
12365 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
12366 * libc/include/sys/unistd.h (rmdir): Takes const path.
12367 * libc/include/sys/stat.h (mkdir): Takes const path.
12368 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
12369
12370Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
12371
12372 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
12373
12374 Add support for specifying paths as //<drive>/foo/bar.
12375 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
12376 (__path_to_real_path): Declare.
12377 (PATH_TO_REAL_PATH): New macro.
12378 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
12379 (__path_needs_conversion_p, __path_to_real_path): New functions.
12380 (_open): Fix test for error return from CreateFileA.
12381 Handle new path syntax.
12382 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
12383 * libc/sys/win32/dirsearch.c (opendir): Likewise.
12384
12385Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
12386
12387 * libc/sys/win32/include/*.h: Reorganized
12388 * libc/sys/win32/include/WINREADME: New.
12389 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
12390 * libc/sys/win32/*.c: Fix for new include scheme.
12391 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
12392 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
12393 * libc/sys/win32/passwd.c (*): Fix.
12394 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
12395 (_stat): Get directory owner and permissions right.
12396 * libc/sys/win32/syscalls.h (uinfo): New.
12397 * libc/sys/win32/version.def: Remove leading underscores.
12398
12399Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12400
12401 * libc/sys/win32/key.c: include "include/wincon.h".
12402
12403Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
12404
12405 * libc/sys/win32/{key, stubs}.c: New.
12406 * libc/sys/win32/Makefile: Adjust to cope.
12407 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
12408 (environ_init): Change env names to upper case.
12409 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
12410 * libc/sys/win32/passwd.c (*): Fill in the functions.
12411 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
12412 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
12413 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
12414 (_open): Initialze hmap->execable_p too.
12415 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
12416 (_fstat): Fill in permissions.
12417 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
12418
12419Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
12420
12421 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
12422 if defined.
12423 (cfg-ml-pos.in invocation): Likewise.
12424
12425Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12426
12427 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
12428 s_isnan.o and sf_isnan.o.
12429
12430Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
12431
12432 * All Makefile.in files: added maintainer-clean target as a
12433 synonym for realclean.
12434
12435Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
12436
12437 * libc/include/machine/setjmp.h: Add hppa support.
12438 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
12439 support.
12440 * libc/machine/hppa/Makefile.in: Related changes.
12441
12442Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
12443
12444 * configure.in (machine_dir): Don't set for v810-*-*.
12445
12446Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12447
12448 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
12449 conventions correctly.
12450
12451Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
12452
12453 * libc/stdio/puts.c: Update documentation of return value to match
12454 ANSI standard.
12455
12456Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
12457
12458 Fix file descriptor inheritance.
12459 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
12460 (NOT_OPEN_FD): Fix.
12461 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
12462 close-on-exec flag not set. Initialize child's entire fd table.
12463 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
12464 CHILD_P.
12465 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
12466 if CHILD_P. Initialize entire hmap entry.
12467 (dup): Only create new handle as inheritable if CHILD_P.
12468 (dup2): Likewise. Properly initialize hmap entry.
12469
12470 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
12471 _spawn.
12472 (_exit): Use CHILD_P.
12473 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
12474 (_stat): Likewise.
12475
12476Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12477
12478 * libc/sys/win32/crt0.c (passover): fix up the state table.
12479 * libc/posix/popen.c: Added.
12480 * libc/posix/Makefile.in: compile popen.c.
12481
12482Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
12483
12484 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
12485 h8/500 define _DOUBLE_IS_32BITS.
12486
12487Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
12488
12489 Get vfork/exec/spawn/cwait/wait working again.
12490 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
12491 (procinfo): New member vfork_level.
12492 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
12493 (vfork_init_first): Use GetCurrentProcessId to get pid.
12494 Initialize vfork_level.
12495 (vfork_init): Delete __PID__.
12496 (environ_init): New function. Undo patch of Aug 19, Posix says
12497 environment variables are case sensitive.
12498 (mainCRTStartup): Call it.
12499 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
12500 (my_longjump: Make static.
12501 (_spawn): New argument `h'. Delete setting of __PID__.
12502 Delete local `idx'. Look for chars that need quotes, rather than
12503 ones that don't. Set handle of created process in `h'.
12504 Result is process id if created task.
12505 (allocate_spawn_entry): New function.
12506 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
12507 (_execve): Set __FD_TABLE__ before spawning child.
12508 Scan our fd table when passing fds, not our parent's.
12509 Store handle and pid in procinfo entry.
12510 (vfork0): Ensure strace message always printed.
12511 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
12512 (vfork): Don't clobber result of vfork0.
12513 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
12514 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
12515
12516 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
12517 and `exit_code'.
12518 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
12519 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
12520 adding vfork level to pseudo-pid.
12521 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
12522 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
12523 (_exit): If child, set exit code.
12524 (__vfork_record_death): Only close process handle if valid.
12525 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
12526 didn't exec.
12527 (wait_for_any): Likewise. Start scan after root entry.
12528
12529Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12530
12531 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
12532 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
12533 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
12534 of actual file length.
12535
12536 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
12537 * libc/include/paths.h: _PATH_BSHELL added.
12538 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
12539 and STDERR_FILENO.
12540
12541Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12542
12543 * libc/include/ar.h: Added.
12544 * libc/include/sys/types.h: ino_t goes back to 32-bits.
12545 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
12546 * libc/sys/win32/syscalls.c (_open): compute .namehash based
12547 on filename.
12548 (_fstat): use .namehash for inode number of the fd.
12549
12550Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
12551
12552 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
12553 Change hinfo to __this_procinfo.
12554 * libc/sys/win32/crt0.c: Remove procinfo_list.
12555
12556Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12557
12558 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
12559 win32 environment.
12560
12561Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12562
12563 * libc/sys/win32/include/grp.h: Removed.
12564 * libc/sys/include/grp.h: Added.
12565 * libc/sys/win32/grp.c: Include <grp.h>.
12566
12567Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
12568
12569 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
12570 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
12571 Defined for all but strict ANSI.
12572 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
12573 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12574 * libc/signal/signal.c (_signal_r): Changed from using
12575 _MAX_SIGNALS to NSIG.
12576 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
12577 __hmap): Deleted.
12578 (__strace, __vfork_next_pid): New.
12579 (__exe_suffix): Default to 1.
12580 (passover, table): Understand quoted arguments.
12581 (vfork_init_first): New.
12582 (vfork_init): Initialize new process structure.
12583 (mainCRTStartup): Pass environ to main.
12584 * exceptions.c (__sig_mask): New
12585 (ehandler3): Ignore signals in mask.
12586 (really_exit): Remove CHILD_P test.
12587 * pipe.c (pipe, dup, dup2): Use new process and file structure.
12588 * resource.c (getrusage): Ditto.
12589 * signal.c (sigprocmask): New.
12590 * spawn.c (*): Rewritten.
12591 * syscalls.c (*): Use new process and file structure.
12592 (find_unused_handle): New.
12593 * syscalls.h (MAX_HANDLES): Deleted.
12594 (hinfo): Removed child_created_p.
12595 (MAX_CHILDREN): Deleted.
12596 (vfork_jmp_info, procinfo): New.
12597 * wait.c (*): Mostly new.
12598 * sys/strace.h (_STRACE_PARANOID): New.
12599 * sys/param.h: New file.
12600
12601Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12602
12603 * libc/include/sys/stat.h: add S_BLKSIZE.
12604 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
12605 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
12606 types under win32.
12607 (mode_t): add a #else to avoid multiple definitons.
12608
12609 * libc/sys/win32/Makefile.in: add grp.c.
12610 * libc/sys/win32/grp.c: include grp.h correctly.
12611 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
12612 of the st structure with real information.
12613 * libc/sys/win32 (dirent): d_ino is of type ino_t.
12614
12615Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
12616
12617 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
12618 and (maybe) sparc64.
12619 (nlink_t): Provide typedef.
12620
12621Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12622
12623 * libc/sys/win32/grp.c: New file.
12624 * libc/sys/win32/include/grp.h: New file.
12625
12626Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12627
12628 * libc/include/machine/ieeefp.h: Added whitespace to make this
12629 file easier to maintain.
12630 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
12631 depending on the value of __LITTLE_ENDIAN__.
12632 On the sh3e, define _DOUBLE_IS_32BITS.
12633
12634Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
12635
12636 * libc/sys/vr4300/syscalls.c: Added missing support
12637 routines. _raise() and getpid().
12638
12639Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
12640
12641 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
12642
12643Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
12644
12645 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
12646 and VR4300 processor.
12647 * libc/sys/vr4300: Add directory.
12648 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
12649 monitor run-time support.
12650
12651Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12652
12653 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
12654 * libc/stdlib/stdlib.tex: Don't include atol.def.
12655
12656Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12657
12658 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
12659
12660Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
12661
12662 * libc/ctype/Makefile.in: Fill in _to* dependencies.
12663
12664Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
12665
12666 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
12667 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
12668 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
12669 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
12670 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
12671
12672Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12673
12674 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
12675
12676Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12677
12678 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
12679 * libc/stdlib/atoff.c: New file.
12680 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
12681 * libc/stdlib/atoi.c (atol): Removed.
12682 * libc/stdlib/atol.c: Removed duplicate documentation.
12683
12684 * libc/include/ctype.h (_tolower, _toupper): Moved inside
12685 #ifndef _STRICT_ANSI conditional.
12686 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
12687 * libc/ctype/_tolower.c: New file.
12688 * libc/ctype/_toupper.c: New file.
12689 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
12690 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
12691 * libc/ctype/toascii.c (_toascii): Removed.
12692
12693Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
12694
12695 * libc/sys/sparc64/sys/types.h: Deleted.
12696
12697Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12698
12699 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
12700 and recognize Windows_95 systems.
12701
12702Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12703
12704 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
12705 and passed fds should be opened in text mode.
12706
12707Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12708
12709 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
12710 in __hmap, set to binary mode by default.
12711
12712Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12713
12714 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
12715 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
12716 vector 34.
12717
12718Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
12719
12720 * Makefile.in (install): Install all libraries found in the
12721 top level. If there's a sys/<type>/include directory,
12722 install those headers into include.
12723
12724 * libc/sys/win32/kernel.def351: Delete
12725 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
12726 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
12727 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
12728 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
12729 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
12730 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
12731 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
12732 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
12733
12734 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
12735 * libc/sys/win32/crt0.c: Force all env names to upper case.
12736 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
12737 * libc/sys/win32/*.c: Headers have moved.
12738 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
12739 __vfork_child_idx is now __vfork_child_ptr.
12740
12741 * posix/execvp (execvp): Don't crash if no PATH envname.
12742
12743Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12744
12745 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
12746 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
12747 through the _freelist instead of through the _reclaim list.
12748 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
12749 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
12750 sources.
12751
12752Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12753
12754 * libc/machine/h8500/setjmp.S: New file.
12755 * libc/include/machine/setjmp.h: Updated for H8/500.
12756
12757Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
12758
12759 * libc/sys/win32/syscalls.c (_open): More stracing.
12760 (_stat): Open the file in O_BINARY.
12761
12762Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12763
12764 * libc/machine/h8300/setjmp.S: New file.
12765 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
12766
12767Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
12768
12769 * libc/sys/win32/crt0.c (__exe_suffix): New global.
12770 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
12771 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
12772 __exe_suffix. Free fd_tab after setting env variable.
12773 (spawnv,_execve): Update.
12774 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
12775 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
12776 (__small_vfprintf): New function.
12777 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
12778 * libc/sys/win32/wait.c (cwait): Validate argument.
12779
12780 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
12781 (process_deletion_queue): Likewise.
12782
12783 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
12784
12785Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
12786
12787 * libc/sys/win32: Copyrights and gratuitous indenting.
12788
12789Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
12790
12791 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
12792 (process_deletion_queue): Likewise.
12793 (__close_all_files): New function.
12794 (_close): Only queue file deletion if really a file.
12795 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
12796 _P_APPEND_EXE.
12797 (_exit): Call __close_all_files.
12798
12799 * libc/stdlib/system.c: #include <errno.h>.
12800 (_system_r): Fix results in -DNO_EXEC case.
12801
12802 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
12803 Reorganize structure.
12804 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
12805 if argument is valid. Save directory name in DIR. malloc space
12806 for dirent struct separately.
12807 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
12808
12809 * libc/include/errno.h (ENAMETOOLONG): Define.
12810 * libc/string/strerror.c (strerror): Reword ENFILE.
12811 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
12812
12813Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
12814
12815 * libc/sys/win32/crt0.c (__progname): New global.
12816 (mainCRTStartup): Support strace=bitmask,filename.
12817 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
12818 * libc/sys/win32/syscalls.c (_write): Print parent trace message
12819 if error.
12820 (getcwd): Handle len too small. Convert '\\' to '/'.
12821 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
12822 Add prototypes for open, creat, fcntl.
12823 (O_APPEND): Change value to conform to Microsoft's value.
12824 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
12825
12826 * libc/stdlib/getopt.c: New file.
12827 * libc/stdlib/Makefile.in: Build it.
12828
12829Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
12830
12831 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
12832 Fix scanning of $PATH.
12833 * libc/posix/exec*.c: Call _execve, not execve.
12834 * libc/posix/execve.c: New file.
12835 * libc/posix/Makefile.in (OFILES): Add execve.o.
12836
12837 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
12838 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
12839 (_STRACE): If level==0, always print. Handle new bit mask scheme.
12840 * libc/sys/win32/crt0.c: Update _STRACE calls.
12841 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
12842
12843 * libc/sys/win32/smallprint.c (rn): Fix digit list.
12844
12845 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
12846 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
12847 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
12848 Print __seterrno trace message first.
12849 (_execve): Renamed from execve.
12850 (vfork): Update __strace usage.
12851 (__vfork_child_pid): Deleted.
12852 (__vfork_children, __vfork_child_idx): New globals.
12853 (_spawnvp): New function.
12854 (spawnvp, spawnv, _execve): Call _spawnvp.
12855 (init_child): Record child in __vfork_children.
12856 (__vfork_get_entry, __vfork_record_death): New functions.
12857 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
12858 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
12859 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
12860 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
12861 (children): New typedef.
12862 (__vfork_children,__vfork_child_idx): Declare.
12863 (__vfork_get_entry,__vfork_record_death): Declare.
12864 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
12865 (waitpid): Handle pid == -1.
12866 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
12867 * configure.in (i386-win32): Add -DNO_FORK.
12868 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
12869 * libc/reent/execr.c (_fork_r): Likewise.
12870 * libc/stdlib/system.c (do_system): New function.
12871 If WIN32, try to get shell path from $SH_PATH, use vfork.
12872 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
12873 otherwise return 0.
12874
12875Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
12876
12877 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
12878 * libc/sys/win32/fcntl.h: Don't include self.
12879 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
12880 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
12881 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
12882 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
12883 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
12884 Correct prototypes.
12885 * libc/sys/win32/strace.c: New file.
12886 * libc/sys/win32/smallprint.c: New file.
12887 * libc/sys/win32/crt0.c (func): Delete.
12888 (mainCRTStartup): Fix alloca usage. Set handles explictly.
12889 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
12890 * libc/sys/win32/exceptions.c: Lint.
12891 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
12892 Clean up handle usage.
12893 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
12894 (open.c): Default file type is text.
12895 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
12896 * libc/sys/win32/advapi32.def: New
12897
12898Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
12899
12900 * configure.in (posix_dir, libc_posix_lib): New variables.
12901 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
12902 (i[345]86-*-win32): Define posix_dir.
12903 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
12904 (if unix_dir): Fix typo.
12905 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
12906 scandir,seekdir,telldir}: New files.
12907 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
12908 from libc/unix.
12909 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
12910 (SUBDIRS): Add posix.
12911 (SUBLIBS): Add $(LIBC_POSIX_LIB).
12912
12913 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
12914 (NSIG): Increase to 21.
12915 * libc/include/sys/unistd.h (pid_t): Move from here,
12916 * libc/include/sys/types.h (pid_t): to here.
12917
12918 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
12919 (__ptrace): Delete.
12920 (hinfo): New members close_exec_p, child_created_p.
12921 (struct exception_list): Define.
12922 (__hmap): Redefine as pointer to table.
12923 (__parent_hmap, __child_hmap): New globals.
12924 (__set_errno, __really_exit): Declare.
12925 (__vfork_child_pid): Declare.
12926 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
12927 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
12928 (__parent_hmap, __child_hmap): New globals.
12929 (__hmap): Redefine as pointer to active map.
12930 (__get_console): New function.
12931 (mainCRTStartup): Change leading '=' in environ vars to '!'.
12932 (env __FD_TABLE__): Watch for this and initialize our fd/handle
12933 mapping table from it if defined.
12934 (argv, envp): Dump if __strace >= 4.
12935 (main): Call here.
12936 * libc/sys/win32/exceptions.c (myp): Redefine.
12937 (__syscalls_b): Delete.
12938 (__stack_trace): New function.
12939 (ehandler3): Update to use _STRACE. Print stack trace.
12940 Call __really_exit instead of exit.
12941 (init_exceptions): Delete args argc,argv. New arg mine.
12942 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
12943 FindFirstFileA, FindNextFileA, GetComputerNameA,
12944 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
12945 * libc/sys/win32/signal.c (signal): Validate arg.
12946 (alarm, sleep): Define as stubs for now.
12947 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
12948 (__syscalls_b, errno): Delete.
12949 (__vfork_child_pid, __vfork_jmp_buf): New globals.
12950 (__seterrno): Handle more errors.
12951 (__sys_printf): Renamed from _ptrace.
12952 (__really_exit): New function.
12953 (queue_file_deletion, process_deletion_queue): New functions.
12954 (__resume_parent): New function.
12955 (_unlink): Handle trying to delete open file.
12956 (__totime_t): Renamed from totime_t.
12957 (setsid, __read, __write): New functions.
12958 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
12959 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
12960 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
12961 * libc/sys/win32/console.c: Update to new definition of __hmap.
12962 * libc/sys/win32/Makefile.in: Build new files.
12963 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
12964 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
12965 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
12966 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
12967
12968Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
12969
12970 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
12971
12972Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12973
12974 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
12975 have been made to the master dtoa.c sources (from netlib.att.com)
12976 since they were integrated into newlib in early 1992. Fixes
12977 problems with storage leaks and handling of numbers with very
12978 negative exponents.
12979
12980Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12981
12982 * Makefile.in (all): set rootpre and srcrootpre before calling
12983 sub-makes.
12984
12985Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
12986
12987 * libc/sys/win32/crt0.c: Change __hmap usage.
12988 * libc/sys/win32/exceptions.c: Use _ptrace call.
12989 * libc/sys/win32/syscalls.c: Use _ptrace call.
12990 (read, write): Cope with DOS style CRLF when in TEXT mode.
12991 * libc/sys/win32/syscalls.h: Declare hinfo struct.
12992 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
12993 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
12994 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
12995 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
12996
12997Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12998
12999 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
13000
13001 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
13002 wrappers for hypot() and remainder() for BSD libm compatibility.
13003 These are public domain implementations written by me for the
13004 NetBSD libm some time ago. Note cabs() is required by ucbtest.
13005 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
13006 (fobj): Added wf_cabs.o and wf_drem.o.
13007
13008Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13009
13010 * libc/sys/h8500hms/misc.c: New file.
13011 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
13012
13013Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13014
13015 * libc/time/localtime.c (localtime): Fix problem with leap year
13016 handling. Stole algorithm from Arthur David Olson's tz code.
13017
13018Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
13019
13020 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
13021
13022 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
13023 (_exit): Use argument.
13024
13025Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
13026
13027 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
13028
13029Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
13030
13031 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
13032
13033Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13034
13035 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
13036 target_cflags.
13037
13038Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
13039
13040 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
13041 ptrace with case insensitivity
13042 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
13043 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
13044 New files.
13045
13046Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
13047
13048 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13049 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
13050 (all, install, *clean): Use new multilib support.
13051 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13052
13053Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
13054
13055 * libc/include/sys/signal.h (__WIN32__): New.
13056
13057 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
13058
13059 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
13060 (ulp, b2d): Handle 32 bit doubles.
13061 * libc/stdlib/mprec.h: Handle 32 bit doubles.
13062 * libc/stdlib/strtod.c (_strtod_r): Ditto.
13063
13064Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
13065
13066 from medp@primag.co.uk:
13067 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
13068 dynamically allocated buffers.
13069
13070Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
13071
13072 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
13073 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
13074
13075Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13076
13077 * configure.in (powerpc): Fix previous fix.
13078
13079Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13080
13081 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
13082 directories for this target.
13083
13084Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13085
13086 * configure.in (hppa): Add machine_dir definition.
13087 * libc/machine/hppa: New directory with PA specific implementations
13088 of the basic memory/string functions.
13089
13090Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13091
13092 * configure.in: Update current PowerPC multilib directories.
13093 Split big and little endian configurations.
13094
13095Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
13096
13097 * configure.in: Add --enable-single-float option to configure to
13098 control use of MIPS single-float directories. Default to yes.
13099
13100 * Makefile.in (all): Don't recurse into multilib directory if it
13101 does not exist.
13102
13103Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13104
13105 * libc/sys/sh/syscalls.c: Fix typo.
13106
13107Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
13108
13109 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
13110 Pass down DLLTOOL.
13111 * libc/include/process.h: Define WAIT_CHILD.
13112 * libc/include/types.h: Get sizes right for win32.
13113 * configure.in (i386-*-pe): Becomes i386-win32.
13114 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13115 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
13116 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
13117 is defined.
13118
13119Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
13120
13121 * configure.in (i[345]86-*-pe): New target (NT).
13122 * host/any: DLLTOOL new.
13123 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13124 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
13125 WIN32 (just enough to cross host the comp-tools).
13126
13127Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
13128
13129 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
13130 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
13131
13132Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
13133
13134 * libc/include/machine/ieeefp.h (arm): Change to always be
13135 __IEEE_BIG_ENDIAN (even on little endian ARM's).
13136
13137Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
13138
13139 * libc/sys/crt0.S: Initialze sp, and call exit after main.
13140 * libc/sys/syscalls.c (abort): New.
13141 * configure.in (arm): Define ABORT_PROVIDED.
13142
13143Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13144
13145 * configure.in (powerpc): Define multidirs.
13146
13147Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
13148
13149 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
13150
13151Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
13152
13153 * configure.in (sparclite): Delete target_cflags. Define multidirs.
13154
13155Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
13156
13157 * configure.in, libc/include/machine/ieeefp.h: Modified
13158 for arm:
13159 libc/machine/arm/*, libc/sys/arm/*: New
13160
13161Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13162
13163 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
13164 __powerpc__ when determining endianness.
13165
13166Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13167
13168 * configure.in (m68*): Add multidir for the m68332.
13169
13170 * host/any (CC): Fix typo in last change.
13171
13172Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
13173
13174 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
13175 when determining endianness.
13176 * libc/include/machine/ieeefp.h: Ditto.
13177 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
13178 operands.
13179
13180Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
13181
13182 * libc/include/errno.h (ENOTEMPTY): Define.
13183
13184Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13185
13186 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
13187 target_cflags.
13188
13189 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
13190 and umultiply.o.
13191
13192 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
13193 instead of only when open succeeds. ANSI requires that multiple
13194 calls to tmpnam() result in different files.
13195
13196 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
13197 objects pulled in from /lib/libc.a that must be renamed before
13198 being pulled into newlib. /lib/libc.a's div.o conflicted with
13199 newlib's file with the same name.
13200
13201 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
13202
13203 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
13204 the build tree will only be used if the executables are present
13205 (instead of just the Makefiles).
13206
13207 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
13208 wcstombs): Define.
13209 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
13210 versions of these functions that I orignally wrote for the
13211 NetBSD C library.
13212 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
13213 versions I wrote for NetBSD.
13214
13215Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
13216
13217 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
13218 * libc/sys/sparclite/crt0.s: ditto.
13219
13220Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
13221
13222 * configure.in: Add soft-float for proelf.
13223
13224Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
13225
13226 * libc/stdlib/mprec.h (Bcopy): Copy the right number
13227 of bytes.
13228
13229Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
13230
13231 * Makefile.in (all): Depend on `force'.
13232 * configure.in (syscall_dir): Renamed from fake_sys_dir.
13233 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
13234 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
13235 * libc/Makefile.in: Likewise.
13236 * libc/include/reent.h: Update syscall references.
13237 (_fcntl_r): Add prototype.
13238 * libc/syscalls/*.c #include <reent.h>.
13239 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
13240
13241Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
13242
13243 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
13244 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
13245 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
13246 (time.h, sys/types.h): Always include (even if MSDOS).
13247 (stat): Fix prototype.
13248
13249Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
13250
13251 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
13252
13253Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13254
13255 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
13256
13257Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
13258
13259 * libc/include/regdef.h: New file.
13260 * libc/machine/mips/machine/regdef.h: New file.
13261
13262Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
13263
13264 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
13265
13266Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
13267
13268 * libc/sys/sh/crt0.S: Pass main's return to exit.
13269 * libc/sys/sh/trap.S: Put errno in the right place.
13270
13271Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13272
13273 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
13274 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
13275 * libm/math/ef_rem_pio2.c: Likewise.
13276 * libm/math/e_log10.c: Remove unused static one.
13277 * libm/math/ef_log10.c: Likewise.
13278 * libm/math/s_frexp.c: Likewise.
13279 * libm/math/sf_frexp.c: Likewise.
13280
13281Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
13282
13283 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
13284 longjmp.S: Upgraded.
13285 * libc/sys/go32/sys/setjmp.h: Upgraded.
13286 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
13287
13288Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13289
13290 * configure.in: Add many entries to multidirs for mips targets.
13291
13292Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13293
13294 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
13295 5.2 which fixes bug where jn(-1,x) is three times larger than
13296 the actual answer.
13297 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
13298
13299Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
13300
13301 * libc/sys/w65/sys/syscalls.h: New file
13302 * libc/include/machine/ieeefp.h: W65 support.
13303 * libc/include/sys/config.h: Ditto.
13304 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
13305 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
13306 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
13307
13308Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13309
13310 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
13311
13312Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
13313
13314 * Makefile.in, configure.in: Remove any references to the old
13315 "stub" dir.
13316
13317Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13318
13319 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
13320 uses ... in prototype.
13321
13322
13323Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
13324
13325 * libc/sys/a29khif/sys/libconfig.h: Remove.
13326 * libc/sys/go32/sys/libconfig.h: Remove.
13327 * libc/sys/sun4/sys/libconfig.h: Remove.
13328 * libc/sys/sysvi386/sys/libconfig.h: Remove.
13329 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
13330 * libc/sys/sparc64/sys/libconfig.h: Remove.
13331
13332 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
13333 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
13334 * libc/include/math.h: Change all uses of _FLOAT_RET and
13335 _FLOAT_ARG to float.
13336 * libm/test/math.c: Likewise.
13337 * testsuite/libm.sac/math.c: Likewise.
13338 * testsuite/libm.sac/working/math.c: Likewise.
13339
13340Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13341
13342 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
13343 gcc calls gas with endian option.
13344 * configure.in (sh): Build little endian version too.
13345
13346Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13347
13348 * configure.in: Configure big and little endian versions for MIPS
13349 targets.
13350
13351Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
13352
13353 * libc/include/limits.h: Deleted.
13354 * libc/include/machine/limits.h: Deleted.
13355
13356Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
13357
13358 * ChangeLog: Remove stub directory. This has all been rewritten
13359 and moved to devo/libgloss.
13360
13361Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13362
13363 * Makefile.in (dvi): Add to info target, use $@ in sub make.
13364 (docs): Merge into info target.
13365 * libm/Makefile.in (dvi): Add $(srcdir).
13366 * libm/math/Makefile.in (chobjs): Remove underscores from file
13367 names. Texinfo doesn't like them.
13368 (wacos.def, ...): Add explicit targets for all .def files.
13369 * libm/math/math.tex: Remove underscores from @include file names.
13370 * doc/Makefile.in (dvi): Add dummy target.
13371 * testsuite/Makefile.in (dvi): Add dummy target.
13372
13373Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
13374
13375 * Makefile.in (VERSION): Define. For net newlib releases.
13376
13377Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
13378
13379 * README: New file.
13380
13381Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13382
13383 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
13384
13385Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13386
13387 * libc/stdlib/setenv.c (_findenv): Declare.
13388
13389 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
13390 fcntl to not use _EXFUN, and change string parameters to open and
13391 creat to be ``const char *''.
13392 * libc/sys/sparc64/sys/fcntl.h: Likewise.
13393 * libc/sys/sparc64/creat.c (creat): Make PATH const.
13394 * libc/syscalls/sysopen.c: Include <fcntl.h>.
13395 (open) Make _FILE const.
13396 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
13397 (_creat): Make PATH const.
13398 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
13399 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
13400 * libc/sys/m88kbug/syscalls.c (open): Likewise.
13401 * libc/sys/sh/syscalls.c (_open): Likewise.
13402 * stub/shared/glue.c (open): Make BUF const.
13403 * stub/ex93x/syscalls.c (open): Make FILENAME const.
13404
13405Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13406
13407 * libc/include/errno.h: Add ENMFILE
13408 * libc/include/sys/config.h: Support Z8000.
13409 * libc/include/sys/signal.h: New signals for go32.
13410 * libc/machine/h8500/psi.S (__addpsir0r0): New function
13411 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
13412 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
13413 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
13414 size is variable, depending upon CHUNK_POWER.
13415 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
13416
13417Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13418
13419 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
13420
13421Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13422
13423 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
13424
13425Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13426
13427 * configure.in: Change i[34]86 to i[345]86.
13428
13429 * libc/include/math.h: Don't define HUGE_VAL if it is already
13430 defined.
13431
13432Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13433
13434 * testsuite/libm.sac/test_erfc.c: Correct some result values.
13435 * testsuite/libm.sac/test_gammaf.c: Likewise.
13436 * testsuite/libm.sac/test_sin.c: Likewise.
13437 * testsuite/libm.sac/test_tanh.c: Likewise.
13438
13439Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13440
13441 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
13442 already set. Define typedefs __int32_t and __uint32_t.
13443 * libc/include/math.h: Include <machine/ieeefp.h>.
13444 (union __dmath): Use __uint32_t.
13445 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
13446 instead of int and unsigned int.
13447
13448Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13449
13450 Replace the math library with the SunPRO fdlibm package.
13451 * libm/math: Completely changed all files.
13452 * libm/ieeefp: Remove contents and directory.
13453 * libm/Makefile.in (LIBM_FP_LIB): Remove.
13454 (SUBDIRS): Just set to math/lib.a.
13455 * libm/libm.texinfo: Updated for new library.
13456 * libc/include/math.h: Extensive changes for new math library.
13457 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
13458 from _FLOAT_ARG to float.
13459 (maxpowtwo, maxpowtwof): Don't declare.
13460 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
13461 (libm_fp_lib): Removed.
13462 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
13463 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
13464 argument to ${RUNTEST}.
13465 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
13466 (.c.o): New rule.
13467 (RUNTESTFLAGS): Set CC and CFLAGS.
13468 (TESTS): Remove test_log2 and test_log2f.
13469 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
13470 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
13471 _FLOAT_ARG, for single precision argument type.
13472 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
13473 expected failure. Close the input pipe.
13474 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
13475 Correct misspelling of inaccurate.
13476 (test_mok): Use ``inaccurate'', not ``wrong''.
13477 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
13478 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
13479 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
13480 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
13481 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
13482 test_yn.c): Correct many result values. Many are still wrong.
13483
13484 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
13485 just copy the string.
13486 (_gcvt): Always return the buffer.
13487
13488Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13489
13490 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
13491
13492Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
13493
13494 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
13495 structure.
13496 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
13497 (_reclaim_reent): declare new entry point.
13498 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
13499 functions.
13500
13501 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
13502 ever allocated, so that we can later reclaim them all.
13503 (pow5mult): make reentrant.
13504
13505 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
13506 so that when given NULL as a buffer, return a pointer to static
13507 space in the rent structure. This is not documented behaviour;
13508 it's only to support ecvt and fcvt, which aren't ANSI anyway.
13509 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
13510 therefore become reentrant).
13511
13512 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
13513
13514Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13515
13516 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
13517
13518Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13519
13520 * Makefile.in: Make link to libg.a after libc.a; this is needed
13521 for the testsuites to build executables when everything comes
13522 from the tree.
13523
13524Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
13525
13526 * libc/Makefile.in: Add a VERSION variable so we can keep track.
13527 * libm/Makefile.in: Add a VERSION variable so we can keep track.
13528
13529Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13530
13531 * libc/include/stdio.h: Use __VALIST, not va_list.
13532
13533Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
13534
13535 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
13536 testsuite/libm.sac/execute.exp:
13537 Replace error proc calls with perror calls.
13538
13539Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
13540
13541 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
13542 * libc/include/time.h: #define NULL as 0L.
13543
13544Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
13545
13546 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
13547 care of it.
13548
13549Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13550
13551 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
13552 not __unix__.
13553
13554Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
13555
13556 * configure.in (TARGET_CFLAGS): Set -O2 as default.
13557 (z8k-*-*): Use syscalls fake sys dir.
13558 * libc/sys/z8k/glue.c: Rename syscalls.
13559 * libc/sys/go32/Makefile.in: Use new routines.
13560 * libc/machine/Makefile.in: Fix typo in ln stuff.
13561
13562Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13563
13564 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
13565 * libc/Makefile.in (crt0.o): Likewise.
13566 * libc/machine/Makefile.in (lib.a): Likewise.
13567 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
13568
13569 All Makefile.in files: Added mostlyclean, realclean and distclean
13570 targets.
13571
13572 * Makefile.in: Don't bother to unexport XTRAFLAGS or
13573 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13574 the top level Makefile.
13575
13576Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
13577
13578 * libc/sys/sparc64/sys/stat.h: New file.
13579 * libc/sys/sparc64/sys/time.h: New file.
13580 * libc/sys/sparc64/sys/types.h: New file.
13581
13582Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
13583
13584 * stub/ex93x/crt0.s (start): Add code to clear bss.
13585
13586Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
13587
13588 * libc/include/sys/types.h (time_t): Properly protect inside
13589 #ifndef __time_t_defined.
13590
13591 * libc/stdio/fileno.c: New file.
13592 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
13593 (fileno.o): Add dependency.
13594 * libc/include/stdio.h (__sgetc): Rename never to _never.
13595 (fileno macro): Disable, needs to do CHECK_INIT first.
13596
13597Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
13598
13599 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
13600 goal.
13601
13602 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
13603 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
13604 runtest.
13605 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
13606 runtest.
13607
13608Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
13609
13610 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
13611 of the various constants.
13612
13613Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
13614
13615 * libc/include/math.h: #ifndef __math_68881 around things which
13616 conflict with the (gcc-provided) inline functions in
13617 gcc/ginclude/math-68881.h.
13618
13619Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
13620
13621 * libc/include/_syslist.h (_gettimeofday): Define.
13622 (_times): Ditto.
13623 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
13624 (struct tms, timeval, timezone): Declare.
13625 (_gettimeofday_r, _times_r): Declare.
13626 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
13627 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13628 (time_t): Add multiple definition protection, __time_t_defined.
13629 * libc/include/sys/time.h: Don't #include <time.h>.
13630 Always define struct timezone (remove #ifndef _TIME_H_).
13631 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
13632 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13633 * libc/reent/Makefile.in (OFILES): Add timer.o.
13634 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
13635 * libc/reent/timer.c: New file.
13636 * libc/time/clock.c: #include <reent.h>.
13637 (clock): Call _times_r instead of times.
13638 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
13639 HAVE_GET_TIME_OF_DAY.
13640 Add comment regarding supporting OS routine(s) required (for docs).
13641 #include <reent.h>.
13642 (time): Call _gettimeofday_r instead of gettimeofday.
13643 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
13644 * libc/time/ctime.c: Ditto.
13645 * libc/time/strftime.c: Ditto.
13646 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
13647 (TEMPLATE_SFILES_R): Define here. Also define times.
13648 Add times_r.o/times.S dependence.
13649 (time2.c, junk.c): Deleted.
13650 * libc/sys/sparc64/time2.c: Deleted.
13651 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
13652
13653 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
13654 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
13655 * libc/sys/sparc64/junk.c: Deleted.
13656
13657Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
13658
13659 * libc/sys/sparc64/Makefile.in: Add times syscall.
13660 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
13661 be used with and without it. Add comment clarifying Medium/Anywhere
13662 model requirements.
13663 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
13664 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
13665 even if obsolete.
13666
13667Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
13668
13669 * configure.in (target_cflags): Move init.
13670 (sparc64-*-*): Define HAVE_BLKSIZE.
13671
13672Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
13673
13674 * libc/include/sys/_types.h: New file.
13675 * libc/include/reent.h: #include it.
13676 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
13677 MISSING_SYSCALL_NAMES.
13678 Sort syscalls.
13679 * libc/include/_syslist.h: Remove _raise.
13680 * libc/reent/signalr.c: New file.
13681 * libc/reent/Makefile.in: Compile it.
13682 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
13683 Add doc for raise and _raise_r.
13684 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
13685 (raise): Call _raise_r.
13686 (_raise_r): Call _getpid_r and _kill_r.
13687 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
13688 (abort): Loop forever calling raise and _exit.
13689
13690Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13691
13692 * configure.in: Remove extraneous echo.
13693
13694Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
13695
13696 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
13697 collision with unistd.h, and fix for svr4.
13698
13699Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
13700
13701 * libc/stdio/local.h (_llicvt): Declare.
13702 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
13703 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
13704 (_llicvt): Define.
13705 (_sicvt): Fix function header (`value' is short).
13706 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
13707 Add printing of long long's support.
13708 Add printing of 8 byte pointer support.
13709
13710Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
13711
13712 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
13713 stat, chmod): New hooks.
13714 (sbrk): Abort if stack and heap collide.
13715 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
13716 shortcut when given small args.
13717 * libc/machine/sh/setjmp.s: Rewritten.
13718 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
13719 of cmp/str instruction.
13720
13721Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13722
13723 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
13724 and machine_dir powerpc.
13725 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
13726 Add cases for __powerpc__.
13727 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
13728 New files.
13729
13730 * libc/include/stdio.h (_iprintf_r): Declare correctly.
13731
13732Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
13733
13734 * libc/stdlib/callocr.c: New file with _calloc_r in it.
13735 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
13736
13737Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
13738
13739 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
13740 (print_e): More comments to describe args, etc.
13741 "type" arg may now be 'g' or 'G' for %g/G format --> remove
13742 trailing blanks.
13743 (_gcvt): Remove locals decpt, sign, end, p, done.
13744 More comments for print_e invocation.
13745 Pass "type" to print_e as is (g/G).
13746
13747Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
13748
13749 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
13750 stock m68000.
13751
13752Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
13753
13754 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
13755 works with any sized pointer, including ones bigger than ints and
13756 longs.
13757
13758Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
13759
13760 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
13761
13762Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13763
13764 * libc/include/stdlib.h (_calloc_r): Add prototype.
13765 * libc/machine/h8500/negsi2.c: New file.
13766 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
13767 large unsigned numbers.
13768 * libc/machine/h8500/cmpsi.c: Add cmppsi.
13769 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
13770 works when sizeof(size_t) != sizeof(char *).
13771 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
13772 get play area
13773 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
13774
13775Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
13776
13777 * libc/include/assert.h (assert): Handle -traditional.
13778
13779Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
13780
13781 * Makefile.in: added ; after every "fi" and "done" that wasn't at
13782 the end of a line (ie. anything before a backslash continuation)
13783 so that bash handles them.
13784
13785Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13786
13787 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
13788 stat to lstat
13789
13790Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
13791
13792 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
13793 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
13794 libc/machine/sh/udivsi3.s: Use new calling convention.
13795
13796Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
13797
13798 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
13799 chmod, access, chdir, chown by making _path const. Also fix _amode
13800 param of access.
13801
13802Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
13803
13804 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
13805 _khif_tmpnam, because it doesn't comply with ANSI but may be
13806 useful anyway. Real tmpnam was already in libc/stdio, and was
13807 colliding with this one (pr 2176.)
13808 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
13809 the wrong idea anyhow.
13810
13811Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
13812
13813 * configure.in: Remove h8300h, we have multilib now.
13814
13815Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
13816
13817 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
13818 functions, to get preference over the ones in libiberty (since we
13819 provide correct declarations in <string.h>.
13820 * libc/string/Makefile.in: add support for strncasecmp,
13821 strcasecmp.
13822
13823Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
13824
13825 * Change netware config not to look for cpu explicitly.
13826
13827Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
13828
13829 * libc/sys/sparc64/{creat.c,junk.c}: New files.
13830 * libc/sys/sparc64/Makefile.in: Add dependencies.
13831
13832Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
13833
13834 * configure.in: Clean up v9 a bit, new "os" aoutv8.
13835
13836Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
13837
13838 * libc/include/sys/reent.h: make structure smaller by allocating
13839 some stuff when needed.
13840 * libc/signal/signal.c: allocate as needed
13841 * libc/stdio/findfp.c,stdio/local.h: ditto
13842 * libc/stdlib/mprec.c: ditto
13843
13844 * libc/time/localtime.c: don't return a dangling stack ptr.
13845
13846Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
13847
13848 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
13849
13850Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13851
13852 * libc/include/stdio.h (__sputc): comment out static inline which
13853 confuses coff toolchains.
13854
13855Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
13856
13857 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
13858 _write.s, getpid.c, kill.c, read.s}:
13859 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
13860 through the syscalls directory.
13861
13862Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
13863
13864 * configure.in: fixed double quote gotcha.
13865
13866Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
13867
13868 * stub/ex931: stub library for sparclite board.
13869 * stub/idp: Renamed from mc68ec. Added contructor table
13870 stuff to linker script.
13871 * stub/mvme135: Renamed from m68kmvme. Added contructor table
13872 stuff to linker script.
13873
13874Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13875
13876 * configure.in: Configure testsuites only if they exist.
13877
13878Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13879
13880 * configure.in: Don't set machine_dir for i386 until there is
13881 something in libc/machine/i386 to compile. For i[34]86-*-netware*
13882 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
13883 CLOCK_PROVIDED and MALLOC_PROVIDED.
13884
13885 * libc/sys/netware: New directory. Contains simplistic and
13886 probably incorrect stubs for NetWare. Should be enough to load
13887 the library.
13888 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
13889 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
13890 stub files.
13891
13892 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
13893 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
13894 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
13895 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
13896
13897Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
13898
13899 * testsuite/Makefile.in: add "docs" dummy target for consistency
13900 with rest of newlib; turn "info" and "install-info" into dummy
13901 targets, since they wouldn't have worked. (Depended on
13902 nonexistent "doc" subdir.)
13903
13904Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13905
13906 * configure.in: handle mips* instead of mips
13907
13908Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
13909
13910 * libc/include/sys/dirent.h: New file. If it is not overridden by
13911 a version of libc/sys/*/sys/dirent.h, it includes the next
13912 <dirent.h> file in case there is one lurking somewhere.
13913
13914Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13915
13916 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
13917 compliance, namely: Accept a minus sign. Consider a single 0 with
13918 a radix of 0 as being a conversion. Determine overflow correctly.
13919 If an overflow occurs, set *ptr to the end of the number, not the
13920 middle.
13921 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
13922
13923Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
13924
13925 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
13926
13927Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
13928
13929 * Makefile.in (INSTALL): Use $srcrootpre.
13930 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
13931 can't handle it.
13932 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
13933 it.
13934 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
13935 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
13936 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
13937 * libm/math/Makefile.in (matherr.o): Ditto.
13938
13939Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13940
13941 * configure.in: Build multidirs for z8k.
13942 * libc/include/stdlib.h (_strtoul_r): add prototype.
13943 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
13944 * libc/include/machine/setjmp.h: Add for z8k.
13945 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
13946 * libc/sys/z8ksim/glue.c: tidy up.
13947
13948Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
13949
13950 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
13951 New files. Requires execve system call.
13952 * libc/unix/Makefile.in: Use them.
13953 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
13954 Deleted, moved to libc/unix.
13955 * libc/sys/sparc64/Makefile.in: Remove them.
13956
13957Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
13958
13959 * libc/sys/sparc64/{template.S template_r.S}: New files.
13960 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
13961 from templates.
13962 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
13963 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
13964 umask.S unlink.S wait4.S write.S}: Removed, now built from
13965 templates.
13966
13967Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
13968
13969 * libc/time/time.c: #include <_ansi.h>.
13970
13971Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
13972
13973 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
13974
13975Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13976
13977 * configure.in: match m8* rather than m88k so that m88110 is
13978 recognized as well.
13979
13980Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
13981
13982 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
13983 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
13984 misc.c: New file.
13985
13986 * configure.in: Add multilib support to h8300.
13987
13988Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
13989
13990 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
13991 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
13992 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
13993
13994Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13995
13996 * configure.in: Corrected multidirs for sparc target.
13997
13998Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13999
14000 Support for building newlib multiple times with different
14001 compilation flags.
14002 * configure.in: Only configure doc at top level. Set multidirs
14003 when appropriate for target, unless not at top level. If
14004 multidirs is set, independently configure each subdirectory.
14005 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
14006 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
14007 automagically set by configure.in.
14008 (all): If MULTIDIRS is set, build multiple copies of libraries.
14009 (install): If MULTIDIRS is set, install multiple copies of
14010 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
14011 MULTISUBDIR is set, don't bother to install header files.
14012 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
14013 ${srcrootpre}.
14014 * stub/configure.in: Set MULTISUBDIR appropriately.
14015 * stub/Makefile.in (install): Install in
14016 $(tooldir)/lib/$(MULTISUBDIR).
14017 * All Makefile.in files: Define SRCTOP as well as TOP.
14018
14019Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
14020
14021 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
14022 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
14023
14024Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
14025
14026 * libc/sys/h8300hms/exit.c (_exit): New function.
14027
14028Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14029
14030 * configure.in: recognize m88110.
14031
14032Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14033
14034 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
14035 prototype main and call with args.
14036
14037Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
14038
14039 First real try at system traps for m88k-bug.
14040 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
14041 to real trap calls.
14042 * libc/sys/m88kbug/sys/systraps.h: new file.
14043
14044Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14045
14046 Patches to fix info building when target does not use sys
14047 directory.
14048 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
14049 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
14050 libc/sys.tex.
14051 * libc/sys/Makefile.in (doc): do nothing.
14052
14053Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14054
14055 * libc/Makefile.in (CRT0): new macro.
14056 (all): depend on $(CRT0) rather than crt0.o.
14057
14058 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
14059 do not default crt0, instead, set crt0 and crt0_dir based on
14060 sys_dir and stub_dir.
14061
14062 * Makefile.in (CRT0_DIR): new macro.
14063 (all): depend on $(CRT0) rather than crt0.o which may not exist.
14064 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
14065 $(CRT0).
14066 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
14067
14068Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14069
14070 * testsuite/lib/libm.exp:
14071 added code to support compiling and linking of tests for
14072 libm.sac (paranoia to be added next) and processing the
14073 pass or failure of the tests.
14074
14075 * testsuite/config/unix-libm.exp:
14076 platform specific proc's for dealing with compiler, linker
14077 and the way we execute and process the test results.
14078
14079 * testsuite/libm.sac/execute.exp:
14080 generic framework for the sac tests. the config and lib
14081 expect code for specific platforms tie it all together.
14082
14083 * testsuite/libm.sac/test_is.c:
14084 changed the output of the test to be consistant with the
14085 other tests. parsing of pass nad fail messages is now fixed.
14086
14087Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
14088
14089 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
14090 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
14091 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
14092 #ifdef __cplusplus, surround by extern ""C { ... }.
14093 * libc/include/assert.h: Do *not* protect assert.h against
14094 multiple inclusion! Also, #undef it before #define, to allow
14095 redefinition.
14096 * libc/include/stdio.h (getlogin, cuserid): Removed. These
14097 should be only in unistd.h.
14098
14099 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
14100 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
14101 ... }.
14102
14103Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
14104
14105 * libc/machine/sparc/Makefile.in: Must create a library, even
14106 if empty.
14107
14108Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14109
14110 * configure.in: set machine_dir for m88k. edit crt0 definition
14111 into makefiles.
14112
14113 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
14114
14115 * libc/Makefile.in (all): also build crt0.o.
14116
14117 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
14118 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
14119 to remove CRT0.
14120
14121 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
14122 (all): reworked to build in place.
14123 (clean): remove lib.a
14124 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
14125
14126 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
14127 (_start): key off edata rather than _start_bss.
14128
14129Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
14130
14131 * libc/include/sys/unistd.h, libc/include/reent.h,
14132 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
14133
14134Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14135
14136 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
14137
14138 * Makefile.in (libc.a): break into two rules, one for libc.a and
14139 one for libc/libc.a. Force subdirs current before rebuilding
14140 library.
14141 (libm.a): break into two rules, one for libm.a and one for
14142 libm/libm.a. Force subdirs current before rebuilding library.
14143
14144 * libc/Makefile.in (SUBLIBS): fix typo.
14145
14146 * libc/sys/Makefile.in (all): force descent into subdirs, then
14147 rebuild library iff out of of date.
14148
14149Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14150
14151 Rework so that library is built and then finished rather than
14152 being built on each invocation of make.
14153
14154 * host/any (machine_dir, sys_dir, signal_dir): these are not
14155 shared and have been moved to their associated Makefile.in's.
14156 (AR_FLAGS): switch to qc which is faster.
14157 * configure.in: no longer assign machine_dir for m88k. set
14158 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
14159 stub_dir set, then add to configdirs. add comment about silly
14160 configuration.
14161 (configdirs): drop stub. It will be added only
14162 when needed.
14163 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
14164 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
14165 stub_lib, crt0): new variables for tailoring lower level
14166 makefiles. Assign accordingly and edit into makefiles.
14167 * libm/Makefile.in: updated copyright.
14168 (TARGETLIB): removed.
14169 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
14170 (SUBDIRS): removed TARGETDEP_DIRS.
14171 (LIBM_FP_LIB, SUBLIBS): new macros.
14172 (all): reworked.
14173 (force): new target to force rebuilds.
14174 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14175 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
14176 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
14177 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
14178 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
14179 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
14180 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
14181 stub/m68kmvme/Makefile.in: updated copyright.
14182 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
14183 (all): reworked. made this the default rule.
14184 (clean): also remove lib.a.
14185 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14186 * stub/Makefile.in: updated copyright.
14187 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
14188 (stub_lib): new macro.
14189 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
14190 RANLIB.
14191 (all): reworked.
14192 (clean, install): assume stub_dir exists.
14193 (Makefile): depend on configure.in. call $(SHELL) rather than
14194 sh. drop redundant ./
14195 * stub/configure.in (stublib): new macro, assign it, edit it into
14196 makefiles.
14197 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
14198 updated copyright.
14199 (all): reworked.
14200 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14201 * libc/Makefile.in (TARGETCRT0): removed.
14202 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
14203 TARGETCRT0.
14204 (SUBDIRS): drop TARGETDEP_DIRS.
14205 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
14206 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
14207 (force): new target to force rebuilds.
14208 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
14209 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
14210 removed.
14211 (clean): assume sys_dir always exists.
14212 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
14213 drop redundant ./
14214 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
14215 libc/locale/Makefile.in, libc/machine/Makefile.in,
14216 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
14217 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
14218 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
14219 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
14220 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
14221 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
14222 libc/signal/Makefile.in, libc/stdio/Makefile.in,
14223 libc/stdlib/Makefile.in, libc/string/Makefile.in,
14224 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
14225 libc/time/Makefile.in, libc/unix/Makefile.in,
14226 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
14227 (TARGETLIB): removed.
14228 (all): reworked.
14229 (clean): also remove lib.a.
14230 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14231 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
14232 new macros.
14233 (SUBDIRS): moved to follow frag inclusion, change stub to
14234 stub_dir.
14235 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
14236 are now set in the libc Makefile.
14237 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
14238 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
14239 TARGETCRT0.
14240 (force): new target to force rebuilds.
14241 * stub/configure.in: determine and set stub_lib for for Makefile.
14242
14243Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
14244
14245 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
14246 crt0.s renamed to crt0.S.
14247 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
14248
14249 * libc/machine/h8300/Makefile.in: Make `all' the default target.
14250 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
14251 h8300h.
14252 * libc/machine/h8300/defines.h: Add macros to handle pointers for
14253 h8300 (16 bits) and h8300h (32 bits).
14254 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
14255 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
14256
14257Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
14258
14259 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
14260 implementation of setjmp and longjmp for the m88k.
14261 * libc/include/machine/setjmp.h: Added __m88000__ case.
14262
14263Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
14264
14265 * configure.in: Recognize h8300h as variant of h8300.
14266
14267Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14268
14269 * libc/include/sys/unistd.h (read, write): get prototypes right.
14270 (sbrk): New prototype.
14271 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
14272 * libc/stdio/local.h: Include unistd.h.
14273 * libc/machine/h8300/syscalls.c: Names have changed.
14274
14275Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
14276
14277 * configure.in: add sys_dir assignment for m88k-bug.
14278
14279Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
14280
14281 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
14282 a.out or elf.
14283 * libc/sys/sparc64: all *.S files: Use new macros.
14284 * libc/sys/sparc64/isatty.c: New file.
14285 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
14286 functions beyond what newlib provides.
14287
14288Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
14289
14290 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
14291 svr4.
14292
14293Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
14294
14295 * libc/include/machine/ieeefp.h: Add support for h8/300h.
14296
14297Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
14298
14299 * configure.in: add m88k.
14300 * libc/include/machine/ieeefp.h: add case for m88k. Also add
14301 sanity check so no one else need ever chase what I did to find
14302 this.
14303
14304 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
14305
14306Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
14307
14308 * doc/makedoc.c: Include <ctype.h>.
14309
14310Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
14311
14312 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14313 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14314 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14315
14316 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
14317
14318Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
14319
14320 * libc/include/errno.h (ENOSYS): Added.
14321
14322 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
14323
14324Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14325
14326 * libc/stdio/fflush.c (fflush): Check for reent struct
14327 initialization.
14328 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
14329
14330Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
14331
14332 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
14333 out of dtoa.c so it doesn't pollute the namespace.
14334 * libc/include/_syslist.h: new file -- mappings from _function to
14335 function, for systems where we can't win (by default, all of them,
14336 until we start updating system calls.)
14337 * libc/syscalls: new directory -- stubs for exporting _function
14338 names as unmodified function names.
14339 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
14340 _syslist.h on all platforms by default, but put hooks in for
14341 fake_sys_dir so we can include it when we've renamed the system
14342 calls.
14343 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
14344 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
14345 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
14346 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
14347 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
14348 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
14349 non ANSI functions to call _function.
14350
14351Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
14352
14353 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
14354 when base 16 is specified. Don't accept non-digits if radix > 10.
14355
14356Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
14357
14358 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
14359
14360Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14361
14362 * libc/include/sys/stat.h: Surround text after #endif with
14363 comments.
14364
14365Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
14366
14367 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
14368 _malloc_r, _realloc_r, and free_r call the corresponding
14369 non-reentrant functions.
14370
14371 * libm/math/modf.c (modf): We now take the address of ipart, so
14372 don't make it a register variable.
14373
14374Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
14375
14376 * libm/math/*: Rename all xxx_r fns to _xxx_r.
14377
14378Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
14379
14380 * libc/libc.texinfo and embedded docn throughout: formatting
14381 improvements, minor rephrasing for clarity, and improved
14382 reentrancy docn.
14383
14384Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14385
14386 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
14387
14388 * libc/stdio/cvt.c (_licvt): Print the right value on machines
14389 where sizeof(int) != sizeof(long).
14390
14391Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14392
14393 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
14394 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
14395 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
14396 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
14397 libm/math/matherr.c: changes for better docn formatting (info).
14398
14399 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
14400 libc/reent/reent.tex, libc/signal/signal.tex,
14401 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
14402 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
14403 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
14404 makeinfo node defaulting to get better Info file node structure.
14405 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
14406 Also include a few formerly missing sections (subroutines).
14407
14408 * doc/doc.str: delete fossil expansion for "func"
14409
14410 * default.menu, no-signal.menu: delete.
14411
14412 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
14413 method used to adjust doc for missing "signals" chapter when
14414 signal_dir is empty.
14415
14416Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14417
14418 * configure.in: added testsuite/libm.sac
14419
14420Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
14421
14422 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
14423 code model).
14424
14425Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
14426
14427 * libm/Makefile.in: Use $(MAKE) rather than make, and define
14428 MAKEOVERRIDES to be empty.
14429
14430Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
14431
14432 * configure.in: Don't build mips-*-* with -msoft-float, since that
14433 makes it incompatible with hard floating point.
14434
14435Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14436
14437 * Makefile.in: added recursive 'make check'
14438
14439Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14440
14441 * configure.in: added ./testsuite ./testsuite/libm.paranoia
14442 * ./testsuite/Makefile.in: created
14443 * ./testsuite/libm.paranoia: paranoia tests added
14444
14445Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
14446
14447 * configure.in: For mips-*-* set machine_dir to mips.
14448
14449 * libc/machine/mips: New directory.
14450 * libc/machine/mips/Makefile.in: New file.
14451 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
14452 setjmp and longjmp.
14453 * libc/include/machine/setjmp.h: Added __mips__ case.
14454
14455 * libc/machine/lmips: Removed unused and useless directory.
14456
14457Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
14458
14459 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
14460
14461Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
14462
14463 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
14464 start up).
14465
14466Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
14467
14468 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
14469 SETJMP_H.
14470
14471Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
14472
14473 * libm/test/convert.c: structure member errno -> errno_val.
14474 Must include <errno.h> to use errno, it's a macro now.
14475 * libm/test/math.c: Ditto.
14476 * libm/test/math2.c: Include errno.h.
14477 * libm/test/string.c: Ditto.
14478 * libm/test/test.h: structure member errno -> errno_val.
14479 Remove extern int errno decl.
14480
14481Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
14482
14483 * libc/stdio/Makefile.in: Added dependencies on local header
14484 files.
14485 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
14486 files.
14487
14488Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
14489
14490 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
14491
14492Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
14493
14494 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
14495 Initialize _data.
14496
14497 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
14498 * libc/stdio/local.h: Add prototype for _licvt.
14499
14500 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
14501 instead of malloc,reealloc.
14502
14503 * libc/stdlib/local.h: New file.
14504 * libc/stdlib/efgcvt.c: #include local.h.
14505 (gcvt): Fix call to _gcvt.
14506 * libc/stdlib/ecvtbuf.c: #include local.h.
14507
14508 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
14509 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
14510 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
14511
14512 * libc/stdlib/atexit.c: moved global data to struct _reent.
14513 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
14514
14515 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
14516
14517Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
14518
14519 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
14520 here from ../reent.h.
14521
14522Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
14523
14524 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
14525 should be provided in both libc.a and libm.a.
14526 (libc.a): Depend on targ-include and libm.a. Copy
14527 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
14528 (libm.a): Depend on targ-include.
14529 * configure.in (subdirs): Removed libc/math.
14530
14531Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14532
14533 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
14534
14535Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
14536
14537 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
14538 sys/reent.h instead of reent.h.
14539 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
14540 headers moved to sys/reent.h.
14541 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
14542 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
14543 __need__MAX_SIGNALS defined.
14544 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
14545 std{in,out,err} refer to new _std{in,out,err} members.
14546
14547Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
14548
14549 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
14550 case.
14551
14552Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
14553
14554 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
14555 rather than whatever macro seterrno() has.
14556
14557Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
14558
14559 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
14560 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14561
14562 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
14563 __STDC__.
14564
14565 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
14566 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
14567 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14568
14569 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
14570 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14571
14572 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
14573 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14574 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14575 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
14576 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
14577 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
14578 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
14579 renamed to _xxx_r. struct reent_struct renamed to struct _reent
14580 for ANSI. structure members given leading "_" for ANSI. Use
14581 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14582
14583 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
14584 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
14585 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
14586 reent_struct renamed to struct _reent for ANSI.
14587 Structure members given leading "_" for ANSI.
14588 _CONST --> const in prototypes.
14589 Use _HAVE_STDC instead of __STDC__.
14590
14591 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
14592 _xxx_r.
14593 struct reent_struct renamed to struct _reent for ANSI.
14594 Structure members given leading "_" for ANSI.
14595
14596 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
14597 _xxx_r.
14598 struct reent_struct renamed to struct _reent for ANSI.
14599
14600 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
14601 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
14602 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
14603 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
14604 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
14605
14606 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
14607 signal.h, stdio.h, stdlib.h, string.h, time.h}:
14608 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14609 #ifndef _STRICT_ANSI non-ANSI routines.
14610 Reentrant routines renamed from _r_xxx to _xxx_r.
14611 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
14612 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
14613 Clean up namespace (structure members have leading "_").
14614 struct reent_struct renamed to struct _reent for ANSI compliance.
14615 _CONST --> const in function prototypes.
14616
14617 * libc/include/string.h: Add NULL and size_t.
14618
14619 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
14620 unlink, wait, wait4. Reentrant syscall routines close, fork,
14621 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
14622 write.
14623 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
14624 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
14625 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
14626 write.S}: Define reentrant versions.
14627 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
14628 reentrant syscalls.
14629
14630 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
14631
14632 * libc/include/stdlib.h (RAND_MAX): Fix value.
14633
14634Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
14635
14636 * libc/sys/a29khif/_main.c: Removed unnecessary file.
14637 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
14638 VPATH support targets after all: target.
14639
14640 * stub/mvme135/mvme.S: Renamed exceptionhandler to
14641 exceptionHandler, which is what mvme135-stub.c expects.
14642
14643Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
14644
14645 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
14646
14647 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
14648 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
14649 compliant).
14650
14651Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
14652
14653 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
14654 first.
14655 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
14656 _r_write): Ditto.
14657 libc/reent/fstatr.c (_r_fstat): Ditto.
14658 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
14659 libc/reent/sbrkr.c (_r_sbrk): Ditto.
14660 libc/reent/statr.c (_r_stat): Ditto.
14661
14662 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
14663 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
14664 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
14665 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
14666 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
14667 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
14668 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
14669 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
14670 (__swrite): Ditto for _r_lseek, _r_write.
14671 (__sseek): Ditto for _r_lseek.
14672 (__close): Ditto for _r_close.
14673 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
14674
14675 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
14676 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
14677
14678 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
14679 to make reent_struct the first argument (and thus consistent with
14680 the rest of newlib).
14681
14682 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
14683 reference to __STDC__.
14684
14685Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
14686
14687 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
14688 global __cleanup.
14689
14690Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
14691
14692 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
14693 first.
14694 libc/stdio/fclose.c (fclose): Ditto.
14695
14696Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
14697
14698 * Run through indent and rename reentrant routines for ANSI.
14699 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
14700 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
14701 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
14702 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
14703 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
14704 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
14705 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
14706 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
14707 vsprintf.c wbuf.c wsetup.c local.h}
14708
14709 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
14710
14711 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
14712 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
14713 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
14714 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
14715 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
14716 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
14717
14718 * Run through indent.
14719 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
14720 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
14721 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
14722 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
14723 strxfrm.c}
14724
14725 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
14726 localtime.c mktime.c strftime.c time.c}:
14727 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
14728
14729 * Reformatting + renaming (for ANSI, GNU style, consistency).
14730 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
14731 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
14732 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
14733
14734Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
14735
14736 * libc/include/stdio.h (stdin_r): Fix.
14737
14738Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
14739
14740 * Makefile.in: Unexport some variables to keep GNU make from
14741 putting them in the environment and using up needed ARG_MAX space
14742 (a hack is used to let this work with older makes as well).
14743
14744Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
14745
14746 * Makefile.in: Use $(MAKE) rather than make.
14747 (MAKEOVERRIDES): Define to be empty.
14748 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14749 (libc.a, libm.a): Depend on targ-include.
14750 * host/any (LD): Don't define.
14751 (INCLUDES): Use targ-include.
14752 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
14753 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14754 * libc/Makefile.in: Use $(MAKE) rather than make.
14755 (MAKEOVERRIDES): Define to be empty.
14756 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14757 (all): Rewrote to be slightly smaller.
14758 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
14759 Define to be empty.
14760 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14761 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
14762
14763Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
14764
14765 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
14766 with errno/errno.c.
14767
14768Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
14769
14770 * Changes for reentrancy.
14771 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
14772 Use ptr->_errno, not errno.
14773 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
14774 libc/stdio/remove.c (remove_r): New function.
14775 libc/stdio/rename.c (rename_r): New function.
14776 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14777 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
14778 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
14779 reentrant versions of system calls.
14780 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
14781 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
14782 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
14783 libc/stdio/findfp.c: Include <string.h>.
14784 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
14785 "local.h".
14786 libc/stdio/wbuf.c: Include "fvwrite.h"
14787
14788 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
14789 <string.h>.
14790 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
14791 (NULL): Don't define if already defined.
14792 libc/stdlib/system.c: Call reentrant versions of system calls.
14793 (system_r): New function.
14794
14795 * Changes for reentrancy.
14796 libc/include/_ansi.h (_PARAMS): New macro.
14797 libc/include/errno.h: Define errno as a macro that calls __errno.
14798 (__errno_r): New macro for reentrant code.
14799 libc/include/math.h: Include reent.h. Declare many reentrant
14800 functions.
14801 (signgam): Now a macro, not a variable.
14802 (struct exception): Added err field.
14803 libc/include/reent.h: Don't declare __sglue. Added function
14804 declarations.
14805 (struct reent_struct): Moved errno to beginning. Added _signgam.
14806 libc/include/stdio.h, libc/include/stdlib.h: Added function
14807 declarations.
14808
14809 * More reentrancy hacking.
14810 libc/errno/errno.c (__errno): New function.
14811 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
14812 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
14813 files.
14814
14815 * Added many new reentrant functions to libm/math/*.
14816 libm/math/error.c (__matherror): Added reent_struct pointer
14817 argument. Changed all callers.
14818 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
14819 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
14820 libm/math/tan.h: Removed obsolete unused header files.
14821
14822 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
14823
14824 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
14825
14826Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14827
14828 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
14829 delay slots.
14830
14831Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14832
14833 * libc/libc.texinfo: comment out reentrancy chapter (duh)
14834
14835Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14836
14837 * libc/reent/reent.tex: New file. (text from
14838 newlib/libc/libc.texinfo)
14839 * libc/stdio/tmpnam.c: fixed doc typo
14840 * libc/stdlib/rand.c: fixed doc typo
14841
14842Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
14843
14844 * libc/reent/reent.tex: New file. (text from
14845 newlib/libc/libc.texinfo)
14846
14847Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14848
14849 support for reentrancy
14850 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
14851 new files
14852 * libc/errno/errno.c, libc/include/ieeefp.h,
14853 libc/include/locale.h, libc/include/reent.h,
14854 libc/include/signal.h, libc/include/stdio.h,
14855 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
14856 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
14857 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
14858 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
14859 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14860 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
14861 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
14862 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
14863 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
14864 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
14865 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
14866 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
14867 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
14868 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
14869 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
14870 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
14871 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
14872 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
14873 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
14874 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
14875 libc/time/strftime.c: modify to provide reentracy.
14876
14877 new routines:
14878 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
14879 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
14880 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
14881 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
14882 mstats_r, realloc_r, localeconv_r, setlocale_r
14883
14884Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
14885
14886 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
14887 libc/include/sys/config.h, libc/include/sys/signal.h,
14888 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
14889 provided macros (such as m68000), use the ansi version
14890 (__m68000__) so that the library can be used with code compiled
14891 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
14892 and sparc.
14893
14894Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14895
14896 * configure.in (sparc*): Don't set -fsoft-float for sparc
14897 configurations. Do set -fsoft-float for sparclite configurations.
14898
14899Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14900
14901 * default.menu, no-signal.menu: alternate forms of libc main menu
14902 (in newlib rather than newlib/libc due to configuration restrictions)
14903
14904 * configure.in: select one of the two menus above, link to
14905 libc.menu
14906
14907 * libc/libc.texinfo: include menu from separate file
14908
14909Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
14910
14911 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
14912 (info): Split long shell command in half.
14913 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
14914 sub-makes, just CHEW and TARGETDOC.
14915 (targetdep.tex): Removed now special handling of sys and machine
14916 subdirectories, made obsolete some time ago.
14917 * libc/machine/Makefile.in (doc): Don't pass everything to
14918 sub-make, just CHEW and TARGETDOC.
14919 (Makefile): New target.
14920 * libc/sys/Makefile.in (Makefile): New target.
14921
14922Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
14923
14924 * Makefile.in (here and most subdirectories): Only pass down CHEW
14925 and TARGETDOC when making info, not for other targets.
14926
14927 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
14928 $(AR_FLAGS) rather than $(ARUPDATE).
14929
14930Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
14931
14932 * Try to reduce command line length:
14933 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
14934 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
14935 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
14936 (info): Pass CHEW to other subdirs.
14937
14938Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
14939
14940 * configure.in: add signal_dir, like unix_dir, but by default it
14941 is set to "signal" so that a29khif can turn it off (since a29khif
14942 has raise() as part of machine-specific signal.s.)
14943
14944Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14945
14946 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
14947 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
14948 correctly.
14949 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
14950 libc/stdio/vfprintf: type lint.
14951 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
14952 initialzation code.
14953 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
14954
14955Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
14956
14957 * stub/mvme135/mvme135-asm.S: new file.
14958 stub/mvme135mvme135-stub.c: moved all assembler routines into
14959 mvme135-asm.S.
14960 stub/mvme135/Makefile.in: build mvme135-stub.o.
14961
14962Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
14963
14964 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
14965 sub-Makefiles instead, to try to avoid line length limitations.
14966
14967Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
14968
14969 * libc/include/unistd.h (read, write): Use void* instead of
14970 char*.
14971
14972Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
14973
14974 * stub/go32/resetpc: sample script to send a reset packet to the
14975 stub
14976
14977 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
14978 DOS environment, which compiles with Turbo C.
14979
14980 * stub/go32/DSER32.LNK: new file, linker commands for serial
14981 remote stub.
14982
14983 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
14984 start up message to identify version; call set_debug_traps.
14985
14986 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
14987 keyboard interaction); call handle_exception() in go_til_stop,
14988 rather than return, so that the remote stub gets control.
14989
14990 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
14991 rename, rather than mv), set flags that work with current Turbo C,
14992 including using the /3 flag; also, add commands to build dser32.
14993
14994 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
14995 default Turbo C installation (\tc rather than \usr)
14996
14997 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
14998 "&..."
14999
15000Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15001
15002 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
15003
15004Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15005
15006 * libc/stdio/cvt.c (licvt): new function to convert ints when
15007 sizeof(int) != sizeof(long).
15008
15009 * libc/include/stdio.h: added prototype for iprintf.
15010 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
15011
15012Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
15013
15014 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
15015 __REGISTER_PREFIX__.
15016
15017Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
15018
15019 * libc/sys/m68kbare: moved into stub directory.
15020
15021Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
15022
15023 * configure.in, Makefile.in: created new directory stub, to hold
15024 sample code for specific targets.
15025
15026Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
15027
15028 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
15029 in the unified libc/include/sys/fcntl.h.
15030
15031Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
15032
15033 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
15034 printed .01, not 0.01.
15035
15036Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
15037
15038 * configure.in: compile with -m68000 for m68* targets.
15039
15040Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
15041
15042 * libm/math/remainder.c (remainder): document the svr4 and sunos
15043 references used to construct the function.
15044
15045Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
15046
15047 * libm/math/remainder.c (rint, remainder): fix old typos.
15048 * libm/math/Makefile.in: actually build remainder.c (functions
15049 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
15050 page.)
15051
15052Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
15053
15054 * libc/string/bcopy.c: BSD version works on overlapping strings,
15055 so ours should too.
15056
15057 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
15058 ("SHELL").
15059
15060Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
15061
15062 * Makefile.in (docs): new target.
15063
15064Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
15065
15066 * libc/include/sys/times.h: define clock_t as required by POSIX.
15067 libc/include/time.h: protect clock_t from multiple definitions.
15068
15069Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15070
15071 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
15072 does not need more than the original three iterations to get
15073 within 1 ulp. (Paranoia tests for rounding to better than that,
15074 but further iterations *don't* help, only more subtle changes
15075 can.)
15076
15077Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
15078
15079 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
15080 were doing nothing useful.
15081
15082Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
15083
15084 * configure.in: define MALLOC_PROVIDED for vxworks targets;
15085 removed sys_dir settings of vxworks68 and vxworks960.
15086 host/any: don't pass -nostdinc to gcc, since newlib no longer
15087 provides all required header files.
15088
15089 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
15090 is not defined; this provides a hook for VxWorks.
15091
15092Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15093
15094 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
15095 buffer if buf is NULL, don't do it here -- it is already being
15096 done by makebuf elsewhere in stdio.
15097
15098Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
15099
15100 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
15101 that C programs can call functions without using initial
15102 underscores.
15103
15104Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
15105
15106 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
15107
15108Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
15109
15110 * configure.in: set TARGET_CFLAGS for certain CPU types to
15111 -msoft-float.
15112
15113Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15114
15115 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
15116
15117Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
15118
15119 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
15120 m68k*-unknown-coff.
15121
15122Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
15123
15124 * libc/include/stdio.h: define __need___va_list before including
15125 <stdarg.h>, to avoid defining va_arg, et. al.
15126
15127Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
15128
15129 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
15130 (don't cd to the user's home directory).
15131
15132 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
15133 In general this is the wrong thing to do, but I can't get around
15134 GNU make's insistence on passing command line arguments any other
15135 way.
15136
15137Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
15138
15139 * configure.in: always configure the libc/sys directory, since it
15140 now provides a required documentation file.
15141
15142 * Makefile.in: replaced all instances of $(MAKE) with make. In
15143 general this is the wrong thing to do, but I can't get around GNU
15144 make's insistence on passing command line arguments any other way.
15145
15146Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
15147
15148 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
15149 terminated.
15150
15151 * libc/stdio/local.h: include <stdarg.h> to define va_list.
15152 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
15153
15154 * libc/include/float.h, libc/include/stdarg.h,
15155 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
15156 versions instead.
15157 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
15158 <stdarg.h>, not from <machine/types.h>. Protect definition of
15159 NULL.
15160 libc/include/time.h: get size_t from stddef.h. Protect definition
15161 of NULL.
15162 libc/include/machine/limits.h: override gcc <limits.h> by defining
15163 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
15164 get correct INT_MIN and LONG_LONG values.
15165 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
15166 size_t or va_list at all; they're now gotten from stddef.h
15167 instead.
15168 libc/include/machine/varargs.h: removed; use gcc version instead.
15169 libc/include/sys/types.h: explicitly include <machine/types.h>.
15170
15171 * libm/math/sqrt.h: using the fp-bit routines appears to require
15172 more iterations.
15173
15174 * Makefile.in, host/any: let system include files override machine
15175 include files.
15176
15177Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15178
15179 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
15180 override _*_T_ definitions defaulted here.
15181
15182Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
15183
15184 * Makefile.in (install): install the include files in
15185 $(tooldir)/include, not $(exec_prefix)/include.
15186
15187Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
15188
15189 * Makefile.in (install): fixed typo, and changed install to not
15190 force rebuild of libc.a and libm.a.
15191
15192Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
15193
15194 * libc/sys/a29khif/*: Changed all .include's to include
15195 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
15196 that they will be installed for the user.
15197
15198 * Makefile.in (all): create targ-include, a directory holding the
15199 machine and system specific header files during the build.
15200 (install): fixed installation of machine and system specific
15201 header files.
15202
15203 * Makefile.in: fixed comment.
15204 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
15205 we can pass $(INCLUDES) to it.
15206
15207Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
15208
15209 * libc/include/sys/param.h: new generic file, which may be
15210 overridden for specific systems.
15211
15212 * libc/include/sys/signal.h: define all ANSI signal names, and
15213 NSIG (which is not ANSI) for a29k.
15214
15215Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
15216
15217 * Makefile.in: don't pass down arguments the lower level makes
15218 will not need.
15219 * libc/Makefile.in: recurse directly, rather than using subdir_do,
15220 in hopes of avoiding argument length limits.
15221 * libm/Makefile.in: recurse directly, rather using subdir_do, in
15222 hopes of avoiding argument length limits.
15223
15224Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
15225
15226 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
15227 mode_t is defined.
15228
15229Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
15230
15231 * Fixed make info and make install-info for newlib, changing most
15232 Makefile.in and several *.tex files. Moved doc directory from
15233 libc to top level.
15234
15235 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
15236 Should be rewritten.
15237
15238 * libc/string/strings.tex: renamed node index to node index
15239 function, so that it does not conflict with the top level index
15240 node.
15241
15242 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
15243
15244Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
15245
15246 * Overhauled general configuration for newlib. Eliminated all
15247 target dependent Makefile fragments. Create libraries in newlib
15248 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
15249 than CROSS_CC, et. al. Broke make docs; will fix later.
15250
15251 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
15252 Should be rewritten.
15253
15254Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
15255
15256 * libc/configure.in: cleaned up somewhat; switch on ${target}
15257 rather than ${target_alias}.
15258 * libm/configure.in: cleaned up somewhat; switch on ${target}
15259 rather than ${target_alias}.
15260
15261 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
15262 * libc/include/ctype.h: marked _ctype_ as _CONST.
15263
15264 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
15265 _CONST.
15266
15267 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
15268 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
15269 libc/stdio/gets.c (gets): removed non-ANSI warning message.
15270 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
15271
15272 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
15273 bigtens, tinytens): marked arrays _CONST.
15274 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
15275 rather than a static variable.
15276
15277 * libc/time/asctime.c (asctime), libc/time/localtime.c
15278 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
15279 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
15280 mname_len, mname): Marked static arrays _CONST.
15281
15282 * libm/math/gamma.h: made local variables non-static.
15283
15284 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
15285 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
15286 _CONST.
15287
15288 * libm/math/constants.c: removed file, because the constants it
15289 defined were never referenced.
15290 libm/math/Makefile.in: removed references to constants.c.
15291 libm/math/mathimpl.h: removed declarations of constants.
15292
15293Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
15294
15295 * libc/include/machine/varargs.h: only call __builtin_saveregs if
15296 it is sensibly defined in libgcc2. Checks preprocessor defines,
15297 which is not a good solution.
15298
15299 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
15300
15301 * libm/frexp.c: handle denormalized numbers as arguments.
15302
15303 * libm/math/Makefile.in: added some dependencies for .c files
15304 which include local .h files.
15305
15306Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
15307
15308 * libc/configure.in: set target_alias for OSE*. Replace
15309 target_makefile_frag if it is blank.
15310
15311 * libc/Makefile.in: make sure everything is passed to subsidiary
15312 makes; create all directories when installing.
15313
15314 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
15315 CROSS_ARUPDATE instead of AR.
15316
15317 * libm/configure.in: set target_alias for OSE*. Replace
15318 target_makefile_frag if it is blank.
15319
15320 * libm/Makefile.in: make sure everything is passed to subsidiary
15321 makes; create all directories when installing.
15322
15323Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
15324
15325 * add following change from libc copy.
15326
15327Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15328
15329 * libc/libc.texinfo: make copyright disclaimers appear on back of
15330 title page; make format of same slightly less ugly; avoid using
15331 underbars in section headings (avoids nasty texinfo bug in table
15332 of contents).
15333
15334 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
15335 comments only) avoid using underbars in section headings
15336
15337 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15338 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
15339 changes in comments only): shorten headings ieeefp/infinity.c,
15340 ieeefp/isnan.c: (doc, comments only) more informative headings
15341
15342 * libc/math/bessel.c: (doc, comments only) shorten heading
15343
15344 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
15345 (doc, comments only) shorten headings
15346
15347 * libc/time/localtime.c (doc, comments only): shorten headings
15348
15349 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15350 isnan
15351 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
15352 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
15353 headings
15354 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
15355 only) more informative headings
15356 * libm/math/bessel.c: (doc, comments only) shorten heading
15357
15358Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15359
15360 * .../Makefile.in: use CROSS_ARUPDATE consistently.
15361 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
15362 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
15363 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
15364 defined, the one from the .mt file will be correct.
15365 * libc/include/machine, libc/include/sys: created, and populated
15366 with common files from machine/*/machine. ifdefs were used for
15367 most, typically by handling exceptions first and then filling in
15368 defaults. Files with D.J. Delorie copyright #included rather than
15369 copied. Most files in include/sys really were the same in the
15370 original.
15371 * libc/include/...: cleaned up use of _EXFUN.
15372 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
15373 it with double quotes, not angles.
15374
15375Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
15376
15377 * libc/Makefile.in: always create installation directories.
15378
15379Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15380
15381 * libc/configure.in: handle host properly (using canonical
15382 triples), better error message for the case of target not found
15383
15384Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
15385
15386 * libc/Makefile.in (insincdir): Ensure this directory exists
15387 before attempting installation.
15388
15389Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15390
15391 * libc/stdlib/assert.c: now calls abort like it should
15392 * libc/sys/a29khif: many many patches for 29khif work
15393 * libc/machine/i386: gnulib2 expanded there.
15394
15395Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15396
15397 Added accurate fp conversion routines to stdlib, moved dcvt from
15398 stdio to stdlib and called it ecvtbuf:
15399 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
15400 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
15401 routines
15402 * libc/libc.texinfo: Modifed to include the copyright info from
15403 the mprec files
15404 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
15405 * libc/test/ : many vector which tested for the implementation
15406 defined returns of strange conversion requests have been updated
15407 to relflect the new implementation
15408
15409Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15410
15411 * libc/libc.texinfo: new chapter on variable arg lists
15412 (stdarg.h/varargs.h)
15413 * libc/libc.texinfo: new title
15414 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
15415 (doc only) shorter headings for better formatting.
15416
15417Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15418
15419 * libc/libc.texinfo: three more info menu entries
15420 * libc/locale/locale.tex: new chapter
15421 * libc/locale/locale.c: new doc for setlocale, localeconv
15422 * libc/locale/Makefile.in: use new locale doc
15423 * libc/signal/signal.tex: new chapter
15424 * libc/signal/raise.c, libc/signal/signal.c: new doc
15425 * libc/signal/Makefile.in: use new doc
15426 * libc/time/time.tex: new chapter
15427 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
15428 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
15429 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
15430 * libc/time/Makefile.in: use new doc
15431
15432Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15433
15434 * libm/math/log1p.c: split to use the new function way of float
15435 function definition. math/log1p.h deleted
15436 * libm/math/scalb.c: obsolete and deleted
15437 * libm/math/scalbn.c: created from part log1p.c
15438 * libm/math/Makefile.in: know about log1p and scalbn
15439
15440Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15441
15442 * libc/ctype/isupper.c: revise doc;
15443 libc/ctype/ctype.tex: use doc from isupper.c
15444
15445 * libc/string/bzero.c: new doc
15446
15447Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15448
15449 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
15450 new doc
15451 * libc/stdlib/Makefile.in: extract new doc
15452 * libc/stdlib/stdlib.tex: use new doc
15453
15454 * libc/string/strerror.c: expanded doc.
15455
15456 * libc/stdio/Makefile.in: extract doc from more files
15457 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
15458 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
15459 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
15460 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
15461 libc/stdio/vsprintf.c: new doc
15462 * libc/stdio/stdio.tex: use new doc
15463
15464Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15465
15466 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
15467 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
15468 finitef functions.
15469 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
15470 time ago.
15471
15472 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
15473 * libc/stdio/setbuf.c: added ansi style definition.
15474 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
15475 buffer if none provided.
15476 * libc/stdio/tmpfile.c: lint
15477 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
15478 rather than using static, also make sure file isn't already
15479 present. Uses P_tmpdir. (tempnam): rewritten to use new
15480 subroutine, and uses P_tmpdir.
15481 * libc/stdio/siprintf.c: created
15482
15483Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15484
15485 Release 1.03 for NEC, major mods. Main differences from release
15486 1.02::
15487
15488 More tests in test/:
15489 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
15490 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
15491 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
15492 get/set mask, get/set sticky and get/set roundtoi. Tests
15493 that setting the bits changes the way arithmetic is done.
15494 * string.c: added test to make sure memcmp does it with unsigned
15495 chars.
15496 * test.c: cleaned up and removed lint.
15497 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
15498 dvec.c: tests for string to value conversions, sprintf, scanf,
15499 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
15500 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
15501 rounding in sprintf too.
15502 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
15503 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
15504 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
15505 and function form.
15506 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
15507 powf
15508
15509 In the library:
15510 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
15511 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
15512 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
15513 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
15514 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
15515 than sprintf.
15516 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
15517 * Method of producting float versions of double functions has
15518 changed, functions will be modified gradually. So far:
15519 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
15520 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
15521 altered
15522 * libc/string/memcmp.c: now uses unsigned chars
15523 * libc/string/bcmp.c, libc/string/strcpy.c,
15524 libc/stsring/strxfrm.c: fixed doc
15525 * libc/sys/sysvnecv70.tex: fix example of sbrk code
15526\f
15527Local Variables:
15528version-control: never
15529End:
This page took 1.715183 seconds and 5 git commands to generate.