]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
force null checkin
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
e48682cf
JJ
12006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2
3 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
4 s_isnand, and sf_isnanf object files.
5 * Makefile.in: Regenerated.
6 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
7 conflict if <math.h> has previously been included.
8 * libc/include/math.h
bc88ea65
JJ
9 * libc/include/math.h: Make isnan and isinf macros to
10 conform to C99.
11 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
12 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
13 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
14 sf_isinf files which have been moved from math/mathfp directories.
15 * libm/common/Makefile.in: Regenerated.
16 * libm/common/s_isinfd.c: New file.
17 * libm/common/s_isnand.c: Ditto.
18 * libm/common/sf_isinff.c: Ditto.
19 * libm/common/sf_isnanf.c: Ditto.
20 * libm/common/s_isinf.c: Moved from libm/math directory.
21 * libm/common/s_isnan.c: Ditto.
22 * libm/common/sf_isinf.c: Ditto.
23 * libm/common/sf_isnan.c: Ditto.
24 * libm/math/Makefile.am: Remove isinf and isnan family functions
25 which have been moved into common directory.
26 * libm/mathfp/Makefile.am: Ditto.
27 * libm/math/Makefile.in: Regenerated.
28 * libm/mathfp/Makefile.in: Ditto.
29 * libm/math/s_isinf.c: Removed.
30 * libm/math/s_isnan.c: Ditto.
31 * libm/math/sf_isinf.c: Ditto.
32 * libm/math/sf_isnan.c: Ditto.
33 * libm/mathfp/s_isinf.c: Ditto.
34 * libm/mathfp/s_isnan.c: Ditto.
35 * libm/mathfp/sf_isinf.c: Ditto.
36 * libm/mathfp/sf_isnan.c: Ditto.
37
99db626d
JJ
382006-02-20 Jeff Johnston <jjohnstn@redhat.com>
39
40 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
41 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
42 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
43 seek, turn off the __SNPT no-optimization flag.
44
49103e2b
JJ
452006-02-16 Jeff Johnston <jjohnstn@redhat.com>
46
47 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
48 will be defined.
49 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
50 <features.h> to preset special flags.
51
680e0f1f
CV
522006-02-15 Corinna Vinschen <corinna@vinschen.de>
53
54 * libc/include/sys/time.h (struct timeval): Change member types
55 according to SUSv3.
56 * libc/include/sys/types.h (useconds_t): Change to unsigned
57 according to SUSv3.
58 (suseconds_t): Define type.
59
d6593503
JJ
602006-02-13 Jeff Johnston <jjohnstn@redhat.com>
61 David Carne <davidcarne@gmail.com>
62
63 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
64 instead of strlen to determine number of bytes to copy.
65 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
66 before looking at storage location.
67
9bbe6d5d
JJ
682006-02-07 Paul Brook <paul@codesourcery.com>
69
70 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
71 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
72 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
73 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
74 * libc/sys/arm/trap.S: Disable for Thumb-2.
75
d968b3c8
JJ
762006-01-31 Leif Ekblad <leif@rdos.net>
77
78 * configure.host: RDOS support added
79 * libc/include/sys/config.h: Ditto.
80 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
81 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
82 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
83 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
84 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
85 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
86 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
87 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
88 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
89 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
90 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
91 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
92 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
93 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
94 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
95 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
96 * libc/sys/rdos/write.c: Ditto.
97
3acaaf54
JJ
982006-01-24 Jeff Johnston <jjohnstn@redhat.com>
99
100 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
101 so as not to define PACKAGE and VERSION in newlib.h.
102 * aclocal.m4: Regenerated.
103 * configure: Ditto.
104 * newlib.hin: Ditto.
105
54abc854
JJ
1062006-01-20 Jeff Johnston <jjohnstn@redhat.com>
107
108 * acconfig.h: New file to generate newlib.hin from.
109 * newlib.hin: Regenerated.
110 * stamp-h.in: Regenerated.
111 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
112 called automatically.
113 * Makefile.in: Regenerated.
114 * acinclude.m4: Add proper comment for hack in previous change.
115 * aclocal.m4 */aclocal.m4: Regenerated.
116 * configure */configure: Regenerated.
117
33c9cfbd
JJ
1182006-01-11 Jeff Johnston <jjohnstn@redhat.com>
119
120 * acinclude.m4: Add hack to prevent INSTALL in subdirs
121 from being set to "../".
122 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
123 * aclocal.m4: Regenerated.
124 * configure: Ditto.
125 * Makefile.in: Ditto.
126 * doc/aclocal.m4: Ditto.
127 * doc/configure: Ditto.
128 * iconvdata/aclocal.m4: Ditto.
129 * iconvdata/configure: Ditto.
130 * libc/*/aclocal.m4: Ditto.
131 * libc/*/configure: Ditto.
132 * libc/libc.texinfo: Ditto.
133 * libm/*/aclocal.m4: Ditto.
134 * libm/*/configure: Ditto.
135
dea958bc
JJ
1362006-01-10 Eric Blake <ebb9@byu.net>
137
138 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
139 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
140
216633f7
JJ
1412006-01-10 Jeff Johnston <jjohnstn@redhat.com>
142
143 * libm/mathfp/s_frexp.c: Check for special values on
144 the original input, not the manipulated output value.
145 * libm/mathfp/sf_frexp.c: Ditto.
146 * libm/mathfp/s_atangent.c: Don't use local value branch
147 when checking for quadrant.
148 * libm/mathfp/sf_atangent.c: Ditto.
149
64ae8ab5
JJ
1502006-01-09 Jeff Johnston <jjohnstn@redhat.com>
151
152 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
153 * libc/stdio64/freopen64.c: Ditto.
154
0da7297e
JJ
1552006-01-09 Eric Blake <ebb9@byu.net>
156
157 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
158 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
159
a37aaf88
JJ
1602006-01-06 Jeff Johnston <jjohnstn@redhat.com>
161
162 * libc/sys/linux/include/getopt.h: Add macros needed by
163 new version of getopt.c in libc/stdlib.
164
791c9bda
JJ
1652006-01-04 Gregory Pietsch <gpietsch@comcast.net>
166
167 * libc/stdlib/getopt.c: Replaced with version
168 that adds getopt_long and getopt_long_only support.
169 * libc/include/getopt.h: New file.
170
0217078f
JJ
1712005-12-16 Jeff Johnston <jjohnstn@redhat.com>
172
173 * NEWS: Update with 1.14.0 info.
174 * README: Ditto.
175 * acinclude.m4: Change version number to 1.14.0.
176 * aclocal.m4: Regenerated.
177 * configure: Ditto.
178 * doc/aclocal.m4: Ditto.
179 * doc/configure: Ditto.
180 * libc/*/aclocal.m4: Ditto.
181 * libc/*/configure: Ditto.
182 * libc/libc.texinfo: Ditto.
183 * libm/*/aclocal.m4: Ditto.
184 * libm/*/configure: Ditto.
185 * libm/libm.texinfo: Ditto.
186 * libc/sys/linux/shared.ld: Add VERS_1.14.
187
a4cd7f20
JJ
1882005-12-16 Jeff Johnston <jjohnstn@redhat.com>
189
190 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
191 take a pointer to struct stat64 rather than struct stat.
192
843e635a
JJ
1932005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
194
195 * libc/include/stdint.h: Prefer long over int for int32_t.
196 Use __have_long32 to set up int32_t.
197 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
198 (Sync with stdint.h).
199
10cba930
CV
2002005-12-14 Corinna Vinschen <corinna@vinschen.de>
201
202 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
203 typo in O_NDELAY comment.
204
c8ba5c22
JJ
2052005-12-13 Nathan Sidwell <nathan@codesourcery.com>
206
207 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
208 * libc/include/machine/setjmp.h (__mt__): Likewise.
209 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
210 * libc/machine/configure.in: Ditto.
211
74ecef0d
NS
2122005-12-12 Nathan Sidwell <nathan@codesourcery.com>
213
214 * configure.host: Replace ms1 arch with mt arch.
215 * libc/machine/mt: Renamed from ms1 dir.
216
2a1fc53c
JJ
2172005-12-08 Shaun Jackman <sjackman@gmail.com>
218
219 * libc/include/sys/types.h: Remove the ifdef armour around
220 standard POSIX types.
221
77e70d34
JJ
2222005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
223
224 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
225 rtems_gxx_key_delete, rtems_gxx_getspecific,
226 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
227 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
228 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
229
b1da33a0
CF
2302005-12-05 Christopher Faylor <cgf@timesys.com>
231
232 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
233 file. Declare unsetenv and _unsetenv_r when not cygwin.
234
6b1a6ec6
JJ
2352005-11-18 Jeff Johnston <jjohnstn@redhat.com>
236
237 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
238 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
239
d7d477b7
CF
2402005-11-18 Christopher Faylor <cgf@timesys.com>
241
242 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
243
c1534dbe
CF
2442005-11-18 Christopher Faylor <cgf@timesys.com>
245
246 * include/time.h: Remove more cygwin-specific stuff.
247
d3e81bda
CF
2482005-11-18 Christopher Faylor <cgf@timesys.com>
249
250 * include/time.h: Move cygwin declarations to cygwin-specific header.
251 * include/sys/time.h: Rename cygwin include to "sys_time.h".
252
1396951b
JJ
2532005-11-17 Jeff Johnston <jjohnstn@redhat.com>
254
255 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
256 in libc/sys/linux/include.
257 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
258 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
259 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
260 in libc/sys/linux/dl.
261
37bd11ed
CF
2622005-11-11 Christopher Faylor <cgf@timesys.com>
263
264 * libc/include/sys/time.h: For cygwin, use general header rather than
265 specific "sys/select.h".
266
b397593c
JJ
2672005-11-08 Tom Walsh <tom@openhardware.net>
268
269 * libc/time/tzvars.c: New file.
270 * libc/time/tzset_r.c: Moved globals into tzvars.c
271 so other time functions needn't link in __tzset_r and its
272 dependencies.
273 * libc/time/Makefile.am: Add the new file.
274 * libc/time/Makefile.in: Regenerated.
275
86c6c421
CF
2762005-11-08 Christopher Faylor <cgf@timesys.com>
277
278 * libc/include/string.h: Add cygwin-specific function declaration.
279
ef1206e4
CV
2802005-11-07 Corinna Vinschen <corinna@vinschen.de>
281
282 * libc/include/ieeefp.h: Add C++ guards.
283
15eaca1c
JJ
2842005-11-03 Jeff Johnston <jjohnstn@redhat.com>
285
286 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
287 * libc/unix/getlogin.c: Ditto.
288 * libc/unix/getpass.c: Ditto.
289 * libc/unix/getut.c: Ditto.
290 * libc/unix/ttyname.c: Ditto.
291
d31a8623
JJ
2922005-11-03 Shaun Jackman <sjackman@gmail.com>
293
294 * libc/include/sys/unistd.h (readlink, symlink): Provide these
295 prototypes by default.
296 * libc/sys/linux/include/unistd.h (readlink): Remove this
297 prototype.
298 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
299 prototypes.
300
71ac53ee
JJ
3012005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
302
303 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
304
dc1b6289
JJ
3052005-10-31 Darin Johnson <darin@usa.net>
306
307 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
308 correct for constants.
309
884c0ff0
JJ
3102005-10-28 Bob Wilson <bob.wilson@acm.org>
311
312 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
313 * libc/stdio/siscanf.c: Likewise.
314 * libc/stdio/sprintf.c: Likewise.
315 * libc/stdio/sscanf.c: Likewise.
316 * libc/stdio/vfprintf.c: Likewise.
317 * libc/stdio/vfscanf.c: Likewise.
318 * libc/stdio/viprintf.c: Likewise.
319 * libc/stdio/viscanf.c: Likewise.
320
a9c15f6f
JJ
3212005-10-28 Bob Wilson <bob.wilson@acm.org>
322
323 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
324 example to use "_end" symbol instead of "end". Change write example
325 to use "outbyte" instead of "writechar".
326
a306ebc9
JJ
3272005-10-28 Bob Wilson <bob.wilson@acm.org>
328
329 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
330 * libc/ctype/islower.c: Likewise.
331 * libc/ctype/isupper.c: Likewise.
332 * libc/ctype/iswalnum.c: Likewise.
333 * libc/ctype/iswalpha.c: Likewise.
334 * libc/ctype/iswblank.c: Likewise.
335 * libc/ctype/iswcntrl.c: Likewise.
336 * libc/ctype/iswdigit.c: Likewise.
337 * libc/ctype/iswgraph.c: Likewise.
338 * libc/ctype/iswlower.c: Likewise.
339 * libc/ctype/iswprint.c: Likewise.
340 * libc/ctype/iswpunct.c: Likewise.
341 * libc/ctype/iswspace.c: Likewise.
342 * libc/ctype/iswupper.c: Likewise.
343 * libc/ctype/iswxdigit.c: Likewise.
344 * libc/ctype/tolower.c: Likewise.
345 * libc/ctype/toupper.c: Likewise.
346 * libc/ctype/towctrans.c: Likewise.
347 * libc/ctype/towlower.c: Likewise.
348 * libc/ctype/towupper.c: Likewise.
349 * libc/string/strcasecmp.c: Likewise.
350 * libc/string/strcoll.c: Likewise.
351 * libc/string/strings.tex: Likewise.
352 * libc/string/strlwr.c: Likewise.
353 * libc/string/strncasecmp.c: Likewise.
354 * libc/string/strupr.c: Likewise.
355 * libc/string/wcscoll.c: Likewise.
356 * libc/string/wcslcat.c: Likewise.
357 * libc/string/wcslcpy.c: Likewise.
358 * libc/string/wcsnlen.c: Likewise.
359 * libc/string/wcsstr.c: Likewise.
360 * libc/string/wcstrings.tex: Likewise.
361 * libc/string/wmemchr.c: Likewise.
362 * libc/string/wmemcmp.c: Likewise.
363 * libc/string/wmemcpy.c: Likewise.
364 * libc/string/wmemmove.c: Likewise.
365 * libc/string/wmemset.c: Likewise.
366
239c2bf9
JJ
3672005-10-28 Bob Wilson <bob.wilson@acm.org>
368
369 * libc/misc/unctrl.c: Replace FUNCTION description.
370 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
371 * libc/stdio/getdelim.c: Fix spelling errors.
372 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
373 * libc/stdio/putw.c: Likewise.
374 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
375 documentation.
376 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
377 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
378 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
379 * libc/stdlib/mlock.c: Likewise.
380 * libc/stdlib/mstats.c: Likewise.
381 * libc/time/tzlock.c: Likewise.
382 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
383 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
384 and hyphenate "pseudo-random".
385 * libc/string/bcmp.c: Remove extra blank lines in documentation.
386 * libc/string/strncat.c: Likewise.
387 * libc/string/memchr.c: Remove extra ">" character in documentation.
388 * libc/string/strcspn.c: Use "characters" instead of "chars".
389 * libc/string/strpbrk.c: Likewise.
390 * libc/string/strerror_r.c: Capitalize "GNU".
391 * libc/string/strnlen.c: Likewise.
392 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
393 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
394 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
395 * libc/string/wcschr.c: Likewise.
396 * libc/string/wcscmp.c: Likewise.
397 * libc/string/wcscpy.c: Likewise.
398 * libc/string/wcscspn.c: Likewise.
399 * libc/string/wcslen.c: Likewise.
400 * libc/string/wcsncat.c: Likewise.
401 * libc/string/wcsncmp.c: Likewise.
402 * libc/string/wcsncpy.c: Likewise.
403 * libc/string/wcsnlen.c: Likewise.
404 * libc/string/wcspbrk.c: Likewise.
405 * libc/string/wcsrchr.c: Likewise.
406 * libc/string/wcsspn.c: Likewise.
407 * libc/string/wmemchr.c: Likewise.
408 * libc/string/wmemcmp.c: Likewise.
409 * libc/string/wmemcpy.c: Likewise.
410 * libc/string/wmemset.c: Likewise.
411 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
412 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
413 * libc/string/wcwidth.c: Likewise.
414 * libm/common/s_modf.c: Remove extra period from documentation.
415 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
416 documentation.
417 * libm/mathfp/s_isnan.c: Likewise.
418 * libm/math/s_ldexp.c: Fix punctuation.
419 * libm/mathfp/s_ldexp.c: Likewise.
420 * libm/math/w_log.c: Likewise.
421 * libm/mathfp/s_logarithm.c: Likewise.
422 * libm/math/w_j0.c: Add spaces to FUNCTION description.
423 * libm/mathfp/w_jn.c: Likewise.
424
2556eb8d
JJ
4252005-10-26 Shaun Jackman <sjackman@gmail.com>
426
427 * libc/posix/scandir.c (scandir): Update the function
428 prototype to match the header.
429 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
430 extraneous #endif.
431 * libc/sys/linux/sys/lock.h: Do not include
432 machine/weakalias.h, since it's not used by this file.
433
c9d71a8d
JJ
4342005-10-26 Jeff Johnston <jjohnstn@redhat.com>
435
436 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
437 directories can override properly.
438
09968b6d
JJ
4392005-10-20 Jeff Johnston <jjohnstn@redhat.com>
440
441 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
442 gcc is 3.3 or greater, use special gcc builtins.
443
c70571bd
CV
4442005-10-20 Corinna Vinschen <corinna@vinschen.de>
445
446 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
447
a92822b7
CV
4482005-10-18 Corinna Vinschen <corinna@vinschen.de>
449
450 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
451
d2c2c132
JJ
4522005-10-14 Jeff Johnston <jjohnstn@redhat.com>
453
454 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
455 * libm/common/Makefile.am: Add s_infconst.c support.
456 * libm/common/Makefile.in: Regenerated.
457 * libm/common/s_infconst.c: New file with float and
458 long double infinity support added.
459 * libm/math/Makefile.am: Remove s_infconst.c support.
460 * libm/math/Makefile.in: Regenerated.
461 * libm/math/s_infconst.c: Moved to common directory.
462 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
463 * libm/mathfp/Makefile.in: Regenerated.
464 * libm/mathfp/s_infconst.c: Moved to common directory.
465
4d57c1ed
JJ
4662005-10-14 Jeff Johnston <jjohnstn@redhat.com>
467
468 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
469 dbgprintf to prevent conflict with new dprintf function.
470
1012585f
JJ
4712005-10-14 Jeff Johnston <jjohnstn@redhat.com>
472
473 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
474 "nan" processing for systems that have long double support.
475
e9154015
JJ
4762005-10-14 Jeff Johnston <jjohnstn@redhat.com>
477
478 * libc/sys/linux/sys/types.h (int8_t): Add type.
479
1a869698
JJ
4802005-10-14 Bob Wilson <bob.wilson@acm.org>
481
482 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
483 * libm/common/Makefile.in: Regenerate.
484 * libm/common/common.tex: Delete file.
485 * libm/math/math.tex: Include .def files from common/.
486 * libm/mathfp/mathfp.tex: Likewise.
487
e0811fb3
JJ
4882005-10-14 Bob Wilson <bob.wilson@acm.org>
489
490 * libc/libc.texinfo (Top): Surround this node with @ifnottex
491 instead of @ifinfo. Update menu to add Introduction and match
492 SUBDIRS order.
493 (Introduction): New section.
494
e63c98c6
JJ
4952005-10-14 Bob Wilson <bob.wilson@acm.org>
496
497 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
498 with "Red Hat newlib C Library".
499 * libc/sys.tex (Stubs): Likewise.
500 * libm/math/math.tex (Math): Likewise.
501 * libm/mathfp/mathfp.tex (Math): Likewise.
502
339195bf
JJ
5032005-10-11 Shaun Jackman <sjackman@gmail.com>
504
505 * libc/include/stdio.h (dprintf): New declaration.
506 (vdprintf): Ditto.
507 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
508 and vdprintf.c.
509 * libc/stdio/Makefile.in: Regenerate.
510 * libc/stdio/dprintf.c: New file.
511 * libc/stdio/vdprintf.c: New file.
512 * libc/stdio/stdio.tex (dprintf): New entry.
513
da71e518
JJ
5142005-10-11 David Weatherford <weath@tensilica.com>
515
516 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
517 Print "inf" and "nan" in lowercase for e/f/g formats and in
518 uppercase for E/F/G formats.
519
f011605a
JJ
5202005-10-07 Bob Wilson <bob.wilson@acm.org>
521
522 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
523 to ENOMEM on failure.
524
bc037f3a
JJ
5252005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
526
527 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
528
c7e20979
JJ
5292005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
530
531 * libc/include/stdint.h: Move magic to set __have_long* to the
532 beginning. Use #if __have* instead of #if defined(__have*).
533 Minor typo fixes.
534
58e78add
JJ
5352005-10-04 James E Wilson <wilson@specifix.com>
536
537 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
538 #error.
539
8afb8202
JJ
5402005-10-03 Jeff Johnston <jjohnstn@redhat.com>
541
542 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
543 incorporate Ralf's change below.
544
14491fd0
JJ
5452005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
546
547 * libc/include/stdint.h:
548 Use __INTMAX_TYPE__ to derive intmax_t.
549 Use __UINTMAX_TYPE__ to derive uintmax_t.
550 Fix minor typo.
551
ee694aea
JJ
5522005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
553
554 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
555 handling GCC >= 4.
556
9f1926f2
JJ
5572005-09-20 Jeff Johnston <jjohnstn@redhat.com>
558
559 * libc/sys/linux/include/stdint.h: Update to match functionality
560 of generic newlib stdint.h.
561
0ce4fcef
JJ
5622005-09-20 Jeff Johnston <jjohnstn@redhat.com>
563
564 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
565 and do not #undef the macro after it is used. Fix typos.
566 Also change 64-bit constants to use the __have_long64 and
567 __have_longlong64 flags to determine if long or long long
568 constants should be used.
569 * libc/include/inttypes.h: Include stddef.h to get wchar_t
570 type defined.
571
17060817
JJ
5722005-09-20 Shaun Jackman <sjackman@gmail.com>
573
574 * libc/include/stdint.h: Fix typo in names of
575 LEAST macros.
576
1e1d1d3d
JJ
5772005-09-20 Jeff Johnston <jjohnstn@redhat.com>
578
579 * libc/sys/rtems/include/inttypes.h: Moved to...
580 * libc/include/inttypes.h: ...here.
581
cddfc170
JJ
5822005-09-19 Jeff Johnston <jjohnstn@redhat.com>
583
584 * libc/sys/rtems/include/stdint.h: Moved to...
585 * libc/include/stdint.h: ...here.
586
b10ab725
JJ
5872005-09-08 Jeff Johnston <jjohnstn@redhat.com>
588
589 * Makefile.am: Add include files under bits sub-directory.
590 * Makefile.in: Regenerated.
591 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
592 actual value of 1 to be compatible with newer glibc headers.
593 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
594 glibc headers.
595 * libc/sys/linux/sys/dirent.h: Ditto.
596 * libc/sys/linux/argp/argp-xinl.c: Ditto.
597 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
598 profile_fixup routines are marked used so they won't be
599 optimized away.
600 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
601 to mark functions as weak.
602 * libc/sys/linux/dl/dl-open.c: Ditto.
603 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
604 rules about lvalues.
605 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
606 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
607 weak_extern macro to mark functions as weak. Instead always
608 use #pragma weak.
609 * iconvdata/jis0208.h: Fix to work with gcc4.
610 * libc/sys/linux/dl/dl-load.c: Ditto.
611 * libc/sys/linux/dl/dl-reloc.c: Ditto.
612 * libc/sys/linux/dl/do-rel.h: Ditto.
613 * libc/sys/linux/dl/dynamic-link.h: Ditto.
614 * libc/sys/linux/include/ltdl.h: Ditto.
615 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
616 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
617 * libc/sys/linux/net/ns_ntoa.c: Ditto.
618 * libc/sys/linux/bits/initspin.h: New file.
619 * libc/sys/linux/bits/libc-lock.h: Ditto.
620 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
621 * libc/sys/linux/bits/typesizes.h: Ditto.
622
7b786e48
JJ
6232005-09-08 Eric Blake <ebb9@byu.net>
624
625 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
626 before is NULL.
627
32b09d75
JJ
6282005-09-08 Brian Dessent <brian@dessent.net>
629
630 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
631 mantissa.
632 * s_lrint.c: Ditto.
633
8f36ef2f
JJ
6342005-09-02 Jeff Johnston <jjohnstn@redhat.com>
635
636 * libc/include/stdio.h: Add prototype for viprintf.
637
cebe43dd
JJ
6382005-09-01 Jeff Johnston <jjohnstn@redhat.com>
639
640 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
641 any positive power results in 0.
642 * libm/mathfp/sf_pow.c (powf): Ditto.
643
45c8bb8f
JJ
6442005-08-31 Paul Brook <paul@codesourcery.com>
645
646 * configure.host: Set have_crt0 to no for Arm targts when not
647 providing syscalls. Set sys_dir=arm unconditionally.
648 Default have_crt0 based on sys_dir.
649 * configure.in: Use have_crt0.
650 * libc/configure.in: Ditto.
651 * libc/sys/configure.in: Ditto.
652 * configure: Regenerate.
653 * libc/configure: Regenerate.
654 * libc/sys/configure: Regenerate.
655 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
656 Only build other files when providing syscalls.
657 * libc/sys/arm/Makefile.in: Regenerate.
658 * libc/sys/arm/aeabi_atexit.c: New file.
659
dbeee890
CF
6602005-08-26 Christopher Faylor <cgf@timesys.com>
661
662 * libc/include/string.h: Revert previous change.
663
377d3ea0
CF
6642005-08-25 Christopher Faylor <cgf@timesys.com>
665
666 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
667
4797a77c
JJ
6682005-08-22 Shaun Jackman <sjackman@gmail.com>
669
670 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
671 define _opendir as opendir, _readdir as readdir, and
672 _closedir as closedir so that the implementations in
673 libc/posix will be used.
674
2e73582e
DD
6752005-08-10 DJ Delorie <dj@redhat.com>
676
677 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
678
234cf97f
JJ
6792005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
680
681 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
682 * libm/common/s_max.c: Ditto.
683 * libm/common/sf_fmin.c: Ditto.
684 * libm/common/s_min.c: Ditto.
685
56448afa
JJ
6862005-08-10 DJ Delorie <dj@redhat.com>
687
688 * configure.host: Add m32c support.
689 * libc/include/machine/ieeefp.h: Likewise.
690 * libc/include/machine/setjmp.h: Likewise.
691 * libc/include/sys/config.h: Likewise.
692 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
693 * libc/machine/m32c/aclocal.m4: New file.
694 * libc/machine/m32c/configure: Ditto.
695 * libc/machine/m32c/configure.in: Ditto.
696 * libc/machine/m32c/Makefile.am: Ditto.
697 * libc/machine/m32c/Makefile.in: Ditto.
698 * libc/machine/m32c/setjmp.S: Ditto.
699
0c5c6c23
JJ
7002005-08-02 Bob Wilson <bob.wilson@acm.org>
701
56448afa
JJ
702 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
703 to the value for 2^126.
0c5c6c23 704
12499c7a
HPN
7052005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
706
707 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
708 used.
709
395a327d
JJ
7102005-07-20 Bob Wilson <bob.wilson@acm.org>
711 Darin Petkov <darin@tensilica.com>
712
713 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
714
108d7dd8
JJ
7152005-07-19 Paul Brook <paul@codesourcery.com>
716
717 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
718
b776efc5
JJ
7192005-07-18 Joseph S. Myers <joseph@codesourcery.com>
720
721 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
722 names after PASS and FAIL which do not depend on source directory
723 name or on whether test passed or failed.
724 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
725
88540e24
JJ
7262005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
727
728 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
729
85d62190 7302005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 731
88540e24 732 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
733 twice for the same directory. _closedir calls free, and freeing
734 the same pointer twice may cause a crash.
735
dee9edd9
AH
7362005-07-06 Aldy Hernandez <aldyh@redhat.com>
737
738 * configure.host: Added entry for ms1*.
739 * libc/include/machine/ieeefp.h: Handle ms1.
740 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
741 * libc/machine/ms1/aclocal.m4: New.
742 * libc/machine/ms1/configure: New.
743 * libc/machine/ms1/configure.in: New.
744 * libc/machine/ms1/Makefile.am: New.
745 * libc/machine/ms1/Makefile.in: New.
746 * libc/machine/ms1/setjmp.S: New.
747
cec1d3b4
JJ
7482005-07-04 Mark Mitchell <mark@codesourcery.com>
749
750 * Makefile.am (site.exp): Set tmpdir.
751 * Makefile.in: Regenerated.
752 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
753 executables in $tmpdir.
754 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
755 libgloss version if not running in the build directory.
756 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
757 $tmpdir.
758 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
759 in $tmpdir.
760
25d209f1
JJ
7612005-06-28 Dave Korn <dave.korn@artimi.com>
762
763 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
764 and miscalculation caused by fp representation of zero.
765 * libm/common/sf_lrint.c (lrintf): Likewise.
766
68cdbb18
JJ
7672005-06-16 Christopher Faylor <cgf@timesys.com>
768
769 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
770 determine characteristics of long double. Use a union instead.
771 * ldtoa.c (_ldtoa_r): Ditto.
772 (_ldcheck): Ditto.
773 (_strtold): Ditto.
774 (union uconv): New union.
775
15c04fd1
JJ
7762005-06-03 Jeff Johnston <jjohnstn@redhat.com>
777
778 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
779 instead of memcpy.
780
cf55bf5e
JJ
7812005-05-12 Jeff Johnston <jjohnstn@redhat.com>
782
783 * configure.host (mn10300-*): Add long long I/O support by default.
784
b6e654c4
JJ
7852005-05-12 Jeff Johnston <jjohnstn@redhat.com>
786
787 * libc/sys/linux/getpwuid.c: Removed.
788 * libc/sys/linux/getpwnam.c: Removed.
789 * libc/sys/linux/getpwent.c: New file containing logic
790 from files removed above. This allows overriding of file
791 in libc/unix.
792 * libc/sys/linux/Makefile.am: Support changes above.
793 * libc/sys/linux/Makefile.in: Regenerated.
794
5456408b
JJ
7952005-04-28 Jeff Johnston <jjohnstn@redhat.com>
796
797 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
798 when checking for multiple flags.
799
1c74754f
HPN
8002005-04-18 Hans-Peter Nilsson <hp@axis.com>
801
802 * configure.host <cris-*-* | crisv32-*-*>: Set
803 default_newlib_io_long_long="yes".
804
6e75bff6
JJ
8052005-04-08 Jeff Johnston <jjohnstn@redhat.com>
806
807 * libc/include/libgen.h: New file.
808
8092005-04-08 Shaun Jackman <sjackman@gmail.com>
810
811 * libc/unix/Makefile.am: Add support for basename and dirname.
812 * libc/unix/Makefile.in: Regenerated.
813 * libc/unix/basename.c: New file.
814 * libc/unix/dirname.c: New file.
815
95c136c4
JJ
8162005-04-07 Shaun Jackman <sjackman@gmail.com>
817
818 * libc/sys/linux/inode.c (lchown): New function.
819
9ae26f7e
JJ
8202005-04-07 Shaun Jackman <sjackman@gmail.com>
821
822 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
823 ELIX level is defined.
824 * libc/unix/Makefile.in: Regenerated.
825
85da7039
JJ
8262005-04-05 Dave Korn <dave.korn@artimi.com>
827
828 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
829 something that looks like a "NaN", put back the characters processed.
830
fefc73a0
CV
8312005-04-01 Corinna Vinschen <corinna@vinschen.de>
832
833 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
834
e633fde1
CF
8352005-03-23 Christopher Faylor <cgf@timesys.com>
836
837 * configure.host: For cygwin, redefine CC with cygwin include directory
838 first to mimic the behavior of the top-level configury. Move include
839 directory out of newlib_cflags.
840
859c94e8
JJ
8412005-03-22 Jeff Johnston <jjohnstn@redhat.com>
842
843 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
844 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
845 than errno.
846
7e3fd32b
CF
8472005-03-22 Christopher Faylor <cgf@timesys.com>
848
849 * libc/include/machine/_types.h: Make trivial change to comment to
850 avoid a spurious warning from gcc.
851
d4eb8920
JJ
8522005-03-21 Nicholas Wourms <nwourms@netscape.net>
853
854 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
855 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
856 reent.h include.
857
45030958
JJ
8582005-03-18 Hans-Peter Nilsson <hp@axis.com>
859 Corinna Vinschen <corinna@vinschen.de>
860
861 * libc/include/ctype.h: Remove invalid +1 offset from
862 ctype macro references to __ctype_ptr.
863 (_ctype_): Move declaration outside #ifndef __cplusplus.
864
5c9b5ac7
CV
8652005-03-18 Corinna Vinschen <corinna@vinschen.de>
866
867 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
868 evaluate first parameter only once.
869 (siglongjmp): Ditto.
870
dd801fda
JJ
8712005-03-17 Jeff Johnston <jjohnstn@redhat.com>
872
873 * configure.in: Add new check to see if compiler supports
874 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
875 * configure: Regenerated.
876 * Makefile.in: Ditto.
877 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
878 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
879 aliasing the _ctype_ array to _ctype_b.
880 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
881 _ctype_ as deprecated.
882
333eabc6
HPN
8832005-03-17 Hans-Peter Nilsson <hp@axis.com>
884
885 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
886 -DCOMPACT_CTYPE.
887
df5a5b35
JJ
8882005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
889
890 * libc/sys/rtems/include/inttypes.h: New file.
891 * libc/sys/rtems/include/stdint.h: Ditto.
892
9d385fb0
JJ
8932005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
894
895 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
896
2e7d9bf9
JJ
8972005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
898
899 * libc/include/machine/_types.h: New file.
900 * libc/include/sys/types.h: Do not check for __rtems__
901 when including <machine/_types.h>. Remove some redundant
902 declarations now that <machine/_types.h> is included.
903 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
904 shared header file.
905
92a7e06e
JJ
9062005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
907
908 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
909 L qualifier for these long constants.
910
1139537a
JJ
9112005-02-25 Eric Blake <ebb9@byu.net>
912
913 * libc/include/time.h (__tzrule_struct): Make offset long, since
914 a 16-bit int overflows on a 12-hour offset.
915 * libc/sys/linux/include/time.h: Ditto.
916 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
917 * libc/time/mktm_r.c: Ditto.
918 * libc/time/gettzinfo.c: Ditto.
919 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
920 years. Fix '%z' to use long, not int.
921
f4fd7b4c
JJ
9222005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
923
924 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
925 manipulate float values in integer form.
926 * libm/common/sf_round.c: Ditto.
927
f2f8a9a2
JJ
9282005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
929
930 * libc/include/sys/types.h [__rtems__]: Include new
931 header file machine/_types.h.
932 * libc/include/machine/types.h: Ditto.
933 * libc/sys/rtems/machine/_types.h: New file.
934
39fd43d7
CV
9352005-02-23 Corinna Vinschen <corinna@vinschen.de>
936
937 * libc/include/time.h (_timezone): Change to long also for Cygwin.
938 (timezone): Drop cast from definition.
939
6b9a74f9
JJ
9402005-02-23 Jeff Johnston <jjohnstn@redhat.com>
941
942 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
943 (__tzrule_type, __tzinfo_type): New types.
944 (__gettzinfo): New function.
945 * libc/sys/linux/include/time.h: Ditto.
946 * libc/time/Makefile.am: Add gettzinfo.c.
947 * libc/time/Makefile.in: Regenerated.
948 * libc/time/local.h: Moved __tzrule_type to time.h.
949 * libc/time/mktime.c: Call __gettzinfo to reference
950 __tznorth, __tzyear, and __tzrule array.
951 * libc/time/mktm_r.c: Ditto.
952 * libc/time/strftime.c: Ditto.
953 * libc/time/tzset_r.c: Ditto. Also remove definition
954 of __tzrule which is now in gettzinfo.c. Change _timezone
955 references to not cast to time_t.
956 * libc/time/gettzinfo.c: New file.
957
6015cf9f
CV
9582005-02-23 Corinna Vinschen <corinna@vinschen.de>
959
960 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
961
5e4c05da
CV
9622005-02-22 Corinna Vinschen <corinna@vinschen.de>
963
964 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
965
f1d439fc
JJ
9662005-02-16 Eric Blake <ebb9@byu.net>
967
968 * libc/time/time.tex: Improve the documentation.
969 * libc/time/strftime.c: Improve the documentation.
970 (iso_year_adjust): New helper function.
971 (strftime): Simplify '%E' and '%O'. Change '%c' to use
972 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
973 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
974 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
975 Avoid core dumps on valid inputs (maxsize == 0, or
976 tim_p->tm_isdst > 1).
977
18d3a03b
CV
9782005-02-08 Corinna Vinschen <corinna@vinschen.de>
979
980 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
981 members to uid_t and gid_t according to SUSv3.
982 * libc/include/sys/time.h (utimes): Change second parameter
983 to const according to SUSv3.
984
1159e0fd
JJ
9852005-02-07 Antony King <antony.king@st.com>
986
987 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
988 called before _flockfile to prevent lock object use before
989 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
990 take a struct _reent * instead of a FILE *.
991 * libc/stdio/fclose.c (_fclose_r): Ditto.
992 * libc/stdio/feof.c (feof): Ditto.
993 * libc/stdio/ferror.c (ferror): Ditto.
994 * libc/stdio/fflush.c (fflush): Ditto.
995 * libc/stdio/fgetc.c (fgetc): Ditto.
996 * libc/stdio/fgets.c (fgets): Ditto.
997 * libc/stdio/fileno.c (fileno): Ditto.
998 * libc/stdio/fputc.c (fputc): Ditto.
999 * libc/stdio/fputs.c (fputs): Ditto.
1000 * libc/stdio/fread.c (fread): Ditto.
1001 * libc/stdio/freopen.c (_freopen_r): Ditto.
1002 * libc/stdio/fseek.c (_fseek_r): Ditto.
1003 * libc/stdio/ftell.c (_ftell_r): Ditto.
1004 * libc/stdio/fwrite.c (fwrite): Ditto.
1005 * libc/stdio/getc.c (getc): Ditto.
1006 * libc/stdio/getdelim.c (__getdelim): Ditto.
1007 * libc/stdio/putc.c (putc): Ditto.
1008 * libc/stdio/setvbuf.c (setvbuf): Ditto.
1009 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
1010 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
1011 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1012 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
1013 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
1014 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
1015 _reent * instead of a FILE * and so replace incorrect use of
1016 _REENT with argument.
1017 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
1018 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
1019 CHECK_INIT() take a struct _reent * instead of a FILE *.
1020 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
1021 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
1022 * libc/stdio/perror.c (perror): Ditto.
1023 * libc/stdio/printf.c (printf, _printf_r): Ditto.
1024 * libc/stdio/putchar.c (putchar): Ditto.
1025 * libc/stdio/puts.c (puts): Ditto.
1026 * libc/stdio/refill.c (__srefill): Ditto.
1027 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
1028 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
1029 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
1030 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
1031 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
1032 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
1033 * libc/stdio/wbuf.c (__swbuf): Ditto.
1034 * libc/stdio/wsetup.c (__swsetup): Ditto.
1035 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
1036 * libc/stdlib/mstats.c (_mstats_r): Ditto.
1037 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
1038 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
1039 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
1040 to _flockfile and _funlockfile; rely on locking in _ftell_r.
1041 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
1042 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
1043 initialision of _data field in FILE structure.
1044 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
1045
3d915670
JJ
10462005-02-07 Jeff Johnston <jjohnstn@redhat.com>
1047
1048 * libc/stdio/findfp.c (__sinit): Protect with new lock.
1049 (__sinit_lock): New lock.
1050 (__sinit_lock_acquire, __sinit_lock_release): New functions.
1051 * libc/stdio/local.h: Add reference to new __sinit locking
1052 functions.
1053
b59cab1e
JJ
10542005-02-07 Jeff Johnston <jjohnstn@redhat.com>
1055
1056 * libc/include/math.h (isfinite, isnormal, isunordered): Change
1057 input variable names to avoid mixups with nesting macros.
1058
1815fdea
JJ
10592005-01-27 Hans-Peter Nilsson <hp@axis.com>
1060
1061 * configure.host: Add support for cris-*-* and crisv32-*-*.
1062 * libc/include/machine/ieeefp.h: Ditto.
1063 * libc/include/machine/setjmp.h: Ditto.
1064 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
1065 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
1066 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
1067 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
1068 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
1069 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
1070 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
1071 files.
1072
f7d4d41a
JJ
10732005-01-27 Hans-Peter Nilsson <hp@axis.com>
1074
1075 * testsuite/newlib.string/memmove1.c: New test.
1076
1319dec6
JJ
10772005-01-27 Hans-Peter Nilsson <hp@axis.com>
1078
1079 * testsuite/include/check.h: Include stdlib.h.
1080
b45e65b0
JJ
10812005-01-27 Hans-Peter Nilsson <hp@axis.com>
1082
1083 * Makefile.am (stmp-targ-include): Support include header files
1084 from machine directories.
e9743354 1085 (install-data-local): Ditto.
b45e65b0
JJ
1086 * Makefile.in: Regenerate.
1087
dbfa92dd
JJ
10882005-01-24 Jeff Johnston <jjohnstn@redhat.com>
1089
1090 * libc/include/string.h: Remove Linux-specific declaration of
1091 strsignal and add #include <sys/string.h>.
1092 * libc/include/sys/string.h: New file.
1093 * libc/include/sys/linux/sys/string.h: New file with strsignal
1094 declaration deleted above.
1095
6cb0c055
JJ
10962005-01-20 Jeff Johnston <jjohnstn@redhat.com>
1097
1098 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
1099 to POSIX standard for "C" locale. Allow %E and %O modifiers
1100 to be ignored as long as they precede valid specifiers according
1101 to POSIX.
1102
52429807
JJ
11032005-01-19 Shaun Jackman <sjackman@gmail.com>
1104
1105 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1106 environment variable is set.
1107
f693170a
JJ
11082005-01-19 Shaun Jackman <sjackman@gmail.com>
1109
1110 * tzset_r.c (_tzname): Add a comma.
1111
464d01bf
AH
11122005-01-18 Aldy Hernandez <aldyh@redhat.com>
1113
1114 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
1115 _VFPRINTF_R.
1116
f7a74742
JJ
11172005-01-07 Paul Brook <paul@codesourcery.com>
1118
1119 * configure.in: Add test for .init_array.
1120 * configure: Regenerate.
1121 * newlib.hin: Add HAVE_INITFINI_ARRAY.
1122 * libc/misc/Makefile.am: Add init.c
1123 * libc/misc/Makefile.in: Regenerate.
1124 * libc/misc/init.c: New file.
1125 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
1126 _init/_fini if they exist.
1127
8fa6cb9a
JJ
11282005-01-06 Jeff Johnston <jjohnstn@redhat.com>
1129
1130 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
1131 * (strtof): Ditto.
1132 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
1133 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
1134 functions for use by strtod and strtof.
1135 * Makefile.in: Regenerated.
1136
034a3909
JJ
11372005-01-06 Hans-Peter Nilsson <hp@axis.com>
1138
1139 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
1140 bit-test in combination with NULL test.
1141
9918ea2d
JJ
11422005-01-06 Hans-Peter Nilsson <hp@axis.com>
1143
1144 * README: Fix typo of LGPL. Change "license" to "copyright".
1145
5cc3f592
JJ
11462004-12-17 Jeff Johnston <jjohnstn@redhat.com>
1147
1148 * NEWS: Update with 1.13.0 info.
1149 * README: Ditto.
1150 * acinclude.m4: Change version number to 1.13.0.
1151 * aclocal.m4: Regenerated.
1152 * configure: Ditto.
1153 * doc/aclocal.m4: Ditto.
1154 * doc/configure: Ditto.
1155 * libc/*/aclocal.m4: Ditto.
1156 * libc/*/configure: Ditto.
1157 * libc/libc.texinfo: Ditto.
1158 * libm/*/aclocal.m4: Ditto.
1159 * libm/*/configure: Ditto.
1160 * libm/libm.texinfo: Ditto.
1161 * libc/sys/linux/shared.ld: Add VERS_1.13.
1162
d8ae996c
JJ
11632004-12-17 Christian Groessler <chris@groessler.org>
1164
1165 * libc/machine/z8k/memcmp.S: New file.
1166 * libc/machine/z8k/memcpy.S: Ditto.
1167 * libc/machine/z8k/memmove.S: Ditto.
1168 * libc/machine/z8k/memset.S: Ditto.
1169 * libc/machine/z8k/Makefile.am: Add new files.
1170 * libc/machine/z8k/Makefile.in: Regenerated.
1171 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
1172 part. Implement Z8002 stdcall version.
1173
82673116
JJ
11742004-12-13 Jeff Johnston <jjohnstn@redhat.com>
1175
1176 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
1177 a low-level read if we don't get the full amount of bytes so
1178 EOF or error flags will be set.
1179
0082d4cf
JJ
11802004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
1181
1182 * libc/time/tzset_r (_tzset_r): Properly skip over
1183 '/' when it is detected.
1184
3b54b74f
JJ
11852004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
1186
1187 * libc/time/tzset_r (_tzset_r): Fix loop.
1188
4b30e154
JJ
11892004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
1190
1191 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
1192 m_day.
1193 (__tzcalc_limits): Fix reference to month array to be zero-based.
1194
465eab2e
JJ
11952004-12-07 Jeff Johnston <jjohnstn@redhat.com>
1196
1197 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
1198 and usleep.
1199
a2b1a849
JJ
12002004-12-03 Jeff Johnston <jjohnstn@redhat.com>
1201
1202 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
1203 libgcc dependencies.
1204 (libm_la_LDFLAGS): Ditto.
1205 * Makefile.in: Regenerated.
1206
c80a1731
JJ
12072004-12-03 Shaun Jackman <sjackman@gmail.com>
1208
1209 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
1210 our link to use readlink so as to preserve any relative link created
1211 by install-toollibLIBRARIES.
1212 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
1213
70e9da42
JJ
12142004-12-02 Shaun Jackman <sjackman@gmail.com>
1215
1216 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
1217 time_t before including sys/stat.h, which uses it.
1218 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
1219 <linux/time.h> just prior to definition of __KERNEL__ so as to
1220 allow building on Debian Linux where otherwise, mktime would
1221 be redefined.
1222
a330d85a
JJ
12232004-11-26 Paul Brook <paul@codesourcery.com>
1224
1225 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
1226
c41a1cb7
JJ
12272004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1228
1229 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 1230 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
1231 * libc/stdlib/putenv.c: Ditto.
1232 * libc/stdlib/putenv_r.c: Ditto.
1233
16ac96ee
JJ
12342004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1235
1236 * libc/stdio/Makefile.am: Fix missing vfscanf.
1237 * libc/stdio/Makefile.in: Regenerated.
1238
3bf09147
JJ
12392004-11-23 Jeff Johnston <jjohnstn@redhat.com>
1240
1241 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
1242 do some reordering.
1243 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
1244 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
1245 family functions.
1246 * libc/stdio/Makefile.in: Regenerated.
1247 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
1248 * libc/stdio/iprintf.c: Ditto.
1249 * libc/stdio/local.h (__svfiscanf_r): New prototype.
1250 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
1251 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
1252 * libc/stdio/stdio.tex: Add new functions.
1253 * libc/stdio/vfscanf.c: Split out __sccl function to separate
1254 file and add special name defines so this file can be used
1255 to build vfiscanf.o.
1256 * libc/stdio/asiprintf.c: New file.
1257 * libc/stdio/fiscanf.c: Ditto.
1258 * libc/stdio/iscanf.c: Ditto.
1259 * libc/stdio/sccl.c: Ditto.
1260 * libc/stdio/siscanf.c: Ditto.
1261 * libc/stdio/vasiprintf.c: Ditto.
1262 * libc/stdio/viprintf.c: Ditto.
1263 * libc/stdio/viscanf.c: Ditto.
1264 * libc/stdio/vsiprintf.c: Ditto.
1265 * libc/stdio/vsiscanf.c: Ditto.
1266 * libc/stdio/vsniprintf.c: Ditto.
1267
0f0fcb04
JJ
12682004-11-19 Shaun Jackman <sjackman@gmail.com>
1269
1270 * libc/include/stdio.h: Add sniprintf.
1271 * libc/stdio/Makefile.am: Add sniprintf.c.
1272 * libc/stdio/Makefile.in: Regenerated.
1273 * libc/stdio/sniprintf.c: New file.
1274 * libc/stdio/stdio.tex: Add sniprintf.
1275
1f8f7e2d
CF
12762004-11-17 Christopher Faylor <cgf@timesys.com>
1277
1278 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
1279 EOF flag if successful.
1280
b08d08c7
CF
12812004-10-28 Christopher Faylor <cgf@timesys.com>
1282
1283 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 1284 so that all relevant definitions have been performed for use in the
b08d08c7
CF
1285 include.
1286
65b1964f
JJ
12872004-10-26 Jason Tishler <jason@tishler.net>
1288
1289 * libc/stdio/fread.c (fread): Fix return value for unbuffered
1290 fread.
1291
6382b7e3 12922004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
1293
1294 * libc/include/machine/setjmp.h: Add AVR support.
1295 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
1296
73131c2d
JJ
12972004-10-08 Jeff Johnston <jjohnstn@redhat.com>
1298
1299 * libc/include/sys/signal.h: If <signal.h> didn't include
1300 this header file, include <signal.h> to account for
1301 applications that take advantage that the two header
1302 files are the same in glibc.
1303
1185687a
JJ
13042004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
1305
1306 * configure.host: Add support for crx.
1307 * libc/include/machine/ieeefp.h: Ditto.
1308 * libc/include/machine/setjmp.h: Ditto.
1309 * libc/machine/crx/Makefile.am: New file.
1310 * libc/machine/crx/configure.in: Ditto.
1311 * libc/machine/crx/setjmp.S: Ditto.
1312 * libc/machine/crx/getenv.c: Ditto.
1313 * libc/machine/crx/aclocal.m4: Generate.
1314 * libc/machine/crx/configure: Ditto.
1315 * libc/machine/crx/Makefile.in: Ditto.
1316 * libc/machine/crx/sys/asm.h: New file.
1317 * libc/machine/crx/sys/libh.h: Ditto.
1318 * libc/machine/crx/sys/syscall.h: Ditto.
1319
423152ed
JJ
13202004-10-05 Jeff Johnston <jjohnstn@redhat.com>
1321
1322 * Makefile.am (stmp-targ-include): Support sys header files
1323 from machine directories.
1324 * Makefile.in: Regenerated.
1325
3ea9de76
JJ
13262004-10-04 Jeff Johnston <jjohnstn@redhat.com>
1327
1328 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
1329 count skipped zero characters as part of the nread count for %n.
1330 * libc/machine/powerpc/vfscanf.c: Ditto.
1331
2a6e1223
JJ
13322004-09-24 Jeff Johnston <jjohnstn@redhat.com>
1333
1334 * libc/stdio/local.h: Include <stdlib.h>.
1335
d163f2fc
CV
13362004-09-24 Corinna Vinschen <corinna@vinschen.de>
1337
1338 * libc/stdio/fread.c (fread): Include <malloc.h>.
1339
602de582
JJ
13402004-09-22 Jeff Johnston <jjohnstn@redhat.com>
1341
1342 * libc/stdio/fread.c (fread): For non-space-optimized case,
1343 add special code for unbuffered files to use user buffer and
1344 only require one low-level system read.
1345
32e73f4d
ILT
13462004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
1347
1348 * libc/machine/xscale/setjmp.S: New file, copied from
1349 libc/machine/arm/setjmp.S.
1350 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
1351 * libc/machine/xscale/Makefile.in: Regenerate.
1352
ed6859b8
JJ
13532004-09-16 Antony King <antony.king@st.com>
1354
1355 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
1356 with locking API.
1357 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
1358 check for__SSTR in _flags and if set, skip lock request.
1359 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1360 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
1361 not NULL.
1362 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
1363 initialisation of _file to -1 in local FILE.
1364 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
1365 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
1366 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
1367 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1368 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
1369 _flags in local FILE to prevent locking.
1370 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1371
7a0f6966
JJ
13722004-09-16 Antony King <antony.king@st.com>
1373
1374 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
1375 and only walk the reentrancy parameter.
1376 (_fwalk_reent): Ditto.
1377 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
1378
c77672c0
JJ
13792004-09-16 Antony King <antony.king@st.com>
1380
1381 * libc/stdio64/freopen64.c: Remove casting of fp lock to
1382 _LOCK_RECURSIVE_T.
1383
5c44c2e5
JJ
13842004-09-16 Antony King <antony.king@st.com>
1385
1386 * libc/time/tzlock.c: Add default stubs that use generic
1387 locking code.
1388
14613e5e
JJ
13892004-09-16 Antony King <antony.king@st.com>
1390
1391 * libc/ctype/ctype.tex: Added missing documentation.
1392 * libc/stdio/stdio.tex Ditto.
1393 * libc/stdlib/stdlib.tex Ditto.
1394 * libc/string/strings.tex Ditto.
1395 * libc/time/time.tex: Ditto.
1396 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
1397
181cb051
JJ
13982004-09-15 Corinna Vinschen <vinschen@redhat.com>
1399
1400 * libc/reent/impure.c (reent_data): Define as alias to impure_data
1401 when building for Cygwin.
1402 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
1403 _global_impure_ptr.
1404
51d4a7ea
JJ
14052004-09-15 Jeff Johnston <jjohnstn@redhat.com>
1406
1407 * configure.host: Reverting 2004-09-14 change as fix has occurred on
1408 Cygwin side.
1409 * configure.in: Ditto.
1410 * libc/configure.in: Ditto.
1411 * libc/sys/configure.in: Ditto.
1412 * configure: Ditto.
1413 * libc/configure: Ditto.
1414 * libc/sys/configure: Ditto.
1415 * libc/include/sys/reent.h: Ditto.
1416 * libc/stdlib/__atexit.c: Ditto.
1417 * libc/stdlib/__call_atexit.c: Ditto.
1418 * libc/stdlib/cxa_atexit.c: Ditto.
1419 * libc/stdlib/cxa_finalize.c: Ditto.
1420 * libc/sys/cygwin/Makefile.am: Removed again.
1421 * libc/sys/cygwin/Makefile.in: Ditto.
1422 * libc/sys/cygwin/aclocal.m4: Ditto.
1423 * libc/sys/cygwin/configure: Ditto.
1424 * libc/sys/cygwin/configure.in: Ditto.
1425 * libc/sys/cygwin/dummy.c: Ditto.
1426 * libc/sys/cygwin/sys/reent.h: Ditto.
1427
98650d2f
JJ
14282004-09-14 Jeff Johnston <jjohnstn@redhat.com>
1429
1430 * configure.host: Add Cygwin sys directory.
1431 * configure.in: Do not set CRT0 for cygwin.
1432 * libc/configure.in: Ditto.
1433 * libc/sys/configure.in: Ditto.
1434 * configure: Regenerated.
1435 * libc/configure: Ditto.
1436 * libc/sys/configure: Ditto.
1437 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
1438 * libc/stdlib/__atexit.c: Keep cxa support protected by new
1439 __REENT_HAS_CXA_SUPPORT flag.
1440 * libc/stdlib/__call_atexit.c: Ditto.
1441 * libc/stdlib/cxa_atexit.c: Ditto.
1442 * libc/stdlib/cxa_finalize.c: Ditto.
1443 * libc/sys/cygwin/Makefile.am: New file.
1444 * libc/sys/cygwin/Makefile.in: Ditto.
1445 * libc/sys/cygwin/aclocal.m4: Ditto.
1446 * libc/sys/cygwin/configure: Ditto.
1447 * libc/sys/cygwin/configure.in: Ditto.
1448 * libc/sys/cygwin/dummy.c: Ditto.
1449 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
1450 version of reent.h.
1451
d4c8e53b
JJ
14522004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1453
1454 * libc/iconv/iconv.tex: Updated with new content.
1455 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
1456 instead of NLS_DEFAULT_NLSPATH.
1457 * libc/iconv/lib/iconvnls.h: Fix typo.
1458 * libc/include/sys/iconvnls.h: New file.
1459
0c8593cf
JJ
14602004-09-09 Paul Brook <paul@codesourcery.com>
1461
1462 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
1463 and _is_cxa.
1464 (struct _atexit): Add _next when _REENT_SMALL.
1465 (struct _reent): Add _atexit0 when _REENT_SMALL.
1466 (_REENT_INIT_PTR): Adjust.
1467 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
1468 __call_exit.c.
1469 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
1470 * libc/stdlib/Makefile.in: Regenerate.
1471 * libc/stdlib/__atexit.c: New file.
1472 * libc/stdlib/__call_atexit.c: New file.
1473 * libc/stdlib/atexit.h: Remove old definitions. Add new.
1474 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
1475 * libc/stdlib/cxa_atexit.c: New file.
1476 * libc/stdlib/cxa_finalize.c: New file.
1477 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
1478 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
1479 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
1480 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
1481 _on_exit_args_ptr.
1482
c6ed5a85
JJ
14832004-08-23 Jeff Johnston <jjohnstn@redhat.com>
1484
1485 * libc/include/sys/unistd.h (getpass): Change prototype to use
1486 const instead of __const.
1487
721a934c
JJ
14882004-08-16 Nathan Sidwell <nathan@codesourcery.com>
1489
1490 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
1491 #if.
1492
4e53fc28
JJ
14932004-08-12 Jeff Johnston <jjohnstn@redhat.com>
1494
1495 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
1496 on linux systems with glibc 2.3.3 installed.
1497 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
1498 profile_fixup so newlib can build on fc3 system.
1499
82045f12
AO
15002004-07-30 Alexandre Oliva <aoliva@redhat.com>
1501
1502 Introduce SH2a support.
1503 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
1504 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
1505 __SH2A_SINGLE_ONLY__, too.
1506 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
1507 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
1508 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
1509 2004-02-10 DJ Delorie <dj@redhat.com>
1510 * libc/sys/sh/crt0.S (start_l): Support sh2a.
1511
ad6b1d79
JJ
15122004-07-29 Jeff Johnston <jjohnstn@redhat.com>
1513
1514 * libc/time/strptime.c: Correct full-name of "March" typo.
1515
63b9dcc4
JJ
15162004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
1517
1518 * configure.host (h8300*-*-*): Default long long printing support.
1519
dbfd3394
JJ
15202004-07-16 Jeff Johnston <jjohnstn@redhat.com>
1521
1522 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
1523 calls, if realloc fails, free up buffer as it is no longer
1524 used.
1525
6edb3da9
JJ
15262004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1527
1528 * libc/iconv/iconv.tex: Updated to represent recent changes.
1529 * libc/iconv/lib/iconv.c: Documentation updated.
1530
578a3560
NC
15312004-07-07 Nick Clifton <nickc@redhat.com>
1532
1533 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
1534 for xStormy16.
1535
2bc257e3
JJ
15362004-07-06 Chris Demetriou <cgd@broadcom.com>
1537
1538 * configure.host (mips*-*-elf*): Default long long printing
1539 support.
1540
75e7ffaa
JJ
15412004-07-05 Jeff Johnston <jjohnstn@redhat.com>
1542
1543 * libc/Makefile.am (libc.dvi): Add target and specify
1544 same dependencies as libc.info.
1545 * libc/Makefile.in: Regenerated.
1546 * libm/Makefile.am (libm.dvi): Add target and specify
1547 same dependencies as libm.info.
1548 * libm/Makefile.in: Regenerated.
1549
76ce12c3
JJ
15502004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1551
1552 * acinclude.m4: Move --enable-newlib-iconv option back here.
1553 * configure.in: Remove --enable-newlib-iconv option. Don't
1554 tie iconv support to --enable-newlib-mb.
1555 * aclocal.m4: Regenerated.
1556 * configure: Ditto.
1557 * doc/aclocal.m4, doc/configure: Ditto.
1558 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
1559 * libm/*/aclocal.m4: Ditto.
1560 * libm/*/configure: Ditto.
1561 * libc/*/aclocal.m4: Ditto.
1562 * libc/*/configure: Ditto.
1563
660dade3
JJ
15642004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1565
1566 * acinclude.m4: Move iconv options into configure.in.
1567 * aclocal.m4: Regenerated.
1568 * configure: Ditto.
1569 * configure.in: Add iconv options.
1570 * newlib.hin: Add new iconv encodings and remove deleted ones.
1571 * doc/aclocal.m4: Regenerated.
1572 * doc/configure: Ditto.
1573 * iconvdata/aclocal.m4: Ditto.
1574 * iconvdata/configure: Ditto.
1575 * libc/iconv: Design change. New size-optimized ccs format.
1576 * libc/iconv/AUTHORS: Removed.
1577 * libc/iconv/COPYING: Ditto.
1578 * libc/iconv/README.ORIGINAL: Ditto.
1579 * libc/iconv/README.TODO: Ditto.
1580 * libc/iconv/charset.aliases: Ditto.
1581 * libc/iconv/encoding.aliases: New file.
1582 * libc/iconv/Makefile.am: Updated.
1583 * libc/iconv/Makefile.in: Regenerated.
1584 * libc/iconv/iconv.tex: Updated.
1585 * libc/iconv/ccs/Makefile.am: Ditto.
1586 * libc/iconv/ccs/Makefile.in: Regenerated.
1587 * libc/iconv/ccs/big5.c: Updated.
1588 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1589 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1590 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1591 * libc/iconv/ccs/cp775.c: Ditto.
1592 * libc/iconv/ccs/cp850.c: Ditto.
1593 * libc/iconv/ccs/cp852.c: Ditto.
1594 * libc/iconv/ccs/cp855.c: Ditto.
1595 * libc/iconv/ccs/cp866.c: Ditto.
1596 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1597 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
1598 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1599 * libc/iconv/ccs/iconv_mktbl: Ditto.
1600 * libc/iconv/ccs/jis_x0201.c: Ditto.
1601 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1602 * libc/iconv/ccs/shift_jis.c: Ditto.
1603 * libc/iconv/ccs/us_ascii.c: Ditto.
1604 * libc/iconv/ccs/ccs.h: New file.
1605 * libc/iconv/ccs/ccsbi.c: Ditto.
1606 * libc/iconv/ccs/ccsbi.h: Ditto.
1607 * libc/iconv/ccs/ccsnames.h: Ditto.
1608 * libc/iconv/ccs/iso_8859_10.c: Ditto.
1609 * libc/iconv/ccs/iso_8859_11.c: Ditto.
1610 * libc/iconv/ccs/iso_8859_13.c: Ditto.
1611 * libc/iconv/ccs/iso_8859_14.c: Ditto.
1612 * libc/iconv/ccs/iso_8859_3.c: Ditto.
1613 * libc/iconv/ccs/iso_8859_6.c: Ditto.
1614 * libc/iconv/ccs/iso_8859_7.c: Ditto.
1615 * libc/iconv/ccs/iso_8859_8.c: Ditto.
1616 * libc/iconv/ccs/iso_8859_9.c: Ditto.
1617 * libc/iconv/ccs/iso_ir_111.c: Ditto.
1618 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
1619 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
1620 * libc/iconv/ccs/koi8_ru.c: Ditto.
1621 * libc/iconv/ccs/koi8_uni.c: Ditto.
1622 * libc/iconv/ccs/mktbl.pl: Ditto.
1623 * libc/iconv/ccs/win_1250.c: Ditto.
1624 * libc/iconv/ccs/win_1251.c: Ditto.
1625 * libc/iconv/ccs/win_1252.c: Ditto.
1626 * libc/iconv/ccs/win_1253.c: Ditto.
1627 * libc/iconv/ccs/win_1254.c: Ditto.
1628 * libc/iconv/ccs/win_1255.c: Ditto.
1629 * libc/iconv/ccs/win_1256.c: Ditto.
1630 * libc/iconv/ccs/win_1257.c: Ditto.
1631 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
1632 * libc/iconv/ccs/iso_8859_15.c: Updated.
1633 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1634 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1635 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1636 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1637 * libc/iconv/ccs/koi8_r.c: Ditto.
1638 * libc/iconv/ccs/koi8_u.c: Ditto.
1639 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
1640 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
1641 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1642 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1643 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1644 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1645 * libc/iconv/ccs/binary/Makefile.am: Updated.
1646 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
1647 * libc/iconv/ccs/binary/big5.cct: Updated.
1648 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1649 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1650 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1651 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
1652 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
1653 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
1654 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
1655 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
1656 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1657 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1658 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1659 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1660 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1661 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1662 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1663 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1664 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1665 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
1666 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
1667 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
1668 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
1669 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
1670 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
1671 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
1672 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
1673 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
1674 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
1675 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
1676 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
1677 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
1678 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
1679 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
1680 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
1681 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
1682 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
1683 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
1684 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
1685 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
1686 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
1687 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
1688 * libc/iconv/ces/Makefile.am: Updated.
1689 * libc/iconv/ces/Makefile.in: Regenerated.
1690 * libc/iconv/ces/ucs-2-internal.c: Updated.
1691 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1692 * libc/iconv/ces/utf-16.c: Ditto.
1693 * libc/iconv/ces/utf-8.c: Ditto.
1694 * libc/iconv/ces/cesbi.c: New file.
1695 * libc/iconv/ces/cesbi.h: Ditto.
1696 * libc/iconv/ces/cesdeps.h: Ditto.
1697 * libc/iconv/ces/euc.c: Ditto.
1698 * libc/iconv/ces/mkdeps.pl: Ditto.
1699 * libc/iconv/ces/table-pcs.c: Ditto.
1700 * libc/iconv/ces/table.c: Ditto.
1701 * libc/iconv/ces/ucs-2.c: Ditto.
1702 * libc/iconv/ces/ucs-4.c: Ditto.
1703 * libc/iconv/ces/us-ascii.c: Ditto.
1704 * libc/iconv/ces/euc-jp.c: Removed.
1705 * libc/iconv/ces/euc-kr.c: Ditto.
1706 * libc/iconv/ces/euc-tw.c: Ditto.
1707 * libc/iconv/ces/gb2312.c: Ditto.
1708 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
1709 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1710 * libc/iconv/lib/Makefile.am: Updated.
1711 * libc/iconv/lib/Makefile.in: Regenerated.
1712 * libc/iconv/lib/endian.h: Updated.
1713 * libc/iconv/lib/iconv.c: Ditto.
1714 * libc/iconv/lib/local.h: Ditto.
1715 * libc/iconv/lib/aliases.c: Removed.
1716 * libc/iconv/lib/bialiasesi.c: Ditto.
1717 * libc/iconv/lib/biccs.c: Ditto.
1718 * libc/iconv/lib/bices.c: Ditto.
1719 * libc/iconv/lib/ccs.c: Ditto.
1720 * libc/iconv/lib/ces.c: Ditto.
1721 * libc/iconv/lib/ces_euc.c: Ditto.
1722 * libc/iconv/lib/ces_iso2022.c: Ditto.
1723 * libc/iconv/lib/ces_table.c: Ditto.
1724 * libc/iconv/lib/converter.c: Ditto.
1725 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
1726 * libc/iconv/lib/loaddata.c: Ditto.
1727 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
1728 * libc/iconv/lib/aliasesi.c: Ditto.
1729 * libc/iconv/lib/conv.h: Ditto.
1730 * libc/iconv/lib/encnames.h: Ditto.
1731 * libc/iconv/lib/encoding.deps: Ditto.
1732 * libc/iconv/lib/iconvnls.c: Ditto.
1733 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
1734 * libc/iconv/lib/nullconv.c: Ditto.
1735 * libc/iconv/lib/ucsconv.c: Ditto.
1736 * libc/iconv/lib/ucsconv.h: Ditto.
1737 * libc/include/iconv.h: Update copyright.
1738 * libc/*/aclocal.m4: Regenerated.
1739 * libc/*/configure: Ditto.
1740 * libm/*/aclocal.m4: Ditto.
1741 * libm/*/configure: Ditto.
1742
9a6831be
AO
17432004-06-22 Alexandre Oliva <aoliva@redhat.com>
1744
eb6a452a
AO
1745 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
1746 instead of typedefing jmp_buf.
1747
9a6831be
AO
1748 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
1749 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
1750 * libc/machine/h8300/defines.h (LEN): New macro.
1751 * libc/machine/h8300/memcpy.S: Add h8sx version.
1752 * libc/machine/h8300/memset.S: Likewise.
1753 * libc/machine/h8300/strcmp.S: Likewise.
1754 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
1755 * libc/machine/h8300/h8sx_strcpy.S: New file.
1756 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
1757 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
1758 __H8300SX__.
1759 * libc/include/machine/setjmp.h: Likewise.
1760 * libc/include/sys/config.h: Likewise.
1761 * libc/machine/h8300/defines.h: Likewise.
1762 * libc/machine/h8300/setjmp.S: Likewise.
1763 * libc/machine/h8300/strcmp.S: Likewise.
1764 * libc/sys/h8300hms/close.S: Likewise.
1765 * libc/sys/h8300hms/fstat.S: Likewise.
1766 * libc/sys/h8300hms/lseek.S: Likewise.
1767 * libc/sys/h8300hms/read.S: Likewise.
1768 * libc/sys/h8300hms/write.S: Likewise.
1769 * libc/sys/h8300hms/crt0.S: Likewise.
1770 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
1771 __H8300SX__ is defined.
1772 * libc/sys/h8300hms/setarch.h: Likewise.
1773
80dba41e
JJ
17742004-06-17 Jeff Johnston <jjohnstn@redhat.com>
1775
1776 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
1777 out change which set _GLOBAL_REENT to _global_impure_ptr until
1778 we understand why Cygwin breaks because of it.
1779
be910599
JJ
17802004-06-14 Jeff Johnston <jjohnstn@redhat.com>
1781
1782 * libc/sys/linux/machine/i386/syscall.h: For now, set up
1783 __syscall_return macro for systems with vsyscall.
1784
d0bd3e6f
JJ
17852004-06-11 Antony King <antony.king@st.com>
1786
1787 * libc/include/sys/_types.h: Include <sys/lock.h> and change
1788 _flock_t to be of type _LOCK_RECURSIVE_T.
1789 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
1790 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
1791 (_global_impure_ptr): New declaration.
1792 (_GLOBAL_REENT): Change to be _global_impure_ptr.
1793 * libc/include/sys/stdio.h: Include <sys/lock.h> and
1794 <sys/reent.h>.
1795 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
1796 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1797 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
1798 * libc/stdio/fclose.c: Remove casting of fp lock to
1799 _LOCK_RECURSIVE_T.
1800 * libc/stdio/findfp.c: Ditto.
1801 * libc/stdio/fopen.c: Ditto.
1802 * libc/stdio/freopen.c: Ditto.
1803 * libc/stdio/vfprintf.c: Ditto.
1804 * libc/stdio64/fopen64.c: Ditto.
1805 * libc/stdlib/envlock.c: Add default stubs that use generic
1806 locking code.
1807 * libc/stdlib/mlock.c: Ditto.
1808
1809 Jeff Johnston <jjohnstn@redhat.com>
1810 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
1811 (_flock_t): Change to be a struct containing a single member
1812 named mutex which is of type __flock_mutex_t.
1813
db7033a9
JJ
18142004-06-09 Jeff Johnston <jjohnstn@redhat.com>
1815
1816 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
1817 from /usr/include/asm/signal.h instead of kernel sources. Also
1818 default max to 32 if not found in header file.
1819 * libc/sys/linux/Makefile.in: Regenerated.
1820 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
1821 systems where __syscall_return is not defined.
1822 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
1823 systems to use syscall() function instead of assembler interrupt.
1824
a170abec
JJ
18252004-06-09 Toralf Lund <toralf@procaptura.com>
1826
1827 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
1828 files from libc/sys/arm to libc/machine/arm.
1829 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
1830 library build support for files moved from libc/sys/arm.
1831 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
1832 references to access and setjmp.
1833 * configure.host: Add checks for newlib_may_supply_syscalls to
1834 determine whether or not to use sys/arm directory and use
1835 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
1836
8b57e664
JJ
18372004-06-02 Jeff Johnston <jjohnstn@redhat.com>
1838
1839 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
1840 reset digit flags appropriately after we have discovered "0x".
1841 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1842
3f611058
JJ
18432004-05-27 Jeff Johnston <jjohnstn@redhat.com>
1844
1845 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
1846 from here ...
1847 (_VFPRINTF_R): ... to here so all I/O printf routines
1848 are covered.
1849
bb42a35c
JJ
18502004-05-26 Jeff Johnston <jjohnstn@redhat.com>
1851
1852 * libc/search/hash_buf.c: Protect MAX and MIN macros from
1853 redefinition.
1854 * libc/search/hash.c: Ditto.
1855
227e6ef6
JJ
18562004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1857
1858 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
1859 (_WANT_IO_LONG_LONG): Ditto.
1860 (_WANT_IO_LONG_DOUBLE): Ditto.
1861 * configure.in: Add new configuration options
1862 --enable-newlib-io-long-long and --enable-newlib-io-long-double
1863 which tie to new defines in newlib.hin.
1864 * configure: Regenerated.
1865 * configure.host: Add checks for new configuration options. Also
1866 fix up check for --enable-newlib-io-pos-args so configuration
1867 option will override any default for a given platform.
1868 Remove defining compiler flags for the _WANT_IO* options.
1869 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
1870 instead of looking for old compiler flags.
1871 * libc/stdio/vfscanf.c: Ditto.
1872 * libc/stdio/vfieeefp.h: Ditto.
1873 * libc/machine/powerpc/vfprintf.c: Ditto.
1874 * libc/machine/powerpc/vfscanf.c: Ditto.
1875
9178da95
JJ
18762004-05-25 Jeff Johnston <jjohnstn@redhat.com>
1877
1878 * testsuite/include/check.h: Add include of <stdio.h>.
1879
cf3aae91
CV
18802004-05-17 Corinna Vinschen <corinna@vinschen.de>
1881
1882 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
1883
5b4c8ae2
JJ
18842004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1885
1886 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
1887 of free.
1888
18892004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1890
1891 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
1892 list for reentrant pointer. Call _vfiprintf_r.
1893 * libc/stdio/siprintf.c (_siprintf_r): New function.
1894 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
1895 pointer argument. Change all callers. Call _VFPRINTF_R.
1896 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
1897 prototypes.
1898
631fbe65
JJ
18992004-05-07 Jeff Johnston <jjohnstn@redhat.com>
1900
1901 * libc/include/sys/param.h: Remove endian info and include
1902 <machine/endian.h> instead.
1903 * libc/include/machine/endian.h: New file.
1904 * libc/include/machine/param.h: Ditto.
1905 * libc/machine/arm/machine/endian.h: Ditto.
1906 * libc/machine/arm/machine/param.h: Ditto.
1907 * libc/sys/arm/sys/param.h: Removed.
1908 * libc/sys/sysvi386/sys/param.h: Ditto.
1909 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
1910
1af84bb7
JJ
19112004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1912
1913 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
1914 multibyte functions return failure for %C, %S, %lc, and %ls
1915 format specifiers.
1916
1c63798e
JJ
19172004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1918
1919 * testsuite/include/check.h (CHECK): Add flush of stdout.
1920
20b0251a
JJ
19212004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1922
1923 * libc/include/stdio.h (_ungetc_r): New prototype.
1924 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
1925 (__submore): Add reentrant struct pointer argument.
1926 (ungetc): Change to call _ungetc_r.
1927
6194cf4a
JJ
19282004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1929
1930 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
1931 function pointer argument.
1932 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
1933 to specify function pointer arguments.
1934 (__fwalk, __fwalk_reent): Ditto.
1935
b4ddf489
AH
19362004-04-26 Aldy Hernandez <aldyh@redhat.com>
1937
1938 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
1939 CT_INT case.
1940
f777e3a5
JJ
19412004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1942
1943 * configure.in: Define _MB_CAPABLE if mb supported.
1944 * configure: Regenerated.
1945 * configure.host: Remove manual setting of MB_CAPABLE compiler
1946 flag.
1947 * newlib.hin: Add _MB_CAPABLE flag.
1948 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
1949 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
1950 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
1951 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
1952 * libc/ctype/jp2uc.c: Ditto.
1953 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
1954 * libc/locale/locale.c: Ditto
1955 * libc/machine/powerpc/vfscanf.c: Ditto
1956 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
1957 * libc/stdlib/mblen.c: Ditto
1958 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
1959 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
1960 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
1961 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
1962 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
1963 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
1964 * libc/sys/linux/intl/explodename.c: Ditto
1965 * libc/sys/linux/intl/finddomain.c: Ditto
1966 * libc/sys/linux/intl/l10nflist.c: Ditto
1967 * libc/sys/linux/intl/loadmsgcat.c: Ditto
1968 * libc/sys/linux/intl/localealias.c: Ditto
1969
27c7566c
JJ
19702004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1971
1972 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
1973 (__svfscanf_r): In integer conversions, leave out leading zeroes
1974 which are not part of a base prefix.
1975 Keep track of width truncation to fit into buf, not counting left-out
1976 zeroes against width till the truncation has been compensated for.
1977 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
1978
c00f9719
JJ
19792004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1980
1981 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
1982
05b31577
JJ
19832004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1984
1985 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
1986 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
1987 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
1988 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
1989 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
1990 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
1991 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
1992 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
1993 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
1994 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
1995 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
1996 libc/stdio/getchar.c libc/stdio/getchar_u.c,
1997 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
1998 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
1999 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
2000 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
2001 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
2002 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
2003 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
2004 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
2005 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
2006 libc/stdio/siprintf.c libc/stdio/snprintf.c,
2007 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
2008 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
2009 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
2010 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
2011 libc/stdio/vprintf.c libc/stdio/vscanf.c,
2012 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
2013 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
2014 libc/stdio/wsetup.c: Perform minor formatting changes. Move
2015 copyright notices to top of file, ensure that <_ansi.h> is
2016 included, be consistent with open parentheses, use _DEFUN macro,
2017 include "local.h" where needed, and remove various compiler
2018 warnings.
2019
04e8fca1
JJ
20202004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
2021
2022 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
2023 (__svfscanf_r): In integer conversions, leave out leading zeroes
2024 which are not part of a base prefix.
2025 Keep track of width truncation to fit into buf, not counting left-out
2026 zeroes against width till the truncation has been compensated for.
2027
9090ec74
CV
20282004-04-20 Corinna Vinschen <corinna@vinschen.de>
2029
2030 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
2031
1c17deea
CV
20322004-04-20 Corinna Vinschen <corinna@vinschen.de>
2033
2034 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
2035
54c7940f
CV
20362004-04-10 Corinna Vinschen <corinna@vinschen.de>
2037
2038 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
2039 to SUSv3.
2040
47dcaf56
JJ
20412004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2042
2043 * libc/stdio/fclose.c (_fclose_r): New function.
2044 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
2045 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
2046 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
2047 * libc/include/stdio.h (_fclose_r): New prototype.
2048 * libc/stdio/fopen.c: Fix typo in comment.
2049
20502004-04-08 Jeff Johnston <jjohnstn@redhat.com>
2051
2052 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
2053 to handle _r reentrant functions.
2054
4121d8cf
JJ
20552004-04-08 Eric Christopher <echristo@redhat.com>
2056
2057 * libc/include/machine/setjmp.h: Fix endif locations.
2058
59c9f5f5
JJ
20592004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2060
2061 * libc/time/strptime.c: Add standard includes to avoid
2062 warning messages at compilation time.
2063
38f4f023
JJ
20642004-04-01 Jeff Johnston <jjohnstn@redhat.com>
2065
2066 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
2067 of file.
2068
20692004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
2070
2071 * libc/machine/h8300/Makefile.am: Reformat slightly.
2072 * libc/machine/h8300/Makefile.in: Regenerate.
2073
38f4f023 20742004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
2075
2076 * libc/stdio/findfp.c (__fp_lock_all): Add call to
2077 __sfp_lock_acquire.
2078 (__fp_unlock_all): Add call to __sfp_lock_release.
2079
10dcf7e7
JJ
20802004-03-25 Thomas Pfaff <tpfaff@gmx.net>
2081
2082 * libc/stdio/fclose.c (fclose): Protect file pointer list when
2083 releasing a file.
2084 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
2085 fwalk.
2086 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
2087 _flockfile/_funlockfile.
2088 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
2089 to recursive.
2090 Change __lock_acquire/__lock_release calls for __sfp_lock to
2091 __sfp_lock_acquire/__sfp_lock_release throughout.
2092 (std): Make sure that file lock is only initialized once.
2093 (__sfp): Move _file initialization. Initialize file lock.
2094 (__sfp_lock_acquire): New function.
2095 (__sfp_lock_release): Ditto.
2096 (__fp_lock_all): Remove __sfp_lock_acquire call.
2097 (__fp_unlock_all): Remove __sfp_lock_release call.
2098 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
2099 Add calls to _flockfile/_funlockfile. Remove
2100 __lock_init_recursive call.
2101 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
2102 * libc/stdio/fwalk.c (__fwalk): New static function.
2103 (_fwalk): Protect file pointer list. Use __fwalk to walk through
2104 file pointers.
2105 * libc/stdio/local.h: Add defines for
2106 __sfp_lock_acquire/__sfp_lock_release when
2107 single threaded. Add function prototypes otherwise.
2108 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
2109 _flockfile/_funlockfile.
2110 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
2111 Add calls to _flockfile/_funlockfile. Remove
2112 __lock_init_recursive call.
2113 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
2114 list.
2115
ec475b09
JJ
21162004-03-25 Jeff Johnston <jjohnstn@redhat.com>
2117
2118 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
2119 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
2120 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
2121 to be __LOCK_INIT_RECURSIVE.
2122
2c4ef10a
JJ
21232004-03-11 Kazu Hirata <kazu@cs.umass.edu>
2124
2125 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
2126 _exit.c with _exit.S.
2127 * libc/sys/h8300hms/Makefile.in: Regenerate.
2128 * libc/sys/h8300hms/_exit.c: Remove.
2129 * libc/sys/h8300hms/_exit.S: New.
2130
41c3da6a
JJ
21312004-03-09 Thomas Pfaff <tpfaff@gmx.net>
2132
2133 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
2134 Change __sfp_lock to static global.
2135 (__fp_lock): New static function.
2136 (__fp_unlock): Ditto.
2137 (__fp_lock_all): New function.
2138 (__fp_unlock_all): Ditto.
2139
0ccf5430
CF
21402004-02-10 Christopher Faylor <cgf@redhat.com>
2141
2142 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
2143 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
2144 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
2145 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
2146
3536f0fb
CF
21472004-02-09 Christopher Faylor <cgf@redhat.com>
2148
2149 * libc/include/time.h (TIMER_RELTIME): New define.
2150
6a6e493a
JJ
21512004-02-09 Jeff Johnston <jjohnstn@redhat.com>
2152
2153 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
2154 * libc/stdlib/Makefile.in: Regenerated.
2155
733309f5
CF
21562004-02-08 Christopher Faylor <cgf@redhat.com>
2157
2158 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
2159 * libc/include/sys/reent.h (__getreent): Protect against possibly being
2160 defined.
2161 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
2162
b4a84c66
JJ
21632004-02-05 Paul Brook <paul@codesourcery.com>
2164
2165 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
2166 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
2167
4669438f
JJ
21682004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2169
2170 * NEWS: Update with 1.12.0 info.
2171 * README: Ditto.
2172 * acinclude.m4: Change version number to 1.12.0.
2173 * aclocal.m4: Regenerated.
2174 * configure: Ditto.
2175 * doc/aclocal.m4: Ditto.
2176 * doc/configure: Ditto.
2177 * libc/*/aclocal.m4: Ditto.
2178 * libc/*/configure: Ditto.
2179 * libc/libc.texinfo: Ditto.
2180 * libm/*/aclocal.m4: Ditto.
2181 * libm/*/configure: Ditto.
2182 * libm/libm.texinfo: Ditto.
2183 * libc/sys/linux/shared.ld: Add VERS_1.12.
2184
94d61fcb
JJ
21852004-02-02 Joel Sherrill <joel@oarcorp.com>
2186
2187 * configure.host: Add support for tic4x.
2188 * libc/include/machine/ieeefp.h: Ditto.
2189 * libc/include/machine/setjmp.h: Ditto.
2190 * libc/machine/tic4x/Makefile.am: New file.
2191 * libc/machine/tic4x/configure.in: Ditto.
2192 * libc/machine/tic4x/setjmp.S: Ditto.
2193 * libc/machine/tic4x/aclocal.m4: Generated.
2194 * libc/machine/tic4x/configure: Ditto.
2195 * libc/machine/tic4x/Makefile.in: Ditto.
2196
c730e0e7
JJ
21972004-01-30 Jeff Johnston <jjohnstn@redhat.com>
2198
2199 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
2200 file chain on the passed in reentrancy struct if it
2201 is _GLOBAL_REENT.
2202
2892ec68
JJ
22032004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2204 Jeff Johnston <jjohnstn@redhat.com>
2205
2206 * libc/iconv/iconv.tex: Updated with more information.
2207
ff41498a
JJ
22082004-01-30 Thomas Pfaff <tpfaff@gmx.net>
2209 Jeff Johnston <jjohnstn@redhat.com>
2210
2211 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
2212 struct for std streams and traverse the global reeentrancy
2213 struct for all other streams.
2214
d5b6c234
JJ
22152004-01-27 Jeff Johnston <jjohnstn@redhat.com>
2216
2217 * libc/stdlib/atexit.c: Protect global atexit list with a
2218 lock when newlib is multithreaded.
2219
01e0a777
JJ
22202004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2221
2222 * configure.in: Add support to generate iconv converter flags
2223 for newlib.h
2224 * newlib.hin: Add iconv converter flags.
2225 * configure: Regenerated.
2226 * libc/Makefile.in: Ditto.
2227 * libc/configure.in: Moved iconv converter parsing logic to
2228 top level newlib configure.in.
2229 * libc/configure: Regenerated.
2230 * libc/iconv/Makefile.in: Ditto.
2231 * libc/iconv/README.TODO
2232 * libc/iconv/charset.aliases: Remove wrong BE aliases for
2233 UCS2/UCS4/UTF8.
2234 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
2235 newlib.h can be used.
2236 * libc/iconv/ces/Makefile.am: Ditto.
2237 * libc/iconv/lib/Makefile.am: Ditto.
2238 * libc/iconv/ccs/Makefile.in: Regenerated.
2239 * libc/iconv/ces/Makefile.in: Ditto.
2240 * libc/iconv/lib/Makefile.in: Ditto.
2241 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
2242 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
2243 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
2244 defined in newlib.h.
2245 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
2246 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
2247 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
2248 * libc/iconv/ccs/cp775.c: Ditto.
2249 * libc/iconv/ccs/cp850.c: Ditto.
2250 * libc/iconv/ccs/cp852.c: Ditto.
2251 * libc/iconv/ccs/cp855.c: Ditto.
2252 * libc/iconv/ccs/cp866.c: Ditto.
2253 * libc/iconv/ccs/gb_2312_80.c: Ditto.
2254 * libc/iconv/ccs/iso_8859_1.c: Ditto.
2255 * libc/iconv/ccs/iso_8859_15.c: Ditto.
2256 * libc/iconv/ccs/iso_8859_2.c: Ditto.
2257 * libc/iconv/ccs/iso_8859_4.c: Ditto.
2258 * libc/iconv/ccs/iso_8859_5.c: Ditto.
2259 * libc/iconv/ccs/jis_x0201.c: Ditto.
2260 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
2261 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
2262 * libc/iconv/ccs/koi8_r.c: Ditto.
2263 * libc/iconv/ccs/koi8_u.c: Ditto.
2264 * libc/iconv/ccs/ksx1001.c: Ditto.
2265 * libc/iconv/ccs/shift_jis.c: Ditto.
2266 * libc/iconv/ccs/us_ascii.c: Ditto.
2267 * libc/iconv/ccs/binary/big5.cct: Newly generated.
2268 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
2269 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
2270 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
2271 * libc/iconv/ccs/binary/cp775.cct: Ditto.
2272 * libc/iconv/ccs/binary/cp850.cct: Ditto.
2273 * libc/iconv/ccs/binary/cp852.cct: Ditto.
2274 * libc/iconv/ccs/binary/cp855.cct: Ditto.
2275 * libc/iconv/ccs/binary/cp866.cct: Ditto.
2276 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
2277 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
2278 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
2279 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
2280 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
2281 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
2282 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
2283 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
2284 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
2285 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
2286 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
2287 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
2288 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
2289 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
2290 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
2291 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
2292 * libc/iconv/ces/euc-kr.c: Ditto.
2293 * libc/iconv/ces/euc-tw.c: Ditto.
2294 * libc/iconv/ces/gb2312.c: Ditto.
2295 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
2296 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
2297 * libc/iconv/ces/ucs-2-internal.c: Ditto.
2298 * libc/iconv/ces/ucs-4-internal.c: Ditto.
2299 * libc/iconv/ces/utf-16.c: Ditto.
2300 * libc/iconv/ces/utf-8.c: Ditto.
2301 * libc/iconv/lib/aliases.c: Ditto.
2302 * libc/iconv/lib/biccs.c: Ditto.
2303 * libc/iconv/lib/bices.c: Ditto.
2304 * libc/iconv/lib/ccs.c: Ditto.
2305 * libc/iconv/lib/ces.c: Ditto.
2306 * libc/iconv/lib/ces_euc.c: Ditto.
2307 * libc/iconv/lib/ces_iso2022.c: Ditto.
2308 * libc/iconv/lib/ces_table.c: Ditto.
2309 * libc/iconv/lib/converter.c: Ditto.
2310 * libc/iconv/lib/deps.h: Ditto.
2311 * libc/iconv/lib/endian.h: Ditto.
2312 * libc/iconv/lib/iconv.c: Ditto.
2313 * libc/iconv/lib/loaddata.c: Ditto.
2314 * libc/iconv/lib/local.h: Include newlib.h.
2315 * libc/argz/Makefile.in: Regenerated.
2316 * libc/ctype/Makefile.in: Ditto.
2317 * libc/errno/Makefile.in: Ditto.
2318 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2319 * libc/locale/Makefile.in: Ditto.
2320 * libc/misc/Makefile.in: Ditto.
2321 * libc/posix/Makefile.in: Ditto.
2322 * libc/reent/Makefile.in: Ditto.
2323 * libc/search/Makefile.in: Ditto.
2324 * libc/signal/Makefile.in: Ditto.
2325 * libc/stdio/Makefile.in: Ditto.
2326 * libc/stdio64/Makefile.in: Ditto.
2327 * libc/stdlib/Makefile.in: Ditto.
2328 * libc/string/Makefile.in: Ditto.
2329 * libc/syscalls/Makefile.in: Ditto.
2330 * libc/time/Makefile.in: Ditto.
2331 * libc/unix/Makefile.in: Ditto.
2332 * testsuite/newlib.iconv/iconv.exp: New file.
2333 * testsuite/newlib.iconv/iconvjp.c: Ditto.
2334 * testsuite/newlib.iconv/iconvnm.c: Ditto.
2335 * testsuite/newlib.iconv/iconvru.c: Ditto.
2336
786ab12c
JJ
23372004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2338
2339 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
2340 (--enable-newlib-builtin-converters): Ditto.
2341 * configure.in: Add code to set _ICONV_ENABLED flag.
2342 Set _MB_LEN_MAX to 1 if not mb enabled.
2343 * configure: Regenerated.
2344 * aclocal.m4: Ditto.
2345 * Makefile.in: Ditto.
2346 * newlib.hin: Add _ICONV_ENABLED flag.
2347 * libc/Makefile.am: Add support for iconv.
2348 * libc/configure.in: Ditto.
2349 * libc/Makefile.in: Regenerated.
2350 * libc/aclocal.m4: Ditto.
2351 * libc/configure: Ditto.
2352 * libc/libc.texinfo: Add iconv documentation.
2353 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
2354 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
2355 libc/iconv/README.TODO, libc/iconv/charset.aliases,
2356 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
2357 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
2358 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
2359 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
2360 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
2361 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
2362 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
2363 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
2364 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
2365 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
2366 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
2367 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
2368 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
2369 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
2370 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
2371 libc/iconv/ccs/binary/big5.cct,
2372 libc/iconv/ccs/binary/cns11643_plane1.cct,
2373 libc/iconv/ccs/binary/cns11643_plane14.cct,
2374 libc/iconv/ccs/binary/cns11643_plane2.cct,
2375 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
2376 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
2377 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
2378 libc/iconv/ccs/binary/iso_8859_1.cct,
2379 libc/iconv/ccs/binary/iso_8859_15.cct,
2380 libc/iconv/ccs/binary/iso_8859_2.cct,
2381 libc/iconv/ccs/binary/iso_8859_4.cct,
2382 libc/iconv/ccs/binary/iso_8859_5.cct,
2383 libc/iconv/ccs/binary/jis_x0201.cct,
2384 libc/iconv/ccs/binary/jis_x0208_1983.cct,
2385 libc/iconv/ccs/binary/jis_x0212_1990.cct,
2386 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
2387 libc/iconv/ccs/binary/ksx1001.cct,
2388 libc/iconv/ccs/binary/shift_jis.cct,
2389 libc/iconv/ccs/binary/us_ascii.cct,
2390 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
2391 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
2392 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
2393 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
2394 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
2395 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
2396 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
2397 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
2398 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
2399 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
2400 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
2401 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
2402 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
2403 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
2404 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
2405 * libc/sys/linux/include/iconv.h: Ditto.
2406 * libc/include/sys/_types.h (_iconv_t): Added.
2407 * doc/aclocal.m4: Regenerated.
2408 * doc/configure: Ditto.
2409 * doc/Makefile.in: Ditto.
2410 * iconvdata/Makefile.in: Ditto.
2411 * iconvdata/aclocal.m4: Ditto.
2412 * iconvdata/configure: Ditto.
2413 * libc/*aclocal.m4: Ditto.
2414 * libc/*Makefile.in: Ditto.
2415 * libc/*configure: Ditto.
2416 * libm/*aclocal.m4: Ditto.
2417 * libm/*Makefile.in: Ditto.
2418 * libm/*configure: Ditto.
2419
ed1a95dc
JJ
24202004-01-22 Thomas Pfaff <tpfaff@gmx.net>
2421
2422 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
2423 by a lock when newlib is multithreaded.
2424
7d4be1ef
JJ
24252004-01-21 Jeff Johnston <jjohnstn@redhat.com>
2426
2427 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
2428 pointer to match C99 spec.
2429 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
2430 dst is NULL. Also fix to not alter src pointer when dst is NULL
2431 and call _mbrtowc_r instead of _mbtowc_r.
2432 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
2433 of _wctomb_r.
2434
403f752c
JJ
24352004-01-19 Thomas Pfaff <tpfaff@gmx.net>
2436
2437 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
2438 * libc/stdio/freopen.c (freopen): Ditto.
2439
85b6d63b
CF
24402004-01-16 Christopher Faylor <cgf@redhat.com>
2441
2442 * libc/stdio/vfprintf.c: Add sys/lock.h include.
2443
4af71a91
JJ
24442004-01-16 Thomas Pfaff <tpfaff@gmx.net>
2445
2446 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
2447 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
2448 Add calls to __lock_init_recursive and __lock_close_recursive
2449 instead.
2450
6a150987
JJ
24512004-01-15 Thomas Pfaff <tpfaff@gmx.net>
2452
2453 * libc/stdio/fclose.c: Include sys/lock.h.
2454 (fclose): Destroy lock when file is closed.
2455 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
2456 member.
2457 * libc/stdio/freopen.c: Include sys/lock.h.
2458 (_freopen_r): Destroy lock when file is closed.
2459 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
2460 _lock member.
2461
c9524c0c
JJ
24622004-01-08 Joel Sherrill <joel@oarcorp.com>
2463
2464 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
2465 Remove warnings.
2466
9f13ccb3
JJ
24672004-01-08 Joel Sherrill <joel@oarcorp.com>
2468
2469 * libc/sys/rtems/sys/queue.h: New file.
2470 * libc/include/sys/signal.h: Reflect renumbering of signals to
2471 fit into 32-bit mask.
2472 * libc/include/sys/unistd.h: Add fdatasync() prototype.
2473 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
2474 required. In particular, add the reentrant variants of libc calls.
2475 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
2476
9488c414
JJ
24772004-01-06 Mark Mitchell <mark@codesourcery.com>
2478
2479 * libc/sys/arm/syscalls.c (unistd.h): Include it.
2480 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
2481 Similarly for stdout and stderr.
2482
5125f919
JJ
24832004-01-06 Jeff Johnston <jjohnstn@redhat.com>
2484
2485 * libc/libc.texinfo: Correct escape character for @ sign
2486 so file will be processed by make info. Update copyright years.
2487 * libm/libm.texinfo: Ditto.
2488
9fc92ceb
JJ
24892003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2490
2491 * libc/include/sys/stat.h: No longer include stat-dj.h.
2492 * libc/include/sys/stat-dj.h: Removed.
2493
25c7dad1
JJ
24942003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2495
2496 * libc/include/wchar.h: Include <sys/reent.h>.
2497
576593dd
CF
24982003-12-05 Christopher Faylor <cgf@redhat.com>
2499
2500 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
2501 when defining _mbrtowc.
2502 * libc/stdlib/mbsinit.c: Ditto.
2503 * libc/stdlib/mbsrtowcs.c: Ditto.
2504 * libc/stdlib/wcrtomb.c: Ditto.
2505 * libc/stdlib/wcsrtombs.c: Ditto.
2506 * libc/stdlib/wctob.c: Ditto.
2507
25082003-12-05 Christopher Faylor <cgf@redhat.com>
2509
2510 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
2511 errors when defining _mbrtowc.
2512 * libc/stdlib/mbsinit.c: Ditto.
2513 * libc/stdlib/mbsrtowcs.c: Ditto.
2514
4c889d62
CF
25152003-12-05 Christopher Faylor <cgf@redhat.com>
2516
2517 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
2518 errors when defining _mbrtowc.
2519
5d109bde
JJ
25202003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2521
2522 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
2523 of mb routines for %lc and %ls support.
2524 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
2525 %ls, and %S support. Remove CYGNUS_NEC markers and
2526 code within.
2527
3aca0888
JJ
25282003-12-04 Jeff Johnston <jjohnstn@redhat.com>
2529
2530 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
2531 _wcrtomb_r, and _wcsrtombs_r.
2532
18dcb167
CV
25332003-12-01 Corinna Vinschen <corinna@vinschen.de>
2534
2535 * libc/include/sys/fcntl.h: Don't define struct flock when on
2536 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
2537
93f8e673
CF
25382003-11-28 Christopher Faylor <cgf@redhat.com>
2539
2540 * libc/include/sys/signal.h: Use system specific signal file when
2541 building on cygwin.
2542
cc2a11e0
JJ
25432003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2544
2545 * libc/include/stdlib.h (_atoi_r): New prototype.
2546 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
2547
83bf7d2f
JJ
25482003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2549
2550 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
2551 * libc/stdlib/atol.c (_atol_r): New reentrant function.
2552 * libc/stdlib/atoll.c (_atoll_r): Ditto.
2553
5d109bde 25542003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
2555 Jeff Johnston <jjohnstn@redhat.com>
2556
2557 * libc/include/stdlib.h (lldiv_t): New type.
2558 (atoll, llabs, lldiv): New prototypes.
2559 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
2560 * libc/stdlib/stdlib.tex: Ditto.
2561 * libc/stdlib/Makefile.in: Regenerated.
2562 * libc/stdlib/atoll.c: New file.
2563 * libc/stdlib/llabs.c: Ditto.
2564 * libc/stdlib/lldiv.c: Ditto.
2565
0a707c79
JJ
25662003-11-26 Corinna Vinschen <corinna@vinschen.de>
2567
2568 * libc/include/fcntl.h: Declare syscalls only when building newlib.
2569 * libc/include/unistd.h: Ditto.
2570 * libc/include/stat.h: Ditto. Also declare struct stat64.
2571
5d109bde 25722003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
2573
2574 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
2575 specifier to use ch instead of *fmt.
2576
5d109bde 25772003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
2578
2579 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
2580 code within checks for MB_CAPABLE. For non-mb-capable platforms,
2581 use simple byte logic.
2582
4f6149d6
JJ
25832003-11-21 Jeff Johnston <jjohnstn@redhat.com>
2584
2585 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
2586 _strtold routine for processing floats and doubles since it
2587 is not as fast as _strtod_r.
2588
7343eefb
JJ
25892003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2590
2591 * libc/machine/h8300/defines.h : Correct pointer register defines
2592 for normal mode.
2593 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
2594 for normal mode.
2595 * libc/machine/h8300/reg_memcpy.S : Likewise.
2596 * libc/machine/h8300/reg_memset.S : Likewise.
2597 * libc/machine/h8300/strcmp.S : Likewise.
2598
64cfc6f2
JJ
25992003-11-19 Nicholas Wourms <nwourms@netscape.net>
2600
2601 * configure.host: Enable positional arguments for printf
2602 family for Cygwin.
2603 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
2604 pointer reference for quad_ptr_t.
2605
e1dc8171
JJ
26062003-11-19 Jeff Johnston <jjohnstn@redhat.com>
2607
2608 * libc/stdio/scanf.c: Don't include local.h more than once.
2609
a472290f
JJ
26102003-11-18 Corinna Vinschen <corinna@vinschen.de>
2611
2612 * libc/include/sys/fcntl.h: Declare _open64.
2613 * libc/include/sys/stat.h: Declare _fstat64.
2614 * libc/include/sys/unistd.h: Declare _lseek64.
2615
a2f1155c
CV
26162003-11-17 Corinna Vinschen <corinna@vinschen.de>
2617
2618 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
2619 (setprogname): Ditto.
2620
030441fc
JJ
26212003-11-10 Jeff Johnston <jjohnstn@redhat.com>
2622
2623 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
2624 to use (Ebits + 1) which accounts for the sign-bit.
2625
fe359733
JJ
26262003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2627
2628 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
2629 x86 build.
2630 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
2631 and set up default flags to pass to aclocal.
2632 * iconvdata/Makefile.in: Regenerated.
2633 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
2634 and getpwuid routines.
2635 * libc/sys/linux/Makefile.in: Regenerated.
2636 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
2637 applications to link with newlib's shared libc library.
2638 * libc/sys/linux/getpwnam.c: Ditto.
2639 * libc/sys/linux/getpwuid.c: Ditto.
2640 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
2641 that were formerly supplied by /usr/include/linux/types.h with
2642 kernel types.
2643 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
2644 test _ELIX_LEVEL macro.
2645
2985521f
JJ
26462003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2647
2648 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
2649 referring to _NO_LONGLONG macro.
2650
dcad6a89
JJ
26512003-11-06 Jeff Johnston <jjohnstn@redhat.com>
2652
2653 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
2654 in LOG() macro so this will compile on gcc 3.4 and up.
2655 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2656 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2657 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2658 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2659 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2660 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2661 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2662 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2663 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2664 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2665 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2666 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2667 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2668 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2669 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2670 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2671 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2672 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2673 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2674 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2675 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2676 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2677 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2678 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2679 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2680 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2681 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2682 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2683 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2684 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2685 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2686 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2687 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2688 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2689 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2690 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2691
d2ffac09 26922003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 2693 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
2694
2695 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
2696 %ls, %S, %lc, and %C format specifiers.
2697 (get_arg): Ditto.
2698 * libc/stdio/sprintf.c: Add documentation regarding new
2699 format specifiers added in vfprintf.c.
2700
da2d1227
JJ
27012003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2702
2703 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
2704 to make code work as specified in standard.
2705
3ef05bac
JJ
27062003-10-23 Jeff Johnston <jjohnstn@redhat.com>
2707
2708 * configure.in: Use absolute newlib basedir when forming
2709 CC_FOR_NEWLIB include options.
2710 * configure: Regenerated.
2711
5d109bde 27122003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
2713
2714 * libc/string/wcsnlen.c: New file.
2715 * libc/include/wchar.h: Add wcsnlen prototype.
2716 * libc/string/Makefile.am: Add wcsnlen support.
2717 * libc/string/Makefile.in: Regenerated.
2718 * libc/string/wcstrings.tex: Add wcsnlen documentation.
2719
63a823f8
RS
27202003-10-22 Richard Sandiford <rsandifo@redhat.com>
2721
2722 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
2723
76a7df52
JJ
27242003-10-20 Bob Wilson <bob.wilson@acm.org>
2725
2726 * libc/locale/locale.c: Use double quotes in code.
2727 * libc/locale/locale.tex: Likewise.
2728 * libc/libc.texinfo: Hyphenate "floating-point".
2729 * libc/machine/necv70/necv70.tex: Likewise.
2730 * libc/stdio/sprintf.c: Likewise.
2731 * libc/stdio/sscanf.c: Likewise.
2732 * libc/stdlib/atof.c: Likewise.
2733 * libc/stdlib/ldtoa.c: Fix comment typo.
2734 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
2735 * libc/stdlib/ldiv.c: Likewise.
2736 * libm/common/s_expm1.c: Likewise.
2737 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
2738 * libm/common/s_infinity: Hyphenate "double- and single-precision".
2739 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
2740 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
2741 and "floating-point".
2742 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
2743 * libm/math/e_pow.c: Fix comment typo.
2744 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
2745 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
2746 * libm/math/s_atan.c: Likewise.
2747 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
2748 * libm/math/s_isnan.c: Hyphenate "single-precision" and
2749 "floating-point". Use "nonzero".
2750 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2751 * libm/math/w_acos.c: Likewise.
2752 * libm/math/w_acosh.c: Likewise.
2753 * libm/math/w_asin.c: Likewise.
2754 * libm/math/w_atan2.c: Likewise.
2755 * libm/math/w_atanh.c: Likewise.
2756 * libm/math/w_cosh.c: Likewise.
2757 * libm/math/w_exp.c: Likewise.
2758 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
2759 version of 2^x in the description.
2760 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
2761 * libm/math/w_gamma.c: Likewise.
2762 * libm/math/w_hypot.c: Likewise.
2763 * libm/math/w_j0.c: Likewise.
2764 * libm/math/w_sinh.c: Likewise.
2765 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
2766 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
2767 "floating-point".
2768 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
2769 * libm/mathfp/e_atanh.c: Likewise.
2770 * libm/mathfp/e_hypot.c: Likewise.
2771 * libm/mathfp/er_lgamma.c: Likewise.
2772 * libm/mathfp/s_acos.c: Likewise.
2773 * libm/mathfp/s_asine.c: Likewise.
2774 * libm/mathfp/s_asinh.c: Likewise.
2775 * libm/mathfp/s_atan.c: Likewise.
2776 * libm/mathfp/s_atan2.c: Likewise.
2777 * libm/mathfp/s_atangent.c: Likewise.
2778 * libm/mathfp/s_cosh.c: Likewise.
2779 * libm/mathfp/s_exp.c: Likewise.
2780 * libm/mathfp/s_fmod.c: Likewise.
2781 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
2782 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
2783 "floating-point". Use "nonzero".
2784 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2785 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2786 * libm/mathfp/s_sineh.c: Likewise.
2787 * libm/mathfp/w_jn.c: Likewise.
2788
b11926e7
JJ
27892003-10-15 Alexandre Oliva <aoliva@redhat.com>
2790
2791 * Makefile.am: Add $(MAKE) comments to multido and multiclean
2792 lines, to enable parallel make.
2793 * Makefile.in: Rebuilt.
2794
31271d5c
CF
27952003-10-14 Christopher Faylor <cgf@redhat.com>
2796
2797 * libc/time/clock.c: Clarify documentation of return value when no
2798 measurement is available.
2799
bc707cbd
JJ
28002003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
2801
2802 * libm/configure.in: Check libm_machine_dir, not machine_dir.
2803 * libm/configure: Regenerate.
2804 * libm/Makefile.in: Ditto.
2805
f4b10605
JR
28062003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
2807
2808 * libc/machine/sh/strncpy.S: New file.
2809 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
2810 * libc/machine/sh/Makefile.in: Regenerate.
2811
ce044d8f
JW
28122003-09-11 James E Wilson <wilson@specifixinc.com>
2813
2814 * MAINTAINERS: Update my e-mail address.
2815
080ef411
CV
28162003-09-10 Corinna Vinschen <corinna@vinschen.de>
2817
2818 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
2819
3a767b69
JJ
28202003-09-09 Jeff Johnston <jjohnstn@redhat.com>
2821
080ef411
CV
2822 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
2823 prototype.
2824 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
2825 _simdldcheck(). Also add unsigned cast for index variable in
2826 for loop using sizeof operators.
2827 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
2828 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
2829 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
2830 plus fix shift calculation for determining if there is a
2831 carry from word2.
3a767b69 2832
84154fcc
CV
28332003-09-09 Corinna Vinschen <corinna@vinschen.de>
2834
2835 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
2836 setgroupent for Cygwin.
2837
f1b15058
JJ
28382003-09-05 Jeff Johnston <jjohnstn@redhat.com>
2839
2840 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
2841 is different for _REENT_SMALL than when using regular reent
2842 struct.
2843
cf88c20f 28442003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 2845
b73263e4
BE
2846 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
2847 modern versions of GCC issue a warning.
2848
0a8fd4dc
BE
2849 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
2850 after continuation characters that induces a warning from modern
2851 versions of GCC.
2852
10a32423
BE
28532003-09-04 Ben Elliston <bje@wasabisystems.com>
2854
2855 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
2856 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2857
ed027a53
JJ
28582003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2859
2860 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
2861 * libc/stdlib/exit.c : Ditto.
2862 * libc/stdlib/on_exit.c: Ditto.
2863
880fa247
JJ
28642003-08-27 Corinna Vinschen <corinna@vinschen.de>
2865
2866 * libc/include/reent.h: Define stat64 as __stat64 when
2867 compiling newlib for Cygwin.
2868
54c1d7ea
JJ
28692003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2870
2871 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
2872 __stat64 when compiling newlib.
2873
0eca0750
JJ
28742003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2875
2876 * libc/include/stdio.h: Allow the io64 function prototypes for
2877 Cygwin when compiling newlib.
2878 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
2879 to expose the Cygwin struct __stat64 type.
2880 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
2881 pointer.
2882 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2883
9d4aef19
CF
28842003-08-23 Christopher Faylor <cgf@redhat.com>
2885
2886 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
2887 definition to fseeko64.
2888
9fc9e1c9
JJ
28892003-08-22 Jeff Johnston <jjohnstn@redhat.com>
2890
2891 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
2892 * libc/stdio: Globally remove/replace all references to fp->_data.
2893 Replace with _REENT or _GLOBAL_REENT where appropriate.
2894 * libc/stdio/asprintf.c: Ditto.
2895 * libc/stdio/fclose.c: Ditto.
2896 * libc/stdio/fvwrite.c: Ditto.
2897 * libc/stdio/makebuf.c: Ditto.
2898 * libc/stdio/refill.c: Ditto.
2899 * libc/stdio/local.h: Ditto.
2900 * libc/stdio/setvbuf.c: Ditto.
2901 * libc/stdio/sscanf.c: Ditto.
2902 * libc/stdio/stdio.c: Ditto.
2903 * libc/stdio/ungetc.c: Ditto.
2904 * libc/stdio/vfscanf.c: Ditto.
2905 * libc/stdio/vsscanf.c: Ditto.
2906 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
2907 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
2908 * libc/stdio/vsnprintf.c: Ditto.
2909 * libc/stdio/vsprintf.c: Ditto.
2910 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
2911 instead of _REENT to walk file list.
2912 * libc/stdio/fflush.c: Ditto.
2913 * libc/stdio/fgetpos.c: Add reentrant version and have regular
2914 version call reentrant version with _REENT argument.
2915 * libc/stdio/fsetpos.c: Ditto.
2916 * libc/stdio/fseek.c: Ditto.
2917 * libc/stdio/fseeko.c: Ditto.
2918 * libc/stdio/ftell.c: Ditto.
2919 * libc/stdio/ftello.c: Ditto.
2920 * libc/stdio/freopen.c: Ditto.
2921 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
2922 new files to chain. Also use _GLOBAL_REENT pointer for
2923 cleaning up.
2924 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
2925 * libc/stdio/siprintf.c: Ditto.
2926 * libc/stdio/iprintf.c: Ditto.
2927 * libc/stdio/fprintf.c: Ditto.
2928 * libc/stdio/printf.c: Ditto.
2929 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
2930 * libc/stdio/sprintf.c: Ditto.
2931 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
2932 * libc/stdio/rewind.c: Call _fseek_r directly.
2933 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
2934 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
2935 data pointer.
2936 (get_arg): Add extra struct _reent pointer argument.
2937 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
2938 to fp->_data.
2939 * libc/stdio64/fopen64.c: Ditto.
2940 * libc/stdio64/freopen64.c: Ditto.
2941 * libc/stdio64/fsetpos64.c: Ditto.
2942 * libc/stdio64/ftello64.c: Ditto.
2943 * libc/stdio64/local64.h: Ditto.
2944 * libc/stdio64/stdio64.c: Ditto.
2945 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
2946 _fstat64_r for the meantime.
2947
8f021114
JJ
29482003-08-19 Jeff Johnston <jjohnstn@redhat.com>
2949
2950 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
2951 overflow detection.
2952
db979bb4
JJ
29532003-08-13 Aldy Hernandez <aldyh@redhat.com>
2954
2955 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
2956 extern "C".
2957
6efbdc7d
JJ
29582003-08-13 Jeff Johnston <jjohnstn@redhat.com>
2959
2960 * libc/include/math.h: Add prototypes for __signbitf and
2961 __signbitd.
2962
e895fc20
JJ
29632003-07-31 Jeff Johnston <jjohnstn@redhat.com>
2964
2965 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
2966 correct type of conversion when dealing with EUCJP or SJIS.
2967 * libc/ctype/iswblank.c: Ditto.
2968 * libc/ctype/iswcntrl.c: Ditto.
2969 * libc/ctype/iswprint.c: Ditto.
2970 * libc/ctype/iswpunct.c: Ditto.
2971 * libc/ctype/iswspace.c: Ditto.
2972 * libc/ctype/towlower.c: Ditto.
2973 * libc/ctype/towupper.c: Ditto.
2974
0302dfe5
NC
29752003-07-31 Nick Clifton <nickc@redhat.com>
2976
2977 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
2978 before calling main, in case it saves its argument registers.
2979 Remove reference to deleted v850ea port.
2980 * configure.host: Remove reference to deleted v850ea port.
2981 Do not use -mv850 when building for v850e target. This
2982 prevents the ctbp system register from being initialised.
2983
42de5592
JJ
29842003-07-29 Honda Hiroki <hhonda@ipflex.com>
2985
2986 * libc/stdio/vfprintf.c: Set output size to 1 when
2987 we have %f format with precision 0 and # flag not specified.
2988
e5de27b6
AO
29892003-07-29 Alexandre Oliva <aoliva@redhat.com>
2990
2991 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
2992 .am33_2.
2993
3c98a593
CF
29942003-07-25 Christopher Faylor <cgf@redhat.com>
2995
2996 * libc/stdio64/fdopen64.c: Include sys/lock.h.
2997
e222bf67
CF
29982003-07-25 Christopher Faylor <cgf@redhat.com>
2999
3000 * configure.host: Find cygwin include directory, when appropriate.
3001
03536757
CF
30022003-07-24 Christopher Faylor <cgf@redhat.com>
3003
3004 * libc/stdio64/fdopen64.c: New file.
3005 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
3006 * libc/stdio64/Makefile.in: Regenerate.
3007 * libc/include/stdio.h (fdopen64): Define.
3008 * libc/include/stdio.h (_fdopen64_r): Ditto.
3009
18072a4f
AO
30102003-07-10 Alexandre Oliva <aoliva@redhat.com>
3011
3012 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
3013 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
3014 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
3015 restore callee-saved FP registers.
3016
e0bec12f
JR
30172003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
3018
3019 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
3020 for __sh__.
3021 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
3022 truncate.c.
3023 * libc/sys/sh/Makefile.in: Regenerate.
3024 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
3025 * libc/sys/sh/ftruncate.c: New file.
3026 * libc/sys/sh/truncate.c: Likewise.
3027
03d65dd9
AO
30282003-07-09 Alexandre Oliva <aoliva@redhat.com>
3029
3030 * libc/include/math.h (nan, nanf): Update prototype to C99.
3031 * libm/common/s_nan.c (nan): Likewise.
3032 * libm/common/s_nanf.c (nanf, nan): Likewise.
3033 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
3034
74aa9d7d
JJ
30352003-07-07 Jeff Johnston <jjohnstn@redhat.com>
3036
3037 * libc/include/stdbool.h: Removed as this is defined by gcc.
3038
0a447ef3
JJ
30392003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
3040
3041 * libc/include/stdbool.h: New header file defined by C99.
3042
282eff9a
JJ
30432003-07-02 Jeff Johnston <jjohnstn@redhat.com>
3044
3045 * libc/include/sys/types.h (int8_t): Make signed.
3046
4e989b11
JJ
30472003-07-02 Jeff Johnston <jjohnstn@redhat.com>
3048
3049 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
3050
07b40cf8
JJ
30512003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
3052
3053 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
3054 on if we actually created the shared memory file exclusively.
3055
7daa7891
JJ
30562003-06-27 Joe Vornehm <joev@mitre.org>
3057
3058 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
3059 comparisons to account for unsigned internal value w.
3060
51fa7562
JJ
30612003-06-26 Jeff Johnston <jjohnstn@redhat.com>
3062
3063 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
3064 wrbuf for a non-creating open.
3065
b8f7ea5c
JJ
30662003-06-24 Kazu Hirata <kazu@cs.umass.edu>
3067
3068 * libc/machine/h8300/setarch.h: New.
3069 * libc/machine/h8300/memcpy.S: Use it.
3070 * libc/machine/h8300/memset.S: Likewise.
3071 * libc/machine/h8300/reg_memcpy.S: Likewise.
3072 * libc/machine/h8300/reg_memset.S: Likewise.
3073 * libc/machine/h8300/setjmp.S: Likewise.
3074 * libc/machine/h8300/strcmp.S: Likewise.
3075
6d7ea52a
RS
30762003-06-24 Richard Sandiford <rsandifo@redhat.com>
3077
3078 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
3079 to atexit().
3080
5a74f2aa
JJ
30812003-06-20 Jeff Johnston <jjohnstn@redhat.com>
3082
3083 * configure.host (iq2000): Add tabs.
3084
8266e478
JJ
30852003-06-20 Jeff Johnston <jjohnstn@redhat.com>
3086
3087 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
3088 to handle latest on_exit change.
3089 * libc/sys/linux/Makefile.am: Remove special compilation
3090 for malloc.c and mcheck.c.
3091 * libc/sys/linux/Makefile.in: Regenerated.
3092 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
3093 after including <features.h>.
3094 * libc/sys/linux/mcheck.c: Ditto.
3095 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
3096 for <features.h>.
3097 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
3098 add -DNOT_IN_libc to C flags.
3099 * libc/sys/linux/intl/Makefile.in: Regenerated.
3100 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
3101 * libc/sys/linux/linuxthreads/semaphore.h: Include
3102 <bits/pthreadtypes.h>.
3103 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
3104 including <features.h>.
3105 * libc/sys/linux/sys/lock.h: Ditto.
3106
0efe117b
NC
31072003-06-11 Nick Clifton <nickc@redhat.com>
3108
3109 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
3110 _on_exit_args_ptr.
3111
bfdfd7e6
AG
31122003-06-10 Stan Cox <scox@redhat.com>
3113 Anthony Green <green@redhat.com>
3114
3115 * configure.host: Add iq2000 support.
3116 * newlib/libc/include/machine/ieeefp.h: Ditto.
3117 * newlib/libc/include/machine/setjmp.h: Ditto.
3118 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
3119 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
3120 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
3121 libc/machine/iq2000/Makefile.in: New files.
3122
d9e4104b
RS
31232003-06-10 Richard Sandiford <rsandifo@redhat.com>
3124
3125 * libc/sys/h8300hms/setarch.h: New file.
3126 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
3127 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
3128 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
3129 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
3130
729d1ff9
JJ
31312003-06-06 Jeff Johnston <jjohnstn@redhat.com>
3132
3133 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
3134 definition.
3135 * libc/argz/argz_add_sep.c: Ditto.
3136 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
3137 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
3138 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
3139 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
3140 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
3141 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
3142 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
3143 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
3144 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
3145 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
3146 * libc/posix/execl.c libc/posix/execle.c: Ditto.
3147 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
3148 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
3149 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
3150 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
3151 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
3152 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
3153 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
3154 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
3155 * libc/search/twalk.c libc/signal/signal.c: Ditto.
3156
75d7d177
NC
31572003-06-05 Nick Clifton <nickc@redhat.com>
3158
3159 * libc/include/sys/reent.h (struct _on_exit_args): New
3160 structure containing fields used by the on_exit() function.
3161 (struct _atexit): Include struct _on_exit_args. For
3162 _REENT_SMALL do his via a pointer that is initialised when
3163 needed.
3164 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
3165 structure, if one has been allocated.
3166 * libc/stdlib/atexit.c (atexit): Update indirection to
3167 _fntypes field.
3168 * libc/stdlib/on_exit.c (on_exit): Indirect via the
3169 _on_exit_args structure. For _REENT_SMALL, allocate a
3170 structure if one does not exist.
3171 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
3172 structure.
3173
2129f283
JJ
31742003-06-04 Jeff Johnston <jjohnstn@redhat.com>
3175
3176 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
3177 * libc/sys/linux/net/Makefile.in: Regenerated.
3178
bf3bcac2
JJ
31792003-06-03 Jeff Johnston <jjohnstn@redhat.com>
3180
3181 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
3182 * libc/reent/fcntlr.c: Ditto.
3183 * libc/reent/fstat64r.c: Ditto.
3184 * libc/reent/linkr.c: Ditto.
3185 * libc/reent/lseek64r.c: Ditto.
3186 * libc/reent/lseekr.c: Ditto.
3187 * libc/reent/openr.c: Ditto.
3188 * libc/reent/readr.c: Ditto.
3189 * libc/reent/reent.c: Ditto.
3190 * libc/reent/sbrkr.c: Ditto.
3191 * libc/reent/signalr.c: Ditto.
3192 * libc/reent/signgam.c: Ditto.
3193 * libc/reent/statr.c: Ditto.
3194 * libc/reent/timer.c: Ditto.
3195 * libc/reent/unlinkr.c: Ditto.
3196 * libc/reent/writer.c: Ditto.
3197 * libc/syscalls/sysclose.c: Ditto.
3198 * libc/syscalls/sysexecve.c: Ditto.
3199 * libc/syscalls/sysfcntl.c: Ditto.
3200 * libc/syscalls/sysfork.c: Ditto.
3201 * libc/syscalls/sysfstat.c: Ditto.
3202 * libc/syscalls/sysgetpid.c: Ditto.
3203 * libc/syscalls/sysgettod.c: Ditto.
3204 * libc/syscalls/syskill.c: Ditto.
3205 * libc/syscalls/syslink.c: Ditto.
3206 * libc/syscalls/syslseek.c: Ditto.
3207 * libc/syscalls/sysopen.c: Ditto.
3208 * libc/syscalls/sysread.c: Ditto.
3209 * libc/syscalls/syssbrk.c: Ditto.
3210 * libc/syscalls/sysstat.c: Ditto.
3211 * libc/syscalls/systimes.c: Ditto.
3212 * libc/syscalls/sysunlink.c: Ditto.
3213 * libc/syscalls/syswait.c: Ditto.
3214 * libc/syscalls/syswrite.c: Ditto.
3215
702ceb23
JJ
32162003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
3217
3218 * libc/time/tzset_r.c: Change local variables that are
3219 set via sscanf using the %h format specifier to be unsigned short
3220 instead of int.
3221
102861c9
JJ
32222003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
3223
3224 * configure.host: Allow i[34567]86 variant.
3225 * configure.in: Likewise.
3226 * README: Likewise to the docs.
3227 * configure: Regenerated.
3228 * Makefile.in: Ditto.
3229
b359e82c
JJ
32302003-05-28 Jeff Johnston <jjohnstn@redhat.com>
3231 Tom Fitzsimmons <fitzsim@redhat.com>
3232
3233 * configure.in: Add iconvdata support for x86 linux.
3234 * configure: Regenerated.
3235 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
3236 library, iconv, and linuxthreads support.
3237 * libc/sys/linux/configure.in: Ditto.
3238 * libc/sys/linux/Makefile.in: Regenerated.
3239 * libc/sys/linux/configure: Ditto.
3240 * iconvdata/EUC-JP.irreversible: New file.
3241 * iconvdata/Makefile.am: Ditto.
3242 * iconvdata/Makefile.in: Ditto.
3243 * iconvdata/SJIS.irreversible: Ditto.
3244 * iconvdata/aclocal.m4: Ditto.
3245 * iconvdata/configure: Ditto.
3246 * iconvdata/configure.in: Ditto.
3247 * iconvdata/dummy.c: Ditto.
3248 * iconvdata/euc-jp.c: Ditto.
3249 * iconvdata/gconv-modules: Ditto.
3250 * iconvdata/jis0201.c: Ditto.
3251 * iconvdata/jis0201.h: Ditto.
3252 * iconvdata/jis0208.c: Ditto.
3253 * iconvdata/jis0208.h: Ditto.
3254 * iconvdata/jis0212.c: Ditto.
3255 * iconvdata/jis0212.h: Ditto.
3256 * iconvdata/sjis.c: Ditto.
3257 * libc/include/errno.h: Protect definition of error_t.
3258 * libc/sys/linux/gethostid.c: New file.
3259 * libc/sys/linux/sethostid.c: Ditto.
3260 * libc/sys/linux/dl/Makefile.am: Ditto.
3261 * libc/sys/linux/dl/Makefile.in: Ditto.
3262 * libc/sys/linux/dl/abi-tag.h: Ditto.
3263 * libc/sys/linux/dl/atomicity.h: Ditto.
3264 * libc/sys/linux/dl/dl-addr.c: Ditto.
3265 * libc/sys/linux/dl/dl-cache.c: Ditto.
3266 * libc/sys/linux/dl/dl-cache.h: Ditto.
3267 * libc/sys/linux/dl/dl-close.c: Ditto.
3268 * libc/sys/linux/dl/dl-debug.c: Ditto.
3269 * libc/sys/linux/dl/dl-deps.c: Ditto.
3270 * libc/sys/linux/dl/dl-dst.h: Ditto.
3271 * libc/sys/linux/dl/dl-error.c: Ditto.
3272 * libc/sys/linux/dl/dl-fini.c: Ditto.
3273 * libc/sys/linux/dl/dl-init.c: Ditto.
3274 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
3275 * libc/sys/linux/dl/dl-libc.c: Ditto.
3276 * libc/sys/linux/dl/dl-librecon.h: Ditto.
3277 * libc/sys/linux/dl/dl-load.c: Ditto.
3278 * libc/sys/linux/dl/dl-lookup.c: Ditto.
3279 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
3280 * libc/sys/linux/dl/dl-minimal.c: Ditto.
3281 * libc/sys/linux/dl/dl-misc.c: Ditto.
3282 * libc/sys/linux/dl/dl-object.c: Ditto.
3283 * libc/sys/linux/dl/dl-open.c: Ditto.
3284 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
3285 * libc/sys/linux/dl/dl-profile.c: Ditto.
3286 * libc/sys/linux/dl/dl-profstub.c: Ditto.
3287 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3288 * libc/sys/linux/dl/dl-runtime.c: Ditto.
3289 * libc/sys/linux/dl/dl-support.c: Ditto.
3290 * libc/sys/linux/dl/dl-sym.c: Ditto.
3291 * libc/sys/linux/dl/dl-version.c: Ditto.
3292 * libc/sys/linux/dl/dlfcn.h: Ditto.
3293 * libc/sys/linux/dl/do-lookup.h: Ditto.
3294 * libc/sys/linux/dl/do-rel.h: Ditto.
3295 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3296 * libc/sys/linux/dl/kernel-features.h: Ditto.
3297 * libc/sys/linux/dl/ldsodefs.h: Ditto.
3298 * libc/sys/linux/dl/libintl.h: Ditto.
3299 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
3300 * libc/sys/linux/dl/unsecvars.h: Ditto.
3301 * libc/sys/linux/iconv/Makefile.am: Ditto.
3302 * libc/sys/linux/iconv/Makefile.in: Ditto.
3303 * libc/sys/linux/iconv/categories.def: Ditto.
3304 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
3305 * libc/sys/linux/iconv/gconv.c: Ditto.
3306 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
3307 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
3308 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
3309 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
3310 * libc/sys/linux/iconv/gconv_close.c: Ditto.
3311 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
3312 * libc/sys/linux/iconv/gconv_db.c: Ditto.
3313 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
3314 * libc/sys/linux/iconv/gconv_int.h: Ditto.
3315 * libc/sys/linux/iconv/gconv_open.c: Ditto.
3316 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3317 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
3318 * libc/sys/linux/iconv/hash-string.h: Ditto.
3319 * libc/sys/linux/iconv/iconv.c: Ditto.
3320 * libc/sys/linux/iconv/iconv.h: Ditto.
3321 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
3322 * libc/sys/linux/iconv/iconv_close.c: Ditto.
3323 * libc/sys/linux/iconv/iconv_open.c: Ditto.
3324 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
3325 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
3326 * libc/sys/linux/iconv/loadinfo.h: Ditto.
3327 * libc/sys/linux/iconv/localeinfo.h: Ditto.
3328 * libc/sys/linux/iconv/loop.c: Ditto.
3329 * libc/sys/linux/iconv/skeleton.c: Ditto.
3330 * libc/sys/linux/iconv/strtab.c: Ditto.
3331 * libc/sys/linux/include/dl-hash.h: Ditto.
3332 * libc/sys/linux/include/dlfcn.h: Ditto.
3333 * libc/sys/linux/include/fnmatch.h: Ditto.
3334 * libc/sys/linux/include/gconv.h: Ditto.
3335 * libc/sys/linux/include/glob.h: Ditto.
3336 * libc/sys/linux/include/hesiod.h: Ditto.
3337 * libc/sys/linux/include/ifaddrs.h: Ditto.
3338 * libc/sys/linux/include/libc_private.h: Ditto.
3339 * libc/sys/linux/include/link.h: Ditto.
3340 * libc/sys/linux/include/namespace.h: Ditto.
3341 * libc/sys/linux/include/netconfig.h: Ditto.
3342 * libc/sys/linux/include/netdb.h: Ditto.
3343 * libc/sys/linux/include/nsswitch.h: Ditto.
3344 * libc/sys/linux/include/regex.h: Ditto.
3345 * libc/sys/linux/include/resolv.h: Ditto.
3346 * libc/sys/linux/include/rune.h: Ditto.
3347 * libc/sys/linux/include/runetype.h: Ditto.
3348 * libc/sys/linux/include/semaphore.h: Ditto.
3349 * libc/sys/linux/include/setlocale.h: Ditto.
3350 * libc/sys/linux/include/un-namespace.h: Ditto.
3351 * libc/sys/linux/include/wordexp.h: Ditto.
3352 * libc/sys/linux/include/arpa/ftp.h: Ditto.
3353 * libc/sys/linux/include/arpa/inet.h: Ditto.
3354 * libc/sys/linux/include/arpa/nameser.h: Ditto.
3355 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
3356 * libc/sys/linux/include/arpa/telnet.h: Ditto.
3357 * libc/sys/linux/include/arpa/tftp.h: Ditto.
3358 * libc/sys/linux/include/net/bpf.h: Ditto.
3359 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
3360 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
3361 * libc/sys/linux/include/net/bridge.h: Ditto.
3362 * libc/sys/linux/include/net/ethernet.h: Ditto.
3363 * libc/sys/linux/include/net/fddi.h: Ditto.
3364 * libc/sys/linux/include/net/if.h: Ditto.
3365 * libc/sys/linux/include/net/if_arc.h: Ditto.
3366 * libc/sys/linux/include/net/if_arp.h: Ditto.
3367 * libc/sys/linux/include/net/if_atm.h: Ditto.
3368 * libc/sys/linux/include/net/if_dl.h: Ditto.
3369 * libc/sys/linux/include/net/if_gif.h: Ditto.
3370 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
3371 * libc/sys/linux/include/net/if_llc.h: Ditto.
3372 * libc/sys/linux/include/net/if_media.h: Ditto.
3373 * libc/sys/linux/include/net/if_mib.h: Ditto.
3374 * libc/sys/linux/include/net/if_ppp.h: Ditto.
3375 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
3376 * libc/sys/linux/include/net/if_slvar.h: Ditto.
3377 * libc/sys/linux/include/net/if_sppp.h: Ditto.
3378 * libc/sys/linux/include/net/if_stf.h: Ditto.
3379 * libc/sys/linux/include/net/if_tap.h: Ditto.
3380 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
3381 * libc/sys/linux/include/net/if_tun.h: Ditto.
3382 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
3383 * libc/sys/linux/include/net/if_types.h: Ditto.
3384 * libc/sys/linux/include/net/if_var.h: Ditto.
3385 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
3386 * libc/sys/linux/include/net/intrq.h: Ditto.
3387 * libc/sys/linux/include/net/iso88025.h: Ditto.
3388 * libc/sys/linux/include/net/net_osdep.h: Ditto.
3389 * libc/sys/linux/include/net/netisr.h: Ditto.
3390 * libc/sys/linux/include/net/pfil.h: Ditto.
3391 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
3392 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
3393 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
3394 * libc/sys/linux/include/net/radix.h: Ditto.
3395 * libc/sys/linux/include/net/raw_cb.h: Ditto.
3396 * libc/sys/linux/include/net/route.h: Ditto.
3397 * libc/sys/linux/include/net/slcompress.h: Ditto.
3398 * libc/sys/linux/include/net/slip.h: Ditto.
3399 * libc/sys/linux/include/net/zlib.h: Ditto.
3400 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
3401 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
3402 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
3403 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
3404 * libc/sys/linux/include/netinet/igmp.h: Ditto.
3405 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
3406 * libc/sys/linux/include/netinet/in.h: Ditto.
3407 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
3408 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
3409 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
3410 * libc/sys/linux/include/netinet/in_var.h: Ditto.
3411 * libc/sys/linux/include/netinet/ip.h: Ditto.
3412 * libc/sys/linux/include/netinet/ip6.h: Ditto.
3413 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
3414 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
3415 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
3416 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
3417 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
3418 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
3419 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
3420 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
3421 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
3422 * libc/sys/linux/include/netinet/tcp.h: Ditto.
3423 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
3424 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
3425 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
3426 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
3427 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
3428 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
3429 * libc/sys/linux/include/netinet/udp.h: Ditto.
3430 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
3431 * libc/sys/linux/include/netinet6/ah.h: Ditto.
3432 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
3433 * libc/sys/linux/include/netinet6/esp.h: Ditto.
3434 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
3435 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
3436 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
3437 * libc/sys/linux/include/netinet6/in6.h: Ditto.
3438 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
3439 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
3440 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
3441 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
3442 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
3443 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
3444 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
3445 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
3446 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
3447 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
3448 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
3449 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
3450 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
3451 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
3452 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
3453 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
3454 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
3455 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
3456 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
3457 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
3458 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
3459 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
3460 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
3461 * libc/sys/linux/include/netns/idp.h: Ditto.
3462 * libc/sys/linux/include/netns/idp_var.h: Ditto.
3463 * libc/sys/linux/include/netns/ns.h: Ditto.
3464 * libc/sys/linux/include/netns/ns_error.h: Ditto.
3465 * libc/sys/linux/include/netns/ns_if.h: Ditto.
3466 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
3467 * libc/sys/linux/include/netns/sp.h: Ditto.
3468 * libc/sys/linux/include/netns/spidp.h: Ditto.
3469 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
3470 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
3471 * libc/sys/linux/include/netns/spp_var.h: Ditto.
3472 * libc/sys/linux/include/rpc/Makefile: Ditto.
3473 * libc/sys/linux/include/rpc/auth.h: Ditto.
3474 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
3475 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
3476 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
3477 * libc/sys/linux/include/rpc/clnt.h: Ditto.
3478 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
3479 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
3480 * libc/sys/linux/include/rpc/des.h: Ditto.
3481 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
3482 * libc/sys/linux/include/rpc/nettype.h: Ditto.
3483 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
3484 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
3485 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
3486 * libc/sys/linux/include/rpc/raw.h: Ditto.
3487 * libc/sys/linux/include/rpc/rpc.h: Ditto.
3488 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
3489 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
3490 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
3491 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
3492 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
3493 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
3494 * libc/sys/linux/include/rpc/svc.h: Ditto.
3495 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
3496 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
3497 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
3498 * libc/sys/linux/include/rpc/types.h: Ditto.
3499 * libc/sys/linux/include/rpc/xdr.h: Ditto.
3500 * libc/sys/linux/intl/Makefile.am: Ditto.
3501 * libc/sys/linux/intl/Makefile.in: Ditto.
3502 * libc/sys/linux/intl/bindtextdom.c: Ditto.
3503 * libc/sys/linux/intl/catgets.c: Ditto.
3504 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
3505 * libc/sys/linux/intl/config.h: Ditto.
3506 * libc/sys/linux/intl/dcgettext.c: Ditto.
3507 * libc/sys/linux/intl/dcigettext.c: Ditto.
3508 * libc/sys/linux/intl/dcngettext.c: Ditto.
3509 * libc/sys/linux/intl/dgettext.c: Ditto.
3510 * libc/sys/linux/intl/dngettext.c: Ditto.
3511 * libc/sys/linux/intl/explodename.c: Ditto.
3512 * libc/sys/linux/intl/finddomain.c: Ditto.
3513 * libc/sys/linux/intl/gettext.c: Ditto.
3514 * libc/sys/linux/intl/gettext.h: Ditto.
3515 * libc/sys/linux/intl/gettextP.h: Ditto.
3516 * libc/sys/linux/intl/hash-string.h: Ditto.
3517 * libc/sys/linux/intl/l10nflist.c: Ditto.
3518 * libc/sys/linux/intl/loadinfo.h: Ditto.
3519 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
3520 * libc/sys/linux/intl/locale.alias: Ditto.
3521 * libc/sys/linux/intl/localealias.c: Ditto.
3522 * libc/sys/linux/intl/ngettext.c: Ditto.
3523 * libc/sys/linux/intl/open_catalog.c: Ditto.
3524 * libc/sys/linux/intl/plural.c: Ditto.
3525 * libc/sys/linux/intl/plural.y: Ditto.
3526 * libc/sys/linux/intl/stpcpy.c: Ditto.
3527 * libc/sys/linux/intl/textdomain.c: Ditto.
3528 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
3529 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3530 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
3531 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
3532 * libc/sys/linux/linuxthreads/attr.c: Ditto.
3533 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
3534 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
3535 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
3536 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
3537 * libc/sys/linux/linuxthreads/config.h: Ditto.
3538 * libc/sys/linux/linuxthreads/configure: Ditto.
3539 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3540 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
3541 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
3542 * libc/sys/linux/linuxthreads/events.c: Ditto.
3543 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
3544 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
3545 * libc/sys/linux/linuxthreads/internals.h: Ditto.
3546 * libc/sys/linux/linuxthreads/join.c: Ditto.
3547 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
3548 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
3549 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
3550 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
3551 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
3552 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
3553 * libc/sys/linux/linuxthreads/manager.c: Ditto.
3554 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
3555 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
3556 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
3557 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
3558 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
3559 * libc/sys/linux/linuxthreads/prio.c: Ditto.
3560 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
3561 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
3562 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
3563 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
3564 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
3565 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
3566 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
3567 * libc/sys/linux/linuxthreads/queue.h: Ditto.
3568 * libc/sys/linux/linuxthreads/reent.c: Ditto.
3569 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
3570 * libc/sys/linux/linuxthreads/restart.h: Ditto.
3571 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
3572 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
3573 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
3574 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
3575 * libc/sys/linux/linuxthreads/signals.c: Ditto.
3576 * libc/sys/linux/linuxthreads/specific.c: Ditto.
3577 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
3578 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
3579 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
3580 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
3581 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
3582 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
3583 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
3584 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
3585 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
3586 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
3587 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
3588 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
3589 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
3590 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
3591 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
3592 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
3593 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
3594 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
3595 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
3596 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
3597 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
3598 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
3599 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
3600 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
3601 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
3602 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
3603 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
3604 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
3605 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
3606 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
3607 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
3608 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
3609 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
3610 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
3611 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
3612 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
3613 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
3614 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
3615 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
3616 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
3617 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
3618 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
3619 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
3620 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
3621 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
3622 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
3623 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
3624 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
3625 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
3626 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
3627 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
3628 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
3629 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
3630 * libc/sys/linux/linuxthreads/unload.c: Ditto.
3631 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
3632 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
3633 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
3634 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
3635 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
3636 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
3637 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
3638 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
3639 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
3640 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
3641 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
3642 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
3643 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
3644 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3645 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
3646 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3647 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
3648 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
3649 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
3650 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
3651 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
3652 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3653 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
3654 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
3655 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
3656 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
3657 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
3658 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
3659 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
3660 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
3661 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
3662 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3663 * libc/sys/linux/net/Makefile.am: Ditto.
3664 * libc/sys/linux/net/Makefile.in: Ditto.
3665 * libc/sys/linux/net/addr2ascii.3: Ditto.
3666 * libc/sys/linux/net/addr2ascii.c: Ditto.
3667 * libc/sys/linux/net/ascii2addr.c: Ditto.
3668 * libc/sys/linux/net/base64.c: Ditto.
3669 * libc/sys/linux/net/bindresvport.c: Ditto.
3670 * libc/sys/linux/net/byteorder.3: Ditto.
3671 * libc/sys/linux/net/ether_addr.c: Ditto.
3672 * libc/sys/linux/net/ethers.3: Ditto.
3673 * libc/sys/linux/net/getaddrinfo.3: Ditto.
3674 * libc/sys/linux/net/getaddrinfo.c: Ditto.
3675 * libc/sys/linux/net/gethostbydns.c: Ditto.
3676 * libc/sys/linux/net/gethostbyht.c: Ditto.
3677 * libc/sys/linux/net/gethostbyname.3: Ditto.
3678 * libc/sys/linux/net/gethostbynis.c: Ditto.
3679 * libc/sys/linux/net/gethostnamadr.c: Ditto.
3680 * libc/sys/linux/net/getifaddrs.3: Ditto.
3681 * libc/sys/linux/net/getifaddrs.c: Ditto.
3682 * libc/sys/linux/net/getipnodebyname.3: Ditto.
3683 * libc/sys/linux/net/getnameinfo.3: Ditto.
3684 * libc/sys/linux/net/getnameinfo.c: Ditto.
3685 * libc/sys/linux/net/getnetbydns.c: Ditto.
3686 * libc/sys/linux/net/getnetbyht.c: Ditto.
3687 * libc/sys/linux/net/getnetbynis.c: Ditto.
3688 * libc/sys/linux/net/getnetent.3: Ditto.
3689 * libc/sys/linux/net/getnetnamadr.c: Ditto.
3690 * libc/sys/linux/net/getproto.c: Ditto.
3691 * libc/sys/linux/net/getprotoent.3: Ditto.
3692 * libc/sys/linux/net/getprotoent.c: Ditto.
3693 * libc/sys/linux/net/getprotoname.c: Ditto.
3694 * libc/sys/linux/net/getservbyname.c: Ditto.
3695 * libc/sys/linux/net/getservbyport.c: Ditto.
3696 * libc/sys/linux/net/getservent.3: Ditto.
3697 * libc/sys/linux/net/getservent.c: Ditto.
3698 * libc/sys/linux/net/herror.c: Ditto.
3699 * libc/sys/linux/net/hesiod.3: Ditto.
3700 * libc/sys/linux/net/hesiod.c: Ditto.
3701 * libc/sys/linux/net/if_indextoname.3: Ditto.
3702 * libc/sys/linux/net/ifname.c: Ditto.
3703 * libc/sys/linux/net/inet.3: Ditto.
3704 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
3705 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
3706 * libc/sys/linux/net/inet_addr.c: Ditto.
3707 * libc/sys/linux/net/inet_lnaof.c: Ditto.
3708 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
3709 * libc/sys/linux/net/inet_net.3: Ditto.
3710 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
3711 * libc/sys/linux/net/inet_net_pton.c: Ditto.
3712 * libc/sys/linux/net/inet_neta.c: Ditto.
3713 * libc/sys/linux/net/inet_netof.c: Ditto.
3714 * libc/sys/linux/net/inet_network.c: Ditto.
3715 * libc/sys/linux/net/inet_ntoa.c: Ditto.
3716 * libc/sys/linux/net/inet_ntop.c: Ditto.
3717 * libc/sys/linux/net/inet_pton.c: Ditto.
3718 * libc/sys/linux/net/innetgr-stub.c: Ditto.
3719 * libc/sys/linux/net/ip6opt.c: Ditto.
3720 * libc/sys/linux/net/iso_addr.3: Ditto.
3721 * libc/sys/linux/net/iso_addr.c: Ditto.
3722 * libc/sys/linux/net/issetugid-stub.c: Ditto.
3723 * libc/sys/linux/net/linkaddr.3: Ditto.
3724 * libc/sys/linux/net/linkaddr.c: Ditto.
3725 * libc/sys/linux/net/map_v4v6.c: Ditto.
3726 * libc/sys/linux/net/name6.c: Ditto.
3727 * libc/sys/linux/net/namespace.h: Ditto.
3728 * libc/sys/linux/net/ns.3: Ditto.
3729 * libc/sys/linux/net/ns_addr.c: Ditto.
3730 * libc/sys/linux/net/ns_name.c: Ditto.
3731 * libc/sys/linux/net/ns_netint.c: Ditto.
3732 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3733 * libc/sys/linux/net/ns_parse.c: Ditto.
3734 * libc/sys/linux/net/ns_print.c: Ditto.
3735 * libc/sys/linux/net/ns_ttl.c: Ditto.
3736 * libc/sys/linux/net/nsap_addr.c: Ditto.
3737 * libc/sys/linux/net/nsdispatch.3: Ditto.
3738 * libc/sys/linux/net/nsdispatch.c: Ditto.
3739 * libc/sys/linux/net/nslexer.c: Ditto.
3740 * libc/sys/linux/net/nslexer.l: Ditto.
3741 * libc/sys/linux/net/nsparser.c: Ditto.
3742 * libc/sys/linux/net/nsparser.h: Ditto.
3743 * libc/sys/linux/net/nsparser.y: Ditto.
3744 * libc/sys/linux/net/rcmd.3: Ditto.
3745 * libc/sys/linux/net/rcmd.c: Ditto.
3746 * libc/sys/linux/net/rcmdsh.3: Ditto.
3747 * libc/sys/linux/net/rcmdsh.c: Ditto.
3748 * libc/sys/linux/net/recv.c: Ditto.
3749 * libc/sys/linux/net/res_comp.c: Ditto.
3750 * libc/sys/linux/net/res_config.h: Ditto.
3751 * libc/sys/linux/net/res_data.c: Ditto.
3752 * libc/sys/linux/net/res_debug.c: Ditto.
3753 * libc/sys/linux/net/res_init.c: Ditto.
3754 * libc/sys/linux/net/res_mkquery.c: Ditto.
3755 * libc/sys/linux/net/res_mkupdate.c: Ditto.
3756 * libc/sys/linux/net/res_query.c: Ditto.
3757 * libc/sys/linux/net/res_send.c: Ditto.
3758 * libc/sys/linux/net/res_update.c: Ditto.
3759 * libc/sys/linux/net/resolver.3: Ditto.
3760 * libc/sys/linux/net/rthdr.c: Ditto.
3761 * libc/sys/linux/net/send.c: Ditto.
3762 * libc/sys/linux/net/un-namespace.h: Ditto.
3763 * libc/sys/linux/net/vars.c: Ditto.
3764 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
3765 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3766 * libc/sys/linux/stdlib/Makefile.in: Ditto.
3767 * libc/sys/linux/stdlib/cclass.h: Ditto.
3768 * libc/sys/linux/stdlib/cname.h: Ditto.
3769 * libc/sys/linux/stdlib/collate.c: Ditto.
3770 * libc/sys/linux/stdlib/collate.h: Ditto.
3771 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3772 * libc/sys/linux/stdlib/engine.c: Ditto.
3773 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
3774 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3775 * libc/sys/linux/stdlib/glob.3: Ditto.
3776 * libc/sys/linux/stdlib/glob.c: Ditto.
3777 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3778 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3779 * libc/sys/linux/stdlib/regerror.c: Ditto.
3780 * libc/sys/linux/stdlib/regex.3: Ditto.
3781 * libc/sys/linux/stdlib/regex2.h: Ditto.
3782 * libc/sys/linux/stdlib/regexec.c: Ditto.
3783 * libc/sys/linux/stdlib/regfree.c: Ditto.
3784 * libc/sys/linux/stdlib/utils.h: Ditto.
3785 * libc/sys/linux/stdlib/wordexp.c: Ditto.
3786 * libc/sys/linux/stdlib/wordfree.c: Ditto.
3787 * libc/sys/linux/sys/dlfcn.h: Ditto.
3788 * libc/sys/linux/sys/elfclass.h: Ditto.
3789 * libc/sys/linux/sys/event.h: Ditto.
3790 * libc/sys/linux/sys/ioccom.h: Ditto.
3791 * libc/sys/linux/sys/libc-tsd.h: Ditto.
3792 * libc/sys/linux/sys/link.h: Ditto.
3793 * libc/sys/linux/sys/lock.h: Ditto.
3794 * libc/sys/linux/sys/param.h: Ditto.
3795 * libc/sys/linux/sys/socket.h: Ditto.
3796 * libc/sys/linux/sys/sockio.h: Ditto.
3797
82095e79
JJ
37982003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3799
3800 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
3801 normal mode
3802 * newlib/libc/machine/h8300/memset.S: Likewise
3803 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
3804 * newlib/lib/machine/h8300/reg_memset.S: Likewise
3805 * newlib/lib/machine/h8300/setjmp.S: Likewise
3806 * newlib/lib/machine/h8300/strcmp.S: Likewise
3807 * newlib/lib/sys/h8300hms/crt0.S: Likewise
3808
8a4b4764
CV
38092003-05-13 Corinna Vinschen <corinna@vinschen.de>
3810
3811 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
3812 * libc/include/stdio.h: Ditto.
3813 * libc/include/sys/config.h: Ditto.
3814 * libc/stdio/mktemp.c: Ditto.
3815
837e070f
CV
38162003-05-13 Corinna Vinschen <corinna@vinschen.de>
3817
3818 * libc/locale/ldpart.c (__part_load_locale): Substitute
3819 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
3820 * libc/search/hash.c (__hash_open): Ditto.
3821 (init_hash): Ditto.
3822 * libc/stdio/fseek.c (fseek): Ditto.
3823 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3824 * libc/stdio/mktemp.c (_gettemp): Ditto.
3825
b47fcdf0
CV
38262003-05-12 Corinna Vinschen <corinna@vinschen.de>
3827
3828 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
3829
11e3a520
CV
38302003-05-12 Corinna Vinschen <corinna@vinschen.de>
3831
3832 * configure.host: Accomodate removing the libc/sys/cygwin dir.
3833 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
3834 if __CYGWIN_USE_BIG_TYPES__ is set.
3835 * libc/search/hash.c (__hash_open): Ditto.
3836 (init_hash): Ditto.
3837 * libc/stdio/fseek.c (fseek): Ditto.
3838 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3839 * libc/stdio/mktemp.c (_gettemp): Ditto.
3840 * libc/sys/cygwin/Makefile.am: Remove.
3841 * libc/sys/cygwin/Makefile.in: Remove.
3842 * libc/sys/cygwin/aclocal.m4: Remove.
3843 * libc/sys/cygwin/configure: Remove.
3844 * libc/sys/cygwin/configure.in: Remove.
3845 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
3846 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
3847 directory.
3848 * libc/sys/cygwin/sys/param.h: Ditto.
3849 * libc/sys/cygwin/sys/utime.h: Ditto.
3850 * libc/sys/cygwin/sys/utmp.h: Ditto.
3851
d1b5e65b
CV
38522003-05-11 Corinna Vinschen <corinna@vinschen.de>
3853
3854 * libc/include/sys/types.h: Don't define key_t for Cygwin.
3855
ec48a953
CF
38562003-05-10 Christopher Faylor <cgf@redhat.com>
3857
3858 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
3859 64 bit inodes.
3860
a3cc5851
CV
38612003-05-09 Corinna Vinschen <corinna@vinschen.de>
3862
3863 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
3864 Include cygwin/config.h instead.
3865
57ff95d3
JJ
38662003-04-16 Jeff Johnston <jjohnstn@redhat.com>
3867
3868 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
3869 all code with #ifdef __SPE__ test.
3870 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
3871
cfd2c7be
CF
38722003-04-15 Chris January <chris@atomice.net>
3873
3874 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
3875 Cygwin.
3876
6f48c0ae
JR
38772003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
3878
3879 * libc/machine/sh/memset.S: Avoid clobbering volatile
3880 objects following a tiny to-be-set array in the same quadword.
3881
8f8d09c0
CV
38822001-04-09 Corinna Vinschen <corinna@vinschen.de>
3883
3884 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
3885 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
3886 * libc/string/Makefile.in: Regenerated.
3887 * libc/string/wcswidth.c: New file.
3888 * libc/string/wcwidth.c: New file.
3889 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
3890
40c3b2d0
JR
3891Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
3892
3893 * libc/machine/sh/memset.S: Fix problem with alloco region
3894 exceeding destination region for length >= 88 bytes, start
3895 & 0x16 == 0, end & 0x1f == 18.
3896
8ae6a3dd
CV
38972001-04-03 Corinna Vinschen <corinna@vinschen.de>
3898
3899 * libc/string/wcscoll.c: Fix comment.
3900
d122b1cc
CV
39012001-04-02 Corinna Vinschen <corinna@vinschen.de>
3902
3903 * libc/include/wchar.h: Add definition for wcscoll.
3904 * libc/string/Makefile.am: Add wcscoll.c.
3905 * libc/string/Makefile.in: Regenerated.
3906 * libc/string/wcscoll.c: New file.
3907 * libc/string/wcstrings.tex: Add wcscoll.
3908
31ee99a4
CV
39092003-04-01 Corinna Vinschen <corinna@vinschen.de>
3910
3911 * libc/stdio/sscanf.c: Update flags description.
3912 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
3913 type.
3914 (__svfscanf_r): Add 'hh' and 'll' handling.
3915
d78045ee
CV
39162003-04-01 Corinna Vinschen <corinna@vinschen.de>
3917
3918 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
3919 __d_position member to _off_t.
3920
e6bdc6c5
JJ
39212003-03-20 Jeff Johnston <jjohnstn@redhat.com>
3922
3923 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
3924 count all characters used to create number against maximum width.
3925 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3926
e65d559e
JJ
39272003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
3928
3929 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
3930 support.
3931 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
3932 flag to support simulator only extensions.
3933
6b3bb52b
JJ
39342003-03-17 Bob Cassels <bcassels@abinitio.com>
3935
3936 * libc/string/wcschr.c: (wcschr): Look for character first,
3937 then for end of string, so you can do wcschr(x, '\0').
3938
2a940c1a
CV
39392003-03-10 Corinna Vinschen <corinna@vinschen.de>
3940
3941 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
3942 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
3943 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
3944 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
3945 * libc/stdio/fseeko.c (fseeko): Ditto.
3946 * libc/stdio/ftello.c (ftello): Ditto.
3947 * libc/stdio/stdio.c (__swrite): Ditto.
3948 (__sseek): Ditto.
3949 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
3950 * libc/stdio/fseek.c (fseek): Ditto.
3951 * libc/stdio/fsetpos.c (fsetpos): Ditto.
3952 * libc/stdio/ftell.c (ftell): Ditto.
3953 * libc/stdio/local.h: Declare __sseek using _off_t.
3954
150c2818
CV
39552003-03-09 Corinna Vinschen <corinna@vinschen.de>
3956
3957 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
3958
2c440f9c
CV
39592003-03-09 Corinna Vinschen <corinna@vinschen.de>
3960
3961 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
3962 Cygwin.
3963
f882fd15
CV
39642003-03-09 Corinna Vinschen <corinna@vinschen.de>
3965
3966 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
3967 Cygwin.
3968 * libc/include/sys/stat.h: Ditto.
3969 * libc/include/sys/unistd.h: Ditto.
3970 * libc/sys/cygwin/sys/dirent.h: Ditto.
3971
01d61543
CF
39722003-03-07 Christopher Faylor <cgf@redhat.com>
3973
3974 * libc/include/sys/unistd.h: Guard getopt.h call to force only
3975 declaration of getopt and avoid getopt_long declaration.
3976 * libc/sys/cygwin/include/unistd.h: Remove.
3977
5582abd2
CV
39782003-03-07 Corinna Vinschen <corinna@vinschen.de>
3979
3980 * configure.host: Define stdio64_dir for Cygwin.
3981 * libc/include/stdio.h: Change definition of fpos_t to fulfill
3982 Cygwin 64bit file access requirements.
3983 Drop definition of f*64() functions when compiled for Cygwin.
3984 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
3985 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
3986 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
3987
641da1eb
JJ
39882003-03-07 Jeff Johnston <jjohnstn@redhat.com>
3989
3990 * libc/include/sys/reent.h: Remove extraneous _sig_func
3991 declaration.
3992
39932003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
3994
3995 * libc/sys/h8300hms/Makefile.am: Add support for new files.
3996 * libc/sys/h8300hms/Makefile.in: Regenerated.
3997 * libc/sys/h8300hms/close.S: New file.
3998 * libc/sys/h8300hms/fstat.S: Ditto.
3999 * libc/sys/h8300hms/lseek.S: Ditto.
4000 * libc/sys/h8300hms/open.S: Ditto.
4001 * libc/sys/h8300hms/stat.S: Ditto.
4002 * libc/sys/h8300hms/read.S: New file to replace read.c.
4003 * libc/sys/h8300hms/read.c: Removed.
4004 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
4005 _lseek, _close, _stat, _fstat.
4006 * libc/sys/h8300hms/write.S: New file to replace write.c.
4007 * libc/sys/h8300hms/write.c: Removed.
4008
bac50d6b
NC
40092003-02-20 Nick Clifton <nickc@redhat.com>
4010
4011 * Add support for Cirrus Maverick ARM co-processor:
4012
4013 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
4014
4015 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
4016 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
4017
4018 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
4019
4020 * configure.host: set sys_dir, syscall_dir, and
4021 newlib_cflags for ep9312 host.
4022
4023 * configure.host: Restore alpha sorting of entries in case
4024 statements.
4025
12ee7037
JJ
40262003-02-19 Jeff Johnston <jjohnstn@redhat.com>
4027
4028 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
4029
1e810ba0
JJ
40302003-02-18 Christian Groessler <chris@groessler.org>
4031
4032 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
4033 support z8001 segmented mode.
4034
b1ca765e
JJ
40352003-02-18 Earnie Boyd <earnie@users.sf.net>
4036
4037 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
4038 with a NULL value.
4039
51a46b54
CF
40402003-02-10 Christopher Faylor <cgf@redhat.com>
4041
4042 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
4043 Don't define some types under cygwin.
4044
313f1349
JJ
40452003-02-07 Jeff Johnston <jjohnstn@redhat.com>
4046
4047 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
4048 option to allow disabling of syscalls being supplied in newlib.
4049 * aclocal.m4: Regenerated.
4050 * configure: Ditto.
4051 * configure.host: Add support of new configuration option and add
4052 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
4053 * doc/aclocal.m4: Regenerated.
4054 * doc/configure: Ditto.
4055 * libc/*aclocal.m4: Ditto.
4056 * libc/*configure: Ditto.
4057 * libm/*aclocal.m4: Ditto.
4058 * libm/*configure: Ditto.
4059 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
4060 is disabled.
4061 * libc/sys/arm/Makefile.in: Regenerated.
4062
5017a3da
JJ
40632003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
4064
4065 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
4066 -1 to be sure it cannot later match a valid file fd causing
4067 isatty() to return 1.
4068 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
4069 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
4070 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
4071
ad36f7d1
JJ
40722003-02-03 Jeff Johnston <jjohnstn@redhat.com>
4073
4074 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
4075 buffer based on the precision, after we have processed the input value
4076 in a local buffer and know its relative magnitude.
4077
a74181ee
JJ
40782003-01-31 Michael Snyder <msnyder@redhat.com>
4079
4080 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
4081 into registers r1 and r2, so that the simulator can distinguish
4082 this trap from a breakpoint trap. Copied from libgloss.
4083
b85498d4
JJ
40842003-01-31 Michael Snyder <msnyder@redhat.com>
4085
4086 * libc/sys/h8300hms/crt0.S (_start): Change local label
4087 from .loop to .Loop, so that ld and gdb will ignore it.
4088
4700b829
JJ
40892003-01-29 Jason Tishler <jason@tishler.net>
4090
4091 * libc/include/time.h: Declare nanosleep() under Cygwin.
4092
0127ae40
NC
40932003-01-24 Nick Clifton <nickc@redhat.com>
4094
4095 * Add sh2e support:
4096
4097 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
4098
4099 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
4100 * libc/machine/sh/setjmp.S: Likewise.
4101 * libc/include/machine/ieeefp.h: Likewise.
4102
8bbcd9a1
CV
41032003-01-24 Corinna Vinschen <corinna@vinschen.de>
4104
4105 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
4106 for Cygwin.
4107
b8838e6f
JJ
41082003-01-21 Anita Kulkarni <anitak@kpit.com>
4109
4110 * libc/time/difftime.c : Typecast the result to double.
4111
f9e41155
CF
41122003-01-20 Christopher Faylor <cgf@redhat.com>
4113
4114 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
4115
6b5a7988
NC
41162003-01-18 Nick Clifton <nickc@redhat.com>
4117
4118 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
4119 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
4120
c3e92877
JJ
41212003-01-16 Joel Sherrill <joel@OARcorp.com>
4122
4123 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
4124 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
4125 constants are defined in each file in the shared versions in
4126 libc/include.
4127 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
4128 autoconf can link programs.
4129 * libc/include/machine/types.h: Explicitly specify signed on
4130 intXX_t types to ensure they are signed.
4131
84510217
CF
41322003-01-14 Christopher Faylor <cgf@redhat.com>
4133
4134 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
4135 extensions.
4136
b3934ab3
RS
41372003-01-08 Richard Sandiford <rsandifo@redhat.com>
4138
4139 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
4140
be9c60e5
JJ
41412003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
4142
4143 * libc/stdio/sprintf.c: fix typo
4144 * libc/stdio/vfprintf.c: fix typo
4145
d4c3a750
JJ
41462003-01-07 Jeff Johnston <jjohnstn@redhat.com>
4147
4148 * configure.host: Support long double I/O for x86-linux.
4149 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
4150 large enough to hold formatted result.
4151 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
4152
b2294aaa
JJ
41532003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
4154
4155 * Makefile.am: Add vasprintf.
4156 * Makefile.in: Regenerated.
4157
ea5e5daf
JJ
41582003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
4159
4160 * asprintf.c (_asprintf_r): insure both declarations
4161 are the same.
4162
5c581eca
CF
41632002-12-28 Christopher Faylor <cgf@redhat.com>
4164
4165 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
4166 than defining getopt directly.
4167
60b0838f
JJ
41682002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4169
4170 * NEWS: Update with 1.11.0 info.
4171 * README: Ditto.
4172 * acinclude.m4: Change version number to 1.11.0.
4173 * aclocal.m4: Regenerated.
4174 * configure: Ditto.
4175 * doc/aclocal.m4: Ditto.
4176 * doc/configure: Ditto.
4177 * libc/*/aclocal.m4: Ditto.
4178 * libc/*/configure: Ditto.
4179 * libc/libc.texinfo: Ditto.
4180 * libm/*/aclocal.m4: Ditto.
4181 * libm/*/configure: Ditto.
4182 * libm/libm.texinfo: Ditto.
4183 * libc/sys/linux/shared.ld: Add VERS_1.11.
4184
10501d57
JJ
41852002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4186
4187 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
4188 Solutions to Red Hat Inc.
4189 * libc/machine/i386/f_atan2f.S: Ditto.
4190 * libc/machine/i386/f_exp.c: Ditto.
4191 * libc/machine/i386/f_expf.c: Ditto.
4192 * libc/machine/i386/f_frexp.S: Ditto.
4193 * libc/machine/i386/f_frexpf.S: Ditto.
4194 * libc/machine/i386/f_ldexp.S: Ditto.
4195 * libc/machine/i386/f_ldexpf.S: Ditto.
4196 * libc/machine/i386/f_log.S: Ditto.
4197 * libc/machine/i386/f_log10.S: Ditto.
4198 * libc/machine/i386/f_log10f.S: Ditto.
4199 * libc/machine/i386/f_logf.S: Ditto.
4200 * libc/machine/i386/f_pow.c: Ditto.
4201 * libc/machine/i386/f_powf.c: Ditto.
4202 * libc/machine/i386/f_tan.S: Ditto.
4203 * libc/machine/i386/f_tanf.S: Ditto.
4204 * libc/machine/i386/memchr.S: Ditto.
4205 * libc/machine/i386/memcmp.S: Ditto.
4206 * libc/machine/i386/memcpy.S: Ditto.
4207 * libc/machine/i386/memmove.S: Ditto.
4208 * libc/machine/i386/memset.S: Ditto.
4209 * libc/machine/i386/strchr.S: Ditto.
4210 * libc/machine/i386/strlen.S: Ditto.
4211 * libm/machine/i386/f_atan2.S: Ditto.
4212 * libm/machine/i386/f_atan2f.S: Ditto.
4213 * libm/machine/i386/f_exp.c: Ditto.
4214 * libm/machine/i386/f_expf.c: Ditto.
4215 * libm/machine/i386/f_frexp.S: Ditto.
4216 * libm/machine/i386/f_frexpf.S: Ditto.
4217 * libm/machine/i386/f_ldexp.S: Ditto.
4218 * libm/machine/i386/f_ldexpf.S: Ditto.
4219 * libm/machine/i386/f_log.S: Ditto.
4220 * libm/machine/i386/f_log10.S: Ditto.
4221 * libm/machine/i386/f_log10f.S: Ditto.
4222 * libm/machine/i386/f_logf.S: Ditto.
4223 * libm/machine/i386/f_pow.c: Ditto.
4224 * libm/machine/i386/f_powf.c: Ditto.
4225 * libm/machine/i386/f_tan.S: Ditto.
4226 * libm/machine/i386/f_tanf.S: Ditto.
4227
9b3f0d16
JJ
42282002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4229
4230 * libc/stdlib/environ.c: Update license to Red Hat.
4231 * libc/machine/hppa/setjmp.S: Ditto.
4232 * libm/test/Makefile.in: Ditto.
4233
d693ad84
JJ
42342002-12-19 Jeff Johnston <jjohnstn@redhat.com>
4235
4236 * configure.host: Remove references to go32.
4237 * libc/sys/go32/*: Removed.
4238
7da92d15
JJ
42392002-12-16 Kazu Hirata <kazu@cs.umass.edu>
4240
4241 * libc/include/sys/config.h: Change setting of INT_MAX
4242 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
4243 __H8300S__. Also consolidate flag settings for these
4244 platforms.
4245
ea01c7f5
JJ
42462002-12-10 Joel Sherrill <joel@OARcorp.com>
4247
4248 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
4249 for i386-rtems targets.
4250
c049dd5a
JJ
42512002-12-06 Jeff Johnston <jjohnstn@redhat.com>
4252
4253 * libc/include/stdlib.h (strtof): New prototype (from C99).
4254 (strtodf): Changed from prototype to macro which redefines
4255 to strtof.
4256 * libc/stdlib/atof.c: Change documentation to refer to strtof
4257 instead of strtodf.
4258 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
4259 strtodf.
4260 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
4261 (strtof): New function.
4262 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
4263 calls strtof.
4264
46a402e0
CF
42652002-11-27 Christopher Faylor <cgf@redhat.com>
4266
4267 * libc/string/memset.c (memset): Fix comment.
4268
b3cc01b0
CF
42692002-11-26 Christopher Faylor <cgf@redhat.com>
4270
4271 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
4272 function.
4273
d90f3dc1
CF
42742002-11-25 Christopher Faylor <cgf@redhat.com>
4275
4276 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
4277 variable, introduced below, everywhere.
4278
f24585c6
KH
42792002-11-25 Kazu Hirata <kazu@cs.umass.edu>
4280
4281 * libc/string/memset.c (memset): Make it safe even if
4282 sizeof (int) = 2.
4283
2955fd76
JJ
42842002-11-22 Joe Buehler <jbuehler@hekimian.com>
4285
4286 * configure.in: Change check for libc/include in ${CC} to
4287 use an intermediate value so as to work with different shells.
4288 * configure: Regenerated.
4289 * Makefile.in: Ditto.
4290
40ce7368
JJ
42912002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
4292
4293 * libc/sys/h8300hms/read.c: Add support for normal mode
4294 architecture.
4295
505746ad
JJ
42962002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
4297
4298 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
4299 code for __H8300H__ and __H8300S__. Also return 32-bit return code
4300 when -mint32 is used.
4301
28ecb2f5
NC
43022002-11-18 Nick Clifton <nickc@redhat.com>
4303
4304 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
4305
665b994e
JJ
43062002-11-14 Jeff Johnston <jjohnstn@redhat.com>
4307
4308 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
4309 only issue one pass/fail message for a compile/link/execute.
4310 * testsuite/newlib.elix/elix.exp: New file.
4311 * testsuite/newlib.elix/tmmap.c: Ditto.
4312
e91ec2e3
CF
43132002-11-06 Christopher Faylor <cgf@redhat.com>
4314
4315 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
4316 * libc/stdlib/mlock.c: Ditto.
4317 * libc/stdlib/msize.c: Ditto.
4318 * libc/stdlib/msize.c: Ditto.
4319 * libc/stdlib/mtrim.c: Ditto.
4320 * libc/stdlib/valloc.c: Ditto.
4321
944772c7
JJ
43222002-11-12 Jeff Johnston <jjohnstn@redhat.com>
4323
4324 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
4325 for inf/nan, make sure that the check ignores the sign bit.
4326
dd7ee147
JJ
43272002-11-07 Joel Sherrill <joel@OARcorp.com>
4328
4329 * libc/sys/rtems/machine: New directory.
4330 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
4331 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
4332 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
4333 targets more BSD like when installed without requiring files to
4334 be overwritten at install point when RTEMS itself is installed.
4335 * Makefile.am: Pick up system dependent machine .h files such as
4336 might be found on a BSD-ish system.
4337 * Makefile.in: Regenerate.
4338 * libc/include/machine/types.h: When on an RTEMS target, define a
4339 few BSD flavor types.
4340
43412002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
4342
4343 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
4344
18cd62b7
JJ
43452002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4346
4347 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
4348 * libc/include/wctype.h: Ditto.
4349
d2888812
JJ
43502002-11-04 Jeff Johnston <jjohnstn@redhat.com>
4351
4352 * libc/include/wchar.h: Add extern "C" specifier if C++.
4353 * libc/include/wctype.h: Ditto.
4354
978ea3cf
JJ
43552002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4356
4357 * testsuite/newlib.wctype/tiswctype.c: New test case.
4358 * testsuite/newlib.wctype/twctrans.c: Ditto.
4359
a42cf80a
JJ
43602002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4361
4362 * libc/sys/linux/machine/i386/include/endian.h: New file.
4363 * libc/sys/linux/machine/i386/include/param.h: Ditto.
4364
c9ccb1f2
JJ
43652002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4366
4367 * libm/machine/i386/aclocal.m4: Regenerated.
4368 * libm/machine/i386/configure: Ditto.
4369
94c5b430
JJ
43702002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4371
4372 * testsuite/include/check.h: New header file to use with
4373 test cases.
4374 * testsuite/lib/newlib.exp: Add testsuite/include directory
4375 to list of header files to use.
4376 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
4377 * testsuite/newlib.wctype/wctype.exp: New file.
4378
ccdae543
RS
43792002-10-11 Graham Stott <graham.stott@btinternet.com>
4380 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
4381
4382 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
4383 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
4384 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
4385
73972116
JS
43862002-10-07 Joel Sherrill <joel@OARcorp.com>
4387
4388 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
4389 dummy programs.
4390
89e3fcba
JS
43912002-10-07 Joel Sherrill <joel@OARcorp.com>
4392
4393 * libc/include/pthread.h: Define PTHREAD_CANCELED.
4394
54ec52e4
JS
43952002-10-07 Joel Sherrill <joel@OARcorp.com>
4396
4397 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
4398 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
4399 compile with current GNU tools.
4400
d389acba
JJ
44012002-10-07 Jeff Johnston <jjohnstn@redhat.com>
4402
4403 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
4404 the build library.
4405 * configure.in: Ditto.
4406 * Makefile.in: Regenerated.
4407 * configure: Ditto.
4408 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
4409 for specifying configured libraries/directories.
4410 * libc/sys/linux/configure.in: Ditto.
4411 * libc/sys/linux/Makefile.in: Regenerated.
4412 * libc/sys/linux/configure: Ditto.
4413
af5a221f
JJ
44142002-10-03 Jeff Johnston <jjohnstn@redhat.com>
4415
4416 * libc/include/reent.h: Update documentation at start of file.
4417
59a758bd
JW
44182002-09-27 Jim Wilson <wilson@redhat.com>
4419
4420 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
4421 the ctbp register.
4422
1ed3c86d
JJ
44232002-09-27 Jeff Johnston <jjohnstn@redhat.com>
4424
4425 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
4426 Also convert to EUCJP before using arrays. For values not in
4427 the conversion arrays, return WEOF.
4428 * libc/ctype/jp2uc.h: Change from one array to a number of
4429 arrays to account for the fact that the originating table
4430 is not contiguous for the input values since some are invalid.
4431
6e1dfd2d
JJ
44322002-09-24 Jeff Johnston <jjohnstn@redhat.com>
4433
4434 * libc/time/ctime.c: Fix prototype documentation.
4435
06f1353a
CV
44362002-09-24 Corinna Vinschen <corinna@vinschen.de>
4437
4438 * libc/include/sys/errno.h: Add EOVERFLOW.
4439
1e0e64c9
JJ
44402002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4441
4442 * libc/include/wctype.h: New file.
4443
1525d127
JJ
44442002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4445
4446 * libc/ctype/Makefile.am: Add new files.
4447 * libc/ctype/Makefile.in: Regenerated.
4448 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
4449 and wctrans functions to documentation index.
4450 * libc/ctype/iswalnum.c: New file.
4451 * libc/ctype/iswalpha.c: Ditto.
4452 * libc/ctype/iswblank.c: Ditto.
4453 * libc/ctype/iswcntrl.c: Ditto.
4454 * libc/ctype/iswctype.c: Ditto.
4455 * libc/ctype/iswdigit.c: Ditto.
4456 * libc/ctype/iswgraph.c: Ditto.
4457 * libc/ctype/iswlower.c: Ditto.
4458 * libc/ctype/iswprint.c: Ditto.
4459 * libc/ctype/iswpunct.c: Ditto.
4460 * libc/ctype/iswspace.c: Ditto.
4461 * libc/ctype/iswupper.c: Ditto.
4462 * libc/ctype/iswxdigit.c: Ditto.
4463 * libc/ctype/jp2uc.c: Ditto.
4464 * libc/ctype/jp2uc.h: Ditto.
4465 * libc/ctype/local.h: Ditto.
4466 * libc/ctype/towctrans.c: Ditto.
4467 * libc/ctype/towlower.c: Ditto.
4468 * libc/ctype/towupper.c: Ditto.
4469 * libc/ctype/utf8alpha.h: Ditto.
4470 * libc/ctype/utf8print.h: Ditto.
4471 * libc/ctype/utf8punct.h: Ditto.
4472 * libc/ctype/wctrans.c: Ditto.
4473 * libc/ctype/wctype.c: Ditto.
4474 * libc/locale/locale.c (__lc_ctype): New external array to
4475 replace static lc_ctype array.
4476 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
4477 rather than reentrancy structure's _current_locale field.
4478 * libc/stdlib/wctomb_r.c: Ditto.
4479
da25e61f
JJ
44802002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4481
4482 * configure.host: Minor comment and formatting changes.
4483 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
4484 * libc/Makefile.in: Regenerated.
4485 * libc/include/sys/config.h: Minor format change.
4486
5b9ee539
JJ
44872002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4488
4489 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
4490 statement comment.
4491
50558bf3
JJ
44922002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4493
4494 * libc/posix/opendir.c (opendir): Change code to check
4495 for HAVE_FCNTL before calling fcntl.
4496 * libc/search/hash.c (hash_open): Ditto.
4497 * libc/search/hash_page.c (open_tmp): Ditto.
4498 * libc/reent/Makefile.am: Add fcntlr.c.
4499 * libc/reent/Makefile.in: Regenerated.
4500 * libc/reent/fcntlr.c: New file.
4501 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
4502 instead of _fcntl when HAVE_FCNTL flag is set.
4503 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
4504 to see if _fcntl or _fcntl_r should be called. If flag is not
4505 set, default to ENOSYS stub.
4506
9211a1ad
JJ
45072002-09-16 Jeff Johnston <jjohnstn@redhat.com>
4508
4509 * libc/include/wchar.h (mbstate_t): Change protective flag to
4510 be _MBSTATE_T.
4511 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
4512 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
4513 for Cygwin.
4514 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
4515
a8615092
JJ
45162002-09-11 Jeff Johnston <jjohnstn@redhat.com>
4517
4518 * acinclude.m4 (enable-newlib-mb): Change check to
4519 default newlib_mb variable to empty string rather than "no".
4520 * configure.host: Remove hard-coding of -DMB_CAPABLE for
4521 x86-linux and Cygwin. Add code to check for newlib_mb
4522 being unset in which case set to "yes" for x86-linux and
4523 Cygwin. Change check for newlib_mb being "yes" to allow
4524 for an empty string.
4525 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
4526 * newlib.hin (_MB_LEN_MAX): New define to configure.
4527 * aclocal.m4: Regenerated.
4528 * configure: Ditto.
4529 * libc/include/limits.h: New file.
4530 * libc/sys/linux/include/limits.h: Ditto.
4531 * doc/aclocal.m4 doc/configure libc/aclocal.m4
4532 libc/configure libc/include/%redact libc/machine/aclocal.m4
4533 libc/machine/configure libc/machine/a29k/aclocal.m4
4534 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4535 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4536 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4537 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4538 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
4539 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
4540 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4541 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4542 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4543 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4544 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4545 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
4546 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
4547 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4548 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4549 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4550 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4551 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4552 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4553 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
4554 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4555 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
4556 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
4557 libc/machine/v850/configure libc/machine/w65/aclocal.m4
4558 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
4559 libc/machine/xscale/configure
4560 libc/machine/xstormy16/aclocal.m4
4561 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
4562 libc/machine/z8k/configure libc/sys/aclocal.m4
4563 libc/sys/configure libc/sys/a29khif/aclocal.m4
4564 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
4565 libc/sys/arc/configure libc/sys/arm/aclocal.m4
4566 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
4567 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
4568 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
4569 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
4570 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
4571 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
4572 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
4573 libc/sys/idt/configure libc/sys/linux/aclocal.m4
4574 libc/sys/linux/configure libc/sys/linux/include/%redact
4575 libc/sys/linux/machine/aclocal.m4
4576 libc/sys/linux/machine/configure
4577 libc/sys/linux/machine/i386/aclocal.m4
4578 libc/sys/linux/machine/i386/configure
4579 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4580 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
4581 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4582 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4583 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4584 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4585 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4586 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4587 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4588 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4589 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4590 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4591 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4592 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4593 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4594 libm/aclocal.m4 libm/configure: Regenerated.
4595
be83844e
JJ
45962002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4597
4598 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
4599 code that clears the .bss section.
4600
9c64d2a7
JJ
46012002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4602
4603 * libc/include/sys/_types.h (_mbstate_t): Changed to use
4604 unsigned char internally.
4605 * libc/sys/linux/sys/_types.h: Ditto.
4606 * libc/include/sys/reent.h
4607 * libc/stdlib/mblen.c (mblen): Use function-specific state
4608 value from default reentrancy structure.
4609 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
4610 _mbtowc_r is less than 0, reset state __count value and
4611 return -1.
4612 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
4613 is NULL, use the function-specific pointer provided in the
4614 default reentrancy structure.
4615 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
4616 If input state pointer is NULL, use function-specific area
4617 provided in reentrancy structure.
4618 * libc/stdlib/mbsrtowcs.c: Ditto.
4619 * libc/stdlib/wcrtomb.c: Ditto.
4620 * libc/stdlib/wcsrtombs.c: Ditto.
4621 * libc/stdlib/mbstowcs.c: Reformat.
4622 * libc/stdlib/wcstombs.c: Ditto.
4623 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
4624 reset the state's __count value and return -1.
4625 * libc/stdlib/mbtowc.c: Ditto.
4626 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
4627 If number of bytes is used up before completing a valid multibyte
4628 character, return -2 and save the state.
4629 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
4630 and change some __count references to __state for clarity.
4631
218b7a56
JJ
46322002-09-06 Jeff Johnston <jjohnstn@redhat.com>
4633
4634 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
4635 is defined by <limits.h>.
4636
c210a6ea
JJ
46372002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4638
4639 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
4640 defined.
4641
efa077ce
JJ
46422002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4643
4644 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
4645 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
4646 __WCHAR_MAX__ or 0x7fffffffu.
4647 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
4648 * libc/string/wcsncmp.c: Ditto.
4649
e4b0ebc1
JJ
46502002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4651
4652 * libc/string/wcschr.c: Add include of <stddef.h>.
4653 * libc/string/wcspbrk.c: Ditto.
4654 * libc/string/wcsrchr.c: Ditto.
4655 * libc/string/wcsstr.c: Ditto.
4656
3db40db7
JJ
46572002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4658
4659 * libc/include/sys/_types.h (_flock_t): Added.
4660 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
4661 (__lock_try_acquire_recursive): Ditto.
4662 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
4663 _lock field.
4664 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
4665 field.
4666 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
4667 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
4668 * libc/sys/linux/include/time.h (struct timespec): Moved from
4669 <sys/types.h> and added check for __need_timespec flag so type
4670 can be defined by itself.
4671 * libc/sys/linux/sys/_types.h (_flock_t): New type.
4672 * libc/sys/linux/sys/types.h (struct timespec): Moved to
4673 <time.h>.
4674
cd45f029
TF
46752002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4676
4677 * libc/sys/linux/argp: New directory.
4678 * libc/sys/linux/getopt.c: New file.
4679 * libc/sys/linux/getopt1.c: New file.
4680 * libc/sys/linux/getoptlong.c: Remove file.
4681 * libc/sys/linux/include/argp.h: New file.
4682 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
4683 based on ELIX level.
4684 (SUBDIRS): Add argp_dir.
4685 (SUBLIBS): Add ARGP_LIB.
4686 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
4687 getopt_long.$(oext).
4688 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
4689
3c689185
JJ
46902002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4691
4692 * libc/libc.texinfo: Add node reference to wide-character strings.
4693 * libc/string/wcstrings.tex: New file.
4694 * libc/string/strtok_r.c: Remove outdated advertising clause.
4695 * libc/string/Makefile.am (doc): Add wide-character string
4696 chapter to documentation.
4697 * libc/string/Makefile.in: Regenerated.
4698
890e7a1d
JJ
46992002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4700
4701 * libc/include/wchar.h: Define NULL. Define WEOF more general
4702 way. Declare functions in newlib manner.
4703 * libc/stdlib/Makefile.am: Delete wmem*.c
4704 * libc/stdlib/Makefile.in: Regenerated.
4705 * libc/stdlib/wmemchr.c: Delete.
4706 * libc/stdlib/wmemcmp.c: Ditto.
4707 * libc/stdlib/wmemcpy.c: Ditto.
4708 * libc/stdlib/wmemmove.c: Ditto.
4709 * libc/stdlib/wmemset.c: Ditto.
4710 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
4711 * libc/string/Makefile.in: Regenerated.
4712 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
4713 * libc/string/wcschr.c: Ditto.
4714 * libc/string/wcscmp.c: Ditto.
4715 * libc/string/wcscpy.c: Ditto.
4716 * libc/string/wcscspn.c: Ditto.
4717 * libc/string/wcslcat.c: Ditto.
4718 * libc/string/wcslcpy.c: Ditto.
4719 * libc/string/wcslen.c: Ditto.
4720 * libc/string/wcsncat.c: Ditto.
4721 * libc/string/wcsncmp.c: Ditto.
4722 * libc/string/wcsncpy.c: Ditto.
4723 * libc/string/wcspbrk.c: Ditto.
4724 * libc/string/wcsrchr.c: Ditto.
4725 * libc/string/wcsspn.c: Ditto.
4726 * libc/string/wcsstr.c: Ditto.
4727 * libc/string/wmemchr.c: Ditto.
4728 * libc/string/wmemcmp.c: Ditto.
4729 * libc/string/wmemcpy.c: Ditto.
4730 * libc/string/wmemmove.c: Ditto.
4731 * libc/string/wmemset.c: Ditto.
4732
86620e21
JJ
47332002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4734
4735 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
4736 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
4737 and is treated as if "C" was specified.
4738
f3741c27
JJ
47392002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4740
4741 * Makefile.am (install-data-local): Move install of build
4742 newlib.h after installing headers in libc/include so as to
4743 overwrite default newlib.h.
4744 * Makefile.in: Regenerated.
4745
48da61f5
JJ
47462002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4747
4748 * libc/include/newlib.h: New file for tools that use newlib
4749 headers but don't build newlib first (e.g. gcc).
4750
d82a94ac
JJ
47512002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4752
4753 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
4754 * libc/stdlib/wmemcmp.c: Ditto.
4755 * libc/stdlib/wmemcpy.c: Ditto.
4756 * libc/stdlib/wmemmove.c: Ditto.
4757 * libc/stdlib/wmemset.c: Ditto.
4758
7d08241b
JJ
47592002-08-27 Egor Duda <deo@logos-m.ru>
4760
4761 * libc/stdlib/wmemchr.c: New file.
4762 * libc/stdlib/wmemcmp.c: Ditto.
4763 * libc/stdlib/wmemcpy.c: Ditto.
4764 * libc/stdlib/wmemmove.c: Ditto.
4765 * libc/stdlib/wmemset.c: Ditto.
4766 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
4767 * configure.host: Default -DMB_CAPABLE for cygwin.
4768 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
4769 wmemmove() and wmemset(). Add include of <_ansi.h>.
4770 * libc/stdlib/Makefile.in: Regenerate.
4771
8da1639b
JJ
47722002-08-27 Jeff Johnston <jjohnstn@redhat.com>
4773
ff2bf852 4774 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
4775 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
4776 (install-data-local): Install newlib.h.
4777 * Makefile.in: Regenerated.
4778 * aclocal.m4: Ditto.
4779 * configure: Ditto.
4780 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
4781 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
4782 and _NEWLIB_VERSION to fill in newlib.h header file entries.
4783 In AC_OUTPUT statement, unset ac_file so multilib support does
4784 not use last ac_file temporary used in newlib.h configuration.
4785 * libc/include/_ansi.h: Include <newlib.h>.
4786 * newlib.hin: New template file for newlib.h.
4787 * stamp-h.in: New file.
4788
a4421c11
JJ
47892002-08-26 Wu Yongwei <adah@netstd.com>
4790
4791 * time.h (timezonevar): Change "#if" to "#ifdef".
4792
90b65e2d
JJ
47932002-08-26 Jeff Johnston <jjohnstn@redhat.com>
4794
4795 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
4796 * Makefile.in: Regenerated.
4797 * acinclude.m4: Add support for --enable-newlib-elix-level option.
4798 * aclocal.m4: Regenerated.
4799 * configure: Ditto.
4800 * configure.host: Add code to define _ELIX_LEVEL if
4801 --enable-newlib-elix-level option is used.
4802 * configure.in:
4803 * libc/aclocal.m4: Regenerated.
4804 * libc/configure: Ditto.
4805 * libc/argz/Makefile.am: Add EL/IX level checking.
4806 * libc/argz/Makefile.in: Regenerated.
4807 * libc/argz/dummy.c: New file.
4808 * libc/ctype/Makefile.am: Add EL/IX level checking.
4809 * libc/ctype/Makefile.in: Regenerated.
4810 * libc/locale/Makefile.am: Add EL/IX level checking.
4811 * libc/locale/Makefile.in: Regenerated.
4812 * libc/posix/Makefile.am: Add EL/IX level checking.
4813 * libc/posix/Makefile.in: Regenerated.
4814 * libc/posix/telldir.c: Add EL/IX level checking.
4815 * libc/reent/Makefile.am: Ditto.
4816 * libc/reent/fstat64r.c: Ditto.
4817 * libc/reent/lseek64r.c: Ditto.
4818 * libc/reent/open64r.c: Ditto.
4819 * libc/reent/Makefile.in: Regenerated.
4820 * libc/search/Makefile.am: Add EL/IX level checking.
4821 * libc/search/Makefile.in: Regenerated.
4822 * libc/stdio/Makefile.am: Add EL/IX level checking.
4823 * libc/stdio/Makefile.in: Regenerated.
4824 * libc/stdio64/Makefile.am: Add EL/IX level checking.
4825 * libc/stdio64/Makefile.in: Regenerated.
4826 * libc/stdio64/dummy.c: New file.
9b487837 4827 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
4828 after first include.
4829 * libc/stdio64/fopen64.c: Ditto.
4830 * libc/stdio64/freopen64.c: Ditto.
4831 * libc/stdio64/fseeko64.c: Ditto.
4832 * libc/stdio64/fsetpos64.c: Ditto.
4833 * libc/stdio64/ftello64.c: Ditto.
4834 * libc/stdio64/tmpfile64.c: Ditto.
4835 * libc/stdlib/Makefile.am: Add EL/IX level checking.
4836 * libc/stdlib/Makefile.in: Regenerated.
4837 * libc/stdlib/mstats.c: Add EL/IX level checking.
4838 * libc/string/Makefile.am: Ditto.
4839 * libc/string/Makefile.in: Regenerated.
4840 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
4841 * libc/sys/linux/Makefile.in: Regenerated.
4842 * libc/sys/linux/aclocal.m4: Ditto.
4843 * libc/sys/linux/configure: Ditto.
4844 * libc/sys/linux/aio.c: Add EL/IX level checking.
4845 * libc/sys/linux/ftok.c: Ditto.
4846 * libc/sys/linux/getdate.c: Ditto.
4847 * libc/sys/linux/ids.c: Ditto.
4848 * libc/sys/linux/inode.c: Ditto.
4849 * libc/sys/linux/io.c: Ditto.
4850 * libc/sys/linux/process.c: Ditto.
4851 * libc/sys/linux/resource.c: Ditto.
4852 * libc/sys/linux/sched.c: Ditto.
4853 * libc/sys/linux/sig.c: Ditto.
4854 * libc/sys/linux/termios.c: Ditto.
4855 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
4856 __libc___waitpid weak aliases.
4857 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
4858 that generate the code for a syscall, but do not create a
4859 weak alias.
4860 * libc/syscalls/Makefile.am: Add EL/IX level checking.
4861 * libc/syscalls/Makefile.in: Regenerated.
4862 * libc/time/tzset_r.c: Change to replace strdup with equivalent
4863 functionality.
4864 * libc/unix/Makefile.am: Add EL/IX level checking.
4865 * libc/unix/Makefile.in: Regenerated.
4866
2e2b268c
CF
48672002-08-26 Christopher Faylor <cgf@redhat.com>
4868
4869 * libc/include/malloc.h: On cygwin, define malloc _r functions as
4870 wrapper macros to standard malloc functions.
4871 * libc/include/stdlib.h: Ditto.
4872 * configure.host: Always define MALLOC_PROVIDED on cygwin.
4873
8d9112f2
TF
48742002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4875
4876 * libc/include/langinfo.h: New file.
4877 * libc/include/wchar.h: Likewise.
4878 * libc/include/sys/syslimits.h: Likewise.
4879 * libc/locale/fix_grouping.c: Likewise.
4880 * libc/locale/ldpart.c: Likewise.
4881 * libc/locale/ldpart.h: Likewise.
4882 * libc/locale/lmessages.c: Likewise.
4883 * libc/locale/lmessages.h: Likewise.
4884 * libc/locale/lmonetary.c: Likewise.
4885 * libc/locale/lmonetary.h: Likewise.
4886 * libc/locale/lnumeric.c: Likewise.
4887 * libc/locale/lnumeric.h: Likewise.
4888 * libc/locale/nl_langinfo.3: Likewise.
4889 * libc/locale/nl_langinfo.c: Likewise.
4890 * libc/locale/timelocal.c: Likewise.
4891 * libc/locale/timelocal.h: Likewise.
4892 * libc/stdlib/btowc.c: Likewise.
4893 * libc/stdlib/mbrlen.c: Likewise.
4894 * libc/stdlib/mbrtowc.c: Likewise.
4895 * libc/stdlib/mbsinit.c: Likewise.
4896 * libc/stdlib/mbsrtowcs.c: Likewise.
4897 * libc/stdlib/wcrtomb.c: Likewise.
4898 * libc/stdlib/wcsrtombs.c: Likewise.
4899 * libc/stdlib/wctob.c: Likewise.
4900 * libc/sys/linux/prof-freq.c: Likewise.
4901 * libc/sys/linux/profile.c: Likewise.
4902 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
4903 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
4904 * libc/include/stdlib.h: Change re-entrant functions to take
4905 mbstate_t pointers.
4906 * libc/include/sys/_types.h: Define _mbstate_t.
4907 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
4908 * libc/include/sys/errno.h (EILSEQ): New error code.
4909 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
4910 structure to use mbstate_t.
4911 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
4912 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
4913 * libc/machine/powerpc/vfscanf.c: Likewise.
4914 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
4915 * libc/stdio/vfprintf.c: Likewise.
4916 * libc/stdio/vfscanf.c: Likewise.
4917 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
4918 * libc/stdlib/mblen.c: Use mbstate_t.
4919 * libc/stdlib/mblen_r.c: Likewise.
4920 * libc/stdlib/mbstowcs.c: Likewise.
4921 * libc/stdlib/mbstowcs_r.c: Likewise.
4922 * libc/stdlib/mbtowc.c: Likewise.
4923 * libc/stdlib/mbtowc_r.c: Likewise.
4924 * libc/stdlib/wcstombs.c: Likewise.
4925 * libc/stdlib/wcstombs_r.c: Likewise.
4926 * libc/stdlib/wctomb_r.c: Likewise.
4927 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
4928 profile.c.
4929 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
4930 dl-procinfo.c.
4931 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
4932 * libc/sys/linux/sys/types.h (off_t): Define type.
4933 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
4934 to C-UTF-8.
4935 * testsuite/newlib.locale/UTF-8.exp: Likewise.
4936
fe47ea33
JJ
49372002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
4938
4939 * libc/stdlib/mallocr.c: #include windows.h on Win32.
4940 (AlignPage): Continue macro on next line.
4941
ada73509
JJ
49422002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4943
4944 * libc/sys/linux/include/pthread.h: New file.
4945
64b5e8f2
JJ
49462002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4947
4948 * libc/include/sys/types.h: Support __need_inttypes macro
4949 that only sets the __intxx and __uintxx types.
4950 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
4951 to get mprec.h.
4952 * libc/machine/powerpc/Makefile.in: Regenerated.
4953 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
4954 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
4955 redundant fixed-point conversion prototypes.
4956 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
4957 after setting __need_inttypes.
4958
a94b60ce
CF
49592002-08-18 Christopher Faylor <cgf@redhat.com>
4960
4961 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
4962
29e17a86
JJ
49632002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4964
4965 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
4966 _LONG_DOUBLE to double.
4967
936b520f
JJ
49682002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4969
4970 * configure.host: Add powerpc*-*-eabispe* configuration.
4971 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
4972 * libc/machine/powerpc/atosfix32.c: Ditto.
4973 * libc/machine/powerpc/atosfix64.c: Ditto.
4974 * libc/machine/powerpc/atoufix16.c: Ditto.
4975 * libc/machine/powerpc/atoufix32.c: Ditto.
4976 * libc/machine/powerpc/atoufix64.c: Ditto.
4977 * libc/machine/powerpc/fix64.h: Ditto.
4978 * libc/machine/powerpc/simdldtoa.c: Ditto.
4979 * libc/machine/powerpc/strtosfix16.c: Ditto.
4980 * libc/machine/powerpc/strtosfix32.c: Ditto.
4981 * libc/machine/powerpc/strtosfix64.c: Ditto.
4982 * libc/machine/powerpc/strtoufix16.c: Ditto.
4983 * libc/machine/powerpc/strtoufix32.c: Ditto.
4984 * libc/machine/powerpc/strtoufix64.c: Ditto.
4985 * libc/machine/powerpc/ufix64toa.c: Ditto.
4986 * libc/machine/powerpc/configure.in: Add check for
4987 powerpc*-eabispe and add fixed-point conversion functions.
4988 * libc/machine/powerpc/configure: Regenerated.
4989 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
4990 %r and %R format specifiers which handle fixed-point data.
4991 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
4992 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
4993 function prototypes.
4994
ad552766
JJ
49952002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4996
4997 * Makefile.am: Move cmath stuff into libc/sys/linux.
4998 * Makefile.in: Regenerated.
4999 * configure.host: Default -DMB_CAPABLE for x86-linux.
5000 * libc/include/reent.h: Define _sbrk to take signed int argument.
5001 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
5002 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
5003 make locale name checking more efficient. Also allow "C-ISO-8859-1"
5004 locale for LC_CTYPE and LC_MESSAGES.
5005 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
5006 * libc/sys/linux/brk.c: Change sbrk prototype.
5007 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
5008 include <sys/features.h>.
5009 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
5010 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
5011 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
5012 with a few local additions.
5013 * libc/sys/linux/sys/features.h: New file.
5014 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
5015 to take signed argument.
5016 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
5017 prototypes to take signed size argument.
5018
d3bd3632
TF
50192002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
5020
5021 * libc/sys/linux/cmath: New directory.
5022 * libc/sys/linux/include/cmathcalls.h: New file.
5023 * libc/sys/linux/include/complex.h: New file.
5024 * libc/sys/linux/machine/i386/huge_val.h: New file
5025 * libm/math/w_sincos.c: New file
5026 * libm/math/wf_sincos.c: New file
5027 * libm/mathfp/s_sincos.c: New file
5028 * libm/mathfp/sf_sincos.c: New file
5029 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
5030 * libc/include/math.h: Add sincos and sincosf declarations.
5031 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
5032 (SUBLIBS): Likewise.
5033 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
5034 * libm/math/Makefile.am (src): Add w_sincos.c.
5035 (fsrc): Add wf_sincos.c.
5036 * libm/mathfp/Makefile.am (src): Add s_sincos.c
5037 (fsrc): Add sf_sincos.c.
5038
b3a9676b
JJ
50392002-08-12 Jeff Johnston <jjohnstn@redhat.com>
5040
5041 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
5042 Declare as extern chars and use the address operator to
5043 properly use values set in linker script.
5044
659e7062
JJ
50452002-08-09 Jason Tishler <jason@tishler.net>
5046
5047 * libc/stdlib/mallocr.c: Include <limits.h>.
5048 (request2size): Change macro to do
5049 unsigned long comparisons and avoid signed overflow.
5050 (mALLOc): Add overflow check for the number of bytes to allocate.
5051 (rEALLOc): Ditto.
5052
037240a2
JJ
50532002-08-09 Jeff Johnston <jjohnstn@redhat.com>
5054
5055 * configure.host: Add check for --enable-newlib-io-pos-args
5056 and define WANT_IO_POS_ARGS flag if enabled. Define
5057 the flag by default for x86-linux configurations.
5058 * configure.in: Add support for --enable-newlib-io-pos-args.
5059 * libc/configure.in: Ditto.
5060 * configure: Regenerated.
5061 * libc/configure: Ditto.
5062 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
5063 vfprintf.c and vfiprintf.c.
5064 * libc/stdio/Makefile.in: Regenerated.
5065 * libc/stdio/vfprintf.c: Add positional argument support that
5066 is enabled by compiling with -DWANT_IO_POS_ARGS.
5067
172fda76
RS
50682002-08-07 Richard Sandiford <rsandifo@redhat.com>
5069
5070 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
5071 based on __mips_soft_float rather than __mips64.
5072 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
5073 of both 32-bit and 64-bit code.
5074
4866247e
CF
50752002-08-04 Christopher Faylor <cgf@redhat.com>
5076
5077 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
5078 arguments for popen to match similar functionality in fopen.
5079
b96332ce
CV
50802002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
5081
5082 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
5083
60d99bce
JJ
50842002-07-29 Jeff Johnston <jjohnstn@redhat.com>
5085
5086 * libc/sys/linux/Makefile.am: Add aio64.c.
5087 * libc/sys/linux/Makefile.in: Regenerated.
5088 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
5089 * libc/sys/linux/aio64.c: New file.
5090
80a21be0
JJ
50912002-07-26 Jeff Johnston <jjohnstn@redhat.com>
5092
5093 * libc/include/sys/param.h (MAX, MIN): Added macros.
5094 * libc/sys/linux/Makefile.am: Add new files.
5095 * libc/sys/linux/Makefile.in: Regenerated.
5096 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
5097 * libc/sys/linux/inode.c (fchdir): Added syscall.
5098 * libc/sys/linux/ftw.c: New file.
5099 * libc/sys/linux/ftw64.c: Ditto.
5100 * libc/sys/linux/getwd.c: Ditto.
5101 * libc/sys/linux/scandir64.c: Ditto.
5102 * libc/sys/linux/strverscmp.c: Ditto.
5103 * libc/sys/linux/versionsort.c: Ditto.
5104 * libc/sys/linux/versionsort64.c: Ditto.
5105
6b6425cb
JJ
51062002-07-26 Jeff Johnston <jjohnstn@redhat.com>
5107
5108 * libc/string/strings.tex: Fix typo for memccpy.
5109
dc8ac8e6
JJ
51102002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5111
5112 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
5113 * libc/sys/linux/sys/types.h (off64_t): Definition added.
5114
aa0ca6fd
JJ
51152002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5116
5117 * libc/sys/linux/Makefile.am: Add fclean.c.
5118 * libc/sys/linux/Makefile.in: Regenerated.
5119 * libc/sys/linux/fclean.c: New file.
5120
61921945
JJ
51212002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5122
5123 * libc/sys/linux/Makefile.am: Add confstr.c.
5124 * libc/sys/linux/Makefile.in: Regenerated.
5125 * libc/sys/linux/confstr.c: New file.
5126 * libc/sys/linux/confstr.h: Ditto.
5127 * libc/sys/linux/sys/unistd.h: Include <features.h> and
5128 <bits/environments.h>.
5129
3d966a92
JJ
51302002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5131
5132 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
5133 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
5134 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
5135 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
5136 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
5137 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
5138
53b5bff7
JJ
51392002-07-24 Jeff Johnston <jjohnstn@redhat.com>
5140
5141 * libc/sys/linux/Makefile.am: Add new files.
5142 * libc/sys/linux/Makefile.in: Regenerated.
5143 * libc/sys/linux/fstab.c: New file.
5144 * libc/sys/linux/fstatvfs.c: Ditto.
5145 * libc/sys/linux/fstatvfs64.c: Ditto.
5146 * libc/sys/linux/internal_statvfs.c: Ditto.
5147 * libc/sys/linux/mntent.c: Ditto.
5148 * libc/sys/linux/mntent_r.c: Ditto.
5149 * libc/sys/linux/statvfs.c: Ditto.
5150 * libc/sys/linux/statvfs64.c: Ditto.
5151 * libc/sys/linux/include/paths.h: Ditto.
5152 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
5153 with double-underscore weak-aliases.
5154 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
5155
9cef8ef5
JJ
51562002-07-24 Jeff Johnston <jjohnstn@redhat.com>
5157
5158 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
5159 to use _sig_func_ptr type casted constants.
5160 (_sig_func_ptr): Typedef moved to sys/signal.h.
5161 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
5162 For __rtems, use POSIX definition, otherwise default to ANSI.
5163 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
5164
a703e0f2
JJ
51652002-07-24 Stephane Carrez <stcarrez@nerim.fr>
5166
5167 * configure.host: Recognize m6811-elf and m6812-elf targets.
5168 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
5169 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
5170 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
5171 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
5172 according to __INT_MAX__.
5173 (_POINTER_INT): Define to short.
5174 * libc/machine/m68hc11/Makefile.am: New file.
5175 * libc/machine/m68hc11/Makefile.in: New file.
5176 * libc/machine/m68hc11/configure.in: New file.
5177 * libc/machine/m68hc11/configure: New file.
5178 * libc/machine/m68hc11/aclocal.m4: New file.
5179 * libc/machine/m68hc11/setjmp.S: New file.
5180
d254189b
JJ
51812002-07-23 Jeff Johnston <jjohnstn@redhat.com>
5182
5183 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
5184 prototypes.
5185 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
5186 * libc/stdlib/Makefile.in: Regenerated.
5187 * libc/stdlib/strdup.c: Removed.
5188 * libc/stdlib/strdup_r.c: Removed.
5189 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
5190 mempcpy.c, strndup.c, and strndup_r.c.
5191 * libc/string/Makefile.in: Regenerated.
5192 * libc/string/memccpy.c: New file.
5193 * libc/string/mempcpy.c: Ditto.
5194 * libc/string/strndup.c: Ditto.
5195 * libc/string/strndup_r.c: Ditto.
5196 * libc/string/strdup.c: New file moved from stdlib.
5197 * libc/string/strdup_r.c: Ditto.
5198 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
5199
bc100655
JJ
52002002-07-23 Jeff Johnston <jjohnstn@redhat.com>
5201
5202 * libc/include/stdio.h: Move fcloseall prototype within
5203 #ifndef _REENT_ONLY section.
5204 * libc/sys/linux/Makefile.am: Add new files.
5205 * libc/sys/linux/Makefile.in: Regenerated.
5206 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
5207 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
5208 * libc/sys/linux/sys/types.h: Add ino64_t type.
5209 * libc/sys/linux/ctermid.c: New file.
5210 * libc/sys/linux/ttyname_r.c: Ditto.
5211 * libc/sys/linux/readdir64.c: Ditto.
5212
f5f27f07
JJ
52132002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5214
5215 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
5216 * libc/stdio/Makefile.am: Added fcloseall.c support.
5217 * libc/stdio/Makefile.in: Regenerated.
5218 * libc/stdio/fcloseall.c: New file.
5219 * libc/stdio64/Makefile.am: Remove missing .def references.
5220 * libc/stdio64/Makefile.in: Regenerated.
5221
d541ba3e
JJ
52222002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5223
5224 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
5225 * libc/machine/powerpc/times.c: New file.
5226 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
5227 * libc/machine/powerpc/Makefile.in: Regenerated.
5228
52292002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
5230
5231 * libc/machine/powerpc/time.c: New file.
5232 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
5233 time.c.
5234 * libc/machine/powerpc/Makefile.in: Regenerated.
5235
5e7d0a55
TF
52362002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5237
5238 * libc/libc.texinfo: Change copyright notices to Red Hat from
5239 Cygnus.
5240 * libm/libm.texinfo: Likewise.
5241 * README: Change docs URL to
5242 http://sources.redhat.com/newlib/docs.html.
5243
504628e7
JJ
52442002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5245
5246 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
5247 * libc/sys/linux/Makefile.in: Regenerated.
5248 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
5249 * libc/sys/linux/io.c: Add ftruncate syscall.
5250 * libc/sys/linux/fpathconf.c: New file.
5251 * libc/sys/linux/pathconf.c: Ditto.
5252 * libc/sys/linux/linux_fsinfo.h: Ditto.
5253 * libc/sys/linux/sys/unistd.h: Ditto.
5254
b155ad9f
JJ
52552002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5256
5257 * libc/stdio64/Makefile.am: Remove missing files.
5258 * libc/stdio64/Makefile.in: Regenerated.
5259
c119e0ab
JJ
52602002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5261
5262 * libc/include/sys/config.h[__i386__][__linux__]: Define
5263 _LARGE64FILE_SOURCE to 1.
5264 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
5265 * libc/sys/linux/Makefile.in: Regenerated.
5266 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
5267 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
5268 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
5269 of <linux/resource.h>.
5270 * libc/sys/linux/getrlimit64.c: New file.
5271 * libc/sys/linux/setrlimit64.c: Ditto.
5272
9b022d6d
TF
52732002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5274
5275 * libc/argz/argz_replace.c: Include buf_findstr.h.
5276 * libc/argz/buf_findstr.c: Likewise.
5277 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
5278 value to (char *).
5279 * libc/argz/envz_get.c: Likewise.
5280 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
5281 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
5282 * libc/stdlib/getsubopt.3: New file.
5283 * libc/stdlib/getsubopt.c: New file.
5284 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
5285 Change esp to ebp.
5286
dee51391
JJ
52872002-07-17 Jeff Johnston <jjohnstn@redhat.com>
5288
5289 * configure.host(stdio64_dir): New setting that is used to
5290 enable building of new stdio64 directory.
5291 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
5292 large files.
5293 (stmp-stdio64,stdio64.texi): New targets to optionally add in
5294 stdio64 info to info files.
5295 * libc/Makefile.in: Regenerated.
5296 * libc/configure: Ditto.
5297 * libc/configure.in: Add configuration variables that are set
5298 when stdio64 is selected as subdir in configure.host.
5299 * libc/libc.texinfo: Add optional menu item for Stdio64, based
5300 on whether STDIO64 flag is set or not.
5301 * libc/sys.tex: Add optional stdio64 syscalls based on whether
5302 STDIO64 flag is set or not.
5303 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
5304 _r sycall routines.
5305 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
5306 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
5307 (__SL64): New file flag indicating file is opened via fopen64.
5308 * libc/include/sys/_types.h(_off64_t): Added.
5309 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
5310 * libc/include/sys/reent.h(struct __sFILE64): New file structure
5311 for 64-bit offset large file support.
5312 (__FILE): New intermediate type either set to struct __sFILE64 or
5313 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
5314 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
5315 * libc/reent/Makefile.in: Regenerated.
5316 * libc/reent/fstat64r.c: New file.
5317 * libc/reent/lseek64r.c: Ditto.
5318 * libc/reent/open64r.c: Ditto.
5319 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
5320 based on whether STDIO64 flag is set.
5321 * libc/stdio/stdio.tex: Add blank line.
5322 * libc/stdio64/Makefile.am: New file.
5323 * libc/stdio64/Makefile.in: Ditto.
5324 * libc/stdio64/fgetpos64.c: Ditto.
5325 * libc/stdio64/fopen64.: Ditto.
5326 * libc/stdio64/freopen64.c: Ditto.
5327 * libc/stdio64/fseeko64.c: Ditto.
5328 * libc/stdio64/fsetpos64.c: Ditto.
5329 * libc/stdio64/ftello64.c: Ditto.
5330 * libc/stdio64/local64.h: Ditto.
5331 * libc/stdio64/stdio64.c: Ditto.
5332 * libc/stdio64/stdio64.tex: Ditto.
5333 * libc/stdio64/tmpfile64.c: Ditto.
5334 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
5335 open64.
5336
778876f6
JJ
53372002-07-16 Jeff Johnston <jjohnstn@redhat.com>
5338
5339 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
5340 if LIBC_EXTRA_LIB is present.
5341 * libc/Makefile.in: Regenerated.
5342 * libc/libc.texinfo: Add blank line.
5343 * libc/argz/Makefile.am: Add doc support.
5344 * libc/search/Makefile.am: Ditto.
5345 * libc/argz/Makefile.in: Regenerated.
5346 * libc/search/Makefile.in: Ditto.
5347 * libc/misc/misc.tex: Add ffs function.
5348 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
5349
37981145
JJ
53502002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5351
5352 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
5353 definition that was removed in error.
5354
38b5dc59
JJ
53552002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5356
5357 * libc/include/machine/ieeefp.h: Change to only define
5358 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
5359 __IEEE_LITTLE_ENDIAN must be defined for each platform).
5360 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
5361 remove redundant floating point definitions.
5362
8cb61a96
JJ
53632002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5364
5365 * libc/sys/linux/callocr.c: Fix so code references
5366 calloc.
5367
edba3282
JJ
53682002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5369
5370 * libc/sys/linux/Makefile.am: Add new files.
5371 * libc/sys/linux/Makefile.in: Regenerated.
5372 * libc/sys/linux/bp-sym.h: Moved to include directory.
5373 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
5374 * libc/sys/linux/inode.c: Set _LIBC to 1.
5375 * libc/sys/linux/mq_close.c: Ditto.
5376 * libc/sys/linux/mq_getattr.c: Ditto.
5377 * libc/sys/linux/mq_open.c: Ditto.
5378 * libc/sys/linux/mq_receive.c: Ditto.
5379 * libc/sys/linux/mq_send.c: Ditto.
5380 * libc/sys/linux/mq_setattr.c: Ditto.
5381 * libc/sys/linux/mq_unlink.c: Ditto.
5382 * libc/sys/linux/calloc.c: New file.
5383 * libc/sys/linux/callocr.c: Ditto.
5384 * libc/sys/linux/cfreer.c: Ditto.
5385 * libc/sys/linux/config.h: Ditto.
5386 * libc/sys/linux/free.c: Ditto.
5387 * libc/sys/linux/freer.c: Ditto.
5388 * libc/sys/linux/msize.c: Ditto.
5389 * libc/sys/linux/msizer.c: Ditto.
5390 * libc/sys/linux/mstats.c: Ditto.
5391 * libc/sys/linux/mtrim.c: Ditto.
5392 * libc/sys/linux/mtrimr.c: Ditto.
5393 * libc/sys/linux/pvallocr.c: Ditto.
5394 * libc/sys/linux/realloc.c: Ditto.
5395 * libc/sys/linux/reallocr.c: Ditto.
5396 * libc/sys/linux/thread-m.h: Ditto.
5397 * libc/sys/linux/vallocr.c: Ditto.
5398 * libc/sys/linux/bp-checks.h: Ditto.
5399 * libc/sys/linux/libc-symbols.h: Ditto.
5400 * libc/sys/linux/libc-tsd.h: Ditto.
5401 * libc/sys/linux/libintl.h: Ditto.
5402 * libc/sys/linux/malign.c: Ditto.
5403 * libc/sys/linux/malignr.c: Ditto.
5404 * libc/sys/linux/mallinfor.c: Ditto.
5405 * libc/sys/linux/malloc.c: Ditto.
5406 * libc/sys/linux/mallocr.c: Ditto.
5407 * libc/sys/linux/malloptr.c: Ditto.
5408 * libc/sys/linux/mallstatsr.c: Ditto.
5409 * libc/sys/linux/mcheck.c: Ditto.
5410 * libc/sys/linux/mhooks.h: Ditto.
5411 * libc/sys/linux/include/bp-sym.h: Ditto.
5412 * libc/sys/linux/include/malloc.h: Ditto.
5413 * libc/sys/linux/include/mcheck.h: Ditto.
5414 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
5415 getpagesize.c.
5416 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
5417 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
5418 * libc/sys/linux/machine/i386/getpagesize.c: New file.
5419 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
5420 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5421 * libc/sys/linux/machine/i386/sysdep.h: New file.
5422 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
5423 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
5424 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
5425
ea20b60a
JJ
54262002-07-12 Jeff Johnston <jjohnstn@redhat.com>
5427
5428 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
5429 instead of <asm/siginfo.h>.
5430 * libc/sys/linux/sys/signal.h: Change to include various linux
5431 <bits/xxx.h> header files, rather than <linux/signal.h> so as
5432 to work with multiple releases of glibc header files.
5433
2fc82912
JJ
54342002-07-11 Chris Demetriou <cgd@broadcom.com>
5435
5436 * testsuite/newlib.search/hsearchtest.c: New file to test
5437 newlib/libc/search.
5438 * testsuite/newlib.search/hsearchtest.exp: Likewise.
5439
4a404e97 54402002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
5441
5442 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
5443 a terminal.
5444 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
5445
6aec558e
JJ
54462002-07-08 Jeff Johnston <jjohnstn@redhat.com>
5447
5448 * libc/include/math.h (MAXFLOAT): Added.
5449
e47e6f0e 5450Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
5451
5452 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
5453 Make strcmp.S unconditional.
5454 * libc/machine/sh/Makefile.in: Regenerate.
5455 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
5456 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
5457 for SHcompact.
5458
89ffbd66
JJ
54592002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5460
5461 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
5462 define before including <sys/lock.h>.
5463
ae6c4c84
JJ
54642002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5465
5466 * libc/include/utime.h: Add include of <_ansi.h>.
5467 * libc/sys/linux/Makefile.am: Add utimes.c.
5468 * libc/sys/linux/Makefile.in: Regenerated.
5469 * libc/sys/linux/inode.c(__umask): New static routine.
5470 (umask): Written to use __umask and attempt to thread lock.
5471 (getumask): New function written to use __umask and thread lock.
5472 * libc/sys/linux/utimes.c: New file.
5473 * libc/sys/linux/sys/time.h: Fix utimes prototype.
5474 * libc/sys/linux/sys/utime.h: New file.
5475
a6cac46c
TF
54762002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
5477
5478 * libtool.m4: New file.
5479 * libc/sys/linux/process.c: Implement vfork in terms of fork,
5480 rather than as a syscall.
5481
30b2092f
JJ
54822002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5483
5484 * libc/include/stdio.h: Add new prototypes.
5485 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
5486 * libc/stdio/Makefile.in: Regenerated.
5487 * libc/stdio/fseek.c: Add fseeko documentation.
5488 * libc/stdio/ftell.c: Add ftello documentation.
5489 * libc/stdio/fseeko.c: New file.
5490 * libc/stdio/ftello.c: New file.
5491
7501704d
JJ
54922002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5493
5494 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
5495 * libc/stdio/Makefile.in: Regenerated.
5496 * libc/stdio/asprintf.c: New file.
5497 * libc/stdio/vasprintf.c: Ditto.
5498 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
5499 the buffer for asprintf support.
5500 * libc/stdio/sprintf.c: Add asprintf documentation.
5501 * libc/stdio/vfprintf.c: Add vasprintf documentation.
5502 * libc/include/stdio.h: Add new prototypes.
5503
66eee32b
TF
55042002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
5505
5506 * libc/search/hcreate.c: Remove advertising clause from license.
5507 * libc/search/hcreate_r.c: Likewise.
5508
cec4a9f8
JJ
55092002-07-02 Chris Demetriou <cgd@broadcom.com>
5510
5511 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
5512 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
5513 Check that one of them is defined and error out if not.
5514 Add any platforms defined in <machine/ieeefp.h> that are missing.
5515 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
5516 (DB_LITTLE_ENDIAN): New defines.
5517 * libc/search/hash.c: Replace all incorrect checks for
5518 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
5519 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
5520 * libc/search/hash_page.c: Likewise.
5521
2d5eb17e
TF
55222002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5523
5524 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
5525
c1a3171f
JJ
55262002-06-27 Benjamin Kosnik <bkoz@redhat.com>
5527
5528 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
5529 * libc/include/time.h: Same.
5530 * libc/include/string.h: Same.
5531 * libc/include/stdlib.h: Same.
5532 * libc/include/signal.h: Same.
5533 * libc/include/setjmp.h: Same.
5534 * libc/include/math.h: Same.
5535 * libc/include/locale.h: Same.
5536 * libc/include/ctype.h: Same.
5537 * libc/include/machine/setjmp.h: Same.
5538 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
5539 (_END_STD_C): Add.
5540
533b4e66
JJ
55412002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5542
5543 * libc/include/sys/_types.h: Define _ssize_t as int if int is
5544 32-bits, otherwise define it as long.
5545 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
5546 and define ssize_t as _ssize_t.
5547 * libc/reent/readr.c: Change return type to _ssize_t.
5548 * libc/reent/writer.c: Ditto.
5549 * libc/sys/linux/Makefile.am: Add aio.c.
5550 * libc/sys/linux/Makefile.in: Regenerated.
5551 * libc/sys/linux/aio.c: New file.
5552 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
5553 * libm/common/fdlibm.h: Undef __P before defining it.
5554
c36e6dd7
TF
55552002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5556
54be629f
TF
5557 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
5558 exponent_is_even_int variable. Handle case where x is
5559 negative, and y is an odd integer.
5560 * libm/mathfp/sf_pow.c (powf): Likewise.
5561
c36e6dd7
TF
5562 * libm/mathfp/er_lgamma.c: Remove __kernel references.
5563 * libm/mathfp/erf_lgamma.c: Likewise.
5564 * libm/mathfp/s_tgamma.c: Likewise.
5565 * libm/mathfp/sf_tgamma.c: Likewise.
5566
baf051ca
JJ
55672002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5568
5569 * libc/sys/linux/Makefile.am: Add new clock routines.
5570 * libc/sys/linux/Makefile.in: Regenerated.
5571 * libc/sys/linux/clock_getres.c: New file.
5572 * libc/sys/linux/clock_gettime.c: Ditto.
5573 * libc/sys/linux/clock_settime.c: Ditto.
5574 * libc/sys/linux/hp-timing.h: Ditto.
5575 * libc/sys/linux/libc-internal.h: Ditto.
5576 * libc/sys/linux/sysconf.c: Fix typo.
5577 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
5578 * libc/sys/linux/machine/hp-timing.h: New file.
5579 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
5580 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5581 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
5582 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
5583 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
5584 * libc/sys/linux/sys/linux_time.h: New file.
5585 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
5586 replace with <sys/linux_time.h>.
5587
0431ed4e
JR
5588Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
5589
5590 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
5591
fc067ba5
JJ
55922002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5593
5594 * libc/sys/linux/Makefile.am: Consolidate additional items under
5595 ADD_OBJS.
5596 * libc/sys/linux/Makefile.in: Regenerated.
5597
ffddf61e
JJ
55982002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5599
5600 * libc/sys/linux/sethostname.c: New file.
5601 * libc/sys/linux/Makefile.am: Add sethostname.c support.
5602 * libc/sys/linux/Makefile.in: Regenerated.
5603
d5487d3f
TF
56042002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5605
5606 * libc/search/db_local.h: New file.
5607 * libc/include/db.h: Remove.
5608 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
5609 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
5610 "db_local.h".
5611 * libc/search/hash_bigkey.c: Likewise.
5612 * libc/search/hash_buf.c: Likewise.
5613 * libc/search/hash_func.c: Likewise.
5614 * libc/search/hash_log2.c: Likewise.
5615 * libc/search/hash_page.c: Likewise.
5616
56172002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 5618
1e7ca711 5619 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
5620 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
5621 * libc/machine/sh/Makefile.am: Regenerate.
5622
59c6d6c4
JJ
56232002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5624
5625 * libc/sys/linux/gethostname.c: Change name to __gethostname and
5626 add gethostname alias.
5627
a70486d7
JJ
56282002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5629
5630 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 5631 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 5632 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 5633 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
5634 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
5635 * libm/common/fdlibm.h: Ditto.
5636
3118725a
TF
56372002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5638
5639 * libc/include/ndbm.h: Remove.
5640 * libc/search/ndbm.c: Remove.
5641
30a06168
TF
56422002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
5643
5644 * libc/stdio/fseek.c (fseek): Fix braces.
5645
01f5155e
CV
56462002-06-21 Corinna Vinschen <corinna@vinschen.de>
5647
5648 * libc/time/strftime.c (strftime): Add %e format specifier.
5649
930bc96b
TF
56502002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5651
5652 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
5653 previously defined.
5654
55105f86
JJ
56552002-06-21 Richard Earnshaw (rearnsha@arm.com)
5656
5657 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
5658 (BYTE_ORDER): Define as appropriate for the target.
5659
2e78444a
JJ
56602002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5661
5662 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
5663 to _ssize_t.
5664 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
5665
d427d092
JJ
56662002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5667
5668 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
5669 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
5670 [HAVE_GETDATE](getdate_err): New error code.
5671 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
5672 * libc/stdio/Makefile.in: Regenerated.
5673 * libc/stdio/getdelim.c: New file.
5674 * libc/stdio/getline.c: Ditto.
5675 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
5676 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
5677 * libc/sys/linux/Makefile.in: Regenerated.
5678 * libc/sys/linux/getdate.c: New file.
5679 * libc/sys/linux/getdate_err.c: Ditto.
5680 * libc/sys/linux/ntp_gettime.c: Ditto.
5681 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
5682 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
5683
35728d4f
JJ
56842002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5685
5686 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
5687 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
5688 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
5689 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
5690 * libc/include/sys/param.h: Remove i386 case which is handled
5691 by default case.
5692 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
5693 definitions in case they are already defined.
5694 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
5695 _IEEE_LITTLE_ENDIAN flags.
5696 * libc/include/sys/reent.h: Change __uint32_t references to
5697 use _ULong instead.
5698 (_REENT_GETDATE_REENT_P): New macro.
5699 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
5700 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
5701 * libc/search/hash.h: Add default setting of BYTE_ORDER,
5702 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
5703 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
5704 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
5705 pid_t, off_t, loff_t, caddr_t, and daddr_t type
5706 definitions which are done by subsequent glibc headers.
5707 Add macro definitions to prevent subsequent header files from
5708 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
5709 intptr_t to after glibc definitions of types they are based on.
5710
4a2bfab7
JJ
57112002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5712
5713 * libc/include/errno.h: Protect from multiple inclusion.
5714
f42d18ea
NC
57152002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
5716
5717 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
5718
a7b23a8f
TF
57192002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
5720
5721 * Makefile.am (LIB_OBJECTLISTS): Add
5722 libc/search/objectlist.awk.in.
5723 * libc/Makefile.am (SUBDIRS): Add search.
5724 (SUBLIBS): Add search/libsearch.la.
5725 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
5726 * libc/search: New directory.
5727 * libc/search/Makefile.am: New file.
5728 * libc/search/extern.h: New file.
5729 * libc/search/hash.c: New file.
5730 * libc/search/hash.h: New file.
5731 * libc/search/hash_bigkey.c: New file.
5732 * libc/search/hash_buf.c: New file.
5733 * libc/search/hash_func.c: New file.
5734 * libc/search/hash_log2.c: New file.
5735 * libc/search/hash_page.c: New file.
5736 * libc/search/hcreate.3: New file.
5737 * libc/search/hcreate.c: New file.
a7b23a8f
TF
5738 * libc/search/hcreate_r.c: New file.
5739 * libc/search/ndbm.c: New file.
5740 * libc/search/page.h: New file.
5741 * libc/search/tdelete.c: New file.
5742 * libc/search/tdestroy.c: New file.
5743 * libc/search/tfind.c: New file.
5744 * libc/search/tsearch.3: New file.
5745 * libc/search/tsearch.c: New file.
5746 * libc/search/twalk.c: New file.
5747 * libc/include/db.h: New file.
5748 * libc/include/ndbm.h: New file.
5749 * libc/include/search.h: New file.
5750 * libc/include/sys/queue.h: New file.
5751 * libc/include/sys/cdefs.h: New file.
5752 * libc/include/sys/param.h
5753 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
5754 LITTLE_ENDIAN or BIG_ENDIAN.
5755 * libc/include/sys/errno.h (EFTYPE): New macro.
5756 * libc/search/bsearch.c: Move from libc/stdlib.
5757 * libc/search/qsort.c: Likewise.
5758 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
5759 qsort.c.
5760 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
5761 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
5762
ef467338
JJ
57632002-06-19 Jeff Johnston <jjohnstn@redhat.com>
5764
5765 * libc/sys/linux/Makefile.am: Add support for message queue routines,
5766 ipc routines, and ftok.
5767 * libc/sys/linux/Makefile.in: Regenerated.
5768 * libc/sys/linux/ftok.c: New file.
5769 * libc/sys/linux/ipc.c: Ditto.
5770 * libc/sys/linux/mq_close.c: Ditto.
5771 * libc/sys/linux/mq_getattr.c: Ditto.
5772 * libc/sys/linux/mq_notify.c: Ditto.
5773 * libc/sys/linux/mq_open.c: Ditto.
5774 * libc/sys/linux/mq_receive.c: Ditto.
5775 * libc/sys/linux/mq_send.c: Ditto.
5776 * libc/sys/linux/mq_setattr.c: Ditto.
5777 * libc/sys/linux/mq_unlink.c: Ditto.
5778 * libc/sys/linux/mqlocal.h: Ditto.
5779 * libc/sys/linux/include/mqueue.h: Ditto.
5780 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
5781 __uid_t_defined.
5782
7f55c08c
TF
57832002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5784
5785 * libm/common/sf_lround.c (round): Change name to: (lround).
5786 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
5787 remquof.
5788
c9ca68d7
TF
57892002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5790
5791 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
5792 procedure.
5793 (newlib_pass_fail): Change to compile and run only one file.
5794 * testsuite/newlib.locale/locale.exp: Use new
5795 newlib_pass_fail_all procedure.
5796 * testsuite/newlib.string/string.exp: Likewise.
5797
4ecedd09
DB
57982002-06-18 Dave Brolley <brolley@redhat.com>
5799
5800 From Catherine Moore, Michael Meissner, Richard Sandiford:
5801 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
5802 (_JBTYPE): Ditto.
5803 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
5804 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
5805 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
5806 * configure.host: Support frv-*-*.
5807 * libc/machine/frv/Makefile.am: New file.
5808 * libc/machine/frv/configure.in: New file.
5809 * libc/machine/frv/setjmp.S: New file.
5810
af1c257a
TF
58112002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5812
5813 * libc/include/ctype.h: Remove isblank macro.
5814
5815 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
5816 * libc/ctype/isblank.c: New file.
5817 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
5818 declaration. Add isblank macro.
5819
4e04fa90
JJ
58202002-06-18 Jeff Johnston <jjohnstn@redhat.com>
5821
5822 * testsuite/newlib.stdlib/atexit.c: New file.
5823 * testsuite/newlib.stdlib/atexit.exp: Ditto.
5824 * testsuite/newlib.string/tstring.c: Change default start size
5825 to something more reasonable for embedded platforms.
5826
b56d7e79
TF
58272002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5828
ece3c72f
TF
5829 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
5830
b56d7e79
TF
5831 * libc/argz: New directory.
5832 * libc/argz/*: New files.
5833 * libc/argz/argz_add.c: New file.
5834 * libc/argz/argz_add_sep.c: New file.
5835 * libc/argz/argz_append.c: New file.
5836 * libc/argz/argz_count.c: New file.
5837 * libc/argz/argz_create.c: New file.
5838 * libc/argz/argz_create_sep.c: New file.
5839 * libc/argz/argz_delete.c: New file.
5840 * libc/argz/argz_extract.c: New file.
5841 * libc/argz/argz_insert.c: New file.
5842 * libc/argz/argz_next.c: New file.
5843 * libc/argz/argz_replace.c: New file.
5844 * libc/argz/argz_stringify.c: New file.
5845 * libc/argz/buf_findstr.c: New file.
5846 * libc/argz/envz_add.c: New file.
5847 * libc/argz/envz_entry.c: New file.
5848 * libc/argz/envz_get.c: New file.
5849 * libc/argz/envz_merge.c: New file.
5850 * libc/argz/envz_remove.c: New file.
5851 * libc/argz/envz_strip.c: New file.
5852 * libc/include/argz.h: New file.
5853 * libc/include/envz.h: New file.
5854 * Makefile.am (LIBC_OBJECTLISTS): Add
5855 libc/argz/objectlist.awk.in.
5856 * libc/Makefile.am (SUBDIRS): Add argz.
5857 (SUBLIBS): Add argz/libargz.la.
5858 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
5859 * libc/include/errno.h: Add error_t typedef.
5860
d062d3dd
JJ
58612002-06-13 Jeff Johnston <jjohnstn@redhat.com>
5862
5863 * libc/include/stdlib.h: Add _Exit prototype.
5864 * libc/stdlib/Makefile.am: Add _Exit.c support.
5865 * libc/stdlib/Makefile.in: Ditto.
5866 * libc/stdlib/_Exit.c: New file.
5867
a47e66ae
JJ
58682002-06-13 Stephen L. Moshier <steve@moshier.net>
5869
5870 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
5871 x is close to -1.0 and y is very large to use ax (absolute value)
5872 instead of x.
5873 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
5874
13f7d71f
JR
5875Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
5876
5877 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
5878 Fix clobbering bytes before destination if src and dst have same
5879 non-zero misalignment.
1f1fb421
JR
5880
5881 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5882 Fixed bug in writing end of set region.
5883
b2e8018f
CF
58842002-06-10 Christopher Faylor <cgf@redhat.com>
5885
5886 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
5887 spawnve declaration.
5888
0953fe64
TF
58892002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5890
5891 * libm/common/s_fdim.c: New file.
5892 * libm/common/s_fma.c: Likewise.
5893 * libm/common/s_fmax.c: Likewise.
5894 * libm/common/s_fmin.c: Likewise.
5895 * libm/common/s_fpclassify.c: Likewise.
5896 * libm/common/s_lrint.c: Likewise.
5897 * libm/common/s_lround.c: Likewise.
5898 * libm/common/s_nearbyint.c: Likewise.
5899 * libm/common/s_remquo.c: Likewise.
5900 * libm/common/s_round.c: Likewise.
5901 * libm/common/s_scalbln.c: Likewise.
5902 * libm/common/s_signbit.c: Likewise.
5903 * libm/common/s_trunc.c: Likewise.
5904 * libm/common/sf_fdim.c: Likewise.
5905 * libm/common/sf_fma.c: Likewise.
5906 * libm/common/sf_fmax.c: Likewise.
5907 * libm/common/sf_fmin.c: Likewise.
5908 * libm/common/sf_lrint.c: Likewise.
5909 * libm/common/sf_lround.c: Likewise.
5910 * libm/common/sf_nearbyint.c: Likewise.
5911 * libm/common/sf_remquo.c: Likewise.
5912 * libm/common/sf_round.c: Likewise.
5913 * libm/common/sf_scalbln.c: Likewise.
5914 * libm/common/sf_trunc.c: Likewise.
5915 * libm/math/w_exp2.c: Likewise.
5916 * libm/math/w_tgamma.c: Likewise.
5917 * libm/math/wf_exp2.c: Likewise.
5918 * libm/math/wf_tgamma.c: Likewise.
5919 * libm/mathfp/s_exp2.c: Likewise.
5920 * libm/mathfp/s_tgamma.c: Likewise.
5921 * libm/mathfp/sf_exp2.c: Likewise.
5922 * libm/mathfp/sf_tgamma.c: Likewise.
5923 * libm/math/er_gamma.c: Fix return value.
5924 * libm/math/erf_gamma.c: Likewise.
5925 * libm/mathfp/er_gamma.c: Likewise.
5926 * libm/mathfp/erf_gamma.c: Likewise.
5927 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
5928 declarations and macros.
5929 Regenerated all Makefile.in, aclocal.m4 and configure files to
5930 use new libtool macros in top-level libtool.m4
5931
39e65e01
JJ
59322002-06-05 Jeff Johnston <jjohnstn@redhat.com>
5933
5934 * libc/include/string.h[__linux__]: Add strsignal prototype.
5935 * libc/include/sys/lock.h: New file with default locking support.
5936 * libc/include/sys/reent.h: Add signal buffer support for strsignal
5937 and psignal.
5938 * libc/posix/Makefile.am: Add support for readdir_r.c.
5939 * libc/posix/Makefile.in: Regenerated.
5940 * libc/posix/closedir.c: Add locking support and hash table cleanup.
5941 * libc/posix/opendir.c: Add lock support.
5942 * libc/posix/readdir.c: Ditto.
5943 * libc/posix/rewinddir.c: Ditto.
5944 * libc/posix/scandir.c: Ditto.
5945 * libc/posix/seekdir.c: Ditto.
5946 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
5947 clean up leftover hash table entries.
5948 * libc/posix/readdir_r.c: New file.
5949 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
5950 * libc/sys/linux/Makefile.in: Regenerated.
5951 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
5952 * libc/sys/linux/sys/signal.h: Add psignal prototype.
5953 * libc/sys/linux/psignal.c: New file.
5954 * libc/sys/linux/strsignal.c: Ditto.
5955
cc890e89
CV
59562002-06-03 Corinna Vinschen <corinna@vinschen.de>
5957
5958 * libc/include/sys/types.h: Don't define dev_t when compiling for
5959 Cygwin.
5960
ea55e3f7
JJ
59612002-05-31 Jeff Johnston <jjohnstn@redhat.com>
5962
5963 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
5964 make siglist.inc dependent on sig.c instead of signal.c.
5965 * libc/sys/linux/Makefile.in: Regenerated.
5966 * libc/sys/linux/sig.c: Rename from signal.c and change code to
5967 use NSIG instead of _NSIG.
5968 * libc/sys/linux/sigaction.c: New file.
5969 * libc/sys/linux/signal.c: Changed to be linux signal() function
5970 so as to override regular newlib default signal.c.
ea55e3f7
JJ
5971 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
5972 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5973 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
5974 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
5975 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
5976 default linux sigset_t typedef by defining it equal to __sigset_t.
5977 * libc/unix/sigset.c: Add check so code isn't compiled on systems
5978 with a sigset_t that isn't implemented with a single int.
5979
9d362914
JJ
59802002-05-30 Jeff Johnston <jjohnstn@redhat.com>
5981
5982 * libc/sys/linux/Makefile.am: Add support for new files.
5983 * libc/sys/linux/Makefile.in: Regenerated.
5984 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
5985 * libc/sys/linux/signal.c: Change to use real-time syscalls for
5986 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
5987 it is in a separate file now.
5988 * libc/sys/linux/machine/i386/Makefile.am
5989 * libc/sys/linux/machine/i386/Makefile.in
5990 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
5991 * libc/sys/linux/sigaction.c: New file.
5992 * libc/sys/linux/sigqueue.c: Ditto.
5993 * libc/sys/linux/sigwait.c: Ditto.
5994 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
5995 * libc/sys/linux/kernel_sigaction.h: Ditto.
5996
b1f07180
JJ
59972002-05-28 Jeff Johnston <jjohnstn@redhat.com>
5998
5999 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
6000 tcsendbrk.c.
6001 * libc/sys/linux/Makefile.in: Regenerated.
6002 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
6003 tcgetpgrp(), and tcsetpgrp() functions.
6004 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
6005 to get __MAX_BAUD rate.
6006 * libc/sys/linux/machine/i386/include/termios.h: New file.
6007 * libc/include/machine/termios.h: Ditto.
6008 * libc/sys/linux/cfspeed.c: Ditto.
6009 * libc/sys/linux/tcsendbrk.c: Ditto.
6010
d29587b4
JJ
60112002-05-24 Jeff Johnston <jjohnstn@redhat.com>
6012
6013 * libc/include/string.h: Add strnlen and strerror_r prototypes.
6014 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
6015 * libc/string/Makefile.in: Regenerated.
6016 * libc/string/strerror_r.c: New file.
6017 * libc/string/strnlen.c: New file.
6018 * libc/sys/linux/Makefile.am: Add rename.c.
6019 * libc/sys/linux/Makefile.in: Regenerated.
6020 * libc/sys/linux/rename.c: New file to override default rename.
6021
9a292385
TF
60222002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6023
6024 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
6025 * libc/sys/linux/sys/time.h: Add conversion macros.
6026 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
6027 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
6028 * libc/sys/linux/gethostname.c: New file.
6029 * libc/sys/linux/seteuid.c: New file.
6030 * libc/sys/linux/sysctl.c: New file.
6031
7a364eb3
JJ
60322002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6033
6034 * libc/string/Makefile.am: Add support for strsep.c.
6035 * libc/string/Makefile.in: Regenerated.
6036 * libc/string/strsep.c: New file.
6037 * libc/string/strtok.c: Change to call __strtok_r service routine.
6038 * libc/string/strtok_r.c: Add __strtok_r routine which takes
6039 additional flag parameter regarding whether to skip leading delimeters.
6040 Change strtok_r to call __strtok_r.
6041
164ee5b0
JJ
60422002-05-23 Gareth Pearce <tilps@hotmail.com>
6043
6044 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
6045 * libc/stdio/Makefile.in: Regenerated.
6046 * libc/stdio/setbuffer.c: New file.
6047 * libc/stdio/setlinebuf.c: New file.
6048
f6b2b567
JJ
60492002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6050
6051 * libc/sys/linux/Makefile.am: Add resource.c.
6052 * libc/sys/linux/Makefile.in: Regenerated.
6053 * libc/sys/linux/resource.c: New file.
6054 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
6055 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
6056 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6057 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
6058 are now found in libc/sys/linux/resource.c.
6059
afe56517
JJ
60602002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6061
6062 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
6063 to use void * pointers and comply with Single Unix spec.
6064 * libc/string/bcmp.c: Change to use void * instead of char *.
6065 * libc/string/bcopy.c: Ditto.
6066 * libc/string/bzero.c: Ditto.
6067
7736feb2
JJ
60682002-05-22 Jeff Johnston <jjohnstn@redhat.com>
6069
6070 * libc/sys/linux/shm_open.c: New file.
6071 * libc/sys/linux/shm_unlink.c: Ditto.
6072 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
6073 shm_unlink.c.
6074 * libc/sys/linux/Makefile.in: Regenerated.
6075 * libc/sys/linux/sys/types.h: Add some additional checks to see
6076 if clock_t or time_t is already defined.
6077
19f111bd
JJ
60782002-05-22 Jeff Johnston <jjohnstn@redhat.com>
6079
6080 * Makefile.am: Don't pass $toollibdir down directly in
6081 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
6082 Pass it under the name: top_toollibdir.
6083 * Makefile.in: Regenerated.
6084
c811b1ee
CV
60852002-05-22 Corinna Vinschen <vinschen@redhat.com>
6086
6087 * libc/include/sys/types.h: Revert previous patch.
6088
2b43ad33
CV
60892002-05-22 Corinna Vinschen <vinschen@redhat.com>
6090
6091 * libc/include/sys/types.h: Include cygwin/types.h always under
6092 Cygwin, not only if _POSIX_THREADS is defined.
6093
dd671cde
TF
60942002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
6095
6096 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
6097
5e2cbfb6
JJ
60982002-05-17 Jeff Johnston <jjohnstn@redhat.com>
6099
6100 * Makefile.am: Copy and install headers from sys/machine/include
6101 directory. Also pass $toollibdir to lower-level directories.
6102 * Makefile.in: Regenerated.
6103 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
6104 stderr to use _REENT macro instead of _impure_ptr directly.
6105 * libc/include/sys/config.h[__i386__][__linux__]: Define
6106 __DYNAMIC_REENT__.
6107 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
6108 call to __getreent() function if !__SINGLE_THREAD__ and
6109 __DYNAMIC_REENT__ is set.
6110 * libc/reent/Makefile.am: Add support for getreent.c.
6111 * libc/reent/Makefile.in: Regenerated.
6112 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
6113 * libc/sys/linux/Makefile.am: Add support for new files.
6114 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
6115 * libc/sys/linux/Makefile.in: Regenerated.
6116 * libc/sys/linux/configure: Ditto.
6117 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
6118 __close, __read, __write, __poll, __open, __lseek, __fcntl from
6119 their __libc_ counterparts.
6120 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
6121 and weak-alias to regular names.
6122 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
6123 to pread64 and __pread64.
6124 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
6125 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
6126 weak-alias to pwrite64.
6127 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
6128 __libc_sched_getscheduler, __libc_sched_get_priority_max,
6129 __libc_sched_get_priority_min, and __libc_sched_setschedule to
6130 name with __ instead of __libc_.
6131 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
6132 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
6133 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
6134 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
6135 to raise.
6136 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
6137 __libc_send to __send.
6138 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
6139 __gettimeofday.
6140 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
6141 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
6142 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
6143 type and typedef __jmp_buf to jmp_buf.
6144 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
6145 setjmp.S.
6146 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6147 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
6148 section.
6149 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
6150 prefix for function macros and then use weak_alias() to regular names.
6151 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6152 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
6153 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
6154 to be flockfile() and funlockfile() respectively.
6155 * libc/sys/linux/sys/types.h
6156 * libc/reent/getreent.c: New file.
6157 * libc/sys/linux/flockfile.c: Ditto.
6158 * libc/sys/linux/funlockfile.c: Ditto.
6159 * libc/sys/linux/getreent.c: Ditto.
6160 * libc/sys/linux/pread.c: Ditto.
6161 * libc/sys/linux/pwrite.c: Ditto.
6162 * libc/sys/linux/raise.c: Ditto.
6163 * libc/sys/linux/system.c: Ditto.
6164 * libc/sys/linux/tcdrain.c: Ditto.
6165 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
6166 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
6167 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
6168 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
6169 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
6170
7fc85bd1
TF
61712002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
6172
6173 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
6174 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
6175 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
6176 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
6177
6935231f 6178Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
6179
6180 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
6181 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
6182 exit point.
d7a2f413 6183
3a6cb01b
TF
61842002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6185
a68fa571
TF
6186 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
6187 options when testing natively on i[3456]86-*-linux.
6188
3a6cb01b
TF
6189 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
6190 only one pass or fail per test file. Trim \r's from output
6191 values received from test programs. Remove support for named
6192 tests.
6193 * testsuite/newlib.locale/UTF-8.exp: Update to support new
6194 newlib_check_output behaviour.
6195 * testsuite/newlib.locale/UTF-8.c: Likewise.
6196
dc824ef7
JJ
61972002-05-15 Jeff Johnston <jjohnstn@redhat.com>
6198
6199 * libc/include/stdlib.h: Add on_exit prototype.
6200 * libc/include/sys/reent.h (struct _atexit): Add argument array
6201 and bits to track type of exit routine to support both on_exit
6202 and atexit.
6203 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
6204 by default and change the setting of the atexit structure.
6205 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
6206 * libc/stdlib/on_exit.c: New file.
6207 * libc/stdlib/Makefile.am: Add support for on_exit.
6208 * libc/stdlib/Makefile.in: Regenerated.
6209 * libc/stdlib/atexit.c: Change to initialize types field.
6210 * libc/stdlib/exit.c: Change to look at types field for each
6211 exit routine and either call an atexit-style or an on_exit-style
6212 routine accordingly.
6213
48d91b4a
JJ
62142002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6215
6216 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
6217 allow v specifier with n or L specifiers. For vector c format,
6218 move tmp declaration to the top.
6219
024739eb
JJ
62202002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6221
6222 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
6223 the original format specifier when looping for vectors to compensate
6224 for any changes made in vector %g format processing.
6225 Also add syntax checking for various invalid scenarios
6226 involving vector format extensions.
6227 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
6228 return code setting for vector formats. Also treat vector
6229 separator mismatch as a match error instead of an input error.
6230 Perform some syntax checking for vector formats.
6231
7d2ce898
TF
62322002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6233
6234 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
6235 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
6236 * libc/string/strlcat.c: New file.
6237 * libc/string/strlcpy.c: New file.
6238
809b6ce7
JJ
62392002-05-10 Jeff Johnston <jjohnstn@redhat.com>
6240
6241 * libc/string/strchr.c: Fix comment typo.
6242
76490806
TF
62432002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6244
0c048a9a
TF
6245 * acinclude.m4: Add support for --enable-newlib-multithread.
6246 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
6247 --enable-newlib-multithread=no.
6248
76490806
TF
6249 * libc/stdio/getc_u.c: New file.
6250 * libc/stdio/getchar_u.c: New file.
6251 * libc/stdio/putc_u.c: New file.
6252 * libc/stdio/putchar_u.c: New file.
6253 * libc/include/stdio.h: Add declarations for getc_unlocked,
6254 getchar_unlocked, putc_unlocked and putchar_unlocked.
6255 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
6256 (CHEWOUT_FILES): Add new files' .def's.
6257 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
6258
96bff22c
JR
6259Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
6260
6261 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
6262 Also handle as single quad word when destination ends at last
6263 byte of first quad word. Fix byte selection in single quad code.
6264
e71372fa
TF
62652002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6266
6267 * libc/include/sys/stdio.h: New file.
6268 * libc/sys/linux/sys/stdio.h: New file.
6269 * libc/include/stdio.h: Add declarations for flockfile,
6270 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
6271 * libc/stdio/clearerr.c: Add file locking.
6272 * libc/stdio/fclose.c: Likewise.
6273 * libc/stdio/feof.c: Likewise.
6274 * libc/stdio/ferror.c: Likewise.
6275 * libc/stdio/fflush.c: Likewise.
6276 * libc/stdio/fgetc.c: Likewise.
6277 * libc/stdio/fgetpos.c: Likewise.
6278 * libc/stdio/fgets.c: Likewise.
6279 * libc/stdio/fileno.c: Likewise.
6280 * libc/stdio/fputc.c: Likewise.
6281 * libc/stdio/fputs.c: Likewise.
6282 * libc/stdio/fread.c: Likewise.
6283 * libc/stdio/freopen.c: Likewise.
6284 * libc/stdio/fseek.c: Likewise.
6285 * libc/stdio/ftell.c: Likewise.
6286 * libc/stdio/fwrite.c: Likewise.
6287 * libc/stdio/getc.c: Likewise.
6288 * libc/stdio/putc.c: Likewise.
6289 * libc/stdio/setvbuf.c: Likewise.
6290 * libc/stdio/ungetc.c: Likewise.
6291 * libc/stdio/vfprintf.c: Likewise.
6292
a03790e4
JJ
62932002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6294
60b2107c
TF
6295 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
6296 support for 'p' format. Fix code to print bytes for vector
6297 integer formats that do not specify 'h' or 'l'.
6298 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
6299 for 'p' specifier. Fix code to scan 16 bytes for vector integer
6300 formats that do not specify 'h' or 'l'.
6301
6302 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
6303
9c7d6a9d
TF
63042002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
6305
6306 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
6307 (_sbrk): Add cast of return value.
6308
c33c3635
JJ
63092002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6310
6311 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
6312 (_REENT_L64A_BUF): New macro for accessing area.
6313 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
6314 * libc/stdlib/Makefile.in: Regenerated.
6315 * libc/stdlib/a64l.c: New file.
6316 * libc/stdlib/l64a.c: New file.
6317
f78e59a8
JJ
63182002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6319
6320 * libc/unix/pread.c: Fix typo for _pread_r.
6321 * libc/unix/pwrite.c: Fix type for _pwrite_r.
6322 * libc/sys/linux/pread64.c: Fix typo for read syscall.
6323 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
6324
4b3f6588
CF
63252002-05-03 Christopher Faylor <cgf@redhat.com>
6326
6327 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
6328
e911832c
TF
63292002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
6330
6331 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
6332
0d0fdc8d
CF
63332002-05-01 Christopher Faylor <cgf@redhat.com>
6334
6335 * utmp.h: Define more UNIX constants.
6336
1e997c56
TF
63372002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
6338
0717f01c
TF
6339 * Makefile.am: Add support for checking multilibs.
6340
09841445
TF
6341 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
6342 (SUBDEFS): Add LIBC_EXTRA_DEF.
6343 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
6344 (LIBC_EXTRA_DEF): Likewise.
6345 (extra_dir): Likewise.
6346 * libc/machine/xscale/machine: New directory.
6347 * libc/machine/xscale/machine/profile.h: New file.
6348
1e997c56
TF
6349 * Makefile.am (site.exp): Remove newlib_cflags. Add
6350 multibuildtop.
6351 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
6352 * testsuite/lib/flags.exp: New file.
6353 * testsuite/lib/newlib.exp: Load flags.exp.
6354 (newlib_target_compile): Remove libgloss directory references.
6355 (newlib_init): Remove newlib_cflags references.
6356
4cf4f010
TF
63572002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6358
f6bdb6f9
TF
6359 * testsuite/lib/newlib.exp (newlib_target_compile): Change
6360 method of finding libgloss_target_dir.
6361
4cf4f010
TF
6362 * Makefile.am (site.exp): Change host_alias, host_triplet,
6363 target_alias, target_triplet to refer to gcc's host and target
6364 variables (newlib's build and host variables).
6365 * testsuite/lib/newlib.exp (newlib_init): Change build
6366 references to host references, host references to target
6367 references to reflect Makefile.am changes.
6368 (newlib_target_compile): Likewise.
6369 (newlib_finish): Likewise.
6370
83096ae8
JJ
63712002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6372
6373 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
6374
822afa53
JL
63752002-04-29 Jonathan Larmour <jlarmour@redhat.com>
6376
6377 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
6378 (_system): New function. Ditto.
6379 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
6380 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
6381 targets.
6382
29798f0d
JJ
63832002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6384
6385 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
6386 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
6387 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
6388 * libc/sys/linux/Makefile.in: Regenerated.
6389 * libc/unix/Makefile.in: Ditto.
6390 * libc/sys/linux/pread64.c: New file.
6391 * libc/sys/linux/pwrite64.c: Ditto.
6392 * libc/unix/pread.c: Ditto.
6393 * libc/unix/pwrite.c: Ditto.
6394
557856bd
JJ
63952002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6396
6397 * libc/sys/linux/Makefile.am: Add io64.c.
6398 * libc/sys/linux/Makefile.in: Regenerated.
6399 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
6400 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
6401 * libc/sys/linux/io64.c: New file.
6402
7b2b12d5
JJ
64032002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6404
6405 * configure.in (CC_FOR_NEWLIB): New variable that
6406 bases on $(CC) and adds targ-include and libc/include as
6407 -isystem directives if they are not already part of $(CC).
6408 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
6409 $(CC_FOR_NEWLIB).
6410 * configure: Regenerated.
6411 * Makefile.in: Ditto.
6412
c62adacc
JJ
64132002-04-25 Jeff Johnston <jjohnstn@redhat.com>
6414
6415 * libc/sys/linux/Makefile.am: Add support for sched.c.
6416 * libc/sys/linux/Makefile.in: Regenerated.
6417 * libc/sys/linux/sched.c: New file.
6418 * libc/sys/linux/sys/types.h: Add struct timespec.
6419
217ad4a0
TF
64202002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
6421
6422 * configure.in (CC_FOR_BUILD): Set to gcc whether
6423 cross-compiling or not.
6424 (CC): Add -isystem's for targ-include and libc/include when they
6425 do not already appear in CC.
6426
eaa75b70
TF
64272002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6428
6429 * Makefile.am (check-DEJAGNU): New target.
6430 (site.exp): Likewise.
6431 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
6432 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
6433 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
6434 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
6435 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
6436 * testsuite: New directory.
6437 * testsuite/config: Likewise.
6438 * testsuite/lib: Likewise.
6439 * testsuite/newlib.locale: Likewise.
6440 * testsuite/newlib.string: Likewise.
6441 * testsuite/config/default.exp: New file.
6442 * testsuite/lib/checkoutput.exp: New file.
6443 * testsuite/lib/newlib.exp: New file.
6444 * testsuite/lib/passfail.exp: New file.
6445 * testsuite/newlib.locale/UTF-8.c: New file.
6446 * testsuite/newlib.locale/UTF-8.exp: New file.
6447 * testsuite/newlib.locale/locale.exp: New file.
6448 * testsuite/newlib.string/string.exp: New file.
6449 * testsuite/newlib.string/tstring.c: New file.
6450
b9f9f699
JJ
64512002-04-23 Jeff Johnston <jjohnstn@redhat.com>
6452
6453 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
6454 * libc/sys/linux/Makefile.am: Add support for mmap.c.
6455 * libc/sys/linux/Makefile.in: Regenerated.
6456 * libc/sys/linux/mmap.c: New file.
6457 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
6458 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
6459
7394edbb
TF
64602002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6461
6462 * acinclude.m4 (newlib_cflags): Remove include directories that
6463 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
6464
b9f9f699 64652002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
6466
6467 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
6468 * libc/machine/xscale/memcmp.c: Ditto.
6469 * libc/machine/xscale/memcpy.c: Ditto.
6470 * libc/machine/xscale/memmove.c: Ditto.
6471 * libc/machine/xscale/memset.c: Ditto.
6472 * libc/machine/xscale/strchr.c: Ditto.
6473 * libc/machine/xscale/strcmp.c: Ditto.
6474 * libc/machine/xscale/strcpy.c: Ditto.
6475 * libc/machine/xscale/strlen.c: Ditto.
6476
2dd4c4dc
JJ
64772002-04-19 Alexandre Oliva <aoliva@redhat.com>
6478
6479 * libc/include/sys/config.h: Remove include of <limits.h>.
6480 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
6481 define INT_MAX and LONG_MAX. Use them in tests.
6482
0d844014
JJ
64832002-04-19 Jeff Johnston <jjohnstn@redhat.com>
6484
6485 * configure.host: Add support for powerpc-eabialtivec*.
6486 * libc/include/malloc.h: Add include of <machine/malloc.h>.
6487 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
6488 * libc/include/machine/malloc.h: New file.
6489 * libc/include/machine/stdlib.h: Ditto.
6490 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
6491 * libc/machine/powerpc/Makefile.am: Add conditional objects and
6492 sources based on configuration.
6493 * libc/machine/powerpc/Makefile.in: Regenerated.
6494 * libc/machine/powerpc/configure: Ditto.
6495 * libc/machine/powerpc/configure.in: Add check for
6496 powerpc-eabialtivec* in which case add in additional source files.
6497 * libc/machine/powerpc/setjmp.S: Add altivec support.
6498 * libc/machine/powerpc/vec_calloc.c: New file.
6499 * libc/machine/powerpc/vec_free.c: Ditto.
6500 * libc/machine/powerpc/vec_malloc.c: Ditto.
6501 * libc/machine/powerpc/vec_mallocr.c: Ditto.
6502 * libc/machine/powerpc/vec_realloc.c: Ditto.
6503 * libc/machine/powerpc/machine/malloc.h: Ditto.
6504 * libc/machine/powerpc/machine/stdlib.h: Ditto.
6505 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
6506 with added altivec format specifiers.
6507 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
6508 added altivec format specifiers.
6509
d413aadc
JS
65102002-04-19 Joel Sherrill <joel@OARcorp.com>
6511
6512 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
6513 while autoconf is trying to link main(){}.
6514
27193895
JJ
65152002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6516
6517 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
6518 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
6519
10d00216
JJ
65202002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6521
6b0f808e
JJ
6522 * libc/time/time.tex: Add tzset info.
6523
65242002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6525
6526 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6527 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6528 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6529 (tzname): Defined for all platforms.
6530 (daylight, timezone): Defined only for CYGWIN.
6531 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6532 environment set up.
6533 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6534 environment variable is set.
6535 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6536 tzset_r.c.
6537 * libc/time/Makefile.in: Regenerated.
6538 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6539 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6540 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6541 * libc/time/local.h: New local header file.
6542 * libc/time/mktime.c (mktime): Add timezone support.
6543 * libc/time/mktm_r.c: New file which is the common engine
6544 for gmtime_r and lcltime_r. This code has timezone support.
6545 * libc/time/strftime.c (strftime): Add %Z timezone support.
6546 * libc/time/tzlock.c: New file containing timezone lock stubs.
6547 * libc/time/tzset.c: New file containing tzset() routine.
6548 * libc/time/tzset_r.c: New file containing _tzset_r and
6549 internal routine for calculating timezone changes for specified year.
6550
65512002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6552
6553 * configure.in (CRT0_DIR): Set to libc/.
6554 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6555 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6556 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6557 $(CRT1_DIR)/$(CRT1).
6558 * libc/machine/xstormy16/Makefile.in: Regenerated.
6559 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6560 * libc/machine/xstormy16/configure: Regenerated.
6561
65622002-04-13 Alexandre Oliva <aoliva@redhat.com>
6563
6564 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6565 fails, don't bail out, and try to correct next time.
6566
6567 * libc/include/sys/config.h: Include limits.h.
6568
65692002-04-12 Eric Norum <eric.norum@usask.com>
6570
6571 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6572 routine to allow autoconf to determine that building executables
6573 for rtems works.
6574 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6575 (rtems_gxx_mutex_once): Ditto.
6576
65772002-04-09 Tom Rix <trix@redhat.com>
6578
6579 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6580
65812002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6582
6583 * libc/include/time.h: Fix strptime declaration.
6584 * libc/time/Makefile.am: Add strptime.c.
6585 * libc/time/Makefile.in: Regenerated.
6586 * libc/time/strptime.c: New file.
6587
65882002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6589
6590 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6591 siglongjmp prototype, and sigsetjmp macro definition.
6592 * libc/sys/linux/siglongjmp.c: New file.
6593 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6594 * libc/sys/linux/Makefile.in: Regenerated.
6595
65962002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6597
6598 * Makefile.am: Add support for installing crt1.o if one exists.
6599 * configure.host: Specify crt1.o for linux.
6600 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6601 * Makefile.in: Regenerated.
6602 * configure: Ditto.
6603 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6604 Added for non-Cygwin, non-RTEMS configurations.
6605 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6606 * libc/sys/linux/Makefile.in: Regenerated.
6607 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6608 by gcc. This fixes problem with reconfiguring linux newlib build.
6609 * libc/sys/linux/sysconf.c: New file.
6610
66112002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6612
6613 * configure.host: Add support for machine subdirectory of
6614 sys subdirectory.
6615 * configure.in: Add check for sys machine subdirectory.
6616 * Makefile.am: Ditto.
6617 * configure: Regenerated.
6618 * Makefile.in: Ditto.
6619 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6620 * libc/sys/linux/sys/syscall.h: Ditto.
6621 * libc/sys/linux/sleep.c: New file.
6622 * libc/sys/linux/socket.c: Ditto.
6623 * libc/sys/linux/sockops.h: Ditto.
6624 * libc/sys/linux/stack.c: Ditto.
6625 * libc/sys/linux/usleep.c: Ditto.
6626 * libc/sys/linux/machine/Makefile.am: Ditto.
6627 * libc/sys/linux/machine/Makefile.in: Ditto.
6628 * libc/sys/linux/machine/aclocal.m4: Ditto.
6629 * libc/sys/linux/machine/configure: Ditto.
6630 * libc/sys/linux/machine/configure.in: Ditto.
6631 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6632 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6633 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6634 * libc/sys/linux/machine/i386/configure: Ditto.
6635 * libc/sys/linux/machine/i386/configure.in: Ditto.
6636 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6637 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6638 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6639 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6640 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6641 * libc/sys/linux/sys/select.h: Ditto.
6642 * libc/sys/linux/configure.in: Add support for machine directory.
6643 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6644 * libc/sys/linux/Makefile.in: Regenerated.
6645 * libc/sys/linux/configure: Ditto.
6646 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6647 * libc/sys/linux/inode.c: Ditto.
6648 * libc/sys/linux/linux.c: Ditto.
6649 * libc/sys/linux/process.c: Ditto.
6650 * libc/sys/linux/systat.c: Ditto.
6651 * libc/sys/linux/time.c: Ditto.
6652 * libc/sys/linux/wait.c: Ditto.
6653 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6654 * libc/sys/linux/io.c: Change header plus add readv/writev.
6655 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6656 use __sigsuspend syscall.
6657 * libc/sys/linux/select.c: Change header plus change select to
6658 use _newselect syscall.
6659 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6660 used by glibc header files.
6661 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6662 types.
6663
66642002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6665
6666 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6667 initializing a struct _reent that has been dynamically allocated.
6668 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6669 _REENT_SMALL and does nothing otherwise.
6670 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6671 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6672 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6673 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6674 [_REENT_SMALL](struct _misc_reent): New structure containing
6675 miscellaneous reentrant areas needed by newlib.
6676 [_REENT_SMALL](struct _reent): Add _misc pointer.
6677 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6678 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6679 and _REENT_STRTOK_LAST macros.
6680 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6681 and _REENT_MBLEN_STATE macros.
6682 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6683 and _REENT_MBTOWC_STATE macros.
6684 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6685 and _REENT_WCTOMB_STATE macros.
6686
66872002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6688
6689 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6690
6691Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6692
6693 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6694
6695Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6696
6697 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6698 Store high part of leading bytes too.
6699
67002002-03-22 Richard Sandiford <rsandifo@redhat.com>
6701
6702 * libm/math/ef_hypot.c: Increase scale factor to 68.
6703
67042002-03-13 Alexandre Oliva <aoliva@redhat.com>
6705
6706 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6707 error.
6708
67092002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6710
6711 * libc/sys/go32/access.c: Change license to relaxed license
6712 used in identical file throughout newlib/libgloss.
6713
67142002-03-12 Richard Earnshaw <rearnsha@arm.com>
6715
6716 * libc/sys/arm/access.c: New file.
6717 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6718 * libc/sys/arm/Makefile.in: Regenerate.
6719 * libc/sys/arm/syscalls.c (_stat): New function.
6720
67212002-03-11 Michael Meissner <meissner@redhat.com>
6722
6723 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6724 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6725 * libc/machine/mips/Makefile.in: Regenerate.
6726 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6727 * libc/machine/mips/memset.c: Dito.
6728 * libc/machine/mips/strcmp.c: Dito.
6729 * libc/machine/mips/strlen.c: Dito.
6730 * libc/machine/mips/strncmp.c: Dito.
6731
67322002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6733
6734 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6735 object so it works for shared library or statici library.
67362002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6737
10d00216
JJ
6738 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6739 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6740 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6741 (tzname): Defined for all platforms.
6742 (daylight, timezone): Defined only for CYGWIN.
6743 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6744 environment set up.
6745 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6746 environment variable is set.
6747 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6748 tzset_r.c.
6749 * libc/time/Makefile.in: Regenerated.
6750 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6751 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6752 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6753 * libc/time/local.h: New local header file.
6754 * libc/time/mktime.c (mktime): Add timezone support.
6755 * libc/time/mktm_r.c: New file which is the common engine
6756 for gmtime_r and lcltime_r. This code has timezone support.
6757 * libc/time/strftime.c (strftime): Add %Z timezone support.
6758 * libc/time/tzlock.c: New file containing timezone lock stubs.
6759 * libc/time/tzset.c: New file containing tzset() routine.
6760 * libc/time/tzset_r.c: New file containing _tzset_r and
6761 internal routine for calculating timezone changes for specified year.
6762
5f1c13c6
TF
67632002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6764
6765 * configure.in (CRT0_DIR): Set to libc/.
6766 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6767 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6768 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6769 $(CRT1_DIR)/$(CRT1).
6770 * libc/machine/xstormy16/Makefile.in: Regenerated.
6771 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6772 * libc/machine/xstormy16/configure: Regenerated.
6773
0cc261b1
AO
67742002-04-13 Alexandre Oliva <aoliva@redhat.com>
6775
2f3009bd
AO
6776 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6777 fails, don't bail out, and try to correct next time.
6778
0cc261b1
AO
6779 * libc/include/sys/config.h: Include limits.h.
6780
26116455
JJ
67812002-04-12 Eric Norum <eric.norum@usask.com>
6782
6783 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6784 routine to allow autoconf to determine that building executables
6785 for rtems works.
6786 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6787 (rtems_gxx_mutex_once): Ditto.
6788
4608280d
TR
67892002-04-09 Tom Rix <trix@redhat.com>
6790
6791 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6792
dea7e25c
JJ
67932002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6794
6795 * libc/include/time.h: Fix strptime declaration.
6796 * libc/time/Makefile.am: Add strptime.c.
6797 * libc/time/Makefile.in: Regenerated.
6798 * libc/time/strptime.c: New file.
6799
c5ef1e95
JJ
68002002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6801
6802 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6803 siglongjmp prototype, and sigsetjmp macro definition.
6804 * libc/sys/linux/siglongjmp.c: New file.
6805 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6806 * libc/sys/linux/Makefile.in: Regenerated.
6807
6e6cd5bd
JJ
68082002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6809
6810 * Makefile.am: Add support for installing crt1.o if one exists.
6811 * configure.host: Specify crt1.o for linux.
6812 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6813 * Makefile.in: Regenerated.
6814 * configure: Ditto.
6815 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6816 Added for non-Cygwin, non-RTEMS configurations.
6817 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6818 * libc/sys/linux/Makefile.in: Regenerated.
6819 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6820 by gcc. This fixes problem with reconfiguring linux newlib build.
6821 * libc/sys/linux/sysconf.c: New file.
6822
fa4a16a1
JJ
68232002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6824
6825 * configure.host: Add support for machine subdirectory of
6826 sys subdirectory.
6827 * configure.in: Add check for sys machine subdirectory.
6828 * Makefile.am: Ditto.
6829 * configure: Regenerated.
6830 * Makefile.in: Ditto.
6831 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6832 * libc/sys/linux/sys/syscall.h: Ditto.
6833 * libc/sys/linux/sleep.c: New file.
6834 * libc/sys/linux/socket.c: Ditto.
6835 * libc/sys/linux/sockops.h: Ditto.
6836 * libc/sys/linux/stack.c: Ditto.
6837 * libc/sys/linux/usleep.c: Ditto.
6838 * libc/sys/linux/machine/Makefile.am: Ditto.
6839 * libc/sys/linux/machine/Makefile.in: Ditto.
6840 * libc/sys/linux/machine/aclocal.m4: Ditto.
6841 * libc/sys/linux/machine/configure: Ditto.
6842 * libc/sys/linux/machine/configure.in: Ditto.
6843 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6844 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6845 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6846 * libc/sys/linux/machine/i386/configure: Ditto.
6847 * libc/sys/linux/machine/i386/configure.in: Ditto.
6848 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6849 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6850 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6851 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6852 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6853 * libc/sys/linux/sys/select.h: Ditto.
6854 * libc/sys/linux/configure.in: Add support for machine directory.
6855 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6856 * libc/sys/linux/Makefile.in: Regenerated.
6857 * libc/sys/linux/configure: Ditto.
6858 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6859 * libc/sys/linux/inode.c: Ditto.
6860 * libc/sys/linux/linux.c: Ditto.
6861 * libc/sys/linux/process.c: Ditto.
6862 * libc/sys/linux/systat.c: Ditto.
6863 * libc/sys/linux/time.c: Ditto.
6864 * libc/sys/linux/wait.c: Ditto.
6865 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6866 * libc/sys/linux/io.c: Change header plus add readv/writev.
6867 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6868 use __sigsuspend syscall.
6869 * libc/sys/linux/select.c: Change header plus change select to
6870 use _newselect syscall.
6871 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6872 used by glibc header files.
6873 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6874 types.
6875
d4dca0e4
JJ
68762002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6877
6878 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6879 initializing a struct _reent that has been dynamically allocated.
6880 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6881 _REENT_SMALL and does nothing otherwise.
6882 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6883 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6884 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6885 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6886 [_REENT_SMALL](struct _misc_reent): New structure containing
6887 miscellaneous reentrant areas needed by newlib.
6888 [_REENT_SMALL](struct _reent): Add _misc pointer.
6889 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6890 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6891 and _REENT_STRTOK_LAST macros.
6892 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6893 and _REENT_MBLEN_STATE macros.
6894 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6895 and _REENT_MBTOWC_STATE macros.
6896 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6897 and _REENT_WCTOMB_STATE macros.
6898
54a7c6d2
JJ
68992002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6900
6901 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6902
c82479b1
CF
6903Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6904
6905 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6906
43ecf6e8
JR
6907Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6908
6909 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6910 Store high part of leading bytes too.
6911
a485d93f
RS
69122002-03-22 Richard Sandiford <rsandifo@redhat.com>
6913
6914 * libm/math/ef_hypot.c: Increase scale factor to 68.
6915
62a963ee
AO
69162002-03-13 Alexandre Oliva <aoliva@redhat.com>
6917
6918 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6919 error.
6920
c53d8453
JJ
69212002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6922
6923 * libc/sys/go32/access.c: Change license to relaxed license
6924 used in identical file throughout newlib/libgloss.
6925
d2a246ad
JJ
69262002-03-12 Richard Earnshaw <rearnsha@arm.com>
6927
6928 * libc/sys/arm/access.c: New file.
6929 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6930 * libc/sys/arm/Makefile.in: Regenerate.
6931 * libc/sys/arm/syscalls.c (_stat): New function.
6932
eabb48d5
MM
69332002-03-11 Michael Meissner <meissner@redhat.com>
6934
6935 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6936 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6937 * libc/machine/mips/Makefile.in: Regenerate.
6938 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6939 * libc/machine/mips/memset.c: Dito.
6940 * libc/machine/mips/strcmp.c: Dito.
6941 * libc/machine/mips/strlen.c: Dito.
6942 * libc/machine/mips/strncmp.c: Dito.
6943
2a606041
JJ
69442002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6945
eabb48d5
MM
6946 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6947 object so it works for shared library or statici library.
6948 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 6949
55f26f11
JR
6950Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
6951
96bff22c
JR
6952 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
6953 Add memcpy.S, memset.S and strcpy.S.
6954 * libc/machine/sh/Makefile.in: Regenerate.
6955 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 6956 (SHHI, SHLO): Define.
96bff22c
JR
6957 * libc/machine/sh/memset.S: Add code for SH5.
6958 * libc/machine/sh/memset.S: Likewise.
6959 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 6960
afecf2fa
JJ
69612002-02-27 Jeff Johnston <jjohnstn@redhat.com>
6962
6963 * configure.host: Add check for --disable-newlib-io-float
6964 configuration option and add -DNO_FLOATING_POINT to newlib cflags
6965 if appropriate.
6966 * acinclude.m4: Added --disable-newlib-io-float option.
6967 * aclocal.m4: Regenerated.
6968 * configure: Ditto.
6969 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6970 * libc/*/aclocal.m4 libc/*/configure
6971 * libm/*/aclocal.m4 libm/*/configure: Ditto.
6972 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
6973 if NO_FLOATING_POINT flag is not defined.
6974
c1010a63
JJ
69752002-02-25 Jeff Johnston <jjohnstn@redhat.com>
6976
6977 * libc/include/sys/config.h: Add __extension__ in front of
6978 long long references.
6979
630c657e
CV
69802002-02-23 Corinna Vinschen <corinna@vinschen.de>
6981
6982 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
6983 (_stat): Ditto.
6984
59ee2e20
CV
69852002-02-23 Corinna Vinschen <corinna@vinschen.de>
6986
6987 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
6988 of off_t.
6989
2dd68dc2
NC
69902002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
6991
6992 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
6993 clobbered registers.
6994
55500bf1
TF
69952002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6996
6997 * configure.host (newlib_cflags): When host is in m68* add
6998 -DCOMPACT_CTYPE.
6999
ba0173f0
JJ
70002002-02-15 Jeff Johnston <jjohnstn@redhat.com>
7001
7002 * libc/include/sys/config.h: Add definitions for
7003 __int16_t, __uint16_t, __int64_t, and __uint64_t.
7004
7b61d0c5
JJ
70052002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
7006
7007 * libc/sys/mmixware/link.c: New.
7008 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
7009 volatile.
7010 * libc/sys/mmixware/times.c (_times): Renamed from times.
7011 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
7012 properly by reading previous contents, not through BinaryReadWrite.
7013 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
7014 * libc/sys/mmixware/Makefile.in: Regenerate.
7015
a505db65
CV
70162002-02-10 Corinna Vinschen <corinna@vinschen.de>
7017
7018 * libc/include/grp.h: Don't declare group functions when compiling
7019 Cygwin.
7020
f3b39c45
CV
70212002-02-09 Corinna Vinschen <corinna@vinschen.de>
7022
7023 * libc/include/grp.h: Include Cygwin specific header.
7024 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
7025 when compiling for Cygwin.
7026 * libc/include/sys/types.h: Don't define off_t, uid_t
7027 and gid_t when compiling for Cygwin.
7028
82b3ac56
MG
70292002-02-08 matthew green <mrg@redhat.com>
7030
7031 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
7032 _REENT_EMERGENCY_SIZE, not sizeof(char *).
7033
9f25eed9
AO
70342002-02-08 Alexandre Oliva <aoliva@redhat.com>
7035
7036 Contribute sh64-elf.
7037 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
7038 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
7039 support in printf.
7040 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
7041 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
7042 any labels.
7043 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
7044 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
7045 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
7046 * libc/machine/sh/configure.in: Rework conditionals.
7047 * libc/machine/sh/Makefile.am: Likewise.
7048 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
7049 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
7050 * configure.host: Match `sh*'.
7051 * libc/include/machine/setjmp.h: Define for SH5.
7052 * libc/machine/sh/configure.in: Detect SH5.
7053 * libc/machine/sh/configure: Rebuilt.
7054 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
7055 * libc/machine/sh/Makefile.in: Rebuilt.
7056 * libc/machine/sh/asm.h: Adjust for SH5.
7057 * libc/machine/sh/setjmp.S: Implement in SHmedia.
7058 * libc/sys/sh/crt0.S: Likewise.
7059 * libc/sys/sh/trap.S: Likewise.
7060
a2a405ae
JJ
70612002-02-07 Jeff Johnston <jjohnstn@redhat.com>
7062
7063 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
7064 (mach_add_obj): Conditionally set to setjmp.o or nothing.
7065 (LIB_SOURCES): Remove $(mach_add_src).
7066 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
7067 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
7068 * libc/machine/i386/Makefile.in: Regenerate.
7069
27478365
JJ
70702002-02-05 Manik Raina <manik@cisco.com>
7071
994fa212 7072 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
7073 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
7074 s, p, k, and outstr.
7075 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
7076
815a37f7
JJ
70772002-02-04 Jeff Johnston <jjohnstn@redhat.com>
7078
7079 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
7080 _REENT_CHECK_EMERGENCY macro.
7081
a4139c12
MG
70822002-02-03 matthew green <mrg@redhat.com>
7083
7084 * libc/reent/signgam.c (__signgam): Fix error in previous.
7085
8195aff7
MG
70862002-02-02 matthew green <mrg@redhat.com>
7087
7088 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
7089
7090 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
7091 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
7092 * libc/include/sys/reent.h (struct _reent): Completely new version
7093 for _REENT_SMALL.
7094 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
7095 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
7096 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
7097 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
7098 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
7099 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
7100 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
7101 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
7102 (_REENT_EMERGENCY): Likewise.
7103
7104 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
7105 the start of the real __sFILE, used for stdin, stdout and stderr until
7106 they are setup properly.
7107 (struct __sFILE): Move location of _data in _REENT_SMALL case.
7108 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
7109 allocated stdin, stdout and stderr.
7110 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
7111 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
7112 * libc/stdio/perror.c (_perror_r): Likewise.
7113 * libc/stdio/printf.c (printf, _printf_r): Likewise.
7114 * libc/stdio/putchar.c (_putchar_r): Likewise.
7115 * libc/stdio/puts.c (_puts_r): Likewise.
7116 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
7117 * libc/stdio/vprintf.c (vprintf): Likewise.
7118 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
7119
7120 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
7121
7122 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
7123 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
7124 for _REENT_SMALL.
7125 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
7126 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
7127
7128 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
7129 _REENT_SMALL.
7130 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
7131 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
7132 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
7133 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
7134 * libc/stdlib/rand48.c (__dorand48): Likewise.
7135 * libc/stdlib/seed48.c (_seed48_r): Likewise.
7136 * libc/stdlib/srand48.c (_srand48_r): Likewise.
7137 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
7138 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
7139 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
7140 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
7141 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
7142 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
7143 * libc/stdlib/rand.c (rand): Likewise.
7144
7145 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
7146 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
7147
7148 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
7149 _REENT_MP_FREELIST() and _REENT_MP_P5S.
7150 * libc/include/sys/reent.h (struct _mprec): New structure.
7151
7152 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
7153 _unused_strtok_last.
7154 * libc/string/strtok.c (strtok): Use a local static variable.
7155
7156 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
7157 (_REENT_EMERGENCY_SIZE): Likewise.
7158 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
7159 _REENT_ASCTIME_BUF().
7160 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
7161 _REENT_TM().
7162
7163 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
7164 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
7165 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
7166 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
7167 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
7168 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
7169
9c2e7642
GK
71702002-02-01 Geoffrey Keating <geoffk@redhat.com>
7171
7172 * configure.host (xstormy16): Don't use the generic malloc.
7173 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
7174 * libc/machine/xstormy16/Makefile.in: Regenerate.
7175 * libc/machine/xstormy16/mallocr.c: New file.
7176 * libc/machine/xstormy16/tiny-malloc.c: New file.
7177
4bb6112f
TF
71782002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7179
7180 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
7181 when _CYGWIN_TYPES_H is not defined.
7182
8d345552
TF
71832002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7184
7185 * libc/include/sys/signal.h: Revert 2002-01-23 change.
7186
bcc49082
TF
71872002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7188
7189 * libc/include/sys/signal.h: Remove pthread_kill declaration
7190 when __CYGWIN__ is defined.
7191
13baedeb
CF
71922002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7193
7194 * libc/include/time.h: Add prototype for strptime for Cygwin.
7195
b2db0ebc
NC
71962002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
7197
ebf139fb
NC
7198 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
7199 dst was not word aligned.
7200
b2db0ebc
NC
7201 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
7202 if too much memory is requested.
7203
798c015d
JJ
72042002-01-11 Jeff Johnston <jjohnstn@redhat.com>
7205
7206 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
7207 reads blanks from the input file to break if EOF reached
7208 rather than end processing.
7209
46ad2ef4
JJ
72102002-01-07 Jeff Johnston <jjohnstn@redhat.com>
7211
7212 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
7213
86b06396
JJ
72142002-01-07 Alan Matsuoka <alanm@redhat.com>
7215
7216 * libc/include/machine/ieeefp.h: Configure d10v doubles to
7217 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
7218 libc/include/sys/config.h: Ditto.
7219
423d5064
CV
72202001-12-28 Corinna Vinschen <corinna@vinschen.de>
7221
7222 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
7223
f6eff1c0
GK
72242001-12-22 Geoffrey Keating <geoffk@redhat.com>
7225 Catherine Moore <clm@redhat.com>
7226 Richard Henderson <rth@redhat.com>
7227 Corinna Vinschen <vinschen@redhat.com>
7228
7229 * configure.host: Add support for xstormy16.
7230 * libc/include/machine/ieeefp.h: Add support for xstormy16.
7231 * libc/include/machine/setjmp.h: Add support for xstormy16.
7232 * libc/include/sys/config.h: Add support for xstormy16.
7233 * libc/machine/xstormy16/Makefile.am: New file.
7234 * libc/machine/xstormy16/Makefile.in: New file.
7235 * libc/machine/xstormy16/aclocal.m4: New file.
7236 * libc/machine/xstormy16/configure: New file.
7237 * libc/machine/xstormy16/configure.in: New file.
7238 * libc/machine/xstormy16/setjmp.S: New file.
7239
1f93c55f
TF
72402001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7241
7242 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
7243 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
7244
13b918be
CV
72452001-12-19 Corinna Vinschen <corinna@vinschen.de>
7246
7247 * libm/machine/Makefile.am: Change rules to create correct lib.a.
7248 * libm/machine/Makefile.in: Regenerated through automake.
7249
08e857b4
TF
72502001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7251
7252 * Makefile.am (DOCDIR): Force to empty string when doc
7253 directory is not present.
7254
60565ed6
TF
72552001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7256
7257 * libc/machine/i386/f_*: Move to libm/machine/i386.
7258
72592001-12-18 Joel Sherrill <joel@OARcorp.com>
7260
7261 * libm/machine/Makefile.am: Add dummy doc stub so
7262 "make info" works.
7263
72642001-12-17 Joel Sherrill <joel@OARcorp.com>
7265
7266 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
7267
fc504135
TF
72682001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7269
7270 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
7271 $(COMPILE) rather than $(CC).
7272 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
7273 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
7274 $(LIB_COMPILE) change.
7275 (vfiprintf.$(oext)): Likewise.
7276
efeae9a3
CV
72772001-12-17 Corinna Vinschen <vinschen@redhat.de>
7278
7279 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
7280 conditionalized including of getopt stuff.
7281
cdf7120d
TF
72822001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7283
7284 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
7285 compile line.
f85be99c 7286 (vfiprintf.$(oext)): Likewise.
cdf7120d 7287
2e1a7175
TF
72882001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7289
7290 * Makefile.shared: New file.
7291 * libc/sys/linux/shared.ld: New file.
7292 * libm/machine/*: New files.
7293 * libm/machine/i386/*: New files.
7294 * Makefile.am: Add libtool support. Change math and mathfp
7295 references to variables.
7296 * configure.host: Add variables for libtool support. Add
7297 libm_machine_dir variable.
7298 * configure.in: Add objectlist variables, for libtool
7299 support. Add CC_FOR_BUILD tests.
7300 * libc/Makefile.am: Add libtool support. Change crt0.o
7301 reference to be a variable reference.
7302 * libc/configure.in: Add libtool support. Change sublib
7303 names to be lib${subdir}.la when using libtool.
7304 * libc/ctype/Makefile.am: Add libtool support.
7305 * libc/errno/Makefile.am: Likewise.
7306 * libc/locale/Makefile.am: Likewise.
7307 * libc/machine/Makefile.am: Likewise.
7308 * libc/machine/configure.in: Likewise.
7309 * libc/machine/i386/Makefile.am: Likewise.
7310 * libc/machine/i386/configure.in: Likewise.
7311 * libc/misc/Makefile.am: Likewise.
7312 * libc/posix/Makefile.am: Likewise.
7313 * libc/reent/Makefile.am: Likewise.
7314 * libc/signal/Makefile.am: Likewise.
7315 * libc/stdio/Makefile.am: Likewise.
7316 * libc/stdlib/Makefile.am: Likewise.
7317 * libc/string/Makefile.am: Likewise.
7318 * libc/sys/Makefile.am: Likewise.
7319 * libc/sys/configure.in: Likewise.
7320 * libc/sys/linux/Makefile.am: Add libtool support. Change
7321 awk reference to a variable reference. Change signal.h
7322 reference to a variable reference.
7323 * libc/sys/linux/configure.in: Add libtool support.
7324 * libc/syscalls/Makefile.am: Likewise.
7325 * libc/time/Makefile.am: Likewise.
7326 * libc/unix/Makefile.am: Likewise.
7327 * libm/Makefile.am: Add libtool support. Change math and
7328 mathfp references to variables.
7329 * libm/configure.in: Add libtool support. Add
7330 LIBM_MACHINE_LIB variable.
7331 * libm/common/Makefile.am: Add libtool support.
7332 * libm/math/Makefile.am: Likewise.
7333 * libm/mathfp/Makefile.am: Likewise.
7334 Regenerate all Makefile.in, aclocal.m4, and configure.
7335
b92591a1
JJ
73362001-12-13 Anita Kulkarni <anitak@kpit.com>
7337
7338 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
7339
355b664e
CF
73402001-12-06 John Peacock <jpeacock@rowman.com>
7341
7342 * libc/include/sys/unistd.h: Correct ualarm declaration.
7343
e9853806
NC
73442001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
7345
7346 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
7347 vector before calling the initialisation functions.
7348
a8e091b0
CF
73492001-11-29 Christopher Faylor <cgf@redhat.com>
7350
7351 * libc/include/dirent.h: Protect against multiple inclusion.
7352
ab634123
CF
73532001-11-27 Christopher Faylor <cgf@redhat.com>
7354
7355 * libc/include/sys/types.h: Define useconds_t.
7356 * libc/include/sys/ulimit.h: Declare ualarm.
7357
d37e401e
CF
73582001-11-21 Christopher Faylor <cgf@redhat.com>
7359
7360 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
7361
8ac90051
HPN
73622001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
7363
7364 * libc/sys/mmixware/*: Tweak license header in all source files.
7365
d7ca37e4
CV
73662001-11-12 Corinna Vinschen <vinschen@redhat.com>
7367
7368 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
7369 to here. Rearrange for general inclusion by stdlib.h.
7370 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
7371 isn't defined.
7372 * libc/sys/linux/include/alloca.h: Move to libc/include.
7373
28f8744e
AG
73742001-11-12 Anthony Green <green@redhat.com>
7375
7376 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
7377
4cede8c4
HPN
73782001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
7379
7380 * libc/sys/mmixware/*: Correct spacing in all source files.
7381 * libc/sys/mmixware/syscall.h: Move misplaced file...
7382 * libc/sys/mmixware/sys/syscall.h: ...here.
7383
8be9b48b
JJ
73842001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
7385
7386 * libc/include/machine/ieeefp.h: Add support for mmix target.
7387 * libc/include/machine/setjmp.h: Ditto.
7388 * configure.host: Ditto.
7389 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
7390 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
7391 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
7392 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
7393 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
7394 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
7395 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
7396 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
7397 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
7398 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
7399 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
7400 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
7401 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
7402 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
7403 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
7404 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
7405 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
7406 libc/sys/mmixware/aclocal.m4: Generate.
7407
c7dd4f95
CV
74082001-11-05 Corinna Vinschen <corinna@vinschen.de>
7409
7410 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
7411 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
7412 when __CYGWIN__ is defined.
7413 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
7414 logwtmp().
7415
a6a6f9fe
JJ
74162001-11-01 Arati Dikey <aratidikey@hotmail.com>
7417
7418 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
7419 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
7420 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
7421 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
7422
d0504c35
JJ
74232001-10-24 Christopher Faylor <cgf@redhat.com>
7424
7425 * libc/stdio/fseek.c: Reset pointer to buffer base
7426 when forced to seek outside of current buffer contents.
7427 This prevents the code from erroneously thinking there is
7428 anything in the current buffer.
7429
0280c8c0
GK
74302001-10-22 Geoffrey Keating <geoffk@redhat.com>
7431
7432 * libc/include/math.h: The C++ standard adds the single-precision
7433 versions of the elementary functions.
7434
333d6098
CF
74352001-10-22 Christopher Faylor <cgf@redhat.com>
7436
7437 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
7438 throughout.
7439 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
7440 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
7441 * system.c (_system_r): Ditto.
7442
c7118319
CV
74432001-10-17 Corinna Vinschen <corinna@vinschen.de>
7444
7445 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 7446 __CYGWIN__ or __rtems__ is defined.
c7118319 7447
5665b0e1
JJ
74482001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
7449
7450 * libc/include/stdlib.h: add declarations for
7451 _strtoull_r, _strtoll_r, strtoull, and strtoll.
7452 * libc/stdio/local.h: remove declarations of
7453 __strtoull_r and __strtoll_r.
7454 * libc/stdio/vfscanf.c(__svfscanf_r): call
7455 _strtoull_r instead of __strtoull_r. Ditto
7456 _strtoll_r vs. __strtoll_r.
7457 * libc/stdlib/Makefile.am: add new files to
7458 .c list and .def list
7459 * libc/stdlib/Makefile.in: regenerate
7460 * libc/stdlib/strtoll_r.c: rename __strtoll_r
7461 as _strtoll_r
7462 * libc/stdlib/strtoull_r.c: rename __strtoull_r
7463 as _strtoull_r
7464 * libc/stdlib/strtoull.c: new file
7465 * libc/stdlib/strtoll.c: new file
7466
d2d5eb41
CF
7467Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
7468
7469 * libc/include/process.h: Add getpid() declaration.
7470
448e3c14
NC
74712001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
7472
7473 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
7474 for new style arm/elf ctor/dtor handling.
7475 Minor formatting tidy up.
7476
7a2afbbb
JJ
74772001-09-13 Jeff Johnston <jjohnstn@redhat.com>
7478
7479 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
7480 and strtoull_r.c.
7481 * libc/stdlib/Makefile.in: Regenerated.
7482 * libc/stdlib/strtoll_r.c: New file.
7483 * libc/stdlib/strtoull_r.c: New file.
7484 * libc/stdio/local.h: Add prototypes for long long string
7485 conversion routines.
7486 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
7487 tied to %L integer conversion specifier.
7488
6342caa4
JJ
7489Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
7490
7491 * strftime.c (strftime): Fix "%W" implementation to properly handle
7492 Mondays too.
7493
b2d319cb
JJ
74942001-09-07 Jeff Law <law@redhat.com>
7495
7496 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
7497 __fini with "mov.l" instead of "mov.w".
7498
233823ba
CV
74992001-09-05 Corinna Vinschen <corinna@vinschen.de>
7500
7501 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
7502 and getopt.h.
7503
63c17b54
JJ
75042001-09-04 Jason Merrill <jason_merrill@redhat.com>
7505
7506 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
7507
a3e67ddf
CV
75082001-09-03 Corinna Vinschen <corinna@vinschen.de>
7509
7510 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
7511 field.
7512 (__DIRENT_VERSION): New define.
7513
6d47f33a
CV
75142001-09-03 Corinna Vinschen <corinna@vinschen.de>
7515
7516 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
7517 Shrink __d_reserved accordingly to keep structure size.
7518 (dirfd): Declare external.
6d47f33a 7519
348c5e06
JJ
75202001-08-29 Joel Sherrill <joel@OARcorp.com>
7521
7522 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
7523
75242001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7525
7526 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
7527 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
7528 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
7529 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
7530 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
7531 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
7532 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
7533 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
7534 Add conditional compilation to avoid HW FPU instructions
7535 when compiled for soft-float.
7536
f29865c5
JJ
75372001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7538
7539 * Makefile.am: Add check for ln failing when creating libg.a
7540 so that cp gets used as a backup.
7541 * Makefile.in: Regenerated.
7542
9e2a4ef8
JJ
75432001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7544
7545 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
7546 No longer include time.h. Add struct __tm to use for
7547 _localtime_buf in the reentrant structure. Add a
7548 _NULL definition to use in initializing the reentrant struct.
7549 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
7550 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
7551 <sys/_types.h>.
7552 * libc/include/sys/unistd.h: Include <sys/_types.h>.
7553 * libc/time/lcltime.c (localtime): Cast the reentrant struct
7554 _localtime_buf to be struct tm *.
7555
1ae900d6
JR
7556Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
7557
7558 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
7559 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
7560 __ctors_end.
7561 * libc/sys/h8300hms/syscalls.c: Include errno.h.
7562 (_unlink): New stub function.
7563
8e26d5b5
CF
7564Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
7565
7566 * libc/include/sys/errno.h: Add a cautionary comment.
7567
e8267664
JJ
75682001-08-21 Jeff Johnston <jjohnstn@redhat.com>
7569
7570 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
7571 for SIZE_SZ so that alignment ends up a minimum of 8.
7572
4acf3edf
CF
7573Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
7574
7575 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
7576 arguments.
7577
7578 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
7579 Cygwin.
7580
52c80be8
JJ
75812001-08-13 Jeff Johnston <jjohnstn@redhat.com>
7582
7583 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
7584 macro constants for mallopt options.
7585 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
7586
a7061f7f
JJ
75872001-08-02 Jeff Johnston <jjohnstn@redhat.com>
7588
7589 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
7590 otherwise default.
7591
0b4bfdd5
AH
75922001-07-12 Aldy Hernandez <aldyh@redhat.com>
7593
7594 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
7595
2b6b730c
NC
75962001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
7597
7598 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
7599 Define for little endian ARMs.
7600
7601 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
7602 __IEEE_BYTES_LITTLE_ENDIAN is defined.
7603
25842b68
JJ
76042001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
7605
7606 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
7607
371b76ef
JJ
76082001-06-11 Egor Duda <deo@logos-m.ru>
7609
7610 * libc/ctype/ctype_.c: When compiled with gcc on platforms
7611 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
7612 initialized memory region. Platform can define COMPACT_CTYPE
7613 to avoid allocation of the additional 128 bytes of data.
7614 Add pointer to _ctype_ array. Always initialize all _ctype_
7615 array elements.
7616
43b44bc5
JL
76172001-06-08 Jonathan Larmour <jlarmour@redhat.com>
7618
7619 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
7620 NULL pointer.
7621
188bc140
NC
76222001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
7623
7624 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
7625
2ce88418
NC
76262001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
7627
7628 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
7629 matching, non-word alignment, and the length is <= 4 but more than
7630 enough to move them over a word boundary.
7631 Add comments explaining what each instruction does.
7632
ca60ed47
CF
7633Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
7634
7635 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 7636 * libc/include/sys/unistd.h: Ditto.
ca60ed47 7637
8b3bcfba
JJ
76382001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
7639
7640 * libc/string/strrchr.c: Use strchr for the speed improvements.
7641
b09e3cf8
JJ
76422001-05-01 Jeff Johnston <jjohnstn@redhat.com>
7643
7644 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
7645 real file systems, let __smakebuf() determine if line buffering
7646 should be used for stdout.
7647
0ca66974
JJ
76482001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7649
7650 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
7651
7cb7017a
JJ
76522001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7653
7654 * libc/include/stdlib.h: Add prototype for _strtod_r.
7655
a874cd21
JJ
76562001-04-24 Charles Wilson <cwilson@ece.gatech.edu
7657
7658 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
7659 * libc/stdio/vprintf.c (_vprintf_r): new function
7660 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
7661 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
7662 _DEFUN, and call _vfprintf_r, not vfprintf.
7663 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
7664 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
7665 _DEFUN, and call _vfprintf_r, not vfprintf.
7666
cb4cc283
CF
76672001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
7668
7669 * libc/include/sys/unistd.h [X_OK]: Use better protection against
7670 Cygwin X_OK definitions in sys/file.h.
7671
8c9df1d5
CF
7672Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
7673
7674 * libc/include/sys/time.h: Define timercmp and other macros for
7675 __CYGWIN__, too.
7676
3ac6f3a7
JJ
76772001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7678
7679 * acinclude.m4: Added --enable-malloc-debugging configure flag.
7680 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
7681 --enable-malloc-debugging selected.
7682 * aclocal.m4 configure: Regenerated.
7683 libm/aclocal.m4 libm/configure: Ditto.
7684 * libc/aclocal.m4 libc/configure: Ditto.
7685 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
7686 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
7687 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
7688 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
7689 * doc/aclocal.m4 doc/configure: Ditto.
7690
52cb9e69
JJ
76912001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7692
7693 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
7694 into one list.
7695 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
7696 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
7697 function prototypes.
7698 (_fscanf_r, _sscanf_r): Ditto.
7699 * libc/include/stdlib.h: Added _strtod_r prototype.
7700 * libc/stdio/Makefile.am: Add new v*scanf functions.
7701 * libc/stdio/Makefile.in: Regenerate.
7702 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
7703 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
7704 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
7705 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
7706 (sscanf): Changed to call __svfscanf_r with _REENT argument.
7707 (_sscanf_r): New routine.
7708 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
7709 with __svfscanf_r prototype.
7710 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
7711 routines.
7712 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
7713 structure as argument as calls reentrant versions of helper functions
7714 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
7715 to _strtol_r and _strtod_r respectively.
7716 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
7717 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
7718 _REENT argument.
7719 * libc/stdio/vscanf.c: New file.
7720 * libc/stdio/vsscanf.c: Ditto.
7721
ee9f39fb
JJ
77222001-04-19 Robert Collins <rbtcollins@hotmail.com>
7723
7724 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
7725 Define daylight to _daylight if it is not defined
7726 Prepare a variable export of timezone based on timezonevariable.
7727 (Cannot be used with the timezone() function.)
7728
273861e3
JJ
77292001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
7730
7731 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
7732 Correct the numerical values.
7733
a25b8414
CF
77342001-04-13 Robert Collins <rbtcollins@hotmail.com>
7735
7736 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
7737
b8a8c59d
CV
7738Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
7739
7740 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
7741 on case insensitve file systems.
7742
74f8cc63
CF
77432001-04-12 Robert Collins <rbtcollins@hotmail.com>
7744
7745 * libc/include/sys/features.h: Add appropriate defines for Cygwin
7746 pthread support.
7747 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
7748 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
7749 types. Include <cygwin/types.h> for the cygwin specific typedefs.
7750
16740220
RS
77512001-04-04 Richard Sandiford <rsandifo@redhat.com>
7752
7753 * libc/include/machine/ieeefp.h: Comment about new configuration
7754 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
7755 * libm/common/fdlib.h: Define new macros for testing floats.
7756 * libm/common/sf_*: Use them.
7757 * libm/math/ef_*: Likewise.
7758 * libm/math/sf_*: Likewise.
7759
0694d8d3
JJ
77602001-03-29 Jeff Johnston <jjohnstn@redhat.com>
7761
7762 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
7763 prolog to by-pass possible assembler error.
7764
4833b38c
JJ
77652001-03-21 Egor Duda <deo@logos-m.ru>
7766
7767 Allow building internal stubs for non-reentrant syscalls
7768 if target provides its own malloc
7769 * libc/reent/reent.c (errno): Move definition here.
7770 * libc/reent/sbrkr.c: From here.
7771
d17d6d42
CF
77722001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
7773
7774 * libc/include/sys/types.h (BSD int typedefs): Guard with
7775 _BSDTYPES_DEFINED rather than _WINSOCK_H.
7776 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
7777 _SYS_TYPES_FD_SET.
7778 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
7779 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
7780
c7ee75cd
CV
7781Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
7782
7783 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7784 _PC_POSIX_SECURITY constants for Cygwin.
7785
63dc5d80
CV
7786Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
7787
7788 * libc/sys/cygwin/crt0.c: Add copyright hint.
7789 * libc/sys/cygwin/sys/dirent.h: Ditto.
7790 * libc/sys/cygwin/sys/param.h: Ditto.
7791 * libc/sys/cygwin/sys/utime.h: Ditto.
7792 * libc/sys/cygwin/sys/utmp.h: Ditto.
7793
6f637037
AO
77942001-03-13 Alexandre Oliva <aoliva@redhat.com>
7795
7796 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
7797 equivalent to LONGINT.
7798
e69b6f73
JJ
77992001-03-08 Richard Sandiford <rsandifo@redhat.com>
7800
7801 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
7802 jmpbuf on MIPS64 targets.
7803 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
7804
6198dece
CF
7805Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
7806
e69b6f73
JJ
7807 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
7808 declarations.
6198dece 7809
cfc05d96
JJ
7810Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
7811
7812 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
7813 For RTEMS, define to be ssize_t. Default to int if not defined.
7814 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
7815 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
7816 * libc/stdio/local.h (__sread, __swrite): Likewise.
7817 * libc/include/sys/reent.h (_read, _write): Likewise.
7818 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
7819 * libc/syscalls/sysread.c (read): Likewise.
7820 * libc/syscalls/syswrite.c (write): Likewise.
7821
6249353a
JJ
78222001-03-05 Jeff Johnston <jjohnstn@redhat.com>
7823
7824 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
7825
658b5db9
CF
7826Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
7827
7828 * libc/include/sys/stat.h: Use special defines for executable stat bits
7829 when compiling for Cygwin.
7830 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
7831 for Cygwin.
7832
19ca46d5
JJ
78332001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7834
7835 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
7836 of strtok_r is always defined.
7837
b73ed85e
JJ
78382001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7839
7840 * libc/include/machine/ansi.h: New dummy header file.
7841
ee37ede1
JJ
78422001-02-22 Jeff Johnston <jjohnstn@redhat.com>
7843
7844 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
7845 changed the copyright information to allow free modification of the
7846 file with no reference to "copying.dj".
7847 * libc/include/sys/stat-dj.h: Ditto.
7848 * libc/machine/i386/setjmp.S: Ditto.
7849 * libc/sys/h8300hms/sys/file.h: Ditto.
7850 * libc/sys/sysmec/access.c: Ditto.
7851 * libc/sys/sysnecv850/access.c: Ditto.
7852 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
7853 * libc/stdlib/getenv_r.c: Ditto.
7854 * libc/stdlib/putenv_r.c: Ditto.
7855 * libc/stdlib/setenv_r.c: Ditto.
7856 * libc/stdlib/getenv.c: Removed DJ reference since any possible
7857 modifications will now be in the _r version of this file.
7858 * libc/stdlib/putenv.c: Ditto.
7859 * libc/stdlib/setenv.c: Ditto.
7860 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
7861 valid. Added a reference to DJ's web page that contains his address.
7862 * libc/sys/go32/*.s: Removed references to DJ's old address.
7863 * libc/sys/go32/*.c: Ditto.
7864 * libc/sys/go32/*.h: Ditto.
7865 * libc/sys/go32/*.S: Ditto.
7866 * libc/sys/go32/sys/*.h: Ditto.
7867
3a8fc0e4
JJ
78682001-02-21 Jeff Johnston <jjohnstn@redhat.com>
7869
7870 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
7871 HAVE_FCNTL flag check.
7872 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
7873 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
7874
b24ee749
CF
7875Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
7876
7877 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
7878
ab4745dc
JJ
78792001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7880
7881 * libc/include/stdlib.h: Add declarations of rand48 functions and
7882 their reentrant versions.
7883 * libc/include/sys/reent.h: Move macros from rand48.h. Add
7884 struct _rand48 for shared parameters of rand48 functions.
7885 (struct _reent): Add a variable _r48 of struct _rand48.
7886 (_REENT_INIT): Add _r48 initialization.
7887 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
7888 (CHEWOUT_FILES): Add rand48.def.
7889 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
7890 * libc/stdlib/Makefile.in: Regenerated.
7891 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
7892 NetBSD C library.
7893 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
7894 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
7895 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
7896 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
7897 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
7898 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
7899 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
7900 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
7901 * libc/stdlib/rand48.c (__dorand48): Ditto.
7902 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
7903 parameters into macros referring them in the reentrant structure.
7904
a34c461f
JJ
79052001-02-12 Jeff Johnston <jjohnstn@redhat.com>
7906
7907 * libc/include/sys/stat.h: Add mknod for Cygwin now that
7908 Cygwin definition has correct prototype.
7909
34f31ff2
JJ
79102001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7911
7912 * libc/include/sys/stat.h: Must revert change for mknod
7913 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
7914 prototype.
7915
5336d6de
JJ
79162001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7917
7918 * libc/include/stdio.h: Revert putw prototype.
7919
8915d10a
JJ
79202001-02-08 Edward M. Lee <tailbert@yahoo.com>
7921
7922 * libc/include/grp.h: add prototype for initgroups.
7923 * libc/include/stdio.h: fix prototype for putw.
7924 * libc/include/sys/signal.h: add prototype for killpg.
7925 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
7926 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
7927 vhangup and remove duplicate sysconf prototype.
7928
93ac4487
JJ
79292001-02-07 Jeff Johnston <jjohnstn@redhat.com>
7930
7931 * libc/sys/rtems/sys/types.h: Removed.
7932
31f5feea
JJ
79332001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
7934
7935 * libc/include/locale.h: add LC_MESSAGES definition
7936
b5139f59
AO
79372001-02-01 Alexandre Oliva <aoliva@redhat.com>
7938
7939 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
7940 SYS_get_argN):
7941 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
7942 __setup_argv_and_call_main): New.
7943
e29d8355
JJ
79442001-01-31 Jeff Johnston <jjohnstn@redhat.com>
7945
7946 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
7947 if defined.
7948 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
7949 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
7950 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
7951 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
7952
82ea92f3
CF
7953Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
7954
7955 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
7956 compiling under Cygwin.
7957
3aaa66f8
JJ
79582001-01-29 Jeff Johnston <jjohnstn@redhat.com>
7959
7960 * libc/include/math.h (signgam): Change to errno-like solution
7961 using a function to return the address of the real signgam.
7962 * libc/reent/signgam.c: New file containing __signgam().
7963 * libc/reent/Makefile.am: Added signgam.c to list of files.
7964 * libc/reent/Makefile.in: Regenerated.
7965
610b895a
AO
79662001-01-25 Alexandre Oliva <aoliva@redhat.com>
7967
b0913397
AO
7968 * libc/sys/sh/syscalls.c (_times): New.
7969
610b895a
AO
7970 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
7971 * libc/sys/sh/syscalls.c (_gettimeofday): New.
7972
3643210e
JJ
79732001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7974
7975 * libc/include/math.h (signgam): Regress previous fix as
7976 it does not handle programs with extern int signgam in them.
7977
841081c9
JJ
79782001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7979
7980 * libc/include/math.h (signgam): Changed to a macro refering to
7981 its location in the reentrant structure.
7982
e9cd87b8
JJ
79832001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7984
7985 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
7986 that suppressed . for %.0f, 0.1. Check now looks if there
7987 are padding zeroes (expt) in addition to any digits (ndig) to
7988 print.
7989
a302b48c
JJ
79902001-01-18 Jeff Johnston <jjohnstn@redhat.com>
7991
7992 * libc/sys/arc/Makefile.am: New file.
7993 * libc/sys/arc/Makefile.in: Ditto.
7994 * libc/sys/arc/aclocal.m4: Ditto.
7995 * libc/sys/arc/configure: Ditto.
7996 * libc/sys/arc/configure.in: Ditto.
7997 * libc/sys/arc/crt0.S: Ditto.
7998 * libc/sys/arc/isatty.c: Ditto.
7999 * libc/sys/arc/mem-layout.c: Ditto.
8000 * libc/sys/arc/sbrk.c: Ditto.
8001 * libc/sys/arc/syscalls.c: Ditto.
8002 * libc/sys/arc/sys/syscall.h: Ditto.
8003
d0319c3b
CF
8004Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
8005
8006 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
8007
e45ab890
CF
8008Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
8009
8010 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
8011
1376245a
DD
8012Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
8013
8014 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
8015
92b57543
NC
80162001-01-09 Nick Clifton <nickc@redhat.com>
8017
8018 * configure.host (v859): Remove unsupported compiler options.
8019
7d6d33d4
JJ
8020Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
8021
8022 * src/newlib/configure.host (*-*-rtems*): add printf long long
8023 support for RTEMS.
8024
602f8b5a 80252000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
8026
8027 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
8028
9c2b8183
JJ
8029Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
8030
8031 * configure.host: Turn on long double I/O for Cygwin.
8032
804368d3
JJ
8033Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
8034
8035 * MAINTAINERS: Removed Ranjith.
8036 * NEWS: Updated for 1.9.0.
8037 * README: Updated.
8038 * acinclude.m4: Updated to release 1.9.0.
8039 * aclocal.m4 configure
8040 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
8041 libc/machine/aclocal.m4 libc/machine/configure
8042 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
8043 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
8044 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
8045 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
8046 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
8047 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
8048 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
8049 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
8050 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
8051 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
8052 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
8053 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
8054 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
8055 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
8056 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
8057 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
8058 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
8059 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
8060 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
8061 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
8062 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8063 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8064 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8065 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
8066 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8067 libc/sys/aclocal.m4 libc/sys/configure
8068 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8069 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8070 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8071 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8072 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8073 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8074 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8075 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8076 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
8077 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8078 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8079 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8080 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8081 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8082 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8083 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8084 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8085 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8086 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8087 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8088 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8089 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8090 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8091 libm/aclocal.m4 libm/configure: Regenerated.
8092
0985d43f
CV
8093Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8094
8095 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
8096 when __CYGWIN__ is defined.
8097
b6182a09
JJ
80982000-12-13 Jeff Johnston <jjohnstn@redhat.com>
8099
8100 * libc/stdlib/ldtoa.c (_ldcheck): New routine
8101 that categorizes a long double as NaN, Infinity, or other.
8102 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
8103 isinfl and isnanl static routines which were i386-specific. Changed
8104 calls to the two removed routines to a single _ldcheck call.
8105 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
8106
adbbb034
JJ
81072000-12-13 Jeff Johnston <jjohnstn@redhat.com>
8108
8109 * Makefile.am: Fixed install-data-local target to use
8110 $(mkinstalldirs) for the installed header files to ensure
8111 the directories exist before copying.
8112 * Makefile.in: Regenerated.
8113
cbd19336
JJ
81142000-12-12 Jeff Johnston <jjohnstn@redhat.com>
8115
8116 * libc/include/sys/unistd.h: Restored Cygwin _SC
8117 constants and moved new constants appropriately
8118 so Cygwin will build.
8119
8fb37963
JJ
81202000-12-11 Joel Sherrill <joel@OARcorp.com>
8121
8122 * Merge RTEMS specific .h files into main libc/include.
8123 * libc/sys/rtems/include/signal.h: Removed.
8124 * libc/sys/rtems/include/time.h: Removed.
8125 * libc/sys/rtems/sys/features.h: Removed.
8126 * libc/sys/rtems/sys/sched.h: Removed.
8127 * libc/sys/rtems/sys/siginfo.h: Removed.
8128 * libc/sys/rtems/sys/signal.h: Removed.
8129 * libc/sys/rtems/sys/time.h: Removed.
8130 * libc/sys/rtems/sys/times.h: Removed.
8131 definitions for time_t and clock_t since these are
8132 no longer in time.h.
8133 * libc/include/pthread.h: New file.
8134 * libc/include/sys/sched.h: New file.
8135 * libc/include/sys/features.h: New file.
8136 * libc/include/time.h: Removed duplicate definition of clock_t
8137 and time_t, get them from <sys/types.h> instead. Add prototypes
8138 for POSIX clock and timer functionality.
8139 * libc/sys/linux/sys/types.h: Changed to include
8140 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
8141 * libc/include/sys/signal.h: Add more complete set of POSIX
8142 signal functionality including real-time and threaded signals.
8143 * libc/include/sys/types.h: Add clock_t, time_t, struct
8144 timespec, and struct itimerspec. Centralizing these makes
8145 things cleaner. RTEMS uses 64-bit dev_t.
8146 Added numerous primitive definitions
8147 for pthreads including macros, pthread_attr_t,
8148 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8149 pthread_once_t, and pthread_t.
8150 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
8151 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
8152 Feature flags removed and moved to new file <sys/features.h>.
8153 Full set of POSIX sysconf() constants
8154
2efbc2a7
JJ
81552000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
8156
8157 * configure.host: Added x86 linux target.
8158 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
8159 definitions provided if not already defined.
8160 * libc/sys/linux/crt0.c: New file.
8161 * libc/sys/linux/Makefile.am: Ditto.
8162 * libc/sys/linux/Makefile.in: Ditto.
8163 * libc/sys/linux/aclocal.m4: Ditto.
8164 * libc/sys/linux/brk.c: Ditto.
8165 * libc/sys/linux/configure: Ditto.
8166 * libc/sys/linux/configure.in: Ditto.
8167 * libc/sys/linux/getoptlong.c: Ditto.
8168 * libc/sys/linux/ids.c: Ditto.
8169 * libc/sys/linux/inode.c: Ditto.
8170 * libc/sys/linux/io.c: Ditto.
8171 * libc/sys/linux/linux.c: Ditto.
8172 * libc/sys/linux/process.c: Ditto.
8173 * libc/sys/linux/realpath.c: Ditto.
8174 * libc/sys/linux/select.c: Ditto.
8175 * libc/sys/linux/signal.c: Ditto.
8176 * libc/sys/linux/systat.c: Ditto.
8177 * libc/sys/linux/termios.c: Ditto.
8178 * libc/sys/linux/time.c: Ditto.
8179 * libc/sys/linux/wait.c: Ditto.
8180 * libc/sys/linux/include/alloca.h: Ditto.
8181 * libc/sys/linux/include/getopt.h: Ditto.
8182 * libc/sys/linux/include/stdint.h: Ditto.
8183 * libc/sys/linux/include/unistd.h: Ditto.
8184 * libc/sys/linux/sys/cdefs.h: Ditto.
8185 * libc/sys/linux/sys/dirent.h: Ditto.
8186 * libc/sys/linux/sys/errno.h: Ditto.
8187 * libc/sys/linux/sys/fcntl.h: Ditto.
8188 * libc/sys/linux/sys/file.h: Ditto.
8189 * libc/sys/linux/sys/ioctl.h: Ditto.
8190 * libc/sys/linux/sys/resource.h: Ditto.
8191 * libc/sys/linux/sys/signal.h: Ditto.
8192 * libc/sys/linux/sys/stat.h: Ditto.
8193 * libc/sys/linux/sys/syscall.h: Ditto.
8194 * libc/sys/linux/sys/termios.h: Ditto.
8195 * libc/sys/linux/sys/time.h: Ditto.
8196 * libc/sys/linux/sys/types.h: Ditto.
8197 * libc/sys/linux/sys/utmp.h: Ditto.
8198 * libc/sys/linux/sys/utsname.h: Ditto.
8199 * libc/sys/linux/sys/wait.h: Ditto.
8200
a08c98bb
JJ
82012000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8202
8203 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
8204 can be a relative path to $(top_srcdir)/install.sh so ensure the
8205 autoconf detected settings are properly passed recursively.
8206 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
8207 properly to subdirectories.
8208 * Makefile.in: Regenerated.
8209
b294082c
JJ
82102000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
8211
8212 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
8213 a floating point register unless really printing a floating
8214 point number.
8215
2005ab6b
JJ
82162000-12-07 Jeff Johnston <jjohnstn@redhat.com>
8217
8218 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
8219 Also removed \r's.
8220 (asctoeg): Replaced alloca call with stack array and malloc
8221 when storage exceeds reasonable limit.
8222 (e53toe): Fixed einfin calls missing ldp parameter.
8223 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
8224
9f6e8f1b
JJ
82252000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8226
2005ab6b 8227
9f6e8f1b
JJ
8228 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
8229
6bdac416
JJ
82302000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8231
8232 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
8233 * libc/stdlib/Makefile.in: Regenerated.
8234 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
8235 * libc/stdio/vfieeefp.h: Added long double bit structures.
8236 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
8237 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
8238 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
8239 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
8240 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
8241 _strtold routines used for conversions between character
8242 and long double.
8243
ec270d31
CV
8244Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8245
8246 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
8247
db2d9549
JJ
82482000-12-04 Joel Sherrill <joel@OARcorp.com>
8249
8250 * libc/include/machine/time.h: RTEMS systems can configure clock
8251 tick rate so use sysconf() to ask.
8252
6ba54a15
JJ
82532000-12-04 Joel Sherrill <joel@OARcorp.com>
8254
8255 * libc/include/sys/times.h: Add reference to POSIX standard.
8256
8677b819
JJ
82572000-12-04 Joel Sherrill <joel@OARcorp.com>
8258
8259 * libc/include/sys/time.h: Added BSD timer manipulation macros
8260 used by RTEMS code.
8261
1b61a706
JJ
82622000-12-04 Joel Sherrill <joel@OARcorp.com>
8263
8264 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
8265 referenced by code generated by gcc 2.8.1.
8266 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
8267 satisfy gcc.
8268
f5e7c124
JJ
82692000-12-04 Joel Sherrill <joel@OARcorp.com>
8270
8271 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
8272
768abc9c
JJ
82732000-12-04 Joel Sherrill <joel@OARcorp.com>
8274
8275 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
8276
9e5dd5ea
JJ
82772000-12-04 Joel Sherrill <joel@OARcorp.com>
8278
8279 * configure.host (or16, or32): New entries for OpenCores
8280 OpenRisc CPUs.
8281 (*-*-rtems*): Add -DNO_EXEC.
8282
768abc9c 82832000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
8284
8285 * libc/include/sys/errno.h: Added comments on many error numbers.
8286 * libc/string/strerror.c: Added some more strings.
8287
b273323f
JJ
82882000-11-30 Jeff Johnston <jjohnstn@redhat.com>
8289
8290 * libc/sys/sh/syscalls.c (_link): New stub.
8291
0ffc3b94
NC
82922000-11-29 Nick Clifton <nickc@redhat.com>
8293
8294 * configure.host: Add xscale target.
8295 * libc/machine/xscale: New directory.
8296 * libc/machine/xscale/Makefile.am: New file.
8297 * libc/machine/xscale/Makefile.in: New file.
8298 * libc/machine/xscale/aclocal.m4: New file.
8299 * libc/machine/xscale/configure: New file.
8300 * libc/machine/xscale/configure.in: New file.
8301 * libc/machine/xscale/memchr.S: New file.
8302 * libc/machine/xscale/memcmp.S: New file.
8303 * libc/machine/xscale/memcpy.S: New file.
8304 * libc/machine/xscale/memmove.S: New file.
8305 * libc/machine/xscale/memset.S: New file.
8306 * libc/machine/xscale/strchr.S: New file.
8307 * libc/machine/xscale/strcmp.S: New file.
8308 * libc/machine/xscale/strcpy.S: New file.
8309 * libc/machine/xscale/strlen.S: New file.
8310
cbbf0f96
CV
8311Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8312
8313 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
8314 avoid compiler warnings.
8315
73dea790
MM
83162000-11-22 Michael Meissner <meissner@redhat.com>
8317
8318 * libc/posix/execl.c (execl): Don't reference environ directly,
8319 reference it only via a static pointer to avoid problems with some
8320 shared library systems and with different uses of small data where
8321 the user specifies his own version of environ.
8322 * libc/posix/execv.c (execv): Ditto.
8323 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
8324 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
8325 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
8326
8327 * libc/stdlib/getenv.c (environ): Delete unused reference to
8328 environ.
8329
8330 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
8331 colorization.
8332 * libc/stdlib/system.c: Ditto.
8333
08eac2ae
CF
8334Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
8335
8336 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
8337 including windows headers.
8338
5478bf37
JJ
83392000-11-20 Jeff Johnston <jjohnstn@redhat.com>
8340
8341 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
8342 * libc/include/dirent.h: Added definition of MAXNAMLEN if
8343 not defined by sys/dirent.h.
8344 * libc/posix/execvp.c: Added include of dirent.h to get
8345 MAXNAMLEN value which used to be in unistd.h.
8346
3a760728
CV
8347Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8348
8349 * libc/include/sys/types.h: Change type of i to `size_t' in
8350 FD_ZERO macro to avoid compiler warnings.
8351
86fff69f
CF
8352Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
8353
8354 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
8355 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
8356
ba9e88d2
CV
8357Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8358
8359 * libc/include/sys/unistd.h: Add defines for sysconf values
8360 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
8361 _SC_AVPHYS_PAGES.
8362
a8018ef3
CF
8363Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
8364
8365 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
8366 declarations for __CYGWIN__.
8367
b944c6f6
GK
83682000-09-19 Geoffrey Keating <geoffk@cygnus.com>
8369
8370 * libc/signal/signal.c (__sigtramp_r): ISO C requires
8371 case labels to be integral constant expressions, so
8372 use an if/else tree instead.
8373 (_raise_r): Likewise.
8374
7f18fcb4
JJ
83752000-09-13 Jeff Johnston <jjohnstn@redhat.com>
8376
8377 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
8378 clipping patch from e-mail reader.
8379
242361df
JJ
83802000-09-13 Will Cohen <wcohen@redhat.com>
8381
8382 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
8383 Added return value 0.
8384 (_longjmp): Allow longjmp to return value of second argument
8385 passed to it.
8386
8a8c59b9
JJ
83872000-09-06 Jeff Johnston <jjohnstn@redhat.com>
8388
8389 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
8390 inline code to prevent having to include another header file.
8391
a385ae75
CF
8392Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
8393
8394 * Makefile.am: Fix space vs. tab problem in install-data-local.
8395 * Makefile.in: Regenerate.
8396
8397Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
8398
8399 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
8400 (_EXPARM): New macro for defining a function parameter.
8401 * libc/include/stdlib.h: Use _EXPARM.
8402 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
8403
a36cd013
JJ
84042000-09-05 Manfred Hollstein <manfredh@redhat.com>
8405
8406 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
8407 required, as documented in the gnu coding standards.
8408 * Makefile.in: Regenerate.
8409
f825dfda
JJ
84102000-09-05 Jeff Johnston <jjohnstn@redhat.com>
8411
8412 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
8413 make O_NDELAY and O_NONBLOCK have the same value.
8414
4ba9aab7
JJ
84152000-08-30 Kazu Hirata <kazu@hxi.com>
8416
8417 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
8418
db7acc38
JJ
84192000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
8420
8421 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
8422 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
8423 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
8424 everywhere else.
8425
44e36af4
GK
84262000-08-30 Geoffrey Keating <geoffk@cygnus.com>
8427
8428 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
8429 * libc/include/string.h: Don't include <sys/types.h>,
8430 as it causes really bad namespace pollution. Don't declare
8431 swab(), it is properly declared in unistd.h.
8432
00a2f168
JJ
84332000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
8434
8435 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
8436 (broken) support for non-existent /etc/passwd field "comment".
8437
6beeb240
JJ
84382000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8439
8440 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
8441 only if _DIRENT_HAVE_D_NAMLEN is defined.
8442 (alphasort): aligned prototype with
8443 libc/sys/cygwin/sys/dirent.h and simplified function body.
8444 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
8445 long telldir (DIR *) as mentioned in annex B of POSIX.1
8446
ef44da42
JJ
84472000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8448
8449 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
8450 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
8451 Added __CLI and __STI macros (controlled via
8452 _I386MACH_ALLOW_HW_INTERRUPTS macro).
8453 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
8454 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
8455 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
8456 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
8457 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
8458 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
8459 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
8460 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
8461 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
8462 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
8463 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
8464 for all global entry points.
8465 * libc/machine/i386/setjmp.S: removed code replicated in
8466 libc/machine/i386/i386mach.h and included i386mach.h instead;
8467 Use __CLI and __STI instead of cli and sti.
8468
14d3488d
DD
84692000-08-25 DJ Delorie <dj@redhat.com>
8470
8471 * libc/include/sys/unistd.h (environ): this one isn't from the
8472 DLL, no __IMPORT
8473
c9ca4412
CF
8474Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
8475
8476 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
8477 environ when compiling under cygwin since it is already declared in
8478 unistd.h.
8479
2d5862de
JJ
84802000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8481
8482 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
8483 like x << y-z to the equivalent x << (y-z).
8484 (d2b): changed if statements with assignment to perform the
8485 assignment prior to the if check.
8486 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
8487 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
8488 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
8489 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
8490 precedence.
8491 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
8492 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
8493 execve.c).
8494 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
8495 precedence.
8496 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
8497 clarify && and || precendence (and to remove pascalism).
8498 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
8499 * libm/math/s_infconst.c: added another pair of braces to all
8500 initializers for __infinity (need three: for __infinity[1] array,
8501 for union __dmath, and for i[2]).
8502
0888fedd
JJ
85032000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8504
199359f0
JJ
8505 * libc/stdlib/abort.c: changed description: uses "raise" instead of
8506 "getpid" and "kill"; added: uses "write" and "_exit".
8507 Also included unistd.h for "_exit" prototype.
8508 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
8509 reent.h for "_fork_r" and "_wait_r" prototypes.
8510 (do_system): changed extern char *environ[] to POSIX-friendly
8511 extern char **environ.
8512 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
8513 prototypes.
8514 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
8515 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
8516 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
8517 * libc/reent/openr.c: included fcntl.h for "open" prototype.
8518 * libc/reent/signalr.c: included signal.h for "kill" prototype,
8519 unistd.h for "getpid" prototype.
8520 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
8521 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
8522 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
8523 prototype. Also included stdlib.h for "abort", string.h for
8524 "strdup" and "strncmp" prototypes.
8525 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
8526 "strncpy", unistd.h for "read" and "close" prototypes.
8527 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
8528 "strcat" prototypes.
8529
85302000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
8531
0888fedd
JJ
8532 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
8533 used later (ifdef __SCLE)
8534 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
8535 used later (ifdef MB_CAPABLE)
8536 * libc/string/memset.c (memset): removed unused variables "count"
8537 and "unaligned_addr"
8538 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
8539 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
8540 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
8541 and "gid"
8542
a334e5ef
JJ
85432000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8544
8545 * libc/stdlib/envlock.c: changed documented "__env_lock" and
8546 "__env_unlock" prototype from "void *" or "char *" to
8547 "struct _reent *" to match real function. Also added include
8548 of envlock.h.
8549 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
8550 "__malloc_unlock" prototype from "void *" or "char *" to
8551 "struct _reent *" to match real function.
8552 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
8553 prototypes (for getenv_r.c and setenv_r.c).
8554
644b7f26
DD
85552000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
8556
8557 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
8558 and prototype in cygwin's utmp.h
8559
5bacbf10
JJ
85602000-08-16 Eric Fifer <efifer@sanwaint.com>
8561
8562 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
8563
38a6bf98
NC
85642000-08-09 Nick Clifton <nickc@cygnus.com>
8565
8566 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
8567 epilogue and to allow the functions to be used in a Thumb based
8568 toolchain.
8569
befe0fb3
JJ
85702000-08-08 Jeff Johnston <jjohnstn@redhat.com>
8571
8572 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
8573 so size of 0 results in nothing being written to string.
8574 Also fixed code so that when size is non-zero, there is only
8575 a maximum of size - 1 characters written to the array and
8576 a nul terminator is appended at the end.
8577 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
8578
749d9bcd
DD
85792000-08-01 DJ Delorie <dj@redhat.com>
8580
8581 * libc/include/sys/config.h: define __IMPORT appropriately
8582 * libc/include/ctype.h (_ctype_): use __IMPORT
8583 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
8584 * libc/include/math.h (__mb_cur_max): ditto
8585 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
8586 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
8587 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
8588 * libc/include/unistd.h (environ): ditto
8589
7c110b17
MM
85902000-07-28 Michael Meissner <meissner@redhat.com>
8591
8592 * libc/include/math.h (__infinity): Declare as an array without
8593 bounds to get around small data support. Rewrite Cygwin support
8594 to be more general.
8595 * libm/math/s_infconst.c (__infinity): Ditto.
8596 * libm/mathfp/s_infconst.c (__infinity): Ditto.
8597
bf7be721
CF
8598Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
8599
8600 * libc/include/math.h: Use appropriate dll import linkage for
8601 __infinity under Cygwin.
8602
91a8d90b
DD
86032000-07-13 DJ Delorie <dj@cygnus.com>
8604
8605 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
8606
ba2048d3
JJ
8607Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
8608
8609 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
8610 to argument list for AngelSWI_Reason_GetCmdLine.
8611
4634da64
JJ
8612Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8613
8614 * configure.host: Add support for AVR target.
8615 * libc/include/machine/ieeefp.h: Likewise.
8616 * libc/include/sys/config.h: Likewise.
8617
b19f72a2
RK
8618Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8619
8620 * README: Newlib 1.8.2 must be built in a separate directory
8621 than the sources.
8622
a704d94a
JJ
8623Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8624
8625 * libc/include/sys/reent.h (_rand_next): Added __extension__
8626 qualifier as long long type is not strict ANSI.
8627 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
8628 to long long constant.
8629
b585720b
CV
8630Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
8631
8632 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
8633 `setegid' provided by Cygwin.
8634
01c327ba
CV
8635Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
8636
8637 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
8638 account for Cygwin.
8639
46a43a99
JJ
8640Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8641
8642 * libc/include/sys/reent.h (_rand_next): Changed to
8643 unsigned long long and moved to end of _reent struct in _new union.
8644 (_REENT_INIT): Changed to move _rand_next initialization.
8645 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
8646 linear congruential algorithm that is used by DJGPP.
8647
a68078cb
RK
8648Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8649
8650 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
8651 * libc/include/sys/config.h: Define __RAND_MAX.
8652
518882f3
JJ
8653Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8654
8655 * libc/stdlib/rand_r.c: New algorithm that meets minimal
8656 standard.
8657
d51d968a
CF
8658Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
8659
8660 * libc/include/string.h: Work around problem with strsignal and gdb.
8661
d2dd5765
CF
8662Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
8663
8664 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
8665 * libc/include/malloc.h: Ditto.
8666 * libc/include/process.h: Ditto.
8667 * libc/include/stdio.h: Ditto.
8668 * libc/include/stdlib.h: Ditto.
8669 * libc/include/time.h: Ditto.
8670 * libc/include/machine/setjmp.h: Ditto.
8671 * libc/include/sys/errno.h: Ditto.
8672 * libc/include/sys/signal.h: Ditto.
8673 * libc/include/sys/stat.h: Ditto.
8674 * libc/include/sys/time.h: Ditto.
8675 * libc/include/sys/unistd.h: Ditto.
8676 * libc/include/string.h: Ditto. strsignal should return a const char *.
8677
88870218
JJ
86782000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
8679
8680 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
8681 * libm/common/s_log1p.c (log1p): Likewise.
8682 * libm/common/s_scalbn.c (scalbn): Likewise.
8683 * libm/math/e_log.c: Likewise.
8684 * libm/math/e_asin.c: Likewise.
8685 * libm/math/ef_asin.c: Likewise.
8686 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
8687 * libm/math/e_j1.c (pone, qone): Likewise.
8688 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
8689 * libm/math/ef_j1.c (ponef, qonef): Likewise.
8690 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
8691 * libm/mathfp/e_j1.c (pone, qone): Likewise.
8692 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
8693 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
8694
c4e1aa01
DD
86952000-05-19 DJ Delorie <dj@cygnus.com>
8696
8697 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
8698 (__sread): always read in binary mode
8699 (__swrite): always write in binary mode
8700 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
8701 compatibility issues with different dll versions
8702 * libc/stdio/fopen.c: use __stextmode
8703 * libc/stdio/fdopen.c: ditto
8704 * libc/stdio/freopen.c: ditto
8705 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
8706 * libc/stdio/local.h: declare __stextmode
8707
f4393261
DD
87082000-05-18 DJ Delorie <dj@cygnus.com>
8709
8710 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
8711
2b533fac
JJ
8712Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8713
8714 * libc/include/ctype.h: Changed tolower and toupper macros
8715 to use __extension__ to prevent pedantic warnings.
8716
75362a76
RK
8717Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
8718
8719 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
8720 structures.
8721
ec463fc7
JW
8722Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
8723
8724 * libc/include/machine/ieeefp.h: Add ia64 support.
8725 * configure.host: Likewise.
8726
f35ceefa
JJ
8727Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
8728
8729 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
8730 month is now padded with space, not zero. This now conforms to
8731 ANSI standard.
8732
b96fca8c
CV
8733Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
8734
8735 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
8736 host or network path") used by cygwin. Add some comments.
8737
49d64538
JJ
8738Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
8739
8740 * libc/include/stdio.h (FILE): define __SCLE for "convert line
8741 endings" for Cygwin.
8742 (__sgetc): convert line endings if needed
8743 (__sputc): ditto
8744 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
8745 * libc/stdio/fopen.c (_fopen_r): ditto
8746 * libc/stdio/freopen.c (freopen): ditto
8747 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
8748 * libc/stdio/fvwrite.c (__sfvwrite): ditto
8749
91fb1e7f
AO
8750Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
8751
8752 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
8753 post-increment when it is worth it, spacewise.
8754
c87be3e4
JJ
8755Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8756
8757 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
8758 * libc/stdio/findfp.c (std): Added declaration of flags and file.
8759 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
8760 return type.
8761 * libc/stdio/putchar.c (putchar): Added return statement.
8762 * libc/stdio/refill.c (lflush): Added correct parentheses.
8763 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
8764 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
8765 prints long value to use l qualifier.
8766 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
8767 messages and initialized local values: ilim, ilim1, and spec_case.
8768 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
8769 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
8770 * libc/stdlib/mprec.c: Ditto.
8771 * libc/stdlib/setenv_r.c: Ditto.
8772 * libc/stdlib/strtod.c: Ditto.
8773 * libc/stdlib/strtol.c: Ditto.
8774 * libc/stdlib/strtoul.c: Ditto.
8775 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
8776 * libm/common/sf_log1p.c: Ditto.
8777 * libm/common/sf_scalbn.c: Ditto.
8778 * libm/math/ef_log.c: Ditto.
8779
11f5b065
CV
8780Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
8781
8782 * libc/posix/execvp.c (execvp): Check path for
8783 trailing slash.
8784
796e3b20
CV
8785Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
8786
8787 * libc/include/sys/unistd.h: Add prototypes for
8788 fchmod, fchown, lchown.
8789
b489803a
JJ
8790Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8791
8792 * acinclude.m4: Changed release to 1.8.2.
8793 * aclocal.m4 configure doc/aclocal.m4 doc/configure
8794 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
8795 libc/machine/configure libc/machine/a29k/aclocal.m4
8796 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8797 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8798 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8799 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8800 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
8801 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8802 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8803 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8804 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8805 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8806 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8807 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8808 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8809 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8810 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8811 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8812 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8813 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8814 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8815 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8816 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8817 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8818 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
8819 libc/machine/z8k/configure libc/sys/aclocal.m4
8820 libc/sys/aclocal.m4 libc/sys/configure
8821 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8822 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8823 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8824 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8825 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8826 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8827 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8828 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8829 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8830 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8831 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8832 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8833 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8834 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8835 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8836 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8837 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8838 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8839 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8840 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8841 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8842 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8843 libm/aclocal.m4 libm/configure: Regenerated.
8844
79908d67
NC
88452000-03-24 Nick Clifton <nickc@cygnus.com>
8846
8847 * libc/sys/arm/syscalls.c: Fix compile time warnings.
8848 (do_AngelSWI): Add "cc" to list o registers clobbered.
8849
7684ddaf
FN
8850Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8851
8852 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
8853 information to be clobbered by an Angel C library support syscall.
8854
b8ec20c8
JJ
8855Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8856
8857 * libc/stdlib/envlock.c: Fixed comment typo.
8858
fae4c299
JJ
8859Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8860
8861 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
8862 code to update nread as each character is processed instead
8863 of using buffer contents which throw away leading zeroes.
8864
dc98804b
RK
8865Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
8866
8867 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
8868
5ed2f523
JJ
8869Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
8870
8871 * libc/include/string.h: Include <sys/types.h>.
8872
1cf0ee34
AO
8873Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8874
8875 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
8876 with XSH5, not SVID.
8877
e9c94978
JJ
8878Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8879
8880 * libc/include/string.h: Changed last argument back to ssize_t
8881 to make it compatible with XPG4 definition which is
8882 defined in <unistd.h>. There is a conflict in the SVID 3
8883 and XPG4 definitions and newlib will settle with XPG4.
8884 * libc/string/swab.c: Ditto.
8885
3072163c
JJ
8886Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8887
8888 * libc/include/string.h: Changed last argument to size_t.
8889 * libc/string/swab.c: Changed last argument to size_t.
8890
f205ea7a
AO
8891Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8892
8893 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
8894 (CHEWOUT_FILES): Added unlinkr.def.
8895 * libc/reent/Makefile.in: Rebuilt.
8896 * libc/sys.tex: Include unlinkr.def.
8897 * libc/reent/linkr.c (_unlink_r): Moved to...
8898 * libc/reent/unlinkr.c: ... new file.
8899
85dd2e5b
AO
8900Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8901
8902 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
8903 (CHEWOUT_FILES): Added swab.def.
8904 * libc/string/Makefile.in: Rebuilt.
8905 * libc/string/string.tex: Include swab.def.
8906 * libc/include/string.h (swab): Declare.
8907 * libc/string/swab.c: New file.
8908
c5053058
AO
8909Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8910
8911 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
8912 (CHEWOUT_FILES): Added getw.def and putw.def.
8913 * libc/stdio/Makefile.in: Rebuilt.
8914 * libc/stdio/stdio.tex: Include getw.def and putw.def.
8915 * libc/stdio/getw.c: New file.
8916 * libc/stdio/putw.c: New file.
8917
dbaf37cf
JJ
8918Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8919
8920 * libc/stdio/flags.c (__sflags): Added check that mode[1]
8921 is non-null before looking at mode[2].
8922
bc019ef2
RK
8923Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8924
8925 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
8926 * libm/mathfp/sf_atan.c: Ditto.
8927
8928Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
8929
8930 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
8931
cd641b2d
RK
8932Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8933
8934 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
8935 _DOUBLE_IS_32BITS.
8936
b0ba0ac2
JJ
8937Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8938
8939 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
8940 call prior to calling _VFPRINTF_R so reentrant data area is set.
8941 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
8942
8a0efa53
CF
8943Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8944
8945 * libc/stdio/vfscanf.c (limits.h): #include.
8946 (MAX_LONG_LEN): #define.
8947 (__svfscanf): Handle floating point numbers with arbitrary amounts
8948 of leading zeroes.
8949
89502000-02-15 Nick Clifton <nickc@cygnus.com>
8951
8952 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
8953 zero. Set the blocksize to 1024/
8954
8955Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8956
8957 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
8958 with line buffering.
8959
8960Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8961
8962 * acinclude.m4: Changed include directory for winsup headers.
8963 * aclocal.m4 configure libc/aclocal.m4
8964 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
8965 libc/locale/Makefile.in libc/machine/aclocal.m4
8966 libc/machine/configure libc/machine/a29k/aclocal.m4
8967 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8968 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8969 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8970 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8971 libc/machine/fr30/configure
8972 libc/machine/h8300/aclocal.m4
8973 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8974 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8975 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8976 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8977 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8978 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8979 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8980 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8981 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8982 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8983 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8984 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8985 libc/machine/powerpc/configure
8986 libc/machine/sh/aclocal.m4
8987 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8988 libc/machine/sparc/configure
8989 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8990 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8991 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8992 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8993 libc/misc/Makefile.in libc/posix/Makefile.in
8994 libc/reent/Makefile.in
8995 libc/signal/Makefile.in
8996 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
8997 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8998 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
8999 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
9000 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
9001 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9002 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9003 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9004 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9005 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9006 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9007 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9008 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9009 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
9010 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
9011 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
9012 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
9013 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
9014 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
9015 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
9016 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
9017 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
9018 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
9019 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
9020 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
9021 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
9022 libm/configure: Regenerated.
9023
9024Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
9025
9026 * libc/stdlib/putenv_r.c (_putenv_r): New file.
9027 * libc/stdlib/strdup_r.c (_strdup_r): New file.
9028 * libc/include/string.h: Added _strdup_r.
9029 * libc/stdlib/putenv.c: Added call to reentrant version.
9030 * libc/stdlib/strdup.c: Ditto.
9031 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
9032 * libc/include/stdlib.h: Ditto.
9033 * libc/stdlib/Makefile.in: Regenerated.
9034 * libc/string/Makefile.in: Regenerated.
9035 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
9036 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
9037 management calls to reentrant versions.
9038 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
9039 * libc/stdlib/wctomb.c: Ditto.
9040 * libc/stdlib/mblen.c: Ditto.
9041 * libc/stdlib/mbstowcs.c: Ditto.
9042 * libc/stdlib/mbtowc.c: Ditto.
9043 * libc/stdlib/getenv.c: Ditto.
9044 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
9045 and _strdup_r.
9046
9047Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
9048
9049 patch from Corinna Vinschen <corinna@vinschen.de>
9050 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
9051
bc019ef2 9052Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
9053
9054 * libm/mathfp/s_atangent.c: Fix exponent calculation.
9055 * libm/mathfp/s_ldexp.c: Ditto.
9056 * libm/mathfp/sf_atangent.c: Ditto.
9057 * libm/mathfp/sf_ldexp.c: Ditto.
9058
9059Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9060
9061 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
9062 * libc/include/locale.h: define NULL to be 0.
9063
9064Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
9065
9066 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
9067 function.
9068
9069Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
9070
9071 * libc/machine/mn10300/setjmp.S: Handle am33.
9072
90731999-11-26 Nick Clifton <nickc@cygnus.com>
9074
9075 * libc/sys/arm/syscalls.c: Add function prototypes.
9076 (stack_ptr): Move declaration before function definitions.
9077
9078Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9079
9080 * NEWS: Updated version information.
9081 * README: Ditto.
9082
9083Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
9084
9085 * libc/machine/i386/strchr.S: Fixed alignment test.
9086
9087Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
9088
9089 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
9090
9091Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
9092
9093 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
9094 ensuring that there is space between the two.
9095
9096Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
9097
9098 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
9099 only.
9100
91011999-10-08 Vadim Egorov <egorovv@1c.ru>
9102
9103 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
9104 section
9105
9106Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9107
9108 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
9109 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
9110
9111Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
9112 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
9113 per POSIX 1003.1b.
9114 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
9115 per POSIX 1003.1b.
9116
91171999-09-13 DJ Delorie <dj@cygnus.com>
9118
9119 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
9120 also.
9121
9122Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
9123
9124 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
9125 also note BUFSIZ as its size.
9126
9127Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
9128
9129 * configure.host: Corrected feature defines for RTEMS.
9130 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
9131 * libc/include/sys/stat.h: mkfifo() should take const path arg.
9132 * libc/include/sys/unistd.h: pathconf() should take const path arg.
9133 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
9134 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
9135 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
9136 _PC_PRIO_IO, and _PC_SYNC_IO.
9137 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
9138 * libc/machine/m68k/Makefile.in: Regenerated.
9139 * libc/machine/m68k/strcpy.c: New file.
9140 * libc/machine/m68k/strlen.c: New file.
9141 * libc/stdio/tmpnam.c: Always make the returned name usable.
9142 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
9143 * libc/sys/rtems/sys/dirent.h: New file.
9144 * libc/sys/rtems/sys/types.h: Added dev_t.
9145
9146Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
9147
9148 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
9149
9150Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
9151
9152 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
9153 my patch.
9154
9155Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
9156
9157 patch from Jeff Johnston <jjohnstn@cygnus.com>
9158 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
9159 buffer is not in a useful state.
9160
91611999-09-01 Nick Clifton <nickc@cygnus.com>
9162
9163 * libc/sys/arm/syscalls.c (_link): Add stub.
9164
9165Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9166
9167 * ftell.c (ftell): Use actual position within buffer for text mode.
9168 * findfp.c (std): Initialize ptr->_bf._size.
9169
9170Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
9171
9172 * libc/include/sys/unistd.h: Add nice() declaration.
9173
91741999-08-09 Nick Clifton <nickc@cygnus.com>
9175
9176 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
9177 declare as a thumb function so that the disassembler will see the
9178 mode change.
9179
9180Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9181
9182 * libc/reent/reent.tex: Updated list of reentrant functions.
9183
91841999-07-09 Michael Meissner <meissner@cygnus.com>
9185
9186 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
9187
9188Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
9189
9190 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
9191 separate file.
9192 * libc/stdio/snprintf.c: New file.
9193 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
9194 separate file.
9195 * libc/stdio/vsnprintf.c: New file.
9196 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
9197 * libc/stdio/Makefile.in: Regenerated.
9198
9199Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
9200
9201 Patch submitted by Egor Duda <deo@logos-m.ru>:
9202 * libc/include/stdio.h: Add declarations for *nprintf.
9203 * libc/stdio/sprintf.c (snprintf): New function.
9204 (_snprintf_r): New function.
9205 * libc/stdio/vsprintf.c (vsnprintf): New function.
9206 (_vnsprintf_r): New function.
9207
9208Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9209
9210 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
9211 * libm/Makefile.am (stmp-targetdep): Ditto.
9212 * libc/Makefile.in: Regenerated.
9213 * libm/Makefile.in: Ditto.
9214
9215Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9216
9217 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
9218 * libm/Makefile.am (stmp-targetdep): Ditto.
9219 * libc/Makefile.in: Regenerated.
9220 * libm/Makefile.in: Ditto.
9221
9222Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
9223
9224 * Makefile.am: Removed dependencies on all-recursive and added "."
9225 to the SUBDIRS list to prevent infinite recursion from occurring.
9226 Also removed any references to EXTRA_DATA.
9227 * libc/Makefile.am: Ditto.
9228 * libc/machine/Makefile.am: Ditto.
9229 * libc/machine/i386/Makefile.am: Ditto.
9230 * libm/Makefile.am: Ditto.
9231 * libc/sys/Makefile.am: Ditto.
9232 * Makefile.in: Regenerated.
9233 * aclocal.m4: Ditto.
9234 * configure: Ditto.
9235 * doc/Makefile.in: Ditto.
9236 * doc/aclocal.m4: Ditto.
9237 * doc/configure: Ditto.
9238 * libc/Makefile.in: Ditto.
9239 * libc/aclocal.m4: Ditto.
9240 * libc/configure: Ditto.
9241 * libc/machine/Makefile.in: Ditto.
9242 * libc/machine/aclocal.m4: Ditto.
9243 * libc/machine/configure: Ditto.
9244 * libc/machine/mn10300/Makefile.in: Ditto.
9245 * libc/machine/mn10300/aclocal.m4: Ditto.
9246 * libc/machine/mn10300/configure: Ditto.
9247 * libc/sys/Makefile.in: Ditto.
9248 * libc/sys/aclocal.m4: Ditto.
9249 * libc/sys/configure: Ditto.
9250 * libm/Makefile.in: Ditto.
9251 * libm/aclocal.m4: Ditto.
9252 * libm/configure: Ditto.
9253
9254Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9255
9256 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
9257
9258Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9259
9260 * libc/include/stdlib.h: Add reentrant routines.
9261 * libc/stdlib/Makefile.am: Add reentrant routines.
9262 * libc/stdlib/Makefile.in: Ditto.
9263 * libc/stdlib/envlock.c: New file.
9264 * libc/stdlib/envlock.h: New file.
9265 * libc/stdlib/getenv.c: Modify to call reentrant routine.
9266 * libc/stdlib/getenv_r.c: New file.
9267 * libc/stdlib/mblen.c: Modify to call reentrant routine.
9268 * libc/stdlib/mblen_r.c: New file.
9269 * libc/stdlib/setenv.c: Modify to call reentrant routine.
9270 * libc/stdlib/setenv_r.c: New file.
9271 * libc/stdlib/stdlib.tex: Add reentrant routines.
9272
9273Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
9274
9275 * libc/include/sys/types.h: Define __MS_types__ whenever
9276 cygwin or win32.
9277
9278Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
9279
9280 * libc/include/machine/ieeefp.h: Always default to little
9281 endian if Windows, regardless of architecture.
9282 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
9283 regardless of architecture.
9284
9285Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
9286
9287 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
9288 _WIN32 isn't defined.
9289
9290Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
9291
9292 * libm/common/s_rint.c (rint): Add volatile qualifier for
9293 intermediate value w.
9294 * libm/common/sf_rint.c (rintf): Ditto.
9295
9296Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9297
9298 * libc/sys/arm/syscalls.c (remap_handle): Added check to
9299 ensure that std streams are initialized before being referenced.
9300
93011999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
9302
9303 * README: Update reference to newlib@cygnus.com new
9304 newlib@sourceware.cygnus.com address.
9305
9306Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
9307
9308 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
9309 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
9310 defined, even if _WIN32 isn't defined.
9311
9312Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
9313
9314 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
9315
9316Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9317
9318 * libc/include/sys/reent.h: Change Long and ULong to __Long and
9319 __ULong.
9320 * libc/stdlib/dtoa.c: Ditto.
9321 * libc/stdlib/mprec.c: Ditto.
9322 * libc/stdlib/mprec.h: Ditto.
9323 * libc/stdlib/strtod.c: Ditto.
9324
93251999-04-21 Nick Clifton <nickc@cygnus.com>
9326
9327 * configure.host (mcore): Remove mcore machine directory.
9328
93291999-04-18 Nick Clifton <nickc@cygnus.com>
9330
9331 * libc/include/machine/ieeefp.h: Add support for mcore target.
9332 * libc/include/machine/setjmp.h: Add support for mcore target.
9333 * configure.host: Add support for mcore target.
9334
93351999-04-13 Mark Salter <msalter@cygnus.com>
9336
9337 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
9338 * libc/sys/arm/syscalls.c: Added isatty.
9339
9340Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9341
9342 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
9343 insert zeroes after significant digits.
9344
9345Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9346
9347 * libc/stdio/vfprintf.c (cvt): Changed floating point
9348 cvt routine to use union used by dtoa to properly determine
9349 if the sign bit is on or not.
9350 * libc/stdio/vfieeefp.h: New file
9351
9352Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9353
9354 * aclocal.m4: Regenerated.
9355 * configure: Regenerated.
9356
9357Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9358
9359 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
9360 f_tanf reference.
9361 * libc/machine/i386/Makefile.in: Regenerated.
9362
9363Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
9364
9365 * acinclude.m4: Changed to work with new automake.
9366 * configure: Regenerated.
9367 * libc/machine/i386/aclocal.m4: Regenerated.
9368 * libc/machine/i386/configure: Regenerated.
9369
9370Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
9371
9372 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
9373 for telldir() and seekdir(). Rename unused structure element
9374 for use with these two routines.
9375
9376Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
9377
9378 * libc/time/mktime.c (validate_structure): Multiple fixes to
9379 code to handle cases where input fields are outside valid ranges.
9380 * libc/stdlib/div.c (div): Modified invalid rounding check.
9381 * libc/stdlib/ldiv.c (ldiv): Ditto.
9382
9383Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
9384
9385 * libc/machine/i386/memcpy.S: Performance rewrite.
9386 * libc/machine/i386/memmove.S: Ditto.
9387 * libc/machine/i386/i386mach.h: Added more register definitions.
9388 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
9389 option used.
9390 * libc/include/machine/fastmath.h: Add definitions for x86
9391 fast-math routines.
9392
9393Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9394
9395 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
9396
9397Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
9398
9399 Adjust newlib headers for new Cygwin Win32 API header files:
9400 * libc/include/sys/time.h: Check _WINSOCK_H rather than
9401 _GNU_H_WINDOWS32_SOCKETS.
9402 * libc/include/sys/types.h: Ditto.
9403
9404Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9405
9406 *include/sys/reent.h: Add checks for size of Bigint element Long.
9407 *libc/dtoa.c: Change routines to use generic Long type.
9408 *libc/mprec.c: Change routines to use generic Long type.
9409 *libc/mprec.h: Change routines to use generic Long type.
9410
9411Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
9412
9413 * libc/Makefile.am: Add .def files.
9414 * libc/Makefile.in: Regenerate.
9415 * libc/e_acosh.c: Documentation update.
9416 * libc/e_atanh.c: Documentation update.
9417 * libc/e_hypot.c: Documentation update.
9418 * libc/e_remainder.c: Documentation update.
9419 * libc/er_lgamma.c: Documentation update.
9420 * libc/mathfp.tex: Documentation update.
9421 * libc/s_acos.c: Documentation update.
9422 * libc/s_atan.c: Documentation update.
9423 * libc/s_atan2.c: Documentation update.
9424 * libc/s_cosh.c: Documentation update.
9425 * libc/s_fmod.c: Documentation update.
9426 * libc/s_isnan.c: Documentation update.
9427 * libc/s_log10.c: Documentation update.
9428 * libc/s_pow.c: Documentation update.
9429 * libc/w_jn.c: Documentation update.
9430
9431Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
9432
9433 * aclocal.m4: Regenerate.
9434 * configure: Regenerate.
9435
9436Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
9437
9438 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
9439 to return 1 if user specified return code is 0.
9440 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
9441
9442Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
9443
9444 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
9445 to save the return address. Fixed longjmp to return to the original
9446 calling address of setjmp and to return the user specified return code
9447 rather than default to 1.
9448 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
9449
9450Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
9451
9452 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
9453
94541999-02-10 Nick Clifton <nickc@cygnus.com>
9455
9456 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
9457 volatile so that its assignments will not be discarded.
9458
9459Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
9460
9461 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
9462 be __STRICT_ANSI__ which is generated by compiler.
9463 * libc/include/ctype.h: Ditto.
9464 * libc/include/math.h: Ditto.
9465 * libc/include/stdio.h: Ditto.
9466 * libc/include/stdlib.h: Ditto.
9467 * libc/include/string.h: Ditto.
9468 * libc/include/sys/signal.h: Ditto.
9469
94701999-02-08 Nick Clifton <nickc@cygnus.com>
9471
9472 * configure.host: Add support for StrongARM target.
9473
9474Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
9475
9476 * libc/string/strncpy.c (strncpy): Removed redundant code
9477 that was copying bytes if data unaligned.
9478
94791999-02-02 Brendan Kehoe <brendan@cygnus.com>
9480
9481 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
9482 mbstowcs.def, and wcstombs.def.
9483
9484Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
9485
9486 * libc/include/sys/errno.h: Add Cygwin errno.
9487 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
9488 is specified.
9489
94901999-01-29 Nick Clifton <nickc@cygnus.com>
9491
9492 * libc/sys/arm/syscalls.c: Move C library functions into seperate
9493 file.
9494
9495 * libc/sys/arm/libcfunc.c: New file containing C library functions
9496 from syscalls.c
9497
9498 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
9499 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
9500
9501
95021999-01-27 Michael Meissner <meissner@cygnus.com>
9503
9504 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
9505 type, and cut size in half so that the jmp_buf array is guaranteed
9506 to be aligned on a 64-bit boundary.
9507
9508Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
9509
9510 * libc/string/strings.tex: Added information about
9511 strcasecmp and strncasecmp.
9512 * libc/stdlib/stdlib.tex: Added missing information
9513 about mblen, mbstowcs, and wcstombs.
9514 * libc/string/strchr.c: Changed how mask is built to use
9515 shift operators so register will be used instead of storage.
9516
95171999-01-22 DJ Delorie <dj@cygnus.com>
9518
9519 * libc/include/stdlib.h: don't use dllimport if we're building
9520 newlib, since it's inside cygwin.dll
9521
9522Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
9523
9524 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
9525 _ctype_ under cygwin.
9526
9527Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
9528
9529 * include/stdlib.h: Fix typo from previous checkin.
9530
9531Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
9532
9533 * include/ctype.h: Use __declspec(dllimport) method for exporting
9534 variable from cygwin DLL.
9535 * include/time.h: Ditto.
9536 * sys/errno.h: Ditto.
9537 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
9538 * libc/locale/locale.c: Use __declspec(dllexport) method for
9539 exporting variable from cygwin DLL.
9540
9541Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
9542
9543 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
9544 access of bogus pointer will result in SIGSEGV.
9545
95461999-01-07 Nick Clifton <nickc@cygnus.com>
9547
9548 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
9549 of an underscore prefix to function names.
9550
9551Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
9552
9553 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
9554 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
9555
95561998-12-31 Michael Meissner <meissner@cygnus.com>
9557
9558 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
9559 to `%' if not already defined.
9560
95611998-12-30 Michael Meissner <meissner@cygnus.com>
9562
9563 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
9564 arguments const char *, not char *.
9565 * libc/include/stdio.h (_tempnam_r): Ditto.
9566
9567 * libc/include/sys/reent.h (struct _reent): The _sig_func type
9568 points to a function taking an integer, not void.
9569
9570Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
9571
9572 * configure.host: Add a define for Cygwin builds.
9573 * libc/include/ctype.h: Don't use dll imported variables in newlib.
9574
9575Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
9576
9577 * libc/include/ctype.h: Define _ctype_ as dll imported variable
9578 for use with Cygwin.
9579 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
9580 dll imported variables for use with Cygwin.
9581 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
9582 as a dll imported variable for Cygwin.
9583
9584Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
9585
9586 * libc/include/sys/unistd.h: Add proto for getpass.
9587
9588Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
9589
9590 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
9591 alphasort.
9592
9593Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
9594
9595 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
9596 not posix_path_list_p.
9597
95981998-12-15 Nick Clifton <nickc@cygnus.com>
9599
9600 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
9601 a signed int.
9602
96031998-12-13 Nick Clifton <nickc@cygnus.com>
9604
9605 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
9606
96071998-12-12 Nick Clifton <nickc@cygnus.com>
9608
9609 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
9610 <msalter@cygnus.com>
9611 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
9612 * libc/machine/fr30/Makefile.in: Regenerated.
9613
96141998-12-11 Nick Clifton <nickc@cygnus.com>
9615
9616 * configure.host: Remove use of libc/sys for FR30 port.
9617 * libc/sys/fr30: Remove directory (replaced by libgloss).
9618
96191998-12-10 Ken Raeburn <raeburn@cygnus.com>
9620
9621 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
9622 * libc/string/strncat.c (ALIGNED): Ditto.
9623
9624Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
9625
9626 * libc/include/sys/time.h: include sys/types.h
9627
9628Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
9629
9630 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
9631 comparison found when checking word at a time.
9632
96331998-12-04 Nick Clifton <nickc@cygnus.com>
9634
9635 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
9636
96371998-12-03 Nick Clifton <nickc@cygnus.com>
9638
9639 * libc/sys/fr30/syscalls.c (_times): New function stub.
9640
9641Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9642
9643 * configure.host (mach_add_setjmp): Replaced mach_add_objs
9644 with mach_add_setjmp flag which indicates if setjmp should
9645 be added to the machine directory objects.
9646 * acinclude.m4: Removed reference to mach_add_objs.
9647 * aclocal.m4: Regenerated.
9648 * Makefile.in: Regenerated.
9649 * configure: Regenerated.
9650 * libc/aclocal.m4: Regenerated.
9651 * libc/Makefile.in: Regenerated.
9652 * libc/configure: Regenerated.
9653 * libc/machine/aclocal.m4: Regenerated.
9654 * libc/machine/Makefile.in: Regenerated.
9655 * libc/machine/configure: Regenerated.
9656 * libc/machine/i386/aclocal.m4: Regenerated.
9657 * libc/machine/i386/Makefile.am: Altered to selectively add
9658 setjmp.S to the src files list.
9659 * libc/machine/i386/Makefile.in: Regenerated.
9660 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
9661 * libc/machine/i386/configure: Regenerated.
9662
96631998-12-02 Nick Clifton <nickc@cygnus.com>
9664
9665 * libc/sys/fr30/crt0.s (_start): Fix function names.
9666
9667 * libc/machine/fr30: New directory
9668 * libc/machine/fr30/Makefile.am: New file.
9669 * libc/machine/fr30/Makefile.in: New generated file.
9670 * libc/machine/fr30/configure.in: New file.
9671 * libc/machine/fr30/configure: New generated file.
9672 * libc/machine/fr30/aclocal.m4: New generated file.
9673 * libc/sys/fr30/Makefile.am: New file.
9674 * libc/sys/fr30/Makefile.in: New generated file.
9675 * libc/sys/fr30/configure.in: New file.
9676 * libc/sys/fr30/configure: New generated file.
9677 * libc/sys/fr30/syscalls.c: New file.
9678
9679Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
9680
9681 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
9682
96831998-12-01 Ken Raeburn <raeburn@cygnus.com>
9684
9685 * libc/time/strftime.c (strftime): Also handle %y for years before
9686 1900.
9687
9688Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
9689
9690 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
9691 UNIX convention. Perform tolower on characters before comparing
9692 them rather than use toupper.
9693 * libc/string/strncasecmp.c (strncasecmp): Ditto.
9694
9695Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9696
9697 * configure.host: Added using i386 machine directory
9698 for all x86 cross-compiler and configuring
9699 which added object files to use via new "mach_add_objs" variable.
9700 * configure: Regenerated.
9701 * libc/configure: Regenerated.
9702 * libc/Makefile.in: Regenerated.
9703 * libc/aclocal.m4: Regenerated.
9704 * libc/ctype/Makefile.in: Regenerated.
9705 * libc/errno/Makefile.in: Regenerated.
9706 * libc/locale/Makefile.in: Regenerated.
9707 * libc/machine/Makefile.in: Regenerated.
9708 * libc/machine/aclocal.m4: Regenerated.
9709 * libc/machine/configure: Regenerated.
9710 * libc/posix/Makefile.in: Regenerated.
9711 * libc/reent/Makefile.in: Regenerated.
9712 * libc/signal/Makefile.in: Regenerated.
9713 * libc/stdio/Makefile.in: Regenerated.
9714 * libc/stdlib/Makefile.in: Regenerated.
9715 * libc/string/Makefile.in: Regenerated.
9716 * libc/string/memmove.c: Optimized code to use memcpy
9717 logic when performing a non-destructive copy.
9718 * libc/string/strncmp.c: Altered code to allow building
9719 optimized for size or speed.
9720 * libc/syscalls/Makefile.in: Regenerated.
9721 * libc/time/Makefile.in: Regenerated.
9722 * libc/unix/Makefile.in: Regenerated.
9723 * libc/machine/i386/Makefile.am: Added new files and reference
9724 to "mach_add_objs" to indicate optional object files.
9725 * libc/machine/i386/Makefile.in: Regenerated.
9726 * libc/machine/i386/aclocal.m4: Regenerated.
9727 * libc/machine/i386/configure: Regenerated.
9728 * libc/machine/i386/memchr.S: New file that implements
9729 function in Intel assembler.
9730 * libc/machine/i386/memcmp.S: ditto.
9731 * libc/machine/i386/memcpy.S: ditto.
9732 * libc/machine/i386/memmove.S: ditto.
9733 * libc/machine/i386/memset.S: ditto.
9734 * libc/machine/i386/strchr.S: ditto.
9735 * libc/machine/i386/strlen.S: ditto.
9736 * libc/machine/i386/f_atan2.S: New file that implements
9737 fast version of math function to be used by compiler when
9738 --ffast_math compile option is used.
9739 * libc/machine/i386/f_atan2f.S: ditto.
9740 * libc/machine/i386/f_exp.c: ditto.
9741 * libc/machine/i386/f_expf.c: ditto.
9742 * libc/machine/i386/f_frexp.S: ditto.
9743 * libc/machine/i386/f_frexpf.S: ditto.
9744 * libc/machine/i386/f_ldexp.S: ditto.
9745 * libc/machine/i386/f_ldexpf.S: ditto.
9746 * libc/machine/i386/f_log.S: ditto.
9747 * libc/machine/i386/f_logf.S: ditto.
9748 * libc/machine/i386/f_log10.S: ditto.
9749 * libc/machine/i386/f_log10f.S: ditto.
9750 * libc/machine/i386/f_math.h: New file.
9751 * libc/machine/i386/f_pow.c: ditto.
9752 * libc/machine/i386/f_powf.S: ditto.
9753 * libc/machine/i386/f_tan.S: ditto.
9754 * libc/machine/i386/f_tan.S: ditto.
9755 * libc/machine/i386/i386mach.h: New file.
9756
9757Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
9758
9759 patch from Mumit Khan <khan@xraylith.wisc.edu>
9760 * libc/include/stdio.h (tempnam): Add prototype.
9761 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
9762 (tempnam): Adhere to prototype.
9763
9764Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
9765
9766 * Makefile.am: Add default for AR_FLAGS.
9767 * Makefile.in: Regenerate.
9768
9769Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
9770
9771 * libc/include/time.h: move __cplusplus wrapper after includes
9772 * libc/include/sys/time.h: ditto. If Cygwin, include
9773 sys/select.h.
9774 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
9775
97761998-11-23 Ken Raeburn <raeburn@cygnus.com>
9777
9778 * libc/time/strftime.c (strftime): Handle %y after year 2000.
9779
9780Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
9781
9782 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
9783 abnormnal end-of-crt0 marker.
9784
9785Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
9786
9787 * libc/sys/fr30/crt0.s: New file/directory.
9788 * libc/include/machine/setjmp.h: Add FR30 target.
9789 * libc/include/machine/ieeefp.h: Add FR30 target.
9790 * configure.host: Add FR30 target.
9791
9792Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9793
9794 * libm/math: Files that are duplicated in common directory removed.
9795 * libm/math/fdlibm.h: Removed.
9796 * libm/math/s_cbrt.c: Removed.
9797 * libm/math/s_copysign.c: Removed.
9798 * libm/math/s_expm1.c: Removed.
9799 * libm/math/s_finite.c: Removed.
9800 * libm/math/s_ilogb.c: Removed.
9801 * libm/math/s_infinity.c: Removed.
9802 * libm/math/s_lib_ver.c: Removed.
9803 * libm/math/s_log1p.c: Removed.
9804 * libm/math/s_logb.c: Removed.
9805 * libm/math/s_matherr.c: Removed.
9806 * libm/math/s_modf.c: Removed.
9807 * libm/math/s_nan.c: Removed.
9808 * libm/math/s_nextafter.c: Removed.
9809 * libm/math/s_rint.c: Removed.
9810 * libm/math/s_scalbn.c: Removed.
9811 * libm/math/sf_cbrt.c: Removed.
9812 * libm/math/sf_copysign.c: Removed.
9813 * libm/math/sf_expm1.c: Removed.
9814 * libm/math/sf_finite.c: Removed.
9815 * libm/math/sf_ilogb.c: Removed.
9816 * libm/math/sf_infinity.c: Removed.
9817 * libm/math/sf_log1p.c: Removed.
9818 * libm/math/sf_logb.c: Removed.
9819 * libm/math/sf_modf.c: Removed.
9820 * libm/math/sf_nan.c: Removed.
9821 * libm/math/sf_nextafter.c: Removed.
9822 * libm/math/sf_rint.c: Removed.
9823 * libm/math/sf_scalbn.c: Removed.
9824 * libm/math/Makefile.am: Removed references to deleted files (above).
9825 * libm/math/Makefile.in: Regenerated.
9826 * libm/Makefile.am: Added common directory to math.
9827 * libm/Makefile.in: Regenerated.
9828
9829Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9830
9831 * libm/mathfp: Add non-ANSI functions.
9832 * libm/mathfp/e_acosh.c acosh(): New file.
9833 * libm/mathfp/e_atanh.c atanh(): New file.
9834 * libm/mathfp/e_hypot.c hypot(): New file.
9835 * libm/mathfp/e_j0.c j0(): New file.
9836 * libm/mathfp/e_j1.c j1(): New file.
9837 * libm/mathfp/e_remainder.c remainder(): New file.
9838 * libm/mathfp/e_scalb.c scalb(): New file.
9839 * libm/mathfp/ef_acosh.c acoshf(): New file.
9840 * libm/mathfp/ef_atanh.c atanhf(): New file.
9841 * libm/mathfp/ef_hypot.c hypotf(): New file.
9842 * libm/mathfp/ef_j0.c j0f(): New file.
9843 * libm/mathfp/ef_j1.c j1f(): New file.
9844 * libm/mathfp/ef_remainder.c remainderf(): New file.
9845 * libm/mathfp/ef_scalb.c scalbf(): New file.
9846 * libm/mathfp/er_gamma.c gamma_r: New file.
9847 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
9848 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
9849 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
9850 * libm/mathfp/w_cabs.c cabs(): New file.
9851 * libm/mathfp/w_drem.c drem(): New file.
9852 * libm/mathfp/w_jn.c jn(): New file.
9853 * libm/mathfp/wf_cabs.c cabsf(): New file.
9854 * libm/mathfp/wf_drem.c dremf(): New file.
9855 * libm/mathfp/wf_jn.c jnf(): New file.
9856
9857Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
9858
9859 * libc/sys/cygwin32: remove directory and contents
9860 * libc/sys/cygwin: and add back, losing the "32".
9861 * configure.host: check for cygwin* instead of cygwin32.
9862 * acinclude.m4: ditto.
9863 * aclocal.m4: regenerate with aclocal
9864 * configure: regenerate with autoconf
9865
9866Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
9867
9868 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
9869 for length
9870
9871Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9872
9873 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
9874 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
9875 to make rand/srand, strtok, asctime, localtime, w_gamma,
9876 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
9877 time.h to bring in struct tm definition.
9878 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
9879 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
9880 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
9881 instead of static variable.
9882 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
9883 struct reent instead of static variable.
9884 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
9885 struct reent instead of static variable.
9886 * libm/math/Makefile.am: Removed s_signgam.o.
9887 * libm/math/Makefile.in: Regenerated.
9888 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
9889 struct reent instead of global variable 'signgam'.
9890 * libm/math/w_lgamma.c (lgamma): Likewise.
9891 * libm/math/wf_gamma.c (gammaf): Likewise.
9892 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9893 * libm/math/s_signgam.c: Removed.
9894 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
9895 to be const.
9896 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
9897 to be const.
9898 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
9899 libc/include/reent.h.
9900 * libc/reent/Makefile.in: Regenerated.
9901 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
9902 to be const.
9903 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
9904 'JIS_action_table' to be const.
9905 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
9906
9907Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
9908
9909 * acinclude.m4: $with_target_subdir should default to '.'
9910 or confusion results when configuring in same directory as sources.
9911 * Regenerate all aclocal.m4 and configure files.
9912
9913Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
9914
9915 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
9916 can be set by defining MALLOC_ALIGNMENT=16. Also added support
9917 for platforms where sizeof(size_t) < sizeof(long) via
9918 SIZE_T_SMALLER_THAN_LONG macro.
9919
9920Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
9921
9922 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
9923 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
9924 which sets _CLOCKS_PER_SEC_ for selected machines.
9925 * libc/include/machine/time.h: New file.
9926
9927Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9928
9929 * libc/syscalls/sysexecve.c: New file.
9930 * libc/syscalls/sysgettod.c: New file.
9931 * libc/syscalls/systimes.c: New file.
9932 * libc/syscalls/Makefile.am: Added new objects.
9933 * libc/syscalls/Makefile.in: Regenerated.
9934 * libc/include/_syslist.h (_execve): Moved define in file.
9935 * libc/include/reent.h: Added _execve_r declaration.
9936 * libc/Makefile.in: Regenerated.
9937 * libc/ctype/Makefile.in: Regenerated.
9938 * libc/errno/Makefile.in: Regenerated.
9939 * libc/locale/Makefile.in: Regenerated.
9940 * libc/machine/Makefile.in: Regenerated.
9941 * libc/misc/Makefile.in: Regenerated.
9942 * libc/posix/Makefile.in: Regenerated.
9943 * libc/reent/Makefile.in: Regenerated.
9944 * libc/reent/execr.c (_execve_r): Added _execve_r function.
9945 * libc/signal/Makefile.in: Regenerated.
9946 * libc/stdio/Makefile.in: Regenerated.
9947 * libc/time/Makefile.in: Regenerated.
9948 * libc/unix/Makefile.in: Regenerated.
9949 * libm/mathfp/Makefile.in: Regenerated.
9950
9951Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9952
9953 * libc/string/Makefile.in: Regenerated.
9954 * libc/string/memchr.c (memchr): Moved code to reduce object size.
9955 * libc/string/memcpy.c (memcpy): Ditto.
9956 * libc/string/memcmp.c (memcmp): Ditto.
9957 * libc/string/memset.c (memset): Ditto.
9958 * libc/string/strchr.c (strchr): Ditto.
9959 * libc/string/strcmp.c (strcmp): Ditto.
9960 * libc/string/strcpy.c (strcpy): Ditto.
9961 * libc/string/strlen.c (strlen): Ditto.
9962
9963Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9964
9965 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
9966 to generate aclocal.m4.
9967 * libm/Makefile.in: Regenerated.
9968 * libm/aclocal.m4: Regenerated.
9969 * libm/configure: Regenerated.
9970 * libm/math/Makefile.in: Regenerated.
9971 * libm/mathfp/Makefile.in: Regenerated.
9972
99731998-09-25 Mark Salter <msalter@cygnus.com>
9974
9975 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
9976 by adding leading and trailing underscores to symbol names.
9977
9978Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
9979
9980 * Makefile.in: Add default for AR_FLAGS.
9981
9982Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
9983
9984 patch from ian@airs.com (Ian Taylor):
9985 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
9986 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
9987 is needed for detecting the build machine. Required for
9988 cygwin native builds.
9989
9990 * Regenerate all aclocal.m4 and configure files.
9991
9992Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
9993
9994 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
9995 used to start with LC.
9996
9997Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9998
9999 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
10000 (longjmp): Likewise.
10001
10002Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10003
10004 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
10005 the test for small number of bytes.
10006
10007Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10008
10009 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
10010 math library that uses floating point algorithms instead of the old
10011 libm.
10012 * Makefile.in: Regenerate with automake version 1.3b.
10013 * configure: Rebuild.
10014 * libm/Makefile.in: Regenerate with automake version 1.3b.
10015 * libm/aclocal.m4: Regenerate.
10016 * libm/configure: Rebuild.
10017 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
10018 * libm/acinclude.m4: Define macros for configure.in.
10019 * libm/config.h.in: Generate.
10020 * libm/mathfp/Makefile.am: New file.
10021 * libm/mathfp/Makefile.in: Generate.
10022 * libm/mathfp/s_acos.c (acos): New file.
10023 * libm/mathfp/s_asin.c (asin): New file.
10024 * libm/mathfp/s_asine.c (asine): New file.
10025 * libm/mathfp/s_atan.c (atan): New file.
10026 * libm/mathfp/s_atan2.c (atan2): New file.
10027 * libm/mathfp/s_atangent.c (atangent): New file.
10028 * libm/mathfp/s_ceil.c (ceil): New file.
10029 * libm/mathfp/s_copysign.c (copysign): New file.
10030 * libm/mathfp/s_cos.c (cos): New file.
10031 * libm/mathfp/s_cosh.c (cosh): New file.
10032 * libm/mathfp/s_exp.c (exp): New file.
10033 * libm/mathfp/s_fabs.c (fabs): New file.
10034 * libm/mathfp/s_finite.c (finite): New file.
10035 * libm/mathfp/s_floor.c (floor): New file.
10036 * libm/mathfp/s_fmod.c (fmod): New file.
10037 * libm/mathfp/s_frexp.c (frexp): New file.
10038 * libm/mathfp/s_infconst.c: New file.
10039 * libm/mathfp/s_isinf (isinf).c: New file.
10040 * libm/mathfp/s_isnan.c (isnan): New file.
10041 * libm/mathfp/s_ispos.c (ispos): New file.
10042 * libm/mathfp/s_ldexp.c (ldexp): New file.
10043 * libm/mathfp/s_log.c (log): New file.
10044 * libm/mathfp/s_log10.c (log10): New file.
10045 * libm/mathfp/s_logarithm.c (logarithm): New file.
10046 * libm/mathfp/s_mathcnst.c: New file.
10047 * libm/mathfp/s_modf (modf).c: New file.
10048 * libm/mathfp/s_numtest.c (numtest): New file.
10049 * libm/mathfp/s_pow.c (pow): New file.
10050 * libm/mathfp/s_scalbn.c (scalbn): New file.
10051 * libm/mathfp/s_sin (sin).c: New file.
10052 * libm/mathfp/s_sine.c (sine): New file.
10053 * libm/mathfp/s_sineh.c (sineh): New file.
10054 * libm/mathfp/s_sinf.c (sinf): New file.
10055 * libm/mathfp/s_sinh.c (sinh): New file.
10056 * libm/mathfp/s_sqrt.c (sqrt): New file.
10057 * libm/mathfp/s_tan.c (tan): New file.
10058 * libm/mathfp/s_tanh.c (tanh): New file.
10059 * libm/mathfp/sf_acos.c (acosf): New file.
10060 * libm/mathfp/sf_asin.c (asinf): New file.
10061 * libm/mathfp/sf_asine.c (asinef): New file.
10062 * libm/mathfp/sf_atan.c (atanf): New file.
10063 * libm/mathfp/sf_atan2.c (atan2f): New file.
10064 * libm/mathfp/sf_atangent.c (atangent): New file.
10065 * libm/mathfp/sf_ceil.c (ceilf): New file.
10066 * libm/mathfp/sf_copysign.c (copysignf): New file.
10067 * libm/mathfp/sf_cos.c (cosf): New file.
10068 * libm/mathfp/sf_cosh.c (coshf): New file.
10069 * libm/mathfp/sf_exp.c (expf): New file.
10070 * libm/mathfp/sf_fabs.c (fabsf): New file.
10071 * libm/mathfp/sf_finite.c (finitef): New file.
10072 * libm/mathfp/sf_floor.c (floorf): New file.
10073 * libm/mathfp/sf_fmod.c (fmodf): New file.
10074 * libm/mathfp/sf_frexp.c (frexpf): New file.
10075 * libm/mathfp/sf_isinf.c (isinff): New file.
10076 * libm/mathfp/sf_isnan.c (isnanf): New file.
10077 * libm/mathfp/sf_ispos.c (isposf): New file.
10078 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
10079 * libm/mathfp/sf_log.c (logf): New file.
10080 * libm/mathfp/sf_log10.c (log10f): New file.
10081 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
10082 * libm/mathfp/sf_modf.c (modff): New file.
10083 * libm/mathfp/sf_numtest.c (numtestf): New file.
10084 * libm/mathfp/sf_pow.c (powf): New file.
10085 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
10086 * libm/mathfp/sf_sin.c (sinf): New file.
10087 * libm/mathfp/sf_sine.c (sinef): New file.
10088 * libm/mathfp/sf_sineh.c (sinehf): New file.
10089 * libm/mathfp/sf_sinh.c (sinhf): New file.
10090 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
10091 * libm/mathfp/sf_tan.c (tanf): New file.
10092 * libm/mathfp/sf_tanh.c (tanhf): New file.
10093 * libm/mathfp/zmath.h: New file.
10094
10095Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10096
10097 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
10098 exit if it has been overwritten by pre-fetching in delay slot.
10099
101001998-09-01 Michael Meissner <meissner@cygnus.com>
10101
10102 * Makefile.am (tooldir): Add in host_alias, so that multilib
10103 libraries are installed in the directory the compiler looks in.
10104 * Makefile.in: Regenerate.
10105
10106 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
10107
10108Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
10109
10110 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
10111 ahead of test for number of bytes being moved.
10112
10113Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
10114
10115 * libc/include/sys/unistd.h: Nothing special needed for
10116 _exit under cygwin.
10117
10118Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
10119
10120 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
10121 conform to user label naming conventions.
10122
10123Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
10124
10125 * libc/sys/cygwin32/sys/utime.h: variable names in
10126 protos should start with two leading underscores
10127 * libc/include/string.h: ditto
10128 * libc/include/sys/signal.h: ditto
10129 * libc/include/sys/stat.h: ditto
10130 * libc/include/sys/time.h: ditto
10131 * libc/include/sys/unistd.h: ditto
10132 * libc/include/ctype.h: ditto
10133 * libc/include/stdlib.h: ditto
10134 * libc/include/sys/reent.h: struct _atexit function ptr takes a
10135 void, same with _sig_func.
10136
10137Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
10138
10139 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
10140 for MB_CAPABLE to reduce code size when newlib is not configured
10141 with --enable-newlib-mb.
10142 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
10143 mbtowc_r.o to minimize size.
10144 * libc/stdlib/Makefile.in: Rebuild.
10145
10146Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
10147
10148 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
10149 to -DREENT.
10150 * libc/sys/sparc64/Makefile.in: Rebuild.
10151
10152Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
10153
10154 * Makefile.am (MAKEOVERRIDES): Define.
10155 * Makefile.in: Rebuild.
10156
10157Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
10158
10159 * libc/sys/sparc64/sys/stat.h (stat): Add const.
10160
10161Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
10162
10163 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
10164 newlib_cflags when looking for targ-include.
10165 * */aclocal.m4, */configure: Rebuild.
10166
10167Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
10168
10169 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
10170 to "_end".
10171
10172Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
10173
10174 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
10175 on SPARCs with little-endian data.
10176 * libc/include/machine/ieeefp.h: Ditto.
10177
10178Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
10179
10180 * acinclude.m4: Handle a relative srcdir correctly when setting
10181 newlib_cflags.
10182 * */aclocal.m4, */configure: Rebuild.
10183
10184Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
10185
10186 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
10187 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
10188 * libm/math/wrf_gamma.c (gammaf_r): ditto
10189 * libm/math/wr_lgamma.c (lgamma_r): ditto
10190 * libm/math/wr_gamma.c (gamma_r): ditto
10191 * libm/math/wf_sqrt.c (sqrtf): ditto
10192 * libm/math/wf_sinh.c (sinhf): ditto
10193 * libm/math/wf_scalb.c (scalbf): ditto
10194 * libm/math/wf_remainder.c (remainderf): ditto
10195 * libm/math/wf_pow.c (powf): ditto
10196 * libm/math/wf_log10.c (log10f): ditto
10197 * libm/math/wf_log.c (logf): ditto
10198 * libm/math/wf_lgamma.c (lgammaf): ditto
10199 * libm/math/wf_jn.c (jnf, ynf): ditto
10200 * libm/math/wf_j1.c (j1f, y1f): ditto
10201 * libm/math/wf_j0.c (j0f, y0f): ditto
10202 * libm/math/wf_hypot.c (hypotf): ditto
10203 * libm/math/wf_gamma.c (gammaf): ditto
10204 * libm/math/wf_fmod.c (fmodf): ditto
10205 * libm/math/wf_exp.c (expf): ditto
10206 * libm/math/wf_cosh.c (coshf): ditto
10207 * libm/math/wf_atanh.c (atanhf): ditto
10208 * libm/math/wf_atan2f.c (atan2f): ditto
10209 * libm/math/wf_asin.c (asinf): ditto
10210 * libm/math/wf_acosh.c (acoshf): ditto
10211 * libm/math/wf_acos.c (acosf): ditto
10212 * libm/math/w_sqrt.c (sqrt): ditto
10213 * libm/math/w_sinh.c (sinh): ditto
10214 * libm/math/w_scalb.c (scalb): ditto
10215 * libm/math/w_remainder.c (remainder): ditto
10216 * libm/math/w_pow.c (pow): ditto
10217 * libm/math/w_log10.c (log10): ditto
10218 * libm/math/w_log.c (log): ditto
10219 * libm/math/w_lgamma.c (lgamma): ditto
10220 * libm/math/w_jn.c (jn, yn): ditto
10221 * libm/math/w_j1.c (j1, y1): ditto
10222 * libm/math/w_j0.c (j0, y0): ditto
10223 * libm/math/w_hypot.c (hypot): ditto
10224 * libm/math/w_gamma.c (gamma): ditto
10225 * libm/math/w_fmod.c (fmod): ditto
10226 * libm/math/w_exp.c (exp): ditto
10227 * libm/math/w_cosh.c (cosh): ditto
10228 * libm/math/w_atanh.c (atanh): ditto
10229 * libm/math/w_atan2f.c (atan2): ditto
10230 * libm/math/w_asin.c (asin): ditto
10231 * libm/math/w_acosh.c (acosh): ditto
10232 * libm/math/w_acos.c (acos): ditto
10233
10234Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
10235
10236 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
10237 (fsrc): Add wf_cabs.c and wf_drem.c.
10238 * libm/math/Makefile.in: Rebuild.
10239
10240 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
10241 unused directory variables. Remove duplicate CFLAGS.
10242 * Makefile.in: Rebuild.
10243
10244 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
10245 with $(CC_FOR_BUILD).
10246 (makedoc.o): Likewise.
10247 * doc/Makefile.in: Rebuild.
10248
10249 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
10250 force a definition of COMPILE.
10251 (libfoo_a_SOURCES): Define.
10252 * libc/sys/cygwin32/Makefile.in: Rebuild.
10253 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
10254 force a definition of COMPILE.
10255 (libfoo_a_SOURCES): Define.
10256 * libc/sys/tic80/Makefile.in: Rebuild.
10257
10258Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
10259
10260 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
10261 flag.
10262
10263Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
10264
10265 * Build using autoconf and automake. Added many Makefile.am and
10266 configure.in files, plus generated files. Old configure.in files
10267 and all old Makefile.in files completely replaced. Removed
10268 host/any. Added acinclude.m4 and configure.host.
10269
10270Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
10271
10272 * libc/stdio/vfprintf.c: enable long long support, sometimes.
10273 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
10274
10275Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10276
10277 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
10278 * libc/machine/sh/Makefile.in: Add rules for new files.
10279
10280Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10281
10282 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
10283 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
10284 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
10285
10286Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
10287
10288 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
10289 code is ignored.
10290
10291Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
10292
10293 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
10294 internal static buffer when s is NULL, as prescribed by ANSI.
10295
102961998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
10297
10298 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
10299 removed.
10300 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
10301 libc/stdlib will be used for h8300hms.
10302
10303Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10304
10305 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
10306 version that can be built either for speed or size.
10307 * libc/machine/mn10300/memset.S (_memset): ditto
10308 * libc/machine/mn10300/memchr.S (_memchr): ditto
10309 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
10310 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
10311 * libc/machine/mn10300/strchr.S (_strchr): ditto
10312 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
10313 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
10314 * libc/machine/mn10300/Makefile.in: Added entries for
10315 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
10316 strcmp.o, strcpy.o, and strlen.o.
10317
10318Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
10319
10320 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
10321 been replaced with libgloss/mn10200.
10322
10323Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
10324
10325 * libc/string/strchr.c (strchr): Make s a constant pointer to
10326 avoid warning.
10327
10328Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
10329
10330 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
10331 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
10332 board SWIs instead of Demon board SWIs).
10333
10334Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
10335
10336 * libc/string/strncat.c (strncat): Make -Os act the same as
10337 PREFER_SIZE_OVER_SPEED being defined.
10338
10339Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
10340
10341 * libc/string/memchr.c (memchr): Make -Os act the same as
10342 PREFER_SIZE_OVER_SPEED being defined.
10343 * libc/string/memcmp.c (memcmp): Ditto.
10344 * libc/string/memcpy.c (memcpy): Ditto.
10345 * libc/string/memset.c (memset): Ditto.
10346 * libc/string/strcat.c (strcat): Ditto.
10347 * libc/string/strchr.c (strchr): Ditto.
10348 * libc/string/strcmp.c (strcmp): Ditto.
10349 * libc/string/strcpy.c (strcpy): Ditto.
10350 * libc/string/strlen.c (strlen): Ditto.
10351 * libc/string/strncat.c (strncat): Ditto.
10352 * libc/string/strncmp.c (strncmp): Ditto.
10353 * libc/string/strncpy.c (strncpy): Ditto.
10354
10355Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
10356
10357 * libc/include/sys/itimer.h: remove
10358 * libc/include/sys/time.h: itimer stuff should be here
10359
10360Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
10361
10362 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
10363 bit instead of comparing to 0 so -0.0 can be printed correctly.
10364
10365Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10366
10367 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
10368
10369Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
10370
10371 * libc/include/sys/unistd.h: fix sync() proto
10372 * libc/include/sys/fcntl.h: remove _close which is already
10373 defined in unistd.h.
10374 * libc/include/sys/time.h: add getitimer proto
10375
10376Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
10377
10378 * libc/string/strchr.c: convert arg to unsigned char
10379 * libc/include/stdlib.h: add protos for random, srandom
10380 * libc/include/sys/stat.h: add lstat proto
10381 * libc/include/sys/time.h: add setitimer proto
10382 * libc/include/sys/unistd.h: add readlink, symlink protos
10383 * libc/include/process.h: instead of including windows.h and using
10384 HANDLEs in sexec protos, just use void *s. Need to include
10385 sys/types.h.
10386
10387Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
10388
10389 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
10390
10391Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
10392
10393 * libc/include/process.h: add secure exec protos
10394
10395Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
10396
10397 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
10398 which are accessed as both doubles and integers.
10399 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
10400 * libc/stdlib/strtod.c (_strtod_r): Likewise.
10401 * libc/stdlib/mprec.h: Add "union double_union" and change
10402 word0/word1 macros to use it.
10403
10404Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
10405
10406 * libc/include/sys/signal.h: add __cplusplus wrapper
10407
10408Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
10409
10410 * libc/include/sys/utime.h: new generic file that gets replaced by
10411 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
10412 function.
10413 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
10414 * libc/include/time.h: remove duplicate utime proto
10415 * libc/include/utime.h: add comment
10416
10417Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
10418
10419 * libc/include/sys/time.h: Add missing include to
10420 allow use of _EXFUN. Remove times function that is
10421 already defined in times.h.
10422
10423Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
10424
10425 * libc/include/time.h: Fix typo in tzset.
10426
10427Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
10428
10429 * libc/include/sys/time.h: add missing Cygwin32 function protos
10430 * libc/include/sys/unistd.h: ditto
10431 * libc/include/time.h: ditto
10432
10433Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
10434
10435 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
10436 FIXME.
10437 * libc/include/sys/types.h: add a new __MS_types__ section
10438 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
10439 __BIT_TYPES_DEFINED__.
10440
10441Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
10442
10443 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
10444 since it overrides the one in libc/include/sys. Also, start
10445 including types.h.
10446
10447Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
10448
10449 * libm/math/Makefile.in: add s_signgam.o to obj list
10450
10451Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
10452
10453 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
10454
10455Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
10456
10457 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
10458 so don't use defines.
10459
10460Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
10461
10462 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
10463
10464Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
10465
10466 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
10467 _current_locale as default locale.
10468
10469Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
10470
10471 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
10472 insufficient space in a chunk.
10473
10474Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
10475
10476 * configure.in (links): Added check for --enable-newlib-mb configure
10477 option which defines the MB_CAPABLE macro.
10478 * libc/locale/locale.c (_setlocale_r): Added support for setting
10479 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
10480 defined.
10481 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
10482 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
10483 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
10484 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
10485 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
10486 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
10487 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
10488 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
10489 * libc/stdlib/Makefile.in: Added new multibyte
10490 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
10491 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
10492 _mbstowcs_r(), and _wcstombs_r().
10493 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
10494 for JIS, SJIS, and EUC-JP characters.
10495 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
10496 MB_CAPABLE defined.
10497 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
10498 MB_CAPABLE defined.
10499 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
10500 MB_CAPABLE defined.
10501 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
10502 if MB_CAPABLE defined.
10503 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
10504 if MB_CAPABLE defined.
10505 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
10506 to the format string processing when MB_CAPABLE.
10507 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
10508 call _mbtowc_r().
10509
10510Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
10511
10512 The following modifications are courtesy of Anthony Thompson,
10513 athompson@cambridge.arm.com:
10514 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
10515 boith RDI and RDP monitors.
10516 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
10517 RDI and RDP monitors.
10518
10519Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
10520
10521 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
10522 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
10523 (_swiopen): Fixed open flags to treat write with append as just append.
10524 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
10525 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
10526
10527Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10528
10529 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
10530 When needing to transfer an initial 2-byte-word, store as
10531 two single bytes.
10532
10533Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10534
10535 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
10536 __SH3E__ .
10537 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
10538 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
10539
10540Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
10541
10542 * configure.in (target_cflags): If --enable-target-optspace, use
10543 -Os to compile newlib rather than -O2. Default to using -Os for
10544 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
10545 used.
10546
10547Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
10548
10549 * libc/include/machine/setjmp.h: change sigsetjmp and
10550 siglongjmp definitions to use an array instead of a struct
10551 for __CYGWIN32__
10552
10553Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
10554
10555 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
10556
10557Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
10558
10559 * libc/string/strxfrm.c: fix to get correct return value
10560
10561Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
10562
10563 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
10564 builds. Make mode change labels global so that they will be seen
10565 by the debugger.
10566
10567Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
10568
10569 * configure.in (links): Do not use ARM debiugging protocols for PE
10570 builds.
10571
10572 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
10573 message.
10574
10575Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10576
10577 * libc/stdio/findfp.c (__sinit): Made stdout default to
10578 line buffered mode as defined by ANSI.
10579
10580Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
10581
10582 * libc/include/sys/itimer.h: New file.
10583
10584 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
10585
10586Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10587
10588 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
10589 failure.
10590
10591Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
10592
10593 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
10594 insns.
10595
10596Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
10597
10598 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
10599
10600Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
10601
10602 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
10603 support.
10604
10605 * libc/include/machine/setjmp.h: Add D30V support.
10606
10607 * configure.in (d30v-*): Add d30v machine directory.
10608
10609Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
10610
10611 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
10612 been replaced with libgloss/mn10300.
10613
10614Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
10615
10616 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
10617 it is no longer needed.
10618
10619Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10620
10621 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
10622
10623Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
10624
10625 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
10626 the file when O_APPEND is set, wherever the EOF happens to be at
10627 that time.
10628
10629Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
10630
10631 patch from cgf@bbc.com (Christopher Faylor):
10632 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
10633 convention of closing fp prior to attempting to open the file
10634 argument. This allows correct operation when reopening
10635 stdin/stdout/stderr. Replaces last freopen.c patch.
10636
10637Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
10638
10639 patch from cgf@bbc.com (Christopher Faylor):
10640 * libc/stdio/freopen.c: freopen was not preserving the fd
10641 of the stream being operated on. This confuses programs that
10642 expect that the handles for stdout and stderr will be 1 and 2.
10643
10644Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
10645
10646 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
10647
10648Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
10649
10650 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
10651
10652Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
10653
10654 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
10655 altered to not use a branch. Also added hint that last
10656 bclr in longjmp will likely result in branch.
10657
10658
10659Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
10660
10661 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
10662
10663Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
10664
10665 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
10666 v850 builds.
10667
10668 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
10669
10670Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
10671
10672 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
10673 that loads FR14 to specify offset of 8 rather than 4
10674 so it loads from offset 96 (where setjmp stored it).
10675
10676Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10677
10678 * libc/machine/sh/memcpy.S: (_memcpy): Update to
10679 latest version supplied by customer.
10680 * libc/machine/sh/memset.S (_memset): Ditto.
10681
10682Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
10683
10684 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
10685 PR14730).
10686
10687Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
10688
10689 * libc/include/string.h: remove redefinition of ffs
10690
10691Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
10692
10693 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
10694 defined
10695
10696Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10697
10698 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
10699 TI Libraries to link to libc.a
10700
10701Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
10702
10703 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
10704 * libc/include/sys/stat.h (_{,f}stat): Ditto.
10705 * libc/include/sys/wait.h (_wait): Ditto.
10706 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
10707 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
10708
10709Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
10710
10711 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
10712 minded stabs so function name shows up when running the simulator
10713 with -t.
10714 * libc/sys/d10v/{crt0,trap}.S: Ditto.
10715
10716Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
10717
10718 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
10719 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
10720 Use R5 where we used to use R3.
10721
10722Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
10723
10724 * libc/stdlib/getopt.c (getopt): replaced __progname
10725 with nargv[0] to improve portability to imbedded systems.
10726
10727Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
10728
10729 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
10730 patch supplied by Tont.Thompson@arm.com to fix the creation of the
10731 stdout file.
10732
10733Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
10734
10735 * libc/stdio/tmpnam.c (worker): Generate a different file name
10736 each time.
10737
10738 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
10739 fails, try an execlp for sh.
10740
10741 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
10742 option for the winsup include directory.
10743
10744Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
10745
10746 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
10747 debugging interface from Tony.Thompson@arm.com.
10748
10749 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
10750 * libc/sys/arm/swi.h: ditto.
10751
10752Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10753
10754 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
10755 DIR struct used for readdir hashes.
10756
10757Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
10758
10759 * libc/string/strchr.c: Use "unsigned chars" as necessary.
10760
10761Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
10762
10763 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
10764 integer targets.
10765
10766Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
10767
10768 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
10769 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
10770 * libc/include/malloc.h: Add extern "C" if __cplusplus.
10771 (__malloc_copy): Declare.
10772
10773Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
10774
10775 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
10776 <sys/config.h>.
10777 (POINTER_UINT): Define.
10778 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
10779 (MALLOC_ALIGNMENT): Don't define if already defined.
10780 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
10781 long.
10782
10783Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10784
10785 * libc/string/memset.c (memset): Fiddle with code so that the long
10786 value being stored is not a stack value. Unroll storing longs 4
10787 times.
10788
10789Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
10790
10791 * Reduce code size for libm modules.
10792 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
10793 and simply move code into sqrt.
10794 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
10795 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
10796 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
10797 * libm/math/wr_gamma.c (gamma_r): Likewise.
10798 * libm/math/wf_sinh.c (sinfh): Likewise.
10799 * libm/math/w_sinh.c (sinh): Likewise.
10800 * libm/math/wf_scalb.c (scalbf): Likewise.
10801 * libm/math/w_scalb.c (scalb): Likewise.
10802 * libm/math/wf_remainder.c (remainderf): Likewise.
10803 * libm/math/w_remainder.c (remainder): Likewise.
10804 * libm/math/wf_pow.c (powf): Likewise.
10805 * libm/math/w_pow.c (pow): Likewise.
10806 * libm/math/wf_log10.c (log10f): Likewise.
10807 * libm/math/w_log10.c (log10): Likewise.
10808 * libm/math/wf_log.c (logf): Likewise.
10809 * libm/math/w_log.c (log): Likewise.
10810 * libm/math/w_lgamma.c (lgamma): Likewise.
10811 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10812 * libm/math/wf_jn.c (jnf): Likewise.
10813 * libm/math/w_jn.c (jn): Likewise.
10814 * libm/math/wf_j1.c (j1f): Likewise.
10815 * libm/math/w_j1.c (j1): Likewise.
10816 * libm/math/wf_j0.c (j0f): Likewise.
10817 * libm/math/w_j0.c (j0): Likewise.
10818 * libm/math/wf_hypot.c (hypotf): Likewise.
10819 * libm/math/w_hypot.c (hypot): Likewise.
10820 * libm/math/wf_gamma.c (gammaf): Likewise.
10821 * libm/math/w_gamma.c (gamma): Likewise.
10822 * libm/math/wf_fmod.c (fmodf): Likewise.
10823 * libm/math/w_fmod.c (fmod): Likewise.
10824 * libm/math/wf_exp.c (expf): Likewise.
10825 * libm/math/w_exp.c (exp): Likewise.
10826 * libm/math/wf_cosh.c (coshf): Likewise.
10827 * libm/math/w_cosh.c (cosh): Likewise.
10828 * libm/math/wf_atanh.c (atanhf): Likewise.
10829 * libm/math/w_atanh.c (atanh): Likewise.
10830 * libm/math/wf_atan2.c (atan2f): Likewise.
10831 * libm/math/w_atan2.c (atan2): Likewise.
10832 * libm/math/wf_asin.c (asinf): Likewise.
10833 * libm/math/w_asin.c (asin): Likewise.
10834 * libm/math/wf_acosh.c (acoshf): Likewise.
10835 * libm/math/w_acosh.c (acosh): Likewise.
10836 * libm/math/wf_acos.c (asocf): Likewise.
10837 * libm/math/w_acos.c (acos): Likewise.
10838 * libm/math/wf_sqrt.c (sqrtf): Likewise.
10839 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
10840 for embedded systems.
10841
10842Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
10843
10844 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
10845 Lea in case of a foreign sbrk.
10846
10847Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
10848
10849 Incorporate Doug Lea's malloc:
10850 * libc/stdlib/mallocr.c: Completely replaced.
10851 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
10852 (realloc): Remove.
10853 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
10854 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
10855 mallopt.
10856 (mallinfo, malloc_stats, mallopt): New functions.
10857 (_mstats_r): Just call _malloc_stats_r.
10858 * libc/stdlib/malign.c: New file.
10859 * libc/stdlib/mlock.c: New file.
10860 * libc/stdlib/msize.c: New file.
10861 * libc/stdlib/mtrim.c: New file.
10862 * libc/stdlib/realloc.c: New file.
10863 * libc/stdlib/valloc.c: New file.
10864 * libc/stdlib/malloc.h: Remove.
10865 * libc/stdlib/callocr.c: Remove.
10866 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
10867 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
10868 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
10869 reallocr.o, valloc.o, vallocr.o.
10870 (CHEWOUT_FILES): Add mlock.def, mstats.def.
10871 (MALLOC_CFLAGS): New variable.
10872 (mallocr.o): New target, build from mallocr.c.
10873 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
10874 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
10875 (msizer.o, malloptr.o): Likewise.
10876 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
10877 (valloc.o): New target.
10878 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
10879 * libc/include/malloc.h: Declare struct mallinfo, and new
10880 routines.
10881 * libc/include/stdlib.h (cfree): Correct declaration.
10882
10883Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
10884
10885 * libc/include/machine/setjmp.h: Add support for Thumb target.
10886
10887 * libc/include/machine/ieeefp.h: Add support for Thumb target.
10888
10889 * configure.in (links): Add support for Thumb target.
10890
10891Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
10892
10893 * libc/sys/arm/setjmp.S: Updated with version from branch.
10894
10895Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
10896
10897 * libc/include/stdio.h: add POSIX-required define L_ctermid
10898 for ctermid
10899
10900Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
10901
10902 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
10903 addition to MISSING_SYSCALL_NAMES.
10904
10905Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10906
10907 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
10908
10909Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
10910
10911 * libc/include/string.h: change strsignal proto to return
10912 a char *. This eliminates compile problems in gdb resulting
10913 from gdb's definition of strsignal in defs.h.
10914
10915Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
10916
10917 * libc/sys/cygwin32/sys/utime.h: new (moved here from
10918 winsup/include) so as not to conflict with the one in
10919 libc/include.
10920 * libc/include/string.h: add protos for strsignal, strtosigno
10921
10922Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
10923
10924 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
10925
10926 * configure.in (d30v-*-*): Add configuration.
10927
10928Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
10929
10930 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
10931 to select which kind of debug monitor is in use for an ARM target.
10932
10933 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
10934 Angel and Demon debug monitors. Part of this code was supplied by
10935 Tony Thompson at ARM: athompso@arm.com.
10936
10937Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
10938
10939 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
10940 semantics when the count is greater than the length of the second
10941 source string.
10942
10943Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
10944
10945 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
10946 * libc/include/sys/unistd.h: add protos for usleep, truncate,
10947 truncate and ftruncate take off_t, not size_t
10948
10949Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
10950
10951 * libc/string/strcat.c (strcat): Add missing comment end.
10952 * libc/string/strncat.c (strncat): Likewise.
10953
10954Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
10955
10956 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
10957 targets.
10958 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
10959 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
10960 defined.
10961 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10962 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10963 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10964
10965Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
10966
10967 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
10968 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
10969
10970Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
10971
10972 * libc/machine/i386/setjmp.S: New file.
10973 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
10974 (OFILES): Add setjmp.o.
10975 (setjmp.o): Add rule for.
10976 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
10977
10978Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
10979 Jeffrey A Law (law@cygnus.com)
10980
10981 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
10982 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10983 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10984 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10985
10986Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
10987
10988 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
10989 rules.
10990
10991 * libc/include/sys/config.h: Use __v850 to select v850
10992 endianness.
10993
10994 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
10995 buffer size.
10996
10997 * libc/include/machine/ieeefp.h: Use __v850 to select v850
10998 endianness.
10999
11000Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
11001
11002 * libc/stdlib/setenv.c: change unsetenv definition to match
11003 style of setenv (with _DEFUN). The string should be a const.
11004 * libc/include/stdlib.h: unsetenv proto should return void.
11005
11006Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
11007
11008 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
11009
11010Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
11011
11012 * libc/stdio/glue.h: remove.
11013 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
11014 * libc/stdio/Makefile.in: remove glue.h dependencies
11015
11016Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
11017
11018 * libc/sys/sysnecv850/crt0.S: Created V850e version.
11019
11020Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
11021
11022 * configure.in (target_cpu): Add `arc'.
11023
11024Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
11025
11026 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
11027 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
11028 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
11029 * newlib/libc/reent/reent.c: Add _wrapup_reent.
11030 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
11031
11032Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
11033
11034 * libc/machine/mips/setjmp.S: Handle mips16 builds.
11035
11036Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
11037
11038 * libc/include/stdio.h (siprintf): Declare.
11039
11040Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
11041
11042 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
11043 TARGET_CFLAGS and NEWLIB_FLAGS.
11044
11045Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
11046
11047 * configure.in (links): Add support for v850ea target.
11048
11049Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
11050
11051 * configure.in (links): Add support for v850e target.
11052
11053Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
11054
11055 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
11056
11057Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
11058
11059 * configure.in (arc-*-*): Add support for.
11060 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
11061
11062Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
11063
11064 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
11065
11066Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
11067
11068 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
11069 comparison which accesses invalid memory when the key is
11070 larger than the last member of the array.
11071 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
11072 for CYGWIN32
11073 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
11074
11075Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
11076
11077 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
11078 not _STRICT_ANSI.
11079
11080Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
11081
11082 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
11083 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
11084
11085Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
11086
11087 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
11088 to load/store memory.
11089
11090Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
11091
11092 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
11093 underscores if _WIN32.
11094
11095Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
11096
11097 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
11098 support ifdef _USE_WRITE missed in last change.
11099 From Anders Blomdell <anders.blomdell@control.lth.se>.
11100
11101Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
11102
11103 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
11104 (_tmpnam_r, _tempnam_r): Update.
11105
11106Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
11107
11108 * libc/machine/sparc/setjmp.S: New file.
11109 * libc/machine/sparc/Makefile.in: Add setjmp.
11110 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
11111
11112Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
11113
11114 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
11115
11116Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
11117
11118 From Joel Sherrill <joel@oarcorp.com>.
11119 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
11120
11121 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
11122 * configure.in: Recognize *-*-rtems*.
11123 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
11124 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
11125 time.h,times.h,types.h}: New files.
11126 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
11127
11128Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
11129
11130 patch from sos@prospect.com.ru (Sergey Okhapkin):
11131 * include/sys/wait.h: correct operator precidence bug
11132 in WIFSIGNALED
11133
11134Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
11135
11136 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
11137 with newlib's unsetenv function
11138 * libc/sys/cygwin32/sys: new directory for includes
11139 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
11140 here from winsup/include/sys
11141
11142Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
11143
11144 * libc/include/sys/unistd.h: _exit should only be
11145 labelled noreturn when not __CYGWIN32__
11146 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
11147 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
11148 increment NSIG
11149
11150Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
11151
11152 * libc/include/sys/time.h: Only define timeval and timezone if
11153 _GNU_H_WINDOWS32_SOCKETS is not defined.
11154 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
11155
11156Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
11157
11158 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
11159 * libc/machine/mn10300/setjmp.S: Likewise.
11160
11161 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
11162 the mn10300 (more relaxing opportunities).
11163
11164Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
11165
11166 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
11167 Build libraries with -mstrict-align.
11168
11169Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
11170
11171 * libc/string/strlwr.c: New file.
11172 * libc/string/strupr.c: New file.
11173 * libc/include/string.h: Declare strlwr and strupr.
11174 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
11175 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
11176 (strlwr.o, strupr.o): New targets.
11177 * libc/string/strings.tex: Include strlwr and strupr docs.
11178
11179 * libc/include/sys/types.h: Don't define u_char, et. al., if
11180 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
11181 et. al. Make FD_SETSIZE default 64 rather than 60. Define
11182 _types_fd_set rather than fd_set, and define fd_set as a macro.
11183
11184 * libc/include/malloc.h: New file.
11185
11186 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
11187 strnicmp if they are not already defined.
11188
11189 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
11190 _timezone, _daylight, and _tzname.
11191
11192Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
11193
11194 * configure.in: Sort all configuration tables.
11195
11196 From Joel Sherrill <joel@oarcorp.com>
11197 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
11198
11199Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
11200
11201 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
11202 use int when declaring kill.
11203
11204 * libc/include/sys/timeb.h: New file.
11205
11206Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
11207
11208 * libc/include/sys/time.h: add itimer support for Cygwin32
11209
11210Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
11211
11212 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
11213 out a message that abort was called to stderr.
11214
11215Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
11216
11217 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
11218 so that libio doesn't freak.
11219
11220 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
11221 int.
11222
11223 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
11224 memory sizes, not int.
11225
11226Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
11227
11228 * libm/math/ef_hypot.c: Use long constants where
11229 appropriate.
11230 * libm/math/ef_sqrt.c: Ditto.
11231
11232 * libc/sys/sysmec/times.c(_times): Change to times.
11233
11234 * libc/sys/sysmec/read.c(_read): The third argument is
11235 size_t.
11236 * libc/sys/sysmec/write.c (_write): Ditto.
11237
11238 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
11239 (_lseek): It's off_t for the second argument.
11240
11241Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
11242
11243 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
11244 as well as machine/ieeefp.h.
11245
11246Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
11247
11248 * libc/include/sys/signal.h: add signal protos for winsup
11249 functions (when __CYGWIN32__), include types.h
11250 * libc/include/sys/types.h: Change __go32_types__ internal
11251 define to __MS_types__ since it's used for more than just
11252 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
11253 defined.
11254 * libc/include/sys/unistd.h: add ftruncate proto for
11255 winsup functions (when __CYGWIN32__)
11256
11257Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
11258
11259 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
11260
11261Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
11262
11263 * libc/include/machine/setjmp.h: Add tic80 support.
11264 * libc/machine/tic80/setjmp.S: Likewise.
11265
11266Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
11267
11268 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
11269 link programs from libraries only (such as in the X11
11270 distribution)
11271
11272Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
11273
11274 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
11275 supplied elsewhere in newlib.
11276
11277Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
11278
11279 * Makefile.in (INSTALL): Change install.sh to install-sh.
11280
11281Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
11282
11283 * README: update WWW address for on-line documentation.
11284
11285Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
11286
11287 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
11288 increment NSIG
11289
11290Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
11291
11292 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
11293 mn10300.
11294 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
11295
11296Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
11297
11298 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
11299 * libc/sys/d10v/syscalls.c: Likewise.
11300 * libc/sys/h8300hms/sbrk.c: Likewise.
11301 * libc/sys/h8500hms/syscalls.c: Likewise.
11302 * libc/sys/m88kbug/syscalls.c: Likewise.
11303 * libc/sys/sh/syscalls.c: Likewise.
11304 * libc/sys/sysmec/sbrk.c: Likewise.
11305 * libc/sys/sysnecv850/sbrk.c: Likewise.
11306 * libc/sys/w65/syscalls.c: Likewise.
11307 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
11308
11309Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
11310
11311 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
11312 emulated syscall instead of "trap".
11313
11314Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
11315
11316 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
11317 not trap 0.
11318
11319Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
11320
11321 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
11322
11323Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
11324
11325 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
11326 not "sh".
11327 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
11328 not "d10v".
11329 * libc/sys/tic80/crt0.c: New file for TIc80.
11330 * libc/sys/tic80/Makefile.in: New file for TIc80.
11331 * libc/machine/tic80/Makefile.in: New file for TIc80.
11332
11333Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
11334
11335 * libc/machine/sh/memcpy.S: New file.
11336 * libc/machine/sh/memset.S: New file.
11337 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
11338
11339Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
11340
11341 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
11342 for TIc80.
11343
11344Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
11345
11346 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
11347 the mn10200.
11348
11349Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
11350
11351 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
11352 (patch from andrew@pogo.WV.TEK.COM).
11353
11354Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
11355
11356 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
11357 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
11358
11359Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
11360
11361 * configure.in: Add cases for "tic80" to set machine_dir,
11362 sys_dir, and syscall_dir.
11363
11364Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
11365
11366 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
11367
11368Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
11369
11370 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
11371
11372Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
11373
11374 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
11375 Use proper constant prefix.
11376
11377Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
11378
11379 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
11380 that loses on the mn10200 where ints and pointers are different
11381 sizes.
11382
11383Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
11384
11385 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
11386 target as signal is provided in winsup.
11387
11388Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
11389
11390 * libc/include/sys/process.h: Corrected const definitions
11391 in spawn functions. Added cwait.
11392
11393Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
11394
11395 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
11396 doubles.
11397 * libc/include/sys/config.h: Similarly.
11398
11399Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11400
11401 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
11402 target_cflags.
11403 (i[3456]86-*-sco*): Ditto.
11404
11405 * libc/signal/Makefile.in (OFILES): Add signal.o.
11406 (CFILES): Add signal.c.
11407
11408 * libc/signal/raise.c (_raise_r): Only compile code if
11409 SIGNAL_PROVIDED is defined.
11410
11411 * libc/signal/signal.c: Redo whole file so that it works with
11412 current newlib. Use _kill_r if no signal handler provided.
11413
11414 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
11415 signal stubs.
11416 * libc/sys/sysvnecv70/Makefile.in: Ditto.
11417 * libc/sys/sysnecv850/Makefile.in: Ditto.
11418
11419 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
11420 * libc/sys/sysmec/{raise,signal}.c: Ditto.
11421 * libc/sys/sysvnecv70/signal.s: Ditto.
11422 * libc/sys/sysnecv850/raise.c: Ditto.
11423
11424 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
11425 simulator and debugger can tell the difference between a signal
11426 being raised and an exit system call.
11427
11428 * NEWS: Document software signals being provided.
11429
11430Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11431
11432 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
11433 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
11434 include/sys/config.h.
11435 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
11436 Change from 'inpure_data'.
11437 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
11438 &impure_data, not &inpure_data.
11439
11440 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
11441 and and System V ABI, define so that _impure_ptr lives in the
11442 .sdata section.
11443
11444Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11445
11446 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
11447 nothing if not defined.
11448 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
11449 its attributes.
11450
11451 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
11452
11453Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
11454
11455 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
11456 * libc/sys/sysmec/trap.s: Handle mn10200 too.
11457 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
11458
11459Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
11460
11461 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
11462
11463Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
11464
11465 * libc/include/sys/errno.h: Added net errno's.
11466
11467Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11468
11469 * libc/misc/ffs.c: New file to support ffs function for GCC test
11470 gcc.c-torture/execute/960909-1.c.
11471
11472 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
11473
11474Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
11475
11476 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
11477 * libc/sys/sysmec/trap.S: Likewise.
11478
11479Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
11480
11481 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
11482 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
11483
11484Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
11485
11486 * libc/sys/sysmec/signal.c: Dummy file.
11487 * libc/sys/sysmec/Makefile.in: Build it.
11488
11489Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
11490
11491 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
11492 mips16.
11493
11494Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
11495
11496 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
11497 c-startup and simulator traps.
11498
11499
11500 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
11501 * libc/sys/sysmec/trap0.S: Likewise.
11502
11503Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11504
11505 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
11506 round to double word alignment.
11507 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
11508 byte alignment.
11509
11510 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
11511
11512 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
11513 out of memory.
11514
11515Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
11516
11517 * configure.in: Handle mn10200 and mn10300.
11518 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
11519 * libc/include/sys/config.h: Likewise.
11520 * libc/sys/sysmec: New directory for mec stuff.
11521 * libc/machine/mn10300: New directory for mn10300 stuff.
11522 * libc/machine/mn10200: Similarly for mn10200 stuff.
11523
11524Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
11525
11526 * libc/sys/arm/crt0.S: Use .text, not .section .text.
11527 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
11528
11529 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
11530 (nlink_t): Change type from unsigned int to unsigned short.
11531 (mode_t): Ensure size is 32 bits even if int is 16.
11532 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
11533 (st_spare[123]): Change type from int to long.
11534
11535Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11536
11537 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
11538 byte boundary.
11539
11540 * configure.in (d10v*): Define SMALL_MEMORY.
11541
11542Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11543
11544 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
11545 -mrelocatable-lib and -mno-eabi flags.
11546
11547Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
11548
11549 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
11550 Fix handling of mis-aligned source operand when both the
11551 destination & length are properly aligned.
11552
11553Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
11554
11555 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
11556 times.o, time.o and gettime.o
11557 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
11558 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
11559 SYS_gettimeofday.
11560
11561Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
11562
11563 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
11564 * libc/sys/sysnecv850/access.c: New file.
11565
11566Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
11567
11568 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
11569
11570 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
11571 long.
11572
11573Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
11574
11575 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
11576
11577Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
11578
11579 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
11580 * libc/include/sys/config.h: Add m32r support.
11581
11582Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
11583
11584 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
11585 here.
11586
11587Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
11588
11589 * libc/include/machine/setjmp.h: Add D10v support.
11590
11591Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
11592
11593 * configure.in: Configure the "libc/syscalls" directory for
11594 the v850.
11595
11596 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
11597 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
11598 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
11599 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
11600 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
11601
11602Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
11603
11604 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
11605 stack for args for main and other routines. Zero out args for
11606 main.
11607
11608 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
11609 correctly.
11610
11611Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11612
11613 * libc/stdio/findfp.c (std): Remove extraneous ';' after
11614 function.
11615
11616 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
11617
11618 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
11619 real system calls now.
11620
11621 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
11622 before casting them to int.
11623 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
11624
11625 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
11626 aligning pointer.
11627 * libc/string/memset.c (memset): Ditto.
11628
11629 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
11630 first convert ints to _POINTER_INT to eliminate GCC warning.
11631
11632 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
11633 processing %p.
11634
11635 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
11636 from 65000 if ints are only 16 bits.
11637
11638 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
11639 from 50000 if ints are only 16 bits.
11640
11641 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
11642 int type that is the same size as a pointer.
11643
11644 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
11645 processing %p.
11646 (get_number): Explicitly cast number to long before shifting by 16
11647 or 24, in case ints are short.
11648
11649 * libc/include/sys/config.h (_POINTER_INT): Define as short.
11650
11651Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
11652
11653 * libc/string.h: Added ffs, removed swab.
11654 * libc/sys/errno.h: Added EOPNOTSUPP.
11655 * libc/sys/unistd.h: Added swab.
11656
11657Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
11658
11659 * libc/include/sys/stat.h: Added fchmod.
11660 * libc/include/sys/unistd.h: Added fsync.
11661
11662Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
11663
11664 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
11665 and ECONNRESET (104) for cygwin32.
11666
11667Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
11668
11669 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
11670 do the static destructors.
11671
11672Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
11673
11674 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
11675
11676Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
11677
11678 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
11679 * configure.in: Recognize m32r-*-*.
11680
11681Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
11682
11683 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
11684 __rt_stkovf_split_small): Added default software stack overflow
11685 handlers, which just call SWI_Exit.
11686 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
11687 limit initialisation.
11688
11689Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
11690
11691 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
11692
11693Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
11694
11695 * libc/include/sys/types.h: Added ssize_t definition.
11696
11697Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11698
11699 * libc/machine/d10v/setjmp.S: Use ';' for comments.
11700 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
11701
11702 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
11703 branch around a single ldi instruction.
11704
11705 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
11706 Call exit, instead of just issuing a stop instruction.
11707
11708Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11709
11710 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
11711
11712Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11713
11714 * libc/stdlib/mprec.h: Explicitly declare all large constants as
11715 longs, and then cast them to __uint32_t.
11716
11717 * libc/include/sys/config.h: Protect against multiple inclusions.
11718
11719Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
11720
11721 * configure.in (d10v*): Set syscall_dir.
11722
11723Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
11724
11725 * libc/sys/d10v/crt0.S: Set stack pointer.
11726
11727Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
11728
11729 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
11730 in assembly for efficiency. Change calling convention to allow
11731 long ints to be returned.
11732
11733Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11734
11735 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
11736
11737Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
11738
11739 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
11740 Handle empty entries in $PATH.
11741
11742Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
11743
11744 * libc/machine/d10v/setjmp.S: Make it really work.
11745
11746Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
11747
11748 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
11749 the .stack section.
11750
11751Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
11752
11753 * sys/sysnecv850/sys/file.h: Remove.
11754 * sys/sysnecv850/sys/syscall.h: New file.
11755 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
11756 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
11757 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
11758 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
11759 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
11760 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
11761 * sys/sysnec850/trap.S: New file.
11762 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
11763 syscalls.
11764 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
11765 * sys/sysnec850/sbrk.c: New version.
11766
11767Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
11768
11769 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
11770 as long as r6 is less than r7.
11771
11772Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
11773
11774 * Makefile.in (mostlyclean): Separate from clean target. Don't
11775 remove *.a or targ-include.
11776 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
11777
11778Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11779
11780 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
11781 d10v.
11782 (__SMALL_BITFIELDS): Ditto.
11783
11784 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
11785
11786Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
11787
11788 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
11789 prefix.
11790
11791 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
11792 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
11793 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
11794 * libc/sys/sysnecv850/write.c (write): Likewise.
11795
11796 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
11797 .bss.
11798
11799Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11800
11801 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
11802 appropriately for D10V, depending on -mint16/-mint32.
11803
11804Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
11805
11806 * configure.in: Add cases for D10V.
11807
11808Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11809
11810 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
11811
11812Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
11813
11814 * libc/include/machine/ieeefp.h: Fix typo.
11815
11816Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
11817
11818 * libc/sys/d10v: New directory for D10V stuff.
11819 * libc/include/machine/ieeefp.h: Add D10V defines.
11820
11821Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
11822
11823 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
11824 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
11825 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
11826 * libc/string/strerror.c (strerror): Add them.
11827
11828Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
11829
11830 * libc/sys/sysnecv850: New directory for v850 stuff.
11831
11832 * libc/machine/v850: New directory for v850 stuff.
11833 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
11834
11835 * configure.in: Add support for the v850.
11836
11837 * libc/include/machine/ieeefp.h: Add v850 defines.
11838 * libc/include/machine/setjmp.h: Likewise.
11839 * libc/include/sys/config.h: Add v850 defines.
11840
11841Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
11842
11843 * libc/include/machine/ieeefp.h
11844 * libc/include/machine/setjmp.h
11845 * libc/include/sys/fcntl.h
11846 * libc/include/sys/signal.h
11847 * libc/include/sys/types.h
11848 * libc/stdlib/system.c:
11849 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
11850 API availability, __CYGWIN32__ for cygwin32 environment specific).
11851
11852Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
11853
11854 * libc/include/stdlib.h: add multibyte character functions. Add
11855 __eprintf for assert.
11856
11857Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11858
11859 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
11860 arithmetic or __alignof__ to properly get the alignment, instead
11861 of hardwiring it to 4.
11862
11863Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
11864
11865 * libc/stdio/fseek.c: add fflush call to adjust seek offset
11866 on append stream (fix from NetBSD sources), adjust curoff offset
11867 for ungetc's benefit.
11868 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
11869 * libc/stdio/rewind.c: replace code with up to date NetBSD
11870 code to undo hacks made to work around above problem of not
11871 having fflush call mentioned above
11872
11873Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11874
11875 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
11876 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
11877 Partially revert last changes. The thread specific errno is set
11878 iff if the underlying syscall fails and the global errno is not
11879 zero.
11880
11881Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11882
11883 * libc/reent/filer.c: Removed files, all functions have split out
11884 into their own files.
11885 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
11886 New files containing functions formally in filer.c
11887 * libc/reent/Makefile.in: Updated for above change.
11888
11889 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
11890 syscall fails, not if errno is changed.
11891 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
11892 _write_r): Likewise.
11893 * libc/reent/fstatr.c (_fstat_r): Likewise.
11894 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
11895 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
11896 * libc/reent/signalr.c (_kill_r): Likewise.
11897 * libc/reent/statr.c (_stat_r): Likewise.
11898 * libc/reent/timer.c (_gettimeofday_r): Likewise.
11899
11900 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
11901 signalr.c, statr.c, timer.c} (errno): declare extern rather
11902 than as a common.
11903
11904 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
11905 instead of calling vfprintf so that i*printf will not require
11906 floating point support code.
11907
11908Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
11909
11910 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
11911 path delimiter.
11912 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
11913 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
11914
11915Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
11916
11917 * libc/include/signal.h: _sig_func_ptr function takes an int
11918 * libc/include/sys/signal.h: sa_handler function takes an int
11919
11920Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
11921
11922 * libc/include/machine/ieeefp.h: Simplify H8/S support.
11923 * libc/include/sys/config.h: Add missing H8/S conditional.
11924
11925Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
11926
11927 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
11928
11929Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
11930
11931 * libc/include/machine/setjmp.h: Handle H8/S.
11932 * libc/include/machine/ieeefp.h: Likewise.
11933 * libc/include/sys/config.h: Likewise.
11934 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
11935 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
11936 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
11937 * libc/sys/h8300hms/crt0.S: Likewise.
11938
11939Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11940
11941 * Makefile.in (datadir): Set to $(prefix)/share.
11942 (oldincludedir, docdir): Removed.
11943 * doc/Makefile.in (datadir): Set to $(prefix)/share.
11944 (oldincludedir, docdir): Removed.
11945 * libc/Makefile.in (datadir): Set to $(prefix)/share.
11946 (oldincludedir, docdir): Removed.
11947 * libm/Makefile.in (datadir): Set to $(prefix)/share.
11948 (oldincludedir, docdir): Removed.
11949
11950Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
11951
11952 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
11953 _reent struct.
11954
11955Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
11956
11957 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
11958 fetch current path rules with sysconf and handler posix/win32
11959 appropriately.
11960
11961 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
11962
11963 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
11964 (WAIT_CHILD): Always define.
11965
11966Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
11967
11968 * libc/stdlib/eprintf.c: New file.
11969 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
11970 (eprintf.o): New target.
11971
11972Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
11973
11974 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
11975 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
11976
11977Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
11978
11979 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
11980 NT in PowerPC endianess cases.
11981
11982Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11983
11984 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
11985
11986Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11987
11988 * libc/string/strtok.c: Fix doc typo.
11989
11990Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11991
11992 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
11993 _next, _scanpoint, _signgam fields.
11994
11995 * libc/include/stdlib.h (rand_r): Added new declaration.
11996 (_rand_r, _srand_r): Removed declarations.
11997 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
11998 have been made obsolete by rand_r.
11999 * libc/stdlib/rand_r.c: New file, rand_r function as specified
12000 by POSIX.1c.
12001
12002 * libc/string/strtok.c: Update documentation to describe
12003 strtok_r().
12004
12005Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
12006
12007 * libc/include/sys/stat.h (stat structure): Use the expanded stat
12008 structure on Solaris, and PowerPC systems even though __svr4__ is
12009 defined.
12010
12011Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
12012
12013 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
12014
12015Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
12016
12017 * host/any: Use ../.. rather than .. to get to the main build
12018 directory. This matches the current layout of the build
12019 directory.
12020
12021Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
12022
12023 * libc/machine/h8300/__main.S: Delete. No longer needed.
12024 * libc/machine/h8300/Makefile.in: Corresponding changes.
12025 * libc/sys/h8300hms/crt1.c: New file.
12026 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
12027 * libc/sys/h8300hms/crt0.s: Call __main.
12028
12029 * libc/sys/h8300hms/crt0.S: Use temporary label names
12030 for branch targets.
12031
12032Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
12033
12034 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
12035
12036Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12037
12038 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
12039 .sdata on the PowerPC so that we can link newlib with code
12040 compiled with -msdata.
12041
12042Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
12043
12044 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
12045
12046Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
12047
12048 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
12049 exception handler to __cygwin_exception_handler.
12050
12051Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
12052
12053 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
12054
12055Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
12056
12057 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
12058 SunOS VPATH.
12059 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
12060 wcstombs.o): Likewise.
12061
12062Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
12063
12064 * libc/stdlib/environ.c (initial_env): New static local.
12065 (environ): Point to `initial_env'.
12066
12067 * libc/include/machine/setjmp.h: Clean up.
12068 (__H8300H__,__PPC__): Define _JBTYPE.
12069 (__arm__): Provide entry for.
12070 (sigjmp_buf): Delete.
12071 (jmp_buf): Use _JBTYPE if defined, otherwise int.
12072
12073Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
12074
12075 * libc/machine/h8300/strcmp.S: Sign extend the result to
12076 32bits so we don't lose with -mint32.
12077
12078Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
12079
12080 * libc/sys/go32/sys/errno.h: New file.
12081 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
12082 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
12083 errno's address (make compatible with rest of newlib).
12084 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
12085 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
12086
12087Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
12088
12089 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
12090 * libc/machine/sparc/Makefile.in: Build them.
12091 * libc/machine/sparc/machine/sparclet.h: New file.
12092
12093Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12094
12095 * libc/machine/sh/asm.h: New file.
12096 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
12097 support for SH3e's FP registers. Use asm.h.
12098
12099Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
12100
12101 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
12102 as first argument. Call _dtoa_r and pass the reent structure
12103 instead of calling __dtoa.
12104
12105Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
12106
12107 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
12108 the h8300, h8500, and others. Add comments for some rather
12109 dubious code.
12110
12111Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
12112
12113 * Makefile.in (check): Check that testsuite exists before cd.
12114
12115Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12116
12117 * libc/include/string.h (strsep): Correct prototype.
12118
12119Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
12120
12121 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
12122 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
12123 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
12124
12125Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
12126
12127 * libc/posix/{creat.c,isatty.c}: New files.
12128 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
12129
12130 * libc/sys/sparc64/crt0.S (environ): Delete.
12131 (.LHaveBias): Renamed from HaveBias.
12132
12133Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
12134
12135 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
12136 (_morecore_r): Delete SBRK_IS_ALLOC support.
12137
12138Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12139
12140 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
12141 module rather than touch, so we don't get warning messages when
12142 all of the libraries are combined into libc.a.
12143
12144Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
12145
12146 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
12147 crt0.s replaced by version in libgloss.
12148
12149Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12150
12151 * libc/reent/Makefile.in (OFILES): Add impure.o.
12152 * libc/reent/impure.o: New file, define initial reentrancy struct.
12153 * libc/reent/reent.c: Remove above definition.
12154
12155 * libm/math/sf_asinh.c: Fix typo.
12156
12157 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
12158 srf_ldexp.o.
12159
12160 * libm/libm.texinfo: Change documentation to reflect changes
12161 in reentrancy model.
12162 * libm/math/w_gamma.c: Likewise.
12163
12164Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
12165
12166 * configure.in (*-*-cygwin32): New.
12167 (*-*-win32): Deleted.
12168 * libc/sys/win32 renamed libc/sys/cygwin32.
12169
12170Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12171
12172 * libc/include/sys/file.h: New include file.
12173
12174Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
12175
12176 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
12177
12178Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
12179
12180 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
12181
12182Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12183
12184 * doc/makedoc.c (realloc): Declare at file scope.
12185 (catchar): Not here.
12186
12187Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
12188
12189 * Makefile.in (VERSION): Update to 1.7.0.
12190 * {libc,libm}/Makefile.in (VERSION): Likewise.
12191 * configure.in: Minor clean up of multilib stuff.
12192
12193 From David Johnson <davidj@ICSI.Berkeley.EDU>
12194 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
12195
12196 * libc/stdlib/environ.c: New file.
12197 * libc/stdlib/Makefile.in (OFILES): Build it.
12198 * libc/sys/h8500hms/crt0.c (environ): Deleted.
12199 * libc/sys/m88kbug/crt0.c (environ): Deleted.
12200 * libc/sys/z8ksim/crt0.c (environ): Deleted.
12201 * libc/sys/netware/environ.c: Deleted.
12202
12203Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
12204
12205 * configure.in (links): set sys_dir, posix_dir, syscall_dir
12206
12207Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12208
12209 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
12210 declaration out to external scope and declare it PTR, not char *.
12211
12212Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
12213
12214 * libc/include/sys/unistd.h (getpagesize): New declaration.
12215 (_SC_PAGESIZE): New definition.
12216 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
12217 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
12218
12219Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
12220
12221 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
12222 addressing. System call returns size, not (last address + 1).
12223
12224Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12225
12226 * libm/math/*.c: Removed _foo_r() reentrancy API.
12227 * libc/include/math.h: Removed _foo_r prototypes and macros.
12228
12229 * libm/math/*.c: On systems with IEEE single precision "doubles"
12230 move foo() -> foof() wrapper code from the files that implement
12231 the standard IEEE double precision functions to the files that
12232 implement IEEE single precision functions. (ie. On those systems
12233 sin is moved from s_sin.c to sf_sin.c). There should eventually
12234 be use of a C extension (like gcc's alias attribute) so that the
12235 wrappers are not needed at all.
12236
12237 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
12238 strict NEC V810 compiler.
12239 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
12240 for same reason.
12241
12242Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12243
12244 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
12245 from NetBSD C library.
12246 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
12247
12248 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
12249 and adapted from implementation I wrote for NetBSD C library.
12250 The difference is __assert doesn't take a format argument,
12251 so that there won't be multiple copies of the same string
12252 constant in the executable if assertions are enabled in
12253 more than one source module.
12254 * libc/include/assert.h (assert): Changed to call __assert.
12255
12256Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12257
12258 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
12259 word1 on systems with 32 bit doubles.
12260 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
12261 so that we can do arithmetic on them.
12262 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
12263 compilers.
12264
12265Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
12266
12267 * libc/sys/arm/crt0.S: Zero bss.
12268
12269Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
12270
12271 * libc/include/unctrl.h: New file.
12272 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
12273 * configure.in (subdirs): Add libc/misc.
12274 * libc/Makefile.in (SUBDIRS): Add misc.
12275 (SUBLIBS): Add misc/lib.a.
12276
12277 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
12278
12279Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
12280
12281 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
12282 (_vfprintf_r): Call CHECK_INIT.
12283
12284Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
12285
12286 * Makefile.in (MULTITOP): Delete.
12287 (MULTISRCTOP, MULTIBUILDTOP): Add.
12288 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
12289 instead of cfg-ml-pos.in.
12290
12291Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12292
12293 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
12294 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
12295 presence.
12296
12297Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12298
12299 * libc/string/strtok.c: Include string.h to pick up strtok_r
12300 prototype.
12301
12302Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12303
12304 * libc/string/strtok.c: include <_ansi.h>.
12305 * libc/time/asctime_r.c: `reresult' -> `result'.
12306
12307Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12308
12309 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
12310 in #ifndef _REENT_ONLY ... #endif conditional.
12311
12312 * libc/include/string.h (_strtok_r): Remove declaration.
12313 * libc/include/time.h (_asctime_r): Remove declaration.
12314 * libc/string/strtok.c (_strtok_r): Removed.
12315 * libc/time/asctime.c (_asctime_r): Removed.
12316
12317 * libc/string/Makefile.in (OFILES): Add new object.
12318 * libc/string/strtok_r.c: New file. strtok_r function as
12319 specified by POSIX.1c, adapted from strtok implementation
12320 from NetBSD C library.
12321 * libc/string/strtok.c (strtok): Reimplemented in terms of
12322 strtok_r.
12323
12324 * libc/time/Makefile.in (OFILES): Add new objects.
12325 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
12326 New files, reentrant time functions specified by POSIX.1c.
12327 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
12328 reentrant time functions re-written in terms of reentrant
12329 functions.
12330 * libc/time/lcltime.c: Renamed from localtime.c
12331
12332 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
12333 gmtime_r, and localtime_r.
12334
12335Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
12336
12337 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
12338 * libc/include/sys/unistd.h (getlogin): Revert change of
12339 Oct 19.
12340 * libc/include/sys/signal.h (sigprocmask): Change prototype
12341 so it compiles with c++.
12342
12343Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
12344
12345 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
12346 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
12347 to give some room in case we need to align the jmp_buf.
12348
12349 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
12350 the new ppc-asm.h include file the compiler provides to specify
12351 function prologue/epilogue. Eliminate saves of the xer and ctr
12352 registers, which are volatile. Before starting to save registers,
12353 align to 8 byte boundary.
12354
12355Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12356
12357 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
12358 referenced by standard libraries.
12359
12360Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
12361
12362 * libc/unix/Makefile.in, libc/string/Makefile.in,
12363 libc/stdio/Makefile.in, libc/reent/Makefile.in,
12364 libc/posix/Makefile.in:
12365 Remove tabs from otherwise empty line. Confuses some
12366 older non-GNU versions of "make".
12367
12368Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
12369
12370 * libc/sys/unistd.h (getlogin): Returns const char *.
12371
12372Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
12373
12374 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
12375 * libc/include/errno.h: Moved into and include...
12376 * libc/include/sys/errno.h: New file.
12377 * libc/include/sys/wait.h: New file.
12378 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
12379 * libc/sys/win32/*: Moved out.
12380 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
12381 * configure.in (i[345]86-*-win32): HAVE_RENAME
12382
12383Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
12384
12385 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
12386 avoid macro expansion for these two names.
12387
12388Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
12389
12390 * libc/machine/h8500/psi.S: r6 renamed to fp.
12391
12392Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12393
12394 * configure.in (powerpc*): No longer need to define
12395 NO_LONGLONG_POINTERS to supress warnings.
12396
12397Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12398
12399 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
12400 through PTR instead of directly.
12401
12402 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
12403 non-standard constructor support.
12404
12405Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12406
12407 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
12408 address of the Bigint instead of the address of its _x field,
12409 as the size the result buffer was calculated accordingly.
12410 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
12411
12412 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
12413 from NetBSD C library. No longer special cases division by
12414 zero (which needs to be done by the application anyway), but
12415 it doesn't need to call abs() (or labs()) four times either.
12416
12417 * libc/stdlib/qsort.c: Replaced with implementation from
12418 NetBSD C library.
12419
12420Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12421
12422 * libc/stdio/vfprintf.c: Replaced with implementation from
12423 NetBSD C library (which is derived from the 4.4BSD C library).
12424 * libc/stdio/cvt.c: Removed.
12425 * libc/stdio/Makefile: Updated.
12426
12427Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
12428
12429 * libc/sys/win32/syscalls.c (rename): New.
12430 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
12431
12432Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12433
12434 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
12435 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
12436
12437 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
12438 (setjmp.o): Delete rule to build setjmp.o.
12439 * libc/sys/sh/setjmp.S: Delete file.
12440
12441Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12442
12443 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
12444 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
12445 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
12446 pow5mult and s2b to identifiers with leading underscores.
12447 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
12448 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
12449
12450Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
12451
12452 * libc/sys/posix/popen.c (sys/types.h): Include.
12453
12454Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
12455
12456 * libc/sys/win32/syscalls.h (fhandler): New struct.
12457 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
12458 (__fhandler_normal): Declare.
12459 (hinfo): New member op_handlers.
12460 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
12461 (__write): Likewise.
12462 (_read, _write, _open, _close, _lseek): Validate fd here.
12463 Move file type specific stuff to foo_normal.
12464 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
12465 New functions.
12466 (__lookup_fhandler): New function.
12467 (__lookup_fhandler_hook, __fhandler_normal): New variables.
12468
12469 From anders.blomdell@control.lth.se (Anders Blomdell)
12470 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
12471 Don't touch standard handles.
12472 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
12473 (_execve): Only create __FD_TABLE__ if necessary.
12474 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
12475
12476Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
12477
12478 * libc/sys/win32/sys/termios.h (FLUSHO): New.
12479 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
12480 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
12481 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
12482 without a handler is received.
12483 * libc/sys/win32/Makefile.in: Remove --nodelete.
12484 * libc/sys/win32/resouce.c (gettimeofday): New.
12485 * libc/sys/win32/syscalls.c (path_to_real_path): New.
12486 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
12487
12488Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
12489
12490 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
12491 Don't append "/*" to search pattern if trailing '/' already there,
12492 append "*".
12493 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
12494 like /'s, convert them to \'s. Handle //<drive>/ path names.
12495 Add space for quoted \'s in arg string. Print translated prog name
12496 and original prog name.
12497 (_execve): Handle parent doing exec a teensy bit better.
12498 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
12499 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
12500 path needs conversion, handle both cases. Delete `const' from result.
12501 (hash_path_name): New function.
12502 (_open): Call it.
12503 (_stat): Likewise. Fill in more fields for directories.
12504 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
12505 (wait_for_any): Fix trace message.
12506 (waitpid): Explicitly test for intpid == 0.
12507
12508 From anders.blomdell@control.lth.se (Anders Blomdell)
12509 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
12510 so `next' is valid.
12511
12512Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
12513
12514 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
12515 complicated.
12516
12517Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12518
12519 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
12520 at all, not just == 1.
12521 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
12522
12523Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12524
12525 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
12526 * libc/sys/win32/include/wintypes.h: include <winnt.h>
12527 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
12528 file.
12529
12530Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12531
12532 * libc/sys/syscalls.c (getcwd): Fix off by one error.
12533
12534 * libc/sys/signal.c (sleep): Fill it in.
12535 * libc/sys/termios.c (tcflush): Use PurgeComm
12536 (tcsetattr): Set some more of the bits.
12537 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
12538
12539Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
12540
12541 * libc/sys/arm/crt0.S (fp): Initialize to 0.
12542 Conditionally include .idata$3 stuff ifdef __pe__.
12543
12544Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12545
12546 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
12547 * libc/sys/win32/pipe.c (pipe): Ditto.
12548 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
12549 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
12550 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
12551 (tcgetattr): Contents are new.
12552 * libc/sys/win32/include/winkernel.h (DCB): New.
12553 (GetCommState, SetCommState): New.
12554
12555Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
12556
12557 * libc/sys/arm/crt0.S (_start): Define.
12558
12559Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
12560
12561 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
12562 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
12563
12564 * libc/sys/win32/sysconf.c: New
12565 * libc/sys/win32/sys/winadvapi.h: New
12566 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
12567 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
12568 * libc/sys/win32/pipe.c (pipe): Ditto.
12569 * libc/sys/win32/signal.c (_raise): New.
12570 (_kill): Moved from spawn.c
12571 * libc/sys/win32/spawn.c (kill): Moved to signal.c
12572 * libc/sys/win32/syscalls.c (__read): Use new fields.
12573 (_open): Ditto.
12574 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
12575 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
12576 * libc/include/sys/unistd.h (rmdir): Takes const path.
12577 * libc/include/sys/stat.h (mkdir): Takes const path.
12578 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
12579
12580Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
12581
12582 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
12583
12584 Add support for specifying paths as //<drive>/foo/bar.
12585 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
12586 (__path_to_real_path): Declare.
12587 (PATH_TO_REAL_PATH): New macro.
12588 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
12589 (__path_needs_conversion_p, __path_to_real_path): New functions.
12590 (_open): Fix test for error return from CreateFileA.
12591 Handle new path syntax.
12592 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
12593 * libc/sys/win32/dirsearch.c (opendir): Likewise.
12594
12595Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
12596
12597 * libc/sys/win32/include/*.h: Reorganized
12598 * libc/sys/win32/include/WINREADME: New.
12599 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
12600 * libc/sys/win32/*.c: Fix for new include scheme.
12601 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
12602 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
12603 * libc/sys/win32/passwd.c (*): Fix.
12604 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
12605 (_stat): Get directory owner and permissions right.
12606 * libc/sys/win32/syscalls.h (uinfo): New.
12607 * libc/sys/win32/version.def: Remove leading underscores.
12608
12609Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12610
12611 * libc/sys/win32/key.c: include "include/wincon.h".
12612
12613Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
12614
12615 * libc/sys/win32/{key, stubs}.c: New.
12616 * libc/sys/win32/Makefile: Adjust to cope.
12617 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
12618 (environ_init): Change env names to upper case.
12619 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
12620 * libc/sys/win32/passwd.c (*): Fill in the functions.
12621 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
12622 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
12623 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
12624 (_open): Initialze hmap->execable_p too.
12625 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
12626 (_fstat): Fill in permissions.
12627 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
12628
12629Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
12630
12631 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
12632 if defined.
12633 (cfg-ml-pos.in invocation): Likewise.
12634
12635Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12636
12637 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
12638 s_isnan.o and sf_isnan.o.
12639
12640Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
12641
12642 * All Makefile.in files: added maintainer-clean target as a
12643 synonym for realclean.
12644
12645Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
12646
12647 * libc/include/machine/setjmp.h: Add hppa support.
12648 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
12649 support.
12650 * libc/machine/hppa/Makefile.in: Related changes.
12651
12652Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
12653
12654 * configure.in (machine_dir): Don't set for v810-*-*.
12655
12656Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12657
12658 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
12659 conventions correctly.
12660
12661Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
12662
12663 * libc/stdio/puts.c: Update documentation of return value to match
12664 ANSI standard.
12665
12666Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
12667
12668 Fix file descriptor inheritance.
12669 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
12670 (NOT_OPEN_FD): Fix.
12671 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
12672 close-on-exec flag not set. Initialize child's entire fd table.
12673 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
12674 CHILD_P.
12675 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
12676 if CHILD_P. Initialize entire hmap entry.
12677 (dup): Only create new handle as inheritable if CHILD_P.
12678 (dup2): Likewise. Properly initialize hmap entry.
12679
12680 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
12681 _spawn.
12682 (_exit): Use CHILD_P.
12683 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
12684 (_stat): Likewise.
12685
12686Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12687
12688 * libc/sys/win32/crt0.c (passover): fix up the state table.
12689 * libc/posix/popen.c: Added.
12690 * libc/posix/Makefile.in: compile popen.c.
12691
12692Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
12693
12694 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
12695 h8/500 define _DOUBLE_IS_32BITS.
12696
12697Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
12698
12699 Get vfork/exec/spawn/cwait/wait working again.
12700 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
12701 (procinfo): New member vfork_level.
12702 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
12703 (vfork_init_first): Use GetCurrentProcessId to get pid.
12704 Initialize vfork_level.
12705 (vfork_init): Delete __PID__.
12706 (environ_init): New function. Undo patch of Aug 19, Posix says
12707 environment variables are case sensitive.
12708 (mainCRTStartup): Call it.
12709 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
12710 (my_longjump: Make static.
12711 (_spawn): New argument `h'. Delete setting of __PID__.
12712 Delete local `idx'. Look for chars that need quotes, rather than
12713 ones that don't. Set handle of created process in `h'.
12714 Result is process id if created task.
12715 (allocate_spawn_entry): New function.
12716 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
12717 (_execve): Set __FD_TABLE__ before spawning child.
12718 Scan our fd table when passing fds, not our parent's.
12719 Store handle and pid in procinfo entry.
12720 (vfork0): Ensure strace message always printed.
12721 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
12722 (vfork): Don't clobber result of vfork0.
12723 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
12724 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
12725
12726 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
12727 and `exit_code'.
12728 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
12729 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
12730 adding vfork level to pseudo-pid.
12731 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
12732 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
12733 (_exit): If child, set exit code.
12734 (__vfork_record_death): Only close process handle if valid.
12735 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
12736 didn't exec.
12737 (wait_for_any): Likewise. Start scan after root entry.
12738
12739Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12740
12741 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
12742 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
12743 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
12744 of actual file length.
12745
12746 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
12747 * libc/include/paths.h: _PATH_BSHELL added.
12748 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
12749 and STDERR_FILENO.
12750
12751Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12752
12753 * libc/include/ar.h: Added.
12754 * libc/include/sys/types.h: ino_t goes back to 32-bits.
12755 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
12756 * libc/sys/win32/syscalls.c (_open): compute .namehash based
12757 on filename.
12758 (_fstat): use .namehash for inode number of the fd.
12759
12760Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
12761
12762 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
12763 Change hinfo to __this_procinfo.
12764 * libc/sys/win32/crt0.c: Remove procinfo_list.
12765
12766Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12767
12768 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
12769 win32 environment.
12770
12771Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12772
12773 * libc/sys/win32/include/grp.h: Removed.
12774 * libc/sys/include/grp.h: Added.
12775 * libc/sys/win32/grp.c: Include <grp.h>.
12776
12777Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
12778
12779 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
12780 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
12781 Defined for all but strict ANSI.
12782 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
12783 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12784 * libc/signal/signal.c (_signal_r): Changed from using
12785 _MAX_SIGNALS to NSIG.
12786 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
12787 __hmap): Deleted.
12788 (__strace, __vfork_next_pid): New.
12789 (__exe_suffix): Default to 1.
12790 (passover, table): Understand quoted arguments.
12791 (vfork_init_first): New.
12792 (vfork_init): Initialize new process structure.
12793 (mainCRTStartup): Pass environ to main.
12794 * exceptions.c (__sig_mask): New
12795 (ehandler3): Ignore signals in mask.
12796 (really_exit): Remove CHILD_P test.
12797 * pipe.c (pipe, dup, dup2): Use new process and file structure.
12798 * resource.c (getrusage): Ditto.
12799 * signal.c (sigprocmask): New.
12800 * spawn.c (*): Rewritten.
12801 * syscalls.c (*): Use new process and file structure.
12802 (find_unused_handle): New.
12803 * syscalls.h (MAX_HANDLES): Deleted.
12804 (hinfo): Removed child_created_p.
12805 (MAX_CHILDREN): Deleted.
12806 (vfork_jmp_info, procinfo): New.
12807 * wait.c (*): Mostly new.
12808 * sys/strace.h (_STRACE_PARANOID): New.
12809 * sys/param.h: New file.
12810
12811Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12812
12813 * libc/include/sys/stat.h: add S_BLKSIZE.
12814 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
12815 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
12816 types under win32.
12817 (mode_t): add a #else to avoid multiple definitons.
12818
12819 * libc/sys/win32/Makefile.in: add grp.c.
12820 * libc/sys/win32/grp.c: include grp.h correctly.
12821 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
12822 of the st structure with real information.
12823 * libc/sys/win32 (dirent): d_ino is of type ino_t.
12824
12825Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
12826
12827 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
12828 and (maybe) sparc64.
12829 (nlink_t): Provide typedef.
12830
12831Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12832
12833 * libc/sys/win32/grp.c: New file.
12834 * libc/sys/win32/include/grp.h: New file.
12835
12836Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12837
12838 * libc/include/machine/ieeefp.h: Added whitespace to make this
12839 file easier to maintain.
12840 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
12841 depending on the value of __LITTLE_ENDIAN__.
12842 On the sh3e, define _DOUBLE_IS_32BITS.
12843
12844Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
12845
12846 * libc/sys/vr4300/syscalls.c: Added missing support
12847 routines. _raise() and getpid().
12848
12849Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
12850
12851 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
12852
12853Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
12854
12855 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
12856 and VR4300 processor.
12857 * libc/sys/vr4300: Add directory.
12858 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
12859 monitor run-time support.
12860
12861Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12862
12863 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
12864 * libc/stdlib/stdlib.tex: Don't include atol.def.
12865
12866Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12867
12868 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
12869
12870Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
12871
12872 * libc/ctype/Makefile.in: Fill in _to* dependencies.
12873
12874Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
12875
12876 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
12877 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
12878 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
12879 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
12880 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
12881
12882Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12883
12884 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
12885
12886Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12887
12888 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
12889 * libc/stdlib/atoff.c: New file.
12890 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
12891 * libc/stdlib/atoi.c (atol): Removed.
12892 * libc/stdlib/atol.c: Removed duplicate documentation.
12893
12894 * libc/include/ctype.h (_tolower, _toupper): Moved inside
12895 #ifndef _STRICT_ANSI conditional.
12896 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
12897 * libc/ctype/_tolower.c: New file.
12898 * libc/ctype/_toupper.c: New file.
12899 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
12900 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
12901 * libc/ctype/toascii.c (_toascii): Removed.
12902
12903Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
12904
12905 * libc/sys/sparc64/sys/types.h: Deleted.
12906
12907Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12908
12909 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
12910 and recognize Windows_95 systems.
12911
12912Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12913
12914 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
12915 and passed fds should be opened in text mode.
12916
12917Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12918
12919 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
12920 in __hmap, set to binary mode by default.
12921
12922Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12923
12924 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
12925 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
12926 vector 34.
12927
12928Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
12929
12930 * Makefile.in (install): Install all libraries found in the
12931 top level. If there's a sys/<type>/include directory,
12932 install those headers into include.
12933
12934 * libc/sys/win32/kernel.def351: Delete
12935 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
12936 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
12937 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
12938 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
12939 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
12940 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
12941 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
12942 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
12943
12944 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
12945 * libc/sys/win32/crt0.c: Force all env names to upper case.
12946 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
12947 * libc/sys/win32/*.c: Headers have moved.
12948 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
12949 __vfork_child_idx is now __vfork_child_ptr.
12950
12951 * posix/execvp (execvp): Don't crash if no PATH envname.
12952
12953Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12954
12955 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
12956 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
12957 through the _freelist instead of through the _reclaim list.
12958 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
12959 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
12960 sources.
12961
12962Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12963
12964 * libc/machine/h8500/setjmp.S: New file.
12965 * libc/include/machine/setjmp.h: Updated for H8/500.
12966
12967Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
12968
12969 * libc/sys/win32/syscalls.c (_open): More stracing.
12970 (_stat): Open the file in O_BINARY.
12971
12972Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12973
12974 * libc/machine/h8300/setjmp.S: New file.
12975 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
12976
12977Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
12978
12979 * libc/sys/win32/crt0.c (__exe_suffix): New global.
12980 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
12981 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
12982 __exe_suffix. Free fd_tab after setting env variable.
12983 (spawnv,_execve): Update.
12984 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
12985 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
12986 (__small_vfprintf): New function.
12987 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
12988 * libc/sys/win32/wait.c (cwait): Validate argument.
12989
12990 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
12991 (process_deletion_queue): Likewise.
12992
12993 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
12994
12995Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
12996
12997 * libc/sys/win32: Copyrights and gratuitous indenting.
12998
12999Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
13000
13001 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
13002 (process_deletion_queue): Likewise.
13003 (__close_all_files): New function.
13004 (_close): Only queue file deletion if really a file.
13005 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
13006 _P_APPEND_EXE.
13007 (_exit): Call __close_all_files.
13008
13009 * libc/stdlib/system.c: #include <errno.h>.
13010 (_system_r): Fix results in -DNO_EXEC case.
13011
13012 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
13013 Reorganize structure.
13014 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
13015 if argument is valid. Save directory name in DIR. malloc space
13016 for dirent struct separately.
13017 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
13018
13019 * libc/include/errno.h (ENAMETOOLONG): Define.
13020 * libc/string/strerror.c (strerror): Reword ENFILE.
13021 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
13022
13023Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
13024
13025 * libc/sys/win32/crt0.c (__progname): New global.
13026 (mainCRTStartup): Support strace=bitmask,filename.
13027 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
13028 * libc/sys/win32/syscalls.c (_write): Print parent trace message
13029 if error.
13030 (getcwd): Handle len too small. Convert '\\' to '/'.
13031 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
13032 Add prototypes for open, creat, fcntl.
13033 (O_APPEND): Change value to conform to Microsoft's value.
13034 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
13035
13036 * libc/stdlib/getopt.c: New file.
13037 * libc/stdlib/Makefile.in: Build it.
13038
13039Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
13040
13041 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
13042 Fix scanning of $PATH.
13043 * libc/posix/exec*.c: Call _execve, not execve.
13044 * libc/posix/execve.c: New file.
13045 * libc/posix/Makefile.in (OFILES): Add execve.o.
13046
13047 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
13048 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
13049 (_STRACE): If level==0, always print. Handle new bit mask scheme.
13050 * libc/sys/win32/crt0.c: Update _STRACE calls.
13051 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
13052
13053 * libc/sys/win32/smallprint.c (rn): Fix digit list.
13054
13055 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
13056 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
13057 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
13058 Print __seterrno trace message first.
13059 (_execve): Renamed from execve.
13060 (vfork): Update __strace usage.
13061 (__vfork_child_pid): Deleted.
13062 (__vfork_children, __vfork_child_idx): New globals.
13063 (_spawnvp): New function.
13064 (spawnvp, spawnv, _execve): Call _spawnvp.
13065 (init_child): Record child in __vfork_children.
13066 (__vfork_get_entry, __vfork_record_death): New functions.
13067 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
13068 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
13069 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
13070 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
13071 (children): New typedef.
13072 (__vfork_children,__vfork_child_idx): Declare.
13073 (__vfork_get_entry,__vfork_record_death): Declare.
13074 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
13075 (waitpid): Handle pid == -1.
13076 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
13077 * configure.in (i386-win32): Add -DNO_FORK.
13078 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
13079 * libc/reent/execr.c (_fork_r): Likewise.
13080 * libc/stdlib/system.c (do_system): New function.
13081 If WIN32, try to get shell path from $SH_PATH, use vfork.
13082 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
13083 otherwise return 0.
13084
13085Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
13086
13087 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
13088 * libc/sys/win32/fcntl.h: Don't include self.
13089 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
13090 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
13091 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
13092 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
13093 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
13094 Correct prototypes.
13095 * libc/sys/win32/strace.c: New file.
13096 * libc/sys/win32/smallprint.c: New file.
13097 * libc/sys/win32/crt0.c (func): Delete.
13098 (mainCRTStartup): Fix alloca usage. Set handles explictly.
13099 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
13100 * libc/sys/win32/exceptions.c: Lint.
13101 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
13102 Clean up handle usage.
13103 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
13104 (open.c): Default file type is text.
13105 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
13106 * libc/sys/win32/advapi32.def: New
13107
13108Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
13109
13110 * configure.in (posix_dir, libc_posix_lib): New variables.
13111 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
13112 (i[345]86-*-win32): Define posix_dir.
13113 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
13114 (if unix_dir): Fix typo.
13115 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
13116 scandir,seekdir,telldir}: New files.
13117 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
13118 from libc/unix.
13119 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
13120 (SUBDIRS): Add posix.
13121 (SUBLIBS): Add $(LIBC_POSIX_LIB).
13122
13123 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
13124 (NSIG): Increase to 21.
13125 * libc/include/sys/unistd.h (pid_t): Move from here,
13126 * libc/include/sys/types.h (pid_t): to here.
13127
13128 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
13129 (__ptrace): Delete.
13130 (hinfo): New members close_exec_p, child_created_p.
13131 (struct exception_list): Define.
13132 (__hmap): Redefine as pointer to table.
13133 (__parent_hmap, __child_hmap): New globals.
13134 (__set_errno, __really_exit): Declare.
13135 (__vfork_child_pid): Declare.
13136 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
13137 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
13138 (__parent_hmap, __child_hmap): New globals.
13139 (__hmap): Redefine as pointer to active map.
13140 (__get_console): New function.
13141 (mainCRTStartup): Change leading '=' in environ vars to '!'.
13142 (env __FD_TABLE__): Watch for this and initialize our fd/handle
13143 mapping table from it if defined.
13144 (argv, envp): Dump if __strace >= 4.
13145 (main): Call here.
13146 * libc/sys/win32/exceptions.c (myp): Redefine.
13147 (__syscalls_b): Delete.
13148 (__stack_trace): New function.
13149 (ehandler3): Update to use _STRACE. Print stack trace.
13150 Call __really_exit instead of exit.
13151 (init_exceptions): Delete args argc,argv. New arg mine.
13152 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
13153 FindFirstFileA, FindNextFileA, GetComputerNameA,
13154 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
13155 * libc/sys/win32/signal.c (signal): Validate arg.
13156 (alarm, sleep): Define as stubs for now.
13157 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
13158 (__syscalls_b, errno): Delete.
13159 (__vfork_child_pid, __vfork_jmp_buf): New globals.
13160 (__seterrno): Handle more errors.
13161 (__sys_printf): Renamed from _ptrace.
13162 (__really_exit): New function.
13163 (queue_file_deletion, process_deletion_queue): New functions.
13164 (__resume_parent): New function.
13165 (_unlink): Handle trying to delete open file.
13166 (__totime_t): Renamed from totime_t.
13167 (setsid, __read, __write): New functions.
13168 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
13169 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
13170 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
13171 * libc/sys/win32/console.c: Update to new definition of __hmap.
13172 * libc/sys/win32/Makefile.in: Build new files.
13173 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
13174 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
13175 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
13176 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
13177
13178Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
13179
13180 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
13181
13182Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13183
13184 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
13185 have been made to the master dtoa.c sources (from netlib.att.com)
13186 since they were integrated into newlib in early 1992. Fixes
13187 problems with storage leaks and handling of numbers with very
13188 negative exponents.
13189
13190Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13191
13192 * Makefile.in (all): set rootpre and srcrootpre before calling
13193 sub-makes.
13194
13195Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
13196
13197 * libc/sys/win32/crt0.c: Change __hmap usage.
13198 * libc/sys/win32/exceptions.c: Use _ptrace call.
13199 * libc/sys/win32/syscalls.c: Use _ptrace call.
13200 (read, write): Cope with DOS style CRLF when in TEXT mode.
13201 * libc/sys/win32/syscalls.h: Declare hinfo struct.
13202 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
13203 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
13204 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
13205 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
13206
13207Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13208
13209 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
13210
13211 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
13212 wrappers for hypot() and remainder() for BSD libm compatibility.
13213 These are public domain implementations written by me for the
13214 NetBSD libm some time ago. Note cabs() is required by ucbtest.
13215 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
13216 (fobj): Added wf_cabs.o and wf_drem.o.
13217
13218Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13219
13220 * libc/sys/h8500hms/misc.c: New file.
13221 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
13222
13223Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13224
13225 * libc/time/localtime.c (localtime): Fix problem with leap year
13226 handling. Stole algorithm from Arthur David Olson's tz code.
13227
13228Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
13229
13230 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
13231
13232 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
13233 (_exit): Use argument.
13234
13235Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
13236
13237 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
13238
13239Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
13240
13241 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
13242
13243Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13244
13245 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
13246 target_cflags.
13247
13248Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
13249
13250 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
13251 ptrace with case insensitivity
13252 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
13253 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
13254 New files.
13255
13256Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
13257
13258 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13259 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
13260 (all, install, *clean): Use new multilib support.
13261 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13262
13263Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
13264
13265 * libc/include/sys/signal.h (__WIN32__): New.
13266
13267 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
13268
13269 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
13270 (ulp, b2d): Handle 32 bit doubles.
13271 * libc/stdlib/mprec.h: Handle 32 bit doubles.
13272 * libc/stdlib/strtod.c (_strtod_r): Ditto.
13273
13274Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
13275
13276 from medp@primag.co.uk:
13277 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
13278 dynamically allocated buffers.
13279
13280Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
13281
13282 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
13283 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
13284
13285Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13286
13287 * configure.in (powerpc): Fix previous fix.
13288
13289Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13290
13291 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
13292 directories for this target.
13293
13294Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13295
13296 * configure.in (hppa): Add machine_dir definition.
13297 * libc/machine/hppa: New directory with PA specific implementations
13298 of the basic memory/string functions.
13299
13300Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13301
13302 * configure.in: Update current PowerPC multilib directories.
13303 Split big and little endian configurations.
13304
13305Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
13306
13307 * configure.in: Add --enable-single-float option to configure to
13308 control use of MIPS single-float directories. Default to yes.
13309
13310 * Makefile.in (all): Don't recurse into multilib directory if it
13311 does not exist.
13312
13313Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13314
13315 * libc/sys/sh/syscalls.c: Fix typo.
13316
13317Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
13318
13319 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
13320 Pass down DLLTOOL.
13321 * libc/include/process.h: Define WAIT_CHILD.
13322 * libc/include/types.h: Get sizes right for win32.
13323 * configure.in (i386-*-pe): Becomes i386-win32.
13324 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13325 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
13326 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
13327 is defined.
13328
13329Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
13330
13331 * configure.in (i[345]86-*-pe): New target (NT).
13332 * host/any: DLLTOOL new.
13333 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13334 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
13335 WIN32 (just enough to cross host the comp-tools).
13336
13337Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
13338
13339 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
13340 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
13341
13342Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
13343
13344 * libc/include/machine/ieeefp.h (arm): Change to always be
13345 __IEEE_BIG_ENDIAN (even on little endian ARM's).
13346
13347Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
13348
13349 * libc/sys/crt0.S: Initialze sp, and call exit after main.
13350 * libc/sys/syscalls.c (abort): New.
13351 * configure.in (arm): Define ABORT_PROVIDED.
13352
13353Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13354
13355 * configure.in (powerpc): Define multidirs.
13356
13357Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
13358
13359 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
13360
13361Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
13362
13363 * configure.in (sparclite): Delete target_cflags. Define multidirs.
13364
13365Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
13366
13367 * configure.in, libc/include/machine/ieeefp.h: Modified
13368 for arm:
13369 libc/machine/arm/*, libc/sys/arm/*: New
13370
13371Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13372
13373 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
13374 __powerpc__ when determining endianness.
13375
13376Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13377
13378 * configure.in (m68*): Add multidir for the m68332.
13379
13380 * host/any (CC): Fix typo in last change.
13381
13382Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
13383
13384 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
13385 when determining endianness.
13386 * libc/include/machine/ieeefp.h: Ditto.
13387 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
13388 operands.
13389
13390Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
13391
13392 * libc/include/errno.h (ENOTEMPTY): Define.
13393
13394Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13395
13396 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
13397 target_cflags.
13398
13399 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
13400 and umultiply.o.
13401
13402 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
13403 instead of only when open succeeds. ANSI requires that multiple
13404 calls to tmpnam() result in different files.
13405
13406 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
13407 objects pulled in from /lib/libc.a that must be renamed before
13408 being pulled into newlib. /lib/libc.a's div.o conflicted with
13409 newlib's file with the same name.
13410
13411 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
13412
13413 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
13414 the build tree will only be used if the executables are present
13415 (instead of just the Makefiles).
13416
13417 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
13418 wcstombs): Define.
13419 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
13420 versions of these functions that I orignally wrote for the
13421 NetBSD C library.
13422 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
13423 versions I wrote for NetBSD.
13424
13425Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
13426
13427 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
13428 * libc/sys/sparclite/crt0.s: ditto.
13429
13430Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
13431
13432 * configure.in: Add soft-float for proelf.
13433
13434Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
13435
13436 * libc/stdlib/mprec.h (Bcopy): Copy the right number
13437 of bytes.
13438
13439Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
13440
13441 * Makefile.in (all): Depend on `force'.
13442 * configure.in (syscall_dir): Renamed from fake_sys_dir.
13443 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
13444 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
13445 * libc/Makefile.in: Likewise.
13446 * libc/include/reent.h: Update syscall references.
13447 (_fcntl_r): Add prototype.
13448 * libc/syscalls/*.c #include <reent.h>.
13449 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
13450
13451Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
13452
13453 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
13454 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
13455 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
13456 (time.h, sys/types.h): Always include (even if MSDOS).
13457 (stat): Fix prototype.
13458
13459Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
13460
13461 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
13462
13463Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13464
13465 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
13466
13467Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
13468
13469 * libc/include/regdef.h: New file.
13470 * libc/machine/mips/machine/regdef.h: New file.
13471
13472Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
13473
13474 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
13475
13476Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
13477
13478 * libc/sys/sh/crt0.S: Pass main's return to exit.
13479 * libc/sys/sh/trap.S: Put errno in the right place.
13480
13481Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13482
13483 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
13484 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
13485 * libm/math/ef_rem_pio2.c: Likewise.
13486 * libm/math/e_log10.c: Remove unused static one.
13487 * libm/math/ef_log10.c: Likewise.
13488 * libm/math/s_frexp.c: Likewise.
13489 * libm/math/sf_frexp.c: Likewise.
13490
13491Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
13492
13493 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
13494 longjmp.S: Upgraded.
13495 * libc/sys/go32/sys/setjmp.h: Upgraded.
13496 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
13497
13498Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13499
13500 * configure.in: Add many entries to multidirs for mips targets.
13501
13502Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13503
13504 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
13505 5.2 which fixes bug where jn(-1,x) is three times larger than
13506 the actual answer.
13507 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
13508
13509Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
13510
13511 * libc/sys/w65/sys/syscalls.h: New file
13512 * libc/include/machine/ieeefp.h: W65 support.
13513 * libc/include/sys/config.h: Ditto.
13514 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
13515 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
13516 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
13517
13518Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13519
13520 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
13521
13522Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
13523
13524 * Makefile.in, configure.in: Remove any references to the old
13525 "stub" dir.
13526
13527Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13528
13529 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
13530 uses ... in prototype.
13531
13532
13533Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
13534
13535 * libc/sys/a29khif/sys/libconfig.h: Remove.
13536 * libc/sys/go32/sys/libconfig.h: Remove.
13537 * libc/sys/sun4/sys/libconfig.h: Remove.
13538 * libc/sys/sysvi386/sys/libconfig.h: Remove.
13539 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
13540 * libc/sys/sparc64/sys/libconfig.h: Remove.
13541
13542 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
13543 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
13544 * libc/include/math.h: Change all uses of _FLOAT_RET and
13545 _FLOAT_ARG to float.
13546 * libm/test/math.c: Likewise.
13547 * testsuite/libm.sac/math.c: Likewise.
13548 * testsuite/libm.sac/working/math.c: Likewise.
13549
13550Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13551
13552 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
13553 gcc calls gas with endian option.
13554 * configure.in (sh): Build little endian version too.
13555
13556Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13557
13558 * configure.in: Configure big and little endian versions for MIPS
13559 targets.
13560
13561Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
13562
13563 * libc/include/limits.h: Deleted.
13564 * libc/include/machine/limits.h: Deleted.
13565
13566Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
13567
13568 * ChangeLog: Remove stub directory. This has all been rewritten
13569 and moved to devo/libgloss.
13570
13571Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13572
13573 * Makefile.in (dvi): Add to info target, use $@ in sub make.
13574 (docs): Merge into info target.
13575 * libm/Makefile.in (dvi): Add $(srcdir).
13576 * libm/math/Makefile.in (chobjs): Remove underscores from file
13577 names. Texinfo doesn't like them.
13578 (wacos.def, ...): Add explicit targets for all .def files.
13579 * libm/math/math.tex: Remove underscores from @include file names.
13580 * doc/Makefile.in (dvi): Add dummy target.
13581 * testsuite/Makefile.in (dvi): Add dummy target.
13582
13583Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
13584
13585 * Makefile.in (VERSION): Define. For net newlib releases.
13586
13587Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
13588
13589 * README: New file.
13590
13591Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13592
13593 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
13594
13595Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13596
13597 * libc/stdlib/setenv.c (_findenv): Declare.
13598
13599 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
13600 fcntl to not use _EXFUN, and change string parameters to open and
13601 creat to be ``const char *''.
13602 * libc/sys/sparc64/sys/fcntl.h: Likewise.
13603 * libc/sys/sparc64/creat.c (creat): Make PATH const.
13604 * libc/syscalls/sysopen.c: Include <fcntl.h>.
13605 (open) Make _FILE const.
13606 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
13607 (_creat): Make PATH const.
13608 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
13609 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
13610 * libc/sys/m88kbug/syscalls.c (open): Likewise.
13611 * libc/sys/sh/syscalls.c (_open): Likewise.
13612 * stub/shared/glue.c (open): Make BUF const.
13613 * stub/ex93x/syscalls.c (open): Make FILENAME const.
13614
13615Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13616
13617 * libc/include/errno.h: Add ENMFILE
13618 * libc/include/sys/config.h: Support Z8000.
13619 * libc/include/sys/signal.h: New signals for go32.
13620 * libc/machine/h8500/psi.S (__addpsir0r0): New function
13621 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
13622 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
13623 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
13624 size is variable, depending upon CHUNK_POWER.
13625 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
13626
13627Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13628
13629 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
13630
13631Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13632
13633 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
13634
13635Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13636
13637 * configure.in: Change i[34]86 to i[345]86.
13638
13639 * libc/include/math.h: Don't define HUGE_VAL if it is already
13640 defined.
13641
13642Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13643
13644 * testsuite/libm.sac/test_erfc.c: Correct some result values.
13645 * testsuite/libm.sac/test_gammaf.c: Likewise.
13646 * testsuite/libm.sac/test_sin.c: Likewise.
13647 * testsuite/libm.sac/test_tanh.c: Likewise.
13648
13649Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13650
13651 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
13652 already set. Define typedefs __int32_t and __uint32_t.
13653 * libc/include/math.h: Include <machine/ieeefp.h>.
13654 (union __dmath): Use __uint32_t.
13655 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
13656 instead of int and unsigned int.
13657
13658Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13659
13660 Replace the math library with the SunPRO fdlibm package.
13661 * libm/math: Completely changed all files.
13662 * libm/ieeefp: Remove contents and directory.
13663 * libm/Makefile.in (LIBM_FP_LIB): Remove.
13664 (SUBDIRS): Just set to math/lib.a.
13665 * libm/libm.texinfo: Updated for new library.
13666 * libc/include/math.h: Extensive changes for new math library.
13667 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
13668 from _FLOAT_ARG to float.
13669 (maxpowtwo, maxpowtwof): Don't declare.
13670 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
13671 (libm_fp_lib): Removed.
13672 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
13673 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
13674 argument to ${RUNTEST}.
13675 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
13676 (.c.o): New rule.
13677 (RUNTESTFLAGS): Set CC and CFLAGS.
13678 (TESTS): Remove test_log2 and test_log2f.
13679 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
13680 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
13681 _FLOAT_ARG, for single precision argument type.
13682 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
13683 expected failure. Close the input pipe.
13684 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
13685 Correct misspelling of inaccurate.
13686 (test_mok): Use ``inaccurate'', not ``wrong''.
13687 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
13688 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
13689 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
13690 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
13691 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
13692 test_yn.c): Correct many result values. Many are still wrong.
13693
13694 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
13695 just copy the string.
13696 (_gcvt): Always return the buffer.
13697
13698Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13699
13700 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
13701
13702Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
13703
13704 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
13705 structure.
13706 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
13707 (_reclaim_reent): declare new entry point.
13708 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
13709 functions.
13710
13711 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
13712 ever allocated, so that we can later reclaim them all.
13713 (pow5mult): make reentrant.
13714
13715 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
13716 so that when given NULL as a buffer, return a pointer to static
13717 space in the rent structure. This is not documented behaviour;
13718 it's only to support ecvt and fcvt, which aren't ANSI anyway.
13719 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
13720 therefore become reentrant).
13721
13722 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
13723
13724Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13725
13726 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
13727
13728Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13729
13730 * Makefile.in: Make link to libg.a after libc.a; this is needed
13731 for the testsuites to build executables when everything comes
13732 from the tree.
13733
13734Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
13735
13736 * libc/Makefile.in: Add a VERSION variable so we can keep track.
13737 * libm/Makefile.in: Add a VERSION variable so we can keep track.
13738
13739Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13740
13741 * libc/include/stdio.h: Use __VALIST, not va_list.
13742
13743Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
13744
13745 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
13746 testsuite/libm.sac/execute.exp:
13747 Replace error proc calls with perror calls.
13748
13749Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
13750
13751 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
13752 * libc/include/time.h: #define NULL as 0L.
13753
13754Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
13755
13756 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
13757 care of it.
13758
13759Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13760
13761 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
13762 not __unix__.
13763
13764Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
13765
13766 * configure.in (TARGET_CFLAGS): Set -O2 as default.
13767 (z8k-*-*): Use syscalls fake sys dir.
13768 * libc/sys/z8k/glue.c: Rename syscalls.
13769 * libc/sys/go32/Makefile.in: Use new routines.
13770 * libc/machine/Makefile.in: Fix typo in ln stuff.
13771
13772Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13773
13774 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
13775 * libc/Makefile.in (crt0.o): Likewise.
13776 * libc/machine/Makefile.in (lib.a): Likewise.
13777 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
13778
13779 All Makefile.in files: Added mostlyclean, realclean and distclean
13780 targets.
13781
13782 * Makefile.in: Don't bother to unexport XTRAFLAGS or
13783 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13784 the top level Makefile.
13785
13786Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
13787
13788 * libc/sys/sparc64/sys/stat.h: New file.
13789 * libc/sys/sparc64/sys/time.h: New file.
13790 * libc/sys/sparc64/sys/types.h: New file.
13791
13792Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
13793
13794 * stub/ex93x/crt0.s (start): Add code to clear bss.
13795
13796Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
13797
13798 * libc/include/sys/types.h (time_t): Properly protect inside
13799 #ifndef __time_t_defined.
13800
13801 * libc/stdio/fileno.c: New file.
13802 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
13803 (fileno.o): Add dependency.
13804 * libc/include/stdio.h (__sgetc): Rename never to _never.
13805 (fileno macro): Disable, needs to do CHECK_INIT first.
13806
13807Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
13808
13809 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
13810 goal.
13811
13812 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
13813 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
13814 runtest.
13815 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
13816 runtest.
13817
13818Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
13819
13820 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
13821 of the various constants.
13822
13823Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
13824
13825 * libc/include/math.h: #ifndef __math_68881 around things which
13826 conflict with the (gcc-provided) inline functions in
13827 gcc/ginclude/math-68881.h.
13828
13829Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
13830
13831 * libc/include/_syslist.h (_gettimeofday): Define.
13832 (_times): Ditto.
13833 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
13834 (struct tms, timeval, timezone): Declare.
13835 (_gettimeofday_r, _times_r): Declare.
13836 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
13837 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13838 (time_t): Add multiple definition protection, __time_t_defined.
13839 * libc/include/sys/time.h: Don't #include <time.h>.
13840 Always define struct timezone (remove #ifndef _TIME_H_).
13841 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
13842 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13843 * libc/reent/Makefile.in (OFILES): Add timer.o.
13844 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
13845 * libc/reent/timer.c: New file.
13846 * libc/time/clock.c: #include <reent.h>.
13847 (clock): Call _times_r instead of times.
13848 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
13849 HAVE_GET_TIME_OF_DAY.
13850 Add comment regarding supporting OS routine(s) required (for docs).
13851 #include <reent.h>.
13852 (time): Call _gettimeofday_r instead of gettimeofday.
13853 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
13854 * libc/time/ctime.c: Ditto.
13855 * libc/time/strftime.c: Ditto.
13856 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
13857 (TEMPLATE_SFILES_R): Define here. Also define times.
13858 Add times_r.o/times.S dependence.
13859 (time2.c, junk.c): Deleted.
13860 * libc/sys/sparc64/time2.c: Deleted.
13861 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
13862
13863 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
13864 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
13865 * libc/sys/sparc64/junk.c: Deleted.
13866
13867Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
13868
13869 * libc/sys/sparc64/Makefile.in: Add times syscall.
13870 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
13871 be used with and without it. Add comment clarifying Medium/Anywhere
13872 model requirements.
13873 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
13874 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
13875 even if obsolete.
13876
13877Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
13878
13879 * configure.in (target_cflags): Move init.
13880 (sparc64-*-*): Define HAVE_BLKSIZE.
13881
13882Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
13883
13884 * libc/include/sys/_types.h: New file.
13885 * libc/include/reent.h: #include it.
13886 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
13887 MISSING_SYSCALL_NAMES.
13888 Sort syscalls.
13889 * libc/include/_syslist.h: Remove _raise.
13890 * libc/reent/signalr.c: New file.
13891 * libc/reent/Makefile.in: Compile it.
13892 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
13893 Add doc for raise and _raise_r.
13894 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
13895 (raise): Call _raise_r.
13896 (_raise_r): Call _getpid_r and _kill_r.
13897 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
13898 (abort): Loop forever calling raise and _exit.
13899
13900Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13901
13902 * configure.in: Remove extraneous echo.
13903
13904Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
13905
13906 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
13907 collision with unistd.h, and fix for svr4.
13908
13909Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
13910
13911 * libc/stdio/local.h (_llicvt): Declare.
13912 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
13913 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
13914 (_llicvt): Define.
13915 (_sicvt): Fix function header (`value' is short).
13916 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
13917 Add printing of long long's support.
13918 Add printing of 8 byte pointer support.
13919
13920Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
13921
13922 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
13923 stat, chmod): New hooks.
13924 (sbrk): Abort if stack and heap collide.
13925 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
13926 shortcut when given small args.
13927 * libc/machine/sh/setjmp.s: Rewritten.
13928 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
13929 of cmp/str instruction.
13930
13931Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13932
13933 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
13934 and machine_dir powerpc.
13935 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
13936 Add cases for __powerpc__.
13937 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
13938 New files.
13939
13940 * libc/include/stdio.h (_iprintf_r): Declare correctly.
13941
13942Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
13943
13944 * libc/stdlib/callocr.c: New file with _calloc_r in it.
13945 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
13946
13947Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
13948
13949 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
13950 (print_e): More comments to describe args, etc.
13951 "type" arg may now be 'g' or 'G' for %g/G format --> remove
13952 trailing blanks.
13953 (_gcvt): Remove locals decpt, sign, end, p, done.
13954 More comments for print_e invocation.
13955 Pass "type" to print_e as is (g/G).
13956
13957Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
13958
13959 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
13960 stock m68000.
13961
13962Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
13963
13964 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
13965 works with any sized pointer, including ones bigger than ints and
13966 longs.
13967
13968Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
13969
13970 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
13971
13972Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13973
13974 * libc/include/stdlib.h (_calloc_r): Add prototype.
13975 * libc/machine/h8500/negsi2.c: New file.
13976 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
13977 large unsigned numbers.
13978 * libc/machine/h8500/cmpsi.c: Add cmppsi.
13979 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
13980 works when sizeof(size_t) != sizeof(char *).
13981 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
13982 get play area
13983 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
13984
13985Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
13986
13987 * libc/include/assert.h (assert): Handle -traditional.
13988
13989Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
13990
13991 * Makefile.in: added ; after every "fi" and "done" that wasn't at
13992 the end of a line (ie. anything before a backslash continuation)
13993 so that bash handles them.
13994
13995Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
13996
13997 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
13998 stat to lstat
13999
14000Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
14001
14002 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
14003 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
14004 libc/machine/sh/udivsi3.s: Use new calling convention.
14005
14006Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
14007
14008 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
14009 chmod, access, chdir, chown by making _path const. Also fix _amode
14010 param of access.
14011
14012Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
14013
14014 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
14015 _khif_tmpnam, because it doesn't comply with ANSI but may be
14016 useful anyway. Real tmpnam was already in libc/stdio, and was
14017 colliding with this one (pr 2176.)
14018 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
14019 the wrong idea anyhow.
14020
14021Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
14022
14023 * configure.in: Remove h8300h, we have multilib now.
14024
14025Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
14026
14027 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
14028 functions, to get preference over the ones in libiberty (since we
14029 provide correct declarations in <string.h>.
14030 * libc/string/Makefile.in: add support for strncasecmp,
14031 strcasecmp.
14032
14033Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
14034
14035 * Change netware config not to look for cpu explicitly.
14036
14037Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
14038
14039 * libc/sys/sparc64/{creat.c,junk.c}: New files.
14040 * libc/sys/sparc64/Makefile.in: Add dependencies.
14041
14042Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
14043
14044 * configure.in: Clean up v9 a bit, new "os" aoutv8.
14045
14046Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
14047
14048 * libc/include/sys/reent.h: make structure smaller by allocating
14049 some stuff when needed.
14050 * libc/signal/signal.c: allocate as needed
14051 * libc/stdio/findfp.c,stdio/local.h: ditto
14052 * libc/stdlib/mprec.c: ditto
14053
14054 * libc/time/localtime.c: don't return a dangling stack ptr.
14055
14056Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
14057
14058 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
14059
14060Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14061
14062 * libc/include/stdio.h (__sputc): comment out static inline which
14063 confuses coff toolchains.
14064
14065Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
14066
14067 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
14068 _write.s, getpid.c, kill.c, read.s}:
14069 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
14070 through the syscalls directory.
14071
14072Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
14073
14074 * configure.in: fixed double quote gotcha.
14075
14076Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
14077
14078 * stub/ex931: stub library for sparclite board.
14079 * stub/idp: Renamed from mc68ec. Added contructor table
14080 stuff to linker script.
14081 * stub/mvme135: Renamed from m68kmvme. Added contructor table
14082 stuff to linker script.
14083
14084Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14085
14086 * configure.in: Configure testsuites only if they exist.
14087
14088Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14089
14090 * configure.in: Don't set machine_dir for i386 until there is
14091 something in libc/machine/i386 to compile. For i[34]86-*-netware*
14092 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
14093 CLOCK_PROVIDED and MALLOC_PROVIDED.
14094
14095 * libc/sys/netware: New directory. Contains simplistic and
14096 probably incorrect stubs for NetWare. Should be enough to load
14097 the library.
14098 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
14099 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
14100 stub files.
14101
14102 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
14103 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
14104 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
14105 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
14106
14107Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
14108
14109 * testsuite/Makefile.in: add "docs" dummy target for consistency
14110 with rest of newlib; turn "info" and "install-info" into dummy
14111 targets, since they wouldn't have worked. (Depended on
14112 nonexistent "doc" subdir.)
14113
14114Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
14115
14116 * configure.in: handle mips* instead of mips
14117
14118Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
14119
14120 * libc/include/sys/dirent.h: New file. If it is not overridden by
14121 a version of libc/sys/*/sys/dirent.h, it includes the next
14122 <dirent.h> file in case there is one lurking somewhere.
14123
14124Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14125
14126 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
14127 compliance, namely: Accept a minus sign. Consider a single 0 with
14128 a radix of 0 as being a conversion. Determine overflow correctly.
14129 If an overflow occurs, set *ptr to the end of the number, not the
14130 middle.
14131 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
14132
14133Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
14134
14135 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
14136
14137Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
14138
14139 * Makefile.in (INSTALL): Use $srcrootpre.
14140 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
14141 can't handle it.
14142 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
14143 it.
14144 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
14145 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
14146 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
14147 * libm/math/Makefile.in (matherr.o): Ditto.
14148
14149Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14150
14151 * configure.in: Build multidirs for z8k.
14152 * libc/include/stdlib.h (_strtoul_r): add prototype.
14153 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
14154 * libc/include/machine/setjmp.h: Add for z8k.
14155 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
14156 * libc/sys/z8ksim/glue.c: tidy up.
14157
14158Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
14159
14160 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
14161 New files. Requires execve system call.
14162 * libc/unix/Makefile.in: Use them.
14163 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
14164 Deleted, moved to libc/unix.
14165 * libc/sys/sparc64/Makefile.in: Remove them.
14166
14167Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
14168
14169 * libc/sys/sparc64/{template.S template_r.S}: New files.
14170 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
14171 from templates.
14172 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
14173 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
14174 umask.S unlink.S wait4.S write.S}: Removed, now built from
14175 templates.
14176
14177Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
14178
14179 * libc/time/time.c: #include <_ansi.h>.
14180
14181Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
14182
14183 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
14184
14185Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14186
14187 * configure.in: match m8* rather than m88k so that m88110 is
14188 recognized as well.
14189
14190Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
14191
14192 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
14193 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
14194 misc.c: New file.
14195
14196 * configure.in: Add multilib support to h8300.
14197
14198Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
14199
14200 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
14201 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
14202 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
14203
14204Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14205
14206 * configure.in: Corrected multidirs for sparc target.
14207
14208Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14209
14210 Support for building newlib multiple times with different
14211 compilation flags.
14212 * configure.in: Only configure doc at top level. Set multidirs
14213 when appropriate for target, unless not at top level. If
14214 multidirs is set, independently configure each subdirectory.
14215 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
14216 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
14217 automagically set by configure.in.
14218 (all): If MULTIDIRS is set, build multiple copies of libraries.
14219 (install): If MULTIDIRS is set, install multiple copies of
14220 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
14221 MULTISUBDIR is set, don't bother to install header files.
14222 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
14223 ${srcrootpre}.
14224 * stub/configure.in: Set MULTISUBDIR appropriately.
14225 * stub/Makefile.in (install): Install in
14226 $(tooldir)/lib/$(MULTISUBDIR).
14227 * All Makefile.in files: Define SRCTOP as well as TOP.
14228
14229Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
14230
14231 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
14232 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
14233
14234Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
14235
14236 * libc/sys/h8300hms/exit.c (_exit): New function.
14237
14238Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14239
14240 * configure.in: recognize m88110.
14241
14242Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14243
14244 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
14245 prototype main and call with args.
14246
14247Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
14248
14249 First real try at system traps for m88k-bug.
14250 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
14251 to real trap calls.
14252 * libc/sys/m88kbug/sys/systraps.h: new file.
14253
14254Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14255
14256 Patches to fix info building when target does not use sys
14257 directory.
14258 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
14259 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
14260 libc/sys.tex.
14261 * libc/sys/Makefile.in (doc): do nothing.
14262
14263Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14264
14265 * libc/Makefile.in (CRT0): new macro.
14266 (all): depend on $(CRT0) rather than crt0.o.
14267
14268 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
14269 do not default crt0, instead, set crt0 and crt0_dir based on
14270 sys_dir and stub_dir.
14271
14272 * Makefile.in (CRT0_DIR): new macro.
14273 (all): depend on $(CRT0) rather than crt0.o which may not exist.
14274 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
14275 $(CRT0).
14276 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
14277
14278Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14279
14280 * testsuite/lib/libm.exp:
14281 added code to support compiling and linking of tests for
14282 libm.sac (paranoia to be added next) and processing the
14283 pass or failure of the tests.
14284
14285 * testsuite/config/unix-libm.exp:
14286 platform specific proc's for dealing with compiler, linker
14287 and the way we execute and process the test results.
14288
14289 * testsuite/libm.sac/execute.exp:
14290 generic framework for the sac tests. the config and lib
14291 expect code for specific platforms tie it all together.
14292
14293 * testsuite/libm.sac/test_is.c:
14294 changed the output of the test to be consistant with the
14295 other tests. parsing of pass nad fail messages is now fixed.
14296
14297Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
14298
14299 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
14300 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
14301 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
14302 #ifdef __cplusplus, surround by extern ""C { ... }.
14303 * libc/include/assert.h: Do *not* protect assert.h against
14304 multiple inclusion! Also, #undef it before #define, to allow
14305 redefinition.
14306 * libc/include/stdio.h (getlogin, cuserid): Removed. These
14307 should be only in unistd.h.
14308
14309 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
14310 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
14311 ... }.
14312
14313Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
14314
14315 * libc/machine/sparc/Makefile.in: Must create a library, even
14316 if empty.
14317
14318Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14319
14320 * configure.in: set machine_dir for m88k. edit crt0 definition
14321 into makefiles.
14322
14323 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
14324
14325 * libc/Makefile.in (all): also build crt0.o.
14326
14327 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
14328 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
14329 to remove CRT0.
14330
14331 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
14332 (all): reworked to build in place.
14333 (clean): remove lib.a
14334 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
14335
14336 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
14337 (_start): key off edata rather than _start_bss.
14338
14339Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
14340
14341 * libc/include/sys/unistd.h, libc/include/reent.h,
14342 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
14343
14344Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14345
14346 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
14347
14348 * Makefile.in (libc.a): break into two rules, one for libc.a and
14349 one for libc/libc.a. Force subdirs current before rebuilding
14350 library.
14351 (libm.a): break into two rules, one for libm.a and one for
14352 libm/libm.a. Force subdirs current before rebuilding library.
14353
14354 * libc/Makefile.in (SUBLIBS): fix typo.
14355
14356 * libc/sys/Makefile.in (all): force descent into subdirs, then
14357 rebuild library iff out of of date.
14358
14359Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14360
14361 Rework so that library is built and then finished rather than
14362 being built on each invocation of make.
14363
14364 * host/any (machine_dir, sys_dir, signal_dir): these are not
14365 shared and have been moved to their associated Makefile.in's.
14366 (AR_FLAGS): switch to qc which is faster.
14367 * configure.in: no longer assign machine_dir for m88k. set
14368 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
14369 stub_dir set, then add to configdirs. add comment about silly
14370 configuration.
14371 (configdirs): drop stub. It will be added only
14372 when needed.
14373 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
14374 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
14375 stub_lib, crt0): new variables for tailoring lower level
14376 makefiles. Assign accordingly and edit into makefiles.
14377 * libm/Makefile.in: updated copyright.
14378 (TARGETLIB): removed.
14379 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
14380 (SUBDIRS): removed TARGETDEP_DIRS.
14381 (LIBM_FP_LIB, SUBLIBS): new macros.
14382 (all): reworked.
14383 (force): new target to force rebuilds.
14384 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14385 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
14386 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
14387 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
14388 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
14389 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
14390 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
14391 stub/m68kmvme/Makefile.in: updated copyright.
14392 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
14393 (all): reworked. made this the default rule.
14394 (clean): also remove lib.a.
14395 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14396 * stub/Makefile.in: updated copyright.
14397 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
14398 (stub_lib): new macro.
14399 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
14400 RANLIB.
14401 (all): reworked.
14402 (clean, install): assume stub_dir exists.
14403 (Makefile): depend on configure.in. call $(SHELL) rather than
14404 sh. drop redundant ./
14405 * stub/configure.in (stublib): new macro, assign it, edit it into
14406 makefiles.
14407 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
14408 updated copyright.
14409 (all): reworked.
14410 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14411 * libc/Makefile.in (TARGETCRT0): removed.
14412 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
14413 TARGETCRT0.
14414 (SUBDIRS): drop TARGETDEP_DIRS.
14415 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
14416 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
14417 (force): new target to force rebuilds.
14418 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
14419 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
14420 removed.
14421 (clean): assume sys_dir always exists.
14422 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
14423 drop redundant ./
14424 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
14425 libc/locale/Makefile.in, libc/machine/Makefile.in,
14426 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
14427 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
14428 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
14429 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
14430 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
14431 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
14432 libc/signal/Makefile.in, libc/stdio/Makefile.in,
14433 libc/stdlib/Makefile.in, libc/string/Makefile.in,
14434 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
14435 libc/time/Makefile.in, libc/unix/Makefile.in,
14436 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
14437 (TARGETLIB): removed.
14438 (all): reworked.
14439 (clean): also remove lib.a.
14440 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14441 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
14442 new macros.
14443 (SUBDIRS): moved to follow frag inclusion, change stub to
14444 stub_dir.
14445 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
14446 are now set in the libc Makefile.
14447 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
14448 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
14449 TARGETCRT0.
14450 (force): new target to force rebuilds.
14451 * stub/configure.in: determine and set stub_lib for for Makefile.
14452
14453Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
14454
14455 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
14456 crt0.s renamed to crt0.S.
14457 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
14458
14459 * libc/machine/h8300/Makefile.in: Make `all' the default target.
14460 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
14461 h8300h.
14462 * libc/machine/h8300/defines.h: Add macros to handle pointers for
14463 h8300 (16 bits) and h8300h (32 bits).
14464 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
14465 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
14466
14467Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
14468
14469 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
14470 implementation of setjmp and longjmp for the m88k.
14471 * libc/include/machine/setjmp.h: Added __m88000__ case.
14472
14473Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
14474
14475 * configure.in: Recognize h8300h as variant of h8300.
14476
14477Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14478
14479 * libc/include/sys/unistd.h (read, write): get prototypes right.
14480 (sbrk): New prototype.
14481 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
14482 * libc/stdio/local.h: Include unistd.h.
14483 * libc/machine/h8300/syscalls.c: Names have changed.
14484
14485Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
14486
14487 * configure.in: add sys_dir assignment for m88k-bug.
14488
14489Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
14490
14491 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
14492 a.out or elf.
14493 * libc/sys/sparc64: all *.S files: Use new macros.
14494 * libc/sys/sparc64/isatty.c: New file.
14495 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
14496 functions beyond what newlib provides.
14497
14498Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
14499
14500 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
14501 svr4.
14502
14503Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
14504
14505 * libc/include/machine/ieeefp.h: Add support for h8/300h.
14506
14507Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
14508
14509 * configure.in: add m88k.
14510 * libc/include/machine/ieeefp.h: add case for m88k. Also add
14511 sanity check so no one else need ever chase what I did to find
14512 this.
14513
14514 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
14515
14516Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
14517
14518 * doc/makedoc.c: Include <ctype.h>.
14519
14520Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
14521
14522 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14523 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14524 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14525
14526 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
14527
14528Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
14529
14530 * libc/include/errno.h (ENOSYS): Added.
14531
14532 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
14533
14534Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14535
14536 * libc/stdio/fflush.c (fflush): Check for reent struct
14537 initialization.
14538 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
14539
14540Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
14541
14542 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
14543 out of dtoa.c so it doesn't pollute the namespace.
14544 * libc/include/_syslist.h: new file -- mappings from _function to
14545 function, for systems where we can't win (by default, all of them,
14546 until we start updating system calls.)
14547 * libc/syscalls: new directory -- stubs for exporting _function
14548 names as unmodified function names.
14549 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
14550 _syslist.h on all platforms by default, but put hooks in for
14551 fake_sys_dir so we can include it when we've renamed the system
14552 calls.
14553 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
14554 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
14555 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
14556 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
14557 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
14558 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
14559 non ANSI functions to call _function.
14560
14561Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
14562
14563 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
14564 when base 16 is specified. Don't accept non-digits if radix > 10.
14565
14566Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
14567
14568 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
14569
14570Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14571
14572 * libc/include/sys/stat.h: Surround text after #endif with
14573 comments.
14574
14575Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
14576
14577 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
14578 _malloc_r, _realloc_r, and free_r call the corresponding
14579 non-reentrant functions.
14580
14581 * libm/math/modf.c (modf): We now take the address of ipart, so
14582 don't make it a register variable.
14583
14584Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
14585
14586 * libm/math/*: Rename all xxx_r fns to _xxx_r.
14587
14588Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
14589
14590 * libc/libc.texinfo and embedded docn throughout: formatting
14591 improvements, minor rephrasing for clarity, and improved
14592 reentrancy docn.
14593
14594Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14595
14596 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
14597
14598 * libc/stdio/cvt.c (_licvt): Print the right value on machines
14599 where sizeof(int) != sizeof(long).
14600
14601Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14602
14603 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
14604 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
14605 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
14606 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
14607 libm/math/matherr.c: changes for better docn formatting (info).
14608
14609 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
14610 libc/reent/reent.tex, libc/signal/signal.tex,
14611 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
14612 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
14613 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
14614 makeinfo node defaulting to get better Info file node structure.
14615 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
14616 Also include a few formerly missing sections (subroutines).
14617
14618 * doc/doc.str: delete fossil expansion for "func"
14619
14620 * default.menu, no-signal.menu: delete.
14621
14622 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
14623 method used to adjust doc for missing "signals" chapter when
14624 signal_dir is empty.
14625
14626Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14627
14628 * configure.in: added testsuite/libm.sac
14629
14630Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
14631
14632 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
14633 code model).
14634
14635Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
14636
14637 * libm/Makefile.in: Use $(MAKE) rather than make, and define
14638 MAKEOVERRIDES to be empty.
14639
14640Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
14641
14642 * configure.in: Don't build mips-*-* with -msoft-float, since that
14643 makes it incompatible with hard floating point.
14644
14645Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14646
14647 * Makefile.in: added recursive 'make check'
14648
14649Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14650
14651 * configure.in: added ./testsuite ./testsuite/libm.paranoia
14652 * ./testsuite/Makefile.in: created
14653 * ./testsuite/libm.paranoia: paranoia tests added
14654
14655Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
14656
14657 * configure.in: For mips-*-* set machine_dir to mips.
14658
14659 * libc/machine/mips: New directory.
14660 * libc/machine/mips/Makefile.in: New file.
14661 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
14662 setjmp and longjmp.
14663 * libc/include/machine/setjmp.h: Added __mips__ case.
14664
14665 * libc/machine/lmips: Removed unused and useless directory.
14666
14667Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
14668
14669 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
14670
14671Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
14672
14673 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
14674 start up).
14675
14676Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
14677
14678 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
14679 SETJMP_H.
14680
14681Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
14682
14683 * libm/test/convert.c: structure member errno -> errno_val.
14684 Must include <errno.h> to use errno, it's a macro now.
14685 * libm/test/math.c: Ditto.
14686 * libm/test/math2.c: Include errno.h.
14687 * libm/test/string.c: Ditto.
14688 * libm/test/test.h: structure member errno -> errno_val.
14689 Remove extern int errno decl.
14690
14691Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
14692
14693 * libc/stdio/Makefile.in: Added dependencies on local header
14694 files.
14695 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
14696 files.
14697
14698Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
14699
14700 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
14701
14702Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
14703
14704 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
14705 Initialize _data.
14706
14707 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
14708 * libc/stdio/local.h: Add prototype for _licvt.
14709
14710 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
14711 instead of malloc,reealloc.
14712
14713 * libc/stdlib/local.h: New file.
14714 * libc/stdlib/efgcvt.c: #include local.h.
14715 (gcvt): Fix call to _gcvt.
14716 * libc/stdlib/ecvtbuf.c: #include local.h.
14717
14718 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
14719 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
14720 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
14721
14722 * libc/stdlib/atexit.c: moved global data to struct _reent.
14723 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
14724
14725 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
14726
14727Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
14728
14729 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
14730 here from ../reent.h.
14731
14732Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
14733
14734 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
14735 should be provided in both libc.a and libm.a.
14736 (libc.a): Depend on targ-include and libm.a. Copy
14737 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
14738 (libm.a): Depend on targ-include.
14739 * configure.in (subdirs): Removed libc/math.
14740
14741Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14742
14743 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
14744
14745Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
14746
14747 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
14748 sys/reent.h instead of reent.h.
14749 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
14750 headers moved to sys/reent.h.
14751 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
14752 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
14753 __need__MAX_SIGNALS defined.
14754 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
14755 std{in,out,err} refer to new _std{in,out,err} members.
14756
14757Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
14758
14759 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
14760 case.
14761
14762Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
14763
14764 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
14765 rather than whatever macro seterrno() has.
14766
14767Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
14768
14769 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
14770 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14771
14772 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
14773 __STDC__.
14774
14775 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
14776 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
14777 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14778
14779 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
14780 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14781
14782 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
14783 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14784 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14785 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
14786 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
14787 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
14788 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
14789 renamed to _xxx_r. struct reent_struct renamed to struct _reent
14790 for ANSI. structure members given leading "_" for ANSI. Use
14791 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14792
14793 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
14794 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
14795 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
14796 reent_struct renamed to struct _reent for ANSI.
14797 Structure members given leading "_" for ANSI.
14798 _CONST --> const in prototypes.
14799 Use _HAVE_STDC instead of __STDC__.
14800
14801 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
14802 _xxx_r.
14803 struct reent_struct renamed to struct _reent for ANSI.
14804 Structure members given leading "_" for ANSI.
14805
14806 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
14807 _xxx_r.
14808 struct reent_struct renamed to struct _reent for ANSI.
14809
14810 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
14811 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
14812 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
14813 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
14814 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
14815
14816 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
14817 signal.h, stdio.h, stdlib.h, string.h, time.h}:
14818 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14819 #ifndef _STRICT_ANSI non-ANSI routines.
14820 Reentrant routines renamed from _r_xxx to _xxx_r.
14821 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
14822 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
14823 Clean up namespace (structure members have leading "_").
14824 struct reent_struct renamed to struct _reent for ANSI compliance.
14825 _CONST --> const in function prototypes.
14826
14827 * libc/include/string.h: Add NULL and size_t.
14828
14829 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
14830 unlink, wait, wait4. Reentrant syscall routines close, fork,
14831 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
14832 write.
14833 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
14834 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
14835 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
14836 write.S}: Define reentrant versions.
14837 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
14838 reentrant syscalls.
14839
14840 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
14841
14842 * libc/include/stdlib.h (RAND_MAX): Fix value.
14843
14844Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
14845
14846 * libc/sys/a29khif/_main.c: Removed unnecessary file.
14847 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
14848 VPATH support targets after all: target.
14849
14850 * stub/mvme135/mvme.S: Renamed exceptionhandler to
14851 exceptionHandler, which is what mvme135-stub.c expects.
14852
14853Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
14854
14855 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
14856
14857 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
14858 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
14859 compliant).
14860
14861Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
14862
14863 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
14864 first.
14865 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
14866 _r_write): Ditto.
14867 libc/reent/fstatr.c (_r_fstat): Ditto.
14868 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
14869 libc/reent/sbrkr.c (_r_sbrk): Ditto.
14870 libc/reent/statr.c (_r_stat): Ditto.
14871
14872 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
14873 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
14874 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
14875 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
14876 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
14877 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
14878 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
14879 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
14880 (__swrite): Ditto for _r_lseek, _r_write.
14881 (__sseek): Ditto for _r_lseek.
14882 (__close): Ditto for _r_close.
14883 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
14884
14885 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
14886 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
14887
14888 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
14889 to make reent_struct the first argument (and thus consistent with
14890 the rest of newlib).
14891
14892 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
14893 reference to __STDC__.
14894
14895Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
14896
14897 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
14898 global __cleanup.
14899
14900Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
14901
14902 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
14903 first.
14904 libc/stdio/fclose.c (fclose): Ditto.
14905
14906Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
14907
14908 * Run through indent and rename reentrant routines for ANSI.
14909 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
14910 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
14911 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
14912 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
14913 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
14914 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
14915 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
14916 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
14917 vsprintf.c wbuf.c wsetup.c local.h}
14918
14919 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
14920
14921 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
14922 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
14923 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
14924 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
14925 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
14926 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
14927
14928 * Run through indent.
14929 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
14930 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
14931 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
14932 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
14933 strxfrm.c}
14934
14935 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
14936 localtime.c mktime.c strftime.c time.c}:
14937 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
14938
14939 * Reformatting + renaming (for ANSI, GNU style, consistency).
14940 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
14941 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
14942 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
14943
14944Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
14945
14946 * libc/include/stdio.h (stdin_r): Fix.
14947
14948Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
14949
14950 * Makefile.in: Unexport some variables to keep GNU make from
14951 putting them in the environment and using up needed ARG_MAX space
14952 (a hack is used to let this work with older makes as well).
14953
14954Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
14955
14956 * Makefile.in: Use $(MAKE) rather than make.
14957 (MAKEOVERRIDES): Define to be empty.
14958 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14959 (libc.a, libm.a): Depend on targ-include.
14960 * host/any (LD): Don't define.
14961 (INCLUDES): Use targ-include.
14962 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
14963 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14964 * libc/Makefile.in: Use $(MAKE) rather than make.
14965 (MAKEOVERRIDES): Define to be empty.
14966 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14967 (all): Rewrote to be slightly smaller.
14968 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
14969 Define to be empty.
14970 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14971 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
14972
14973Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
14974
14975 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
14976 with errno/errno.c.
14977
14978Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
14979
14980 * Changes for reentrancy.
14981 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
14982 Use ptr->_errno, not errno.
14983 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
14984 libc/stdio/remove.c (remove_r): New function.
14985 libc/stdio/rename.c (rename_r): New function.
14986 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
14987 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
14988 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
14989 reentrant versions of system calls.
14990 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
14991 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
14992 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
14993 libc/stdio/findfp.c: Include <string.h>.
14994 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
14995 "local.h".
14996 libc/stdio/wbuf.c: Include "fvwrite.h"
14997
14998 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
14999 <string.h>.
15000 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
15001 (NULL): Don't define if already defined.
15002 libc/stdlib/system.c: Call reentrant versions of system calls.
15003 (system_r): New function.
15004
15005 * Changes for reentrancy.
15006 libc/include/_ansi.h (_PARAMS): New macro.
15007 libc/include/errno.h: Define errno as a macro that calls __errno.
15008 (__errno_r): New macro for reentrant code.
15009 libc/include/math.h: Include reent.h. Declare many reentrant
15010 functions.
15011 (signgam): Now a macro, not a variable.
15012 (struct exception): Added err field.
15013 libc/include/reent.h: Don't declare __sglue. Added function
15014 declarations.
15015 (struct reent_struct): Moved errno to beginning. Added _signgam.
15016 libc/include/stdio.h, libc/include/stdlib.h: Added function
15017 declarations.
15018
15019 * More reentrancy hacking.
15020 libc/errno/errno.c (__errno): New function.
15021 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
15022 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
15023 files.
15024
15025 * Added many new reentrant functions to libm/math/*.
15026 libm/math/error.c (__matherror): Added reent_struct pointer
15027 argument. Changed all callers.
15028 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
15029 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
15030 libm/math/tan.h: Removed obsolete unused header files.
15031
15032 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
15033
15034 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
15035
15036Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15037
15038 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
15039 delay slots.
15040
15041Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15042
15043 * libc/libc.texinfo: comment out reentrancy chapter (duh)
15044
15045Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15046
15047 * libc/reent/reent.tex: New file. (text from
15048 newlib/libc/libc.texinfo)
15049 * libc/stdio/tmpnam.c: fixed doc typo
15050 * libc/stdlib/rand.c: fixed doc typo
15051
15052Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15053
15054 * libc/reent/reent.tex: New file. (text from
15055 newlib/libc/libc.texinfo)
15056
15057Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15058
15059 support for reentrancy
15060 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
15061 new files
15062 * libc/errno/errno.c, libc/include/ieeefp.h,
15063 libc/include/locale.h, libc/include/reent.h,
15064 libc/include/signal.h, libc/include/stdio.h,
15065 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
15066 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
15067 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
15068 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
15069 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
15070 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
15071 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
15072 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
15073 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
15074 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
15075 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
15076 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
15077 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
15078 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
15079 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
15080 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
15081 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
15082 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
15083 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
15084 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
15085 libc/time/strftime.c: modify to provide reentracy.
15086
15087 new routines:
15088 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
15089 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
15090 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
15091 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
15092 mstats_r, realloc_r, localeconv_r, setlocale_r
15093
15094Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
15095
15096 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
15097 libc/include/sys/config.h, libc/include/sys/signal.h,
15098 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
15099 provided macros (such as m68000), use the ansi version
15100 (__m68000__) so that the library can be used with code compiled
15101 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
15102 and sparc.
15103
15104Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
15105
15106 * configure.in (sparc*): Don't set -fsoft-float for sparc
15107 configurations. Do set -fsoft-float for sparclite configurations.
15108
15109Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
15110
15111 * default.menu, no-signal.menu: alternate forms of libc main menu
15112 (in newlib rather than newlib/libc due to configuration restrictions)
15113
15114 * configure.in: select one of the two menus above, link to
15115 libc.menu
15116
15117 * libc/libc.texinfo: include menu from separate file
15118
15119Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
15120
15121 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
15122 (info): Split long shell command in half.
15123 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
15124 sub-makes, just CHEW and TARGETDOC.
15125 (targetdep.tex): Removed now special handling of sys and machine
15126 subdirectories, made obsolete some time ago.
15127 * libc/machine/Makefile.in (doc): Don't pass everything to
15128 sub-make, just CHEW and TARGETDOC.
15129 (Makefile): New target.
15130 * libc/sys/Makefile.in (Makefile): New target.
15131
15132Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
15133
15134 * Makefile.in (here and most subdirectories): Only pass down CHEW
15135 and TARGETDOC when making info, not for other targets.
15136
15137 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
15138 $(AR_FLAGS) rather than $(ARUPDATE).
15139
15140Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
15141
15142 * Try to reduce command line length:
15143 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
15144 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
15145 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
15146 (info): Pass CHEW to other subdirs.
15147
15148Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
15149
15150 * configure.in: add signal_dir, like unix_dir, but by default it
15151 is set to "signal" so that a29khif can turn it off (since a29khif
15152 has raise() as part of machine-specific signal.s.)
15153
15154Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15155
15156 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
15157 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
15158 correctly.
15159 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
15160 libc/stdio/vfprintf: type lint.
15161 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
15162 initialzation code.
15163 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
15164
15165Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
15166
15167 * stub/mvme135/mvme135-asm.S: new file.
15168 stub/mvme135mvme135-stub.c: moved all assembler routines into
15169 mvme135-asm.S.
15170 stub/mvme135/Makefile.in: build mvme135-stub.o.
15171
15172Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
15173
15174 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
15175 sub-Makefiles instead, to try to avoid line length limitations.
15176
15177Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
15178
15179 * libc/include/unistd.h (read, write): Use void* instead of
15180 char*.
15181
15182Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
15183
15184 * stub/go32/resetpc: sample script to send a reset packet to the
15185 stub
15186
15187 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
15188 DOS environment, which compiles with Turbo C.
15189
15190 * stub/go32/DSER32.LNK: new file, linker commands for serial
15191 remote stub.
15192
15193 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
15194 start up message to identify version; call set_debug_traps.
15195
15196 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
15197 keyboard interaction); call handle_exception() in go_til_stop,
15198 rather than return, so that the remote stub gets control.
15199
15200 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
15201 rename, rather than mv), set flags that work with current Turbo C,
15202 including using the /3 flag; also, add commands to build dser32.
15203
15204 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
15205 default Turbo C installation (\tc rather than \usr)
15206
15207 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
15208 "&..."
15209
15210Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15211
15212 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
15213
15214Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15215
15216 * libc/stdio/cvt.c (licvt): new function to convert ints when
15217 sizeof(int) != sizeof(long).
15218
15219 * libc/include/stdio.h: added prototype for iprintf.
15220 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
15221
15222Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
15223
15224 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
15225 __REGISTER_PREFIX__.
15226
15227Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
15228
15229 * libc/sys/m68kbare: moved into stub directory.
15230
15231Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
15232
15233 * configure.in, Makefile.in: created new directory stub, to hold
15234 sample code for specific targets.
15235
15236Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
15237
15238 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
15239 in the unified libc/include/sys/fcntl.h.
15240
15241Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
15242
15243 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
15244 printed .01, not 0.01.
15245
15246Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
15247
15248 * configure.in: compile with -m68000 for m68* targets.
15249
15250Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
15251
15252 * libm/math/remainder.c (remainder): document the svr4 and sunos
15253 references used to construct the function.
15254
15255Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
15256
15257 * libm/math/remainder.c (rint, remainder): fix old typos.
15258 * libm/math/Makefile.in: actually build remainder.c (functions
15259 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
15260 page.)
15261
15262Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
15263
15264 * libc/string/bcopy.c: BSD version works on overlapping strings,
15265 so ours should too.
15266
15267 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
15268 ("SHELL").
15269
15270Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
15271
15272 * Makefile.in (docs): new target.
15273
15274Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
15275
15276 * libc/include/sys/times.h: define clock_t as required by POSIX.
15277 libc/include/time.h: protect clock_t from multiple definitions.
15278
15279Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15280
15281 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
15282 does not need more than the original three iterations to get
15283 within 1 ulp. (Paranoia tests for rounding to better than that,
15284 but further iterations *don't* help, only more subtle changes
15285 can.)
15286
15287Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
15288
15289 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
15290 were doing nothing useful.
15291
15292Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
15293
15294 * configure.in: define MALLOC_PROVIDED for vxworks targets;
15295 removed sys_dir settings of vxworks68 and vxworks960.
15296 host/any: don't pass -nostdinc to gcc, since newlib no longer
15297 provides all required header files.
15298
15299 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
15300 is not defined; this provides a hook for VxWorks.
15301
15302Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15303
15304 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
15305 buffer if buf is NULL, don't do it here -- it is already being
15306 done by makebuf elsewhere in stdio.
15307
15308Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
15309
15310 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
15311 that C programs can call functions without using initial
15312 underscores.
15313
15314Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
15315
15316 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
15317
15318Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
15319
15320 * configure.in: set TARGET_CFLAGS for certain CPU types to
15321 -msoft-float.
15322
15323Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15324
15325 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
15326
15327Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
15328
15329 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
15330 m68k*-unknown-coff.
15331
15332Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
15333
15334 * libc/include/stdio.h: define __need___va_list before including
15335 <stdarg.h>, to avoid defining va_arg, et. al.
15336
15337Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
15338
15339 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
15340 (don't cd to the user's home directory).
15341
15342 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
15343 In general this is the wrong thing to do, but I can't get around
15344 GNU make's insistence on passing command line arguments any other
15345 way.
15346
15347Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
15348
15349 * configure.in: always configure the libc/sys directory, since it
15350 now provides a required documentation file.
15351
15352 * Makefile.in: replaced all instances of $(MAKE) with make. In
15353 general this is the wrong thing to do, but I can't get around GNU
15354 make's insistence on passing command line arguments any other way.
15355
15356Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
15357
15358 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
15359 terminated.
15360
15361 * libc/stdio/local.h: include <stdarg.h> to define va_list.
15362 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
15363
15364 * libc/include/float.h, libc/include/stdarg.h,
15365 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
15366 versions instead.
15367 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
15368 <stdarg.h>, not from <machine/types.h>. Protect definition of
15369 NULL.
15370 libc/include/time.h: get size_t from stddef.h. Protect definition
15371 of NULL.
15372 libc/include/machine/limits.h: override gcc <limits.h> by defining
15373 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
15374 get correct INT_MIN and LONG_LONG values.
15375 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
15376 size_t or va_list at all; they're now gotten from stddef.h
15377 instead.
15378 libc/include/machine/varargs.h: removed; use gcc version instead.
15379 libc/include/sys/types.h: explicitly include <machine/types.h>.
15380
15381 * libm/math/sqrt.h: using the fp-bit routines appears to require
15382 more iterations.
15383
15384 * Makefile.in, host/any: let system include files override machine
15385 include files.
15386
15387Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15388
15389 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
15390 override _*_T_ definitions defaulted here.
15391
15392Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
15393
15394 * Makefile.in (install): install the include files in
15395 $(tooldir)/include, not $(exec_prefix)/include.
15396
15397Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
15398
15399 * Makefile.in (install): fixed typo, and changed install to not
15400 force rebuild of libc.a and libm.a.
15401
15402Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
15403
15404 * libc/sys/a29khif/*: Changed all .include's to include
15405 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
15406 that they will be installed for the user.
15407
15408 * Makefile.in (all): create targ-include, a directory holding the
15409 machine and system specific header files during the build.
15410 (install): fixed installation of machine and system specific
15411 header files.
15412
15413 * Makefile.in: fixed comment.
15414 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
15415 we can pass $(INCLUDES) to it.
15416
15417Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
15418
15419 * libc/include/sys/param.h: new generic file, which may be
15420 overridden for specific systems.
15421
15422 * libc/include/sys/signal.h: define all ANSI signal names, and
15423 NSIG (which is not ANSI) for a29k.
15424
15425Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
15426
15427 * Makefile.in: don't pass down arguments the lower level makes
15428 will not need.
15429 * libc/Makefile.in: recurse directly, rather than using subdir_do,
15430 in hopes of avoiding argument length limits.
15431 * libm/Makefile.in: recurse directly, rather using subdir_do, in
15432 hopes of avoiding argument length limits.
15433
15434Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
15435
15436 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
15437 mode_t is defined.
15438
15439Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
15440
15441 * Fixed make info and make install-info for newlib, changing most
15442 Makefile.in and several *.tex files. Moved doc directory from
15443 libc to top level.
15444
15445 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
15446 Should be rewritten.
15447
15448 * libc/string/strings.tex: renamed node index to node index
15449 function, so that it does not conflict with the top level index
15450 node.
15451
15452 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
15453
15454Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
15455
15456 * Overhauled general configuration for newlib. Eliminated all
15457 target dependent Makefile fragments. Create libraries in newlib
15458 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
15459 than CROSS_CC, et. al. Broke make docs; will fix later.
15460
15461 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
15462 Should be rewritten.
15463
15464Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
15465
15466 * libc/configure.in: cleaned up somewhat; switch on ${target}
15467 rather than ${target_alias}.
15468 * libm/configure.in: cleaned up somewhat; switch on ${target}
15469 rather than ${target_alias}.
15470
15471 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
15472 * libc/include/ctype.h: marked _ctype_ as _CONST.
15473
15474 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
15475 _CONST.
15476
15477 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
15478 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
15479 libc/stdio/gets.c (gets): removed non-ANSI warning message.
15480 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
15481
15482 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
15483 bigtens, tinytens): marked arrays _CONST.
15484 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
15485 rather than a static variable.
15486
15487 * libc/time/asctime.c (asctime), libc/time/localtime.c
15488 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
15489 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
15490 mname_len, mname): Marked static arrays _CONST.
15491
15492 * libm/math/gamma.h: made local variables non-static.
15493
15494 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
15495 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
15496 _CONST.
15497
15498 * libm/math/constants.c: removed file, because the constants it
15499 defined were never referenced.
15500 libm/math/Makefile.in: removed references to constants.c.
15501 libm/math/mathimpl.h: removed declarations of constants.
15502
15503Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
15504
15505 * libc/include/machine/varargs.h: only call __builtin_saveregs if
15506 it is sensibly defined in libgcc2. Checks preprocessor defines,
15507 which is not a good solution.
15508
15509 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
15510
15511 * libm/frexp.c: handle denormalized numbers as arguments.
15512
15513 * libm/math/Makefile.in: added some dependencies for .c files
15514 which include local .h files.
15515
15516Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
15517
15518 * libc/configure.in: set target_alias for OSE*. Replace
15519 target_makefile_frag if it is blank.
15520
15521 * libc/Makefile.in: make sure everything is passed to subsidiary
15522 makes; create all directories when installing.
15523
15524 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
15525 CROSS_ARUPDATE instead of AR.
15526
15527 * libm/configure.in: set target_alias for OSE*. Replace
15528 target_makefile_frag if it is blank.
15529
15530 * libm/Makefile.in: make sure everything is passed to subsidiary
15531 makes; create all directories when installing.
15532
15533Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
15534
15535 * add following change from libc copy.
15536
15537Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15538
15539 * libc/libc.texinfo: make copyright disclaimers appear on back of
15540 title page; make format of same slightly less ugly; avoid using
15541 underbars in section headings (avoids nasty texinfo bug in table
15542 of contents).
15543
15544 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
15545 comments only) avoid using underbars in section headings
15546
15547 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15548 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
15549 changes in comments only): shorten headings ieeefp/infinity.c,
15550 ieeefp/isnan.c: (doc, comments only) more informative headings
15551
15552 * libc/math/bessel.c: (doc, comments only) shorten heading
15553
15554 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
15555 (doc, comments only) shorten headings
15556
15557 * libc/time/localtime.c (doc, comments only): shorten headings
15558
15559 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15560 isnan
15561 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
15562 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
15563 headings
15564 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
15565 only) more informative headings
15566 * libm/math/bessel.c: (doc, comments only) shorten heading
15567
15568Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15569
15570 * .../Makefile.in: use CROSS_ARUPDATE consistently.
15571 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
15572 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
15573 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
15574 defined, the one from the .mt file will be correct.
15575 * libc/include/machine, libc/include/sys: created, and populated
15576 with common files from machine/*/machine. ifdefs were used for
15577 most, typically by handling exceptions first and then filling in
15578 defaults. Files with D.J. Delorie copyright #included rather than
15579 copied. Most files in include/sys really were the same in the
15580 original.
15581 * libc/include/...: cleaned up use of _EXFUN.
15582 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
15583 it with double quotes, not angles.
15584
15585Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
15586
15587 * libc/Makefile.in: always create installation directories.
15588
15589Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15590
15591 * libc/configure.in: handle host properly (using canonical
15592 triples), better error message for the case of target not found
15593
15594Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
15595
15596 * libc/Makefile.in (insincdir): Ensure this directory exists
15597 before attempting installation.
15598
15599Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15600
15601 * libc/stdlib/assert.c: now calls abort like it should
15602 * libc/sys/a29khif: many many patches for 29khif work
15603 * libc/machine/i386: gnulib2 expanded there.
15604
15605Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15606
15607 Added accurate fp conversion routines to stdlib, moved dcvt from
15608 stdio to stdlib and called it ecvtbuf:
15609 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
15610 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
15611 routines
15612 * libc/libc.texinfo: Modifed to include the copyright info from
15613 the mprec files
15614 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
15615 * libc/test/ : many vector which tested for the implementation
15616 defined returns of strange conversion requests have been updated
15617 to relflect the new implementation
15618
15619Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15620
15621 * libc/libc.texinfo: new chapter on variable arg lists
15622 (stdarg.h/varargs.h)
15623 * libc/libc.texinfo: new title
15624 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
15625 (doc only) shorter headings for better formatting.
15626
15627Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15628
15629 * libc/libc.texinfo: three more info menu entries
15630 * libc/locale/locale.tex: new chapter
15631 * libc/locale/locale.c: new doc for setlocale, localeconv
15632 * libc/locale/Makefile.in: use new locale doc
15633 * libc/signal/signal.tex: new chapter
15634 * libc/signal/raise.c, libc/signal/signal.c: new doc
15635 * libc/signal/Makefile.in: use new doc
15636 * libc/time/time.tex: new chapter
15637 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
15638 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
15639 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
15640 * libc/time/Makefile.in: use new doc
15641
15642Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15643
15644 * libm/math/log1p.c: split to use the new function way of float
15645 function definition. math/log1p.h deleted
15646 * libm/math/scalb.c: obsolete and deleted
15647 * libm/math/scalbn.c: created from part log1p.c
15648 * libm/math/Makefile.in: know about log1p and scalbn
15649
15650Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15651
15652 * libc/ctype/isupper.c: revise doc;
15653 libc/ctype/ctype.tex: use doc from isupper.c
15654
15655 * libc/string/bzero.c: new doc
15656
15657Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15658
15659 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
15660 new doc
15661 * libc/stdlib/Makefile.in: extract new doc
15662 * libc/stdlib/stdlib.tex: use new doc
15663
15664 * libc/string/strerror.c: expanded doc.
15665
15666 * libc/stdio/Makefile.in: extract doc from more files
15667 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
15668 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
15669 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
15670 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
15671 libc/stdio/vsprintf.c: new doc
15672 * libc/stdio/stdio.tex: use new doc
15673
15674Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15675
15676 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
15677 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
15678 finitef functions.
15679 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
15680 time ago.
15681
15682 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
15683 * libc/stdio/setbuf.c: added ansi style definition.
15684 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
15685 buffer if none provided.
15686 * libc/stdio/tmpfile.c: lint
15687 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
15688 rather than using static, also make sure file isn't already
15689 present. Uses P_tmpdir. (tempnam): rewritten to use new
15690 subroutine, and uses P_tmpdir.
15691 * libc/stdio/siprintf.c: created
15692
15693Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15694
15695 Release 1.03 for NEC, major mods. Main differences from release
15696 1.02::
15697
15698 More tests in test/:
15699 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
15700 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
15701 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
15702 get/set mask, get/set sticky and get/set roundtoi. Tests
15703 that setting the bits changes the way arithmetic is done.
15704 * string.c: added test to make sure memcmp does it with unsigned
15705 chars.
15706 * test.c: cleaned up and removed lint.
15707 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
15708 dvec.c: tests for string to value conversions, sprintf, scanf,
15709 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
15710 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
15711 rounding in sprintf too.
15712 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
15713 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
15714 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
15715 and function form.
15716 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
15717 powf
15718
15719 In the library:
15720 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
15721 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
15722 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
15723 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
15724 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
15725 than sprintf.
15726 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
15727 * Method of producting float versions of double functions has
15728 changed, functions will be modified gradually. So far:
15729 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
15730 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
15731 altered
15732 * libc/string/memcmp.c: now uses unsigned chars
15733 * libc/string/bcmp.c, libc/string/strcpy.c,
15734 libc/stsring/strxfrm.c: fixed doc
15735 * libc/sys/sysvnecv70.tex: fix example of sbrk code
15736\f
15737Local Variables:
15738version-control: never
15739End:
This page took 1.930017 seconds and 5 git commands to generate.