]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
Define ps status flags
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
db7033a9
JJ
12004-06-09 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4 from /usr/include/asm/signal.h instead of kernel sources. Also
5 default max to 32 if not found in header file.
6 * libc/sys/linux/Makefile.in: Regenerated.
7 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
8 systems where __syscall_return is not defined.
9 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
10 systems to use syscall() function instead of assembler interrupt.
11
a170abec
JJ
122004-06-09 Toralf Lund <toralf@procaptura.com>
13
14 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
15 files from libc/sys/arm to libc/machine/arm.
16 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
17 library build support for files moved from libc/sys/arm.
18 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
19 references to access and setjmp.
20 * configure.host: Add checks for newlib_may_supply_syscalls to
21 determine whether or not to use sys/arm directory and use
22 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
23
8b57e664
JJ
242004-06-02 Jeff Johnston <jjohnstn@redhat.com>
25
26 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
27 reset digit flags appropriately after we have discovered "0x".
28 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
29
3f611058
JJ
302004-05-27 Jeff Johnston <jjohnstn@redhat.com>
31
32 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
33 from here ...
34 (_VFPRINTF_R): ... to here so all I/O printf routines
35 are covered.
36
bb42a35c
JJ
372004-05-26 Jeff Johnston <jjohnstn@redhat.com>
38
39 * libc/search/hash_buf.c: Protect MAX and MIN macros from
40 redefinition.
41 * libc/search/hash.c: Ditto.
42
227e6ef6
JJ
432004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
44
45 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
46 (_WANT_IO_LONG_LONG): Ditto.
47 (_WANT_IO_LONG_DOUBLE): Ditto.
48 * configure.in: Add new configuration options
49 --enable-newlib-io-long-long and --enable-newlib-io-long-double
50 which tie to new defines in newlib.hin.
51 * configure: Regenerated.
52 * configure.host: Add checks for new configuration options. Also
53 fix up check for --enable-newlib-io-pos-args so configuration
54 option will override any default for a given platform.
55 Remove defining compiler flags for the _WANT_IO* options.
56 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
57 instead of looking for old compiler flags.
58 * libc/stdio/vfscanf.c: Ditto.
59 * libc/stdio/vfieeefp.h: Ditto.
60 * libc/machine/powerpc/vfprintf.c: Ditto.
61 * libc/machine/powerpc/vfscanf.c: Ditto.
62
9178da95
JJ
632004-05-25 Jeff Johnston <jjohnstn@redhat.com>
64
65 * testsuite/include/check.h: Add include of <stdio.h>.
66
cf3aae91
CV
672004-05-17 Corinna Vinschen <corinna@vinschen.de>
68
69 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
70
5b4c8ae2
JJ
712004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
72
73 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
74 of free.
75
762004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
77
78 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
79 list for reentrant pointer. Call _vfiprintf_r.
80 * libc/stdio/siprintf.c (_siprintf_r): New function.
81 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
82 pointer argument. Change all callers. Call _VFPRINTF_R.
83 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
84 prototypes.
85
631fbe65
JJ
862004-05-07 Jeff Johnston <jjohnstn@redhat.com>
87
88 * libc/include/sys/param.h: Remove endian info and include
89 <machine/endian.h> instead.
90 * libc/include/machine/endian.h: New file.
91 * libc/include/machine/param.h: Ditto.
92 * libc/machine/arm/machine/endian.h: Ditto.
93 * libc/machine/arm/machine/param.h: Ditto.
94 * libc/sys/arm/sys/param.h: Removed.
95 * libc/sys/sysvi386/sys/param.h: Ditto.
96 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
97
1af84bb7
JJ
982004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
99
100 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
101 multibyte functions return failure for %C, %S, %lc, and %ls
102 format specifiers.
103
1c63798e
JJ
1042004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
105
106 * testsuite/include/check.h (CHECK): Add flush of stdout.
107
20b0251a
JJ
1082004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
109
110 * libc/include/stdio.h (_ungetc_r): New prototype.
111 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
112 (__submore): Add reentrant struct pointer argument.
113 (ungetc): Change to call _ungetc_r.
114
6194cf4a
JJ
1152004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
116
117 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
118 function pointer argument.
119 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
120 to specify function pointer arguments.
121 (__fwalk, __fwalk_reent): Ditto.
122
b4ddf489
AH
1232004-04-26 Aldy Hernandez <aldyh@redhat.com>
124
125 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
126 CT_INT case.
127
f777e3a5
JJ
1282004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
129
130 * configure.in: Define _MB_CAPABLE if mb supported.
131 * configure: Regenerated.
132 * configure.host: Remove manual setting of MB_CAPABLE compiler
133 flag.
134 * newlib.hin: Add _MB_CAPABLE flag.
135 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
136 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
137 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
138 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
139 * libc/ctype/jp2uc.c: Ditto.
140 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
141 * libc/locale/locale.c: Ditto
142 * libc/machine/powerpc/vfscanf.c: Ditto
143 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
144 * libc/stdlib/mblen.c: Ditto
145 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
146 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
147 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
148 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
149 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
150 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
151 * libc/sys/linux/intl/explodename.c: Ditto
152 * libc/sys/linux/intl/finddomain.c: Ditto
153 * libc/sys/linux/intl/l10nflist.c: Ditto
154 * libc/sys/linux/intl/loadmsgcat.c: Ditto
155 * libc/sys/linux/intl/localealias.c: Ditto
156
27c7566c
JJ
1572004-04-23 Jeff Johnston <jjohnstn@redhat.com>
158
159 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
160 (__svfscanf_r): In integer conversions, leave out leading zeroes
161 which are not part of a base prefix.
162 Keep track of width truncation to fit into buf, not counting left-out
163 zeroes against width till the truncation has been compensated for.
164 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
165
c00f9719
JJ
1662004-04-23 Jeff Johnston <jjohnstn@redhat.com>
167
168 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
169
05b31577
JJ
1702004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
171
172 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
173 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
174 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
175 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
176 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
177 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
178 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
179 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
180 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
181 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
182 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
183 libc/stdio/getchar.c libc/stdio/getchar_u.c,
184 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
185 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
186 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
187 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
188 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
189 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
190 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
191 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
192 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
193 libc/stdio/siprintf.c libc/stdio/snprintf.c,
194 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
195 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
196 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
197 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
198 libc/stdio/vprintf.c libc/stdio/vscanf.c,
199 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
200 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
201 libc/stdio/wsetup.c: Perform minor formatting changes. Move
202 copyright notices to top of file, ensure that <_ansi.h> is
203 included, be consistent with open parentheses, use _DEFUN macro,
204 include "local.h" where needed, and remove various compiler
205 warnings.
206
04e8fca1
JJ
2072004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
208
209 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
210 (__svfscanf_r): In integer conversions, leave out leading zeroes
211 which are not part of a base prefix.
212 Keep track of width truncation to fit into buf, not counting left-out
213 zeroes against width till the truncation has been compensated for.
214
9090ec74
CV
2152004-04-20 Corinna Vinschen <corinna@vinschen.de>
216
217 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
218
1c17deea
CV
2192004-04-20 Corinna Vinschen <corinna@vinschen.de>
220
221 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
222
54c7940f
CV
2232004-04-10 Corinna Vinschen <corinna@vinschen.de>
224
225 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
226 to SUSv3.
227
47dcaf56
JJ
2282004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
229
230 * libc/stdio/fclose.c (_fclose_r): New function.
231 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
232 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
233 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
234 * libc/include/stdio.h (_fclose_r): New prototype.
235 * libc/stdio/fopen.c: Fix typo in comment.
236
2372004-04-08 Jeff Johnston <jjohnstn@redhat.com>
238
239 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
240 to handle _r reentrant functions.
241
4121d8cf
JJ
2422004-04-08 Eric Christopher <echristo@redhat.com>
243
244 * libc/include/machine/setjmp.h: Fix endif locations.
245
59c9f5f5
JJ
2462004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
247
248 * libc/time/strptime.c: Add standard includes to avoid
249 warning messages at compilation time.
250
38f4f023
JJ
2512004-04-01 Jeff Johnston <jjohnstn@redhat.com>
252
253 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
254 of file.
255
2562004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
257
258 * libc/machine/h8300/Makefile.am: Reformat slightly.
259 * libc/machine/h8300/Makefile.in: Regenerate.
260
38f4f023 2612004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
262
263 * libc/stdio/findfp.c (__fp_lock_all): Add call to
264 __sfp_lock_acquire.
265 (__fp_unlock_all): Add call to __sfp_lock_release.
266
10dcf7e7
JJ
2672004-03-25 Thomas Pfaff <tpfaff@gmx.net>
268
269 * libc/stdio/fclose.c (fclose): Protect file pointer list when
270 releasing a file.
271 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
272 fwalk.
273 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
274 _flockfile/_funlockfile.
275 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
276 to recursive.
277 Change __lock_acquire/__lock_release calls for __sfp_lock to
278 __sfp_lock_acquire/__sfp_lock_release throughout.
279 (std): Make sure that file lock is only initialized once.
280 (__sfp): Move _file initialization. Initialize file lock.
281 (__sfp_lock_acquire): New function.
282 (__sfp_lock_release): Ditto.
283 (__fp_lock_all): Remove __sfp_lock_acquire call.
284 (__fp_unlock_all): Remove __sfp_lock_release call.
285 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
286 Add calls to _flockfile/_funlockfile. Remove
287 __lock_init_recursive call.
288 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
289 * libc/stdio/fwalk.c (__fwalk): New static function.
290 (_fwalk): Protect file pointer list. Use __fwalk to walk through
291 file pointers.
292 * libc/stdio/local.h: Add defines for
293 __sfp_lock_acquire/__sfp_lock_release when
294 single threaded. Add function prototypes otherwise.
295 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
296 _flockfile/_funlockfile.
297 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
298 Add calls to _flockfile/_funlockfile. Remove
299 __lock_init_recursive call.
300 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
301 list.
302
ec475b09
JJ
3032004-03-25 Jeff Johnston <jjohnstn@redhat.com>
304
305 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
306 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
307 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
308 to be __LOCK_INIT_RECURSIVE.
309
2c4ef10a
JJ
3102004-03-11 Kazu Hirata <kazu@cs.umass.edu>
311
312 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
313 _exit.c with _exit.S.
314 * libc/sys/h8300hms/Makefile.in: Regenerate.
315 * libc/sys/h8300hms/_exit.c: Remove.
316 * libc/sys/h8300hms/_exit.S: New.
317
41c3da6a
JJ
3182004-03-09 Thomas Pfaff <tpfaff@gmx.net>
319
320 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
321 Change __sfp_lock to static global.
322 (__fp_lock): New static function.
323 (__fp_unlock): Ditto.
324 (__fp_lock_all): New function.
325 (__fp_unlock_all): Ditto.
326
0ccf5430
CF
3272004-02-10 Christopher Faylor <cgf@redhat.com>
328
329 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
330 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
331 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
332 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
333
3536f0fb
CF
3342004-02-09 Christopher Faylor <cgf@redhat.com>
335
336 * libc/include/time.h (TIMER_RELTIME): New define.
337
6a6e493a
JJ
3382004-02-09 Jeff Johnston <jjohnstn@redhat.com>
339
340 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
341 * libc/stdlib/Makefile.in: Regenerated.
342
733309f5
CF
3432004-02-08 Christopher Faylor <cgf@redhat.com>
344
345 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
346 * libc/include/sys/reent.h (__getreent): Protect against possibly being
347 defined.
348 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
349
b4a84c66
JJ
3502004-02-05 Paul Brook <paul@codesourcery.com>
351
352 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
353 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
354
4669438f
JJ
3552004-02-02 Jeff Johnston <jjohnstn@redhat.com>
356
357 * NEWS: Update with 1.12.0 info.
358 * README: Ditto.
359 * acinclude.m4: Change version number to 1.12.0.
360 * aclocal.m4: Regenerated.
361 * configure: Ditto.
362 * doc/aclocal.m4: Ditto.
363 * doc/configure: Ditto.
364 * libc/*/aclocal.m4: Ditto.
365 * libc/*/configure: Ditto.
366 * libc/libc.texinfo: Ditto.
367 * libm/*/aclocal.m4: Ditto.
368 * libm/*/configure: Ditto.
369 * libm/libm.texinfo: Ditto.
370 * libc/sys/linux/shared.ld: Add VERS_1.12.
371
94d61fcb
JJ
3722004-02-02 Joel Sherrill <joel@oarcorp.com>
373
374 * configure.host: Add support for tic4x.
375 * libc/include/machine/ieeefp.h: Ditto.
376 * libc/include/machine/setjmp.h: Ditto.
377 * libc/machine/tic4x/Makefile.am: New file.
378 * libc/machine/tic4x/configure.in: Ditto.
379 * libc/machine/tic4x/setjmp.S: Ditto.
380 * libc/machine/tic4x/aclocal.m4: Generated.
381 * libc/machine/tic4x/configure: Ditto.
382 * libc/machine/tic4x/Makefile.in: Ditto.
383
c730e0e7
JJ
3842004-01-30 Jeff Johnston <jjohnstn@redhat.com>
385
386 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
387 file chain on the passed in reentrancy struct if it
388 is _GLOBAL_REENT.
389
2892ec68
JJ
3902004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
391 Jeff Johnston <jjohnstn@redhat.com>
392
393 * libc/iconv/iconv.tex: Updated with more information.
394
ff41498a
JJ
3952004-01-30 Thomas Pfaff <tpfaff@gmx.net>
396 Jeff Johnston <jjohnstn@redhat.com>
397
398 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
399 struct for std streams and traverse the global reeentrancy
400 struct for all other streams.
401
d5b6c234
JJ
4022004-01-27 Jeff Johnston <jjohnstn@redhat.com>
403
404 * libc/stdlib/atexit.c: Protect global atexit list with a
405 lock when newlib is multithreaded.
406
01e0a777
JJ
4072004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
408
409 * configure.in: Add support to generate iconv converter flags
410 for newlib.h
411 * newlib.hin: Add iconv converter flags.
412 * configure: Regenerated.
413 * libc/Makefile.in: Ditto.
414 * libc/configure.in: Moved iconv converter parsing logic to
415 top level newlib configure.in.
416 * libc/configure: Regenerated.
417 * libc/iconv/Makefile.in: Ditto.
418 * libc/iconv/README.TODO
419 * libc/iconv/charset.aliases: Remove wrong BE aliases for
420 UCS2/UCS4/UTF8.
421 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
422 newlib.h can be used.
423 * libc/iconv/ces/Makefile.am: Ditto.
424 * libc/iconv/lib/Makefile.am: Ditto.
425 * libc/iconv/ccs/Makefile.in: Regenerated.
426 * libc/iconv/ces/Makefile.in: Ditto.
427 * libc/iconv/lib/Makefile.in: Ditto.
428 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
429 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
430 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
431 defined in newlib.h.
432 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
433 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
434 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
435 * libc/iconv/ccs/cp775.c: Ditto.
436 * libc/iconv/ccs/cp850.c: Ditto.
437 * libc/iconv/ccs/cp852.c: Ditto.
438 * libc/iconv/ccs/cp855.c: Ditto.
439 * libc/iconv/ccs/cp866.c: Ditto.
440 * libc/iconv/ccs/gb_2312_80.c: Ditto.
441 * libc/iconv/ccs/iso_8859_1.c: Ditto.
442 * libc/iconv/ccs/iso_8859_15.c: Ditto.
443 * libc/iconv/ccs/iso_8859_2.c: Ditto.
444 * libc/iconv/ccs/iso_8859_4.c: Ditto.
445 * libc/iconv/ccs/iso_8859_5.c: Ditto.
446 * libc/iconv/ccs/jis_x0201.c: Ditto.
447 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
448 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
449 * libc/iconv/ccs/koi8_r.c: Ditto.
450 * libc/iconv/ccs/koi8_u.c: Ditto.
451 * libc/iconv/ccs/ksx1001.c: Ditto.
452 * libc/iconv/ccs/shift_jis.c: Ditto.
453 * libc/iconv/ccs/us_ascii.c: Ditto.
454 * libc/iconv/ccs/binary/big5.cct: Newly generated.
455 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
456 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
457 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
458 * libc/iconv/ccs/binary/cp775.cct: Ditto.
459 * libc/iconv/ccs/binary/cp850.cct: Ditto.
460 * libc/iconv/ccs/binary/cp852.cct: Ditto.
461 * libc/iconv/ccs/binary/cp855.cct: Ditto.
462 * libc/iconv/ccs/binary/cp866.cct: Ditto.
463 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
464 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
465 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
466 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
467 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
468 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
469 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
470 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
471 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
472 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
473 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
474 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
475 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
476 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
477 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
478 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
479 * libc/iconv/ces/euc-kr.c: Ditto.
480 * libc/iconv/ces/euc-tw.c: Ditto.
481 * libc/iconv/ces/gb2312.c: Ditto.
482 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
483 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
484 * libc/iconv/ces/ucs-2-internal.c: Ditto.
485 * libc/iconv/ces/ucs-4-internal.c: Ditto.
486 * libc/iconv/ces/utf-16.c: Ditto.
487 * libc/iconv/ces/utf-8.c: Ditto.
488 * libc/iconv/lib/aliases.c: Ditto.
489 * libc/iconv/lib/biccs.c: Ditto.
490 * libc/iconv/lib/bices.c: Ditto.
491 * libc/iconv/lib/ccs.c: Ditto.
492 * libc/iconv/lib/ces.c: Ditto.
493 * libc/iconv/lib/ces_euc.c: Ditto.
494 * libc/iconv/lib/ces_iso2022.c: Ditto.
495 * libc/iconv/lib/ces_table.c: Ditto.
496 * libc/iconv/lib/converter.c: Ditto.
497 * libc/iconv/lib/deps.h: Ditto.
498 * libc/iconv/lib/endian.h: Ditto.
499 * libc/iconv/lib/iconv.c: Ditto.
500 * libc/iconv/lib/loaddata.c: Ditto.
501 * libc/iconv/lib/local.h: Include newlib.h.
502 * libc/argz/Makefile.in: Regenerated.
503 * libc/ctype/Makefile.in: Ditto.
504 * libc/errno/Makefile.in: Ditto.
505 * libc/iconv/ccs/binary/Makefile.in: Ditto.
506 * libc/locale/Makefile.in: Ditto.
507 * libc/misc/Makefile.in: Ditto.
508 * libc/posix/Makefile.in: Ditto.
509 * libc/reent/Makefile.in: Ditto.
510 * libc/search/Makefile.in: Ditto.
511 * libc/signal/Makefile.in: Ditto.
512 * libc/stdio/Makefile.in: Ditto.
513 * libc/stdio64/Makefile.in: Ditto.
514 * libc/stdlib/Makefile.in: Ditto.
515 * libc/string/Makefile.in: Ditto.
516 * libc/syscalls/Makefile.in: Ditto.
517 * libc/time/Makefile.in: Ditto.
518 * libc/unix/Makefile.in: Ditto.
519 * testsuite/newlib.iconv/iconv.exp: New file.
520 * testsuite/newlib.iconv/iconvjp.c: Ditto.
521 * testsuite/newlib.iconv/iconvnm.c: Ditto.
522 * testsuite/newlib.iconv/iconvru.c: Ditto.
523
786ab12c
JJ
5242004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
525
526 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
527 (--enable-newlib-builtin-converters): Ditto.
528 * configure.in: Add code to set _ICONV_ENABLED flag.
529 Set _MB_LEN_MAX to 1 if not mb enabled.
530 * configure: Regenerated.
531 * aclocal.m4: Ditto.
532 * Makefile.in: Ditto.
533 * newlib.hin: Add _ICONV_ENABLED flag.
534 * libc/Makefile.am: Add support for iconv.
535 * libc/configure.in: Ditto.
536 * libc/Makefile.in: Regenerated.
537 * libc/aclocal.m4: Ditto.
538 * libc/configure: Ditto.
539 * libc/libc.texinfo: Add iconv documentation.
540 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
541 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
542 libc/iconv/README.TODO, libc/iconv/charset.aliases,
543 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
544 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
545 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
546 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
547 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
548 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
549 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
550 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
551 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
552 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
553 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
554 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
555 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
556 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
557 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
558 libc/iconv/ccs/binary/big5.cct,
559 libc/iconv/ccs/binary/cns11643_plane1.cct,
560 libc/iconv/ccs/binary/cns11643_plane14.cct,
561 libc/iconv/ccs/binary/cns11643_plane2.cct,
562 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
563 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
564 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
565 libc/iconv/ccs/binary/iso_8859_1.cct,
566 libc/iconv/ccs/binary/iso_8859_15.cct,
567 libc/iconv/ccs/binary/iso_8859_2.cct,
568 libc/iconv/ccs/binary/iso_8859_4.cct,
569 libc/iconv/ccs/binary/iso_8859_5.cct,
570 libc/iconv/ccs/binary/jis_x0201.cct,
571 libc/iconv/ccs/binary/jis_x0208_1983.cct,
572 libc/iconv/ccs/binary/jis_x0212_1990.cct,
573 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
574 libc/iconv/ccs/binary/ksx1001.cct,
575 libc/iconv/ccs/binary/shift_jis.cct,
576 libc/iconv/ccs/binary/us_ascii.cct,
577 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
578 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
579 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
580 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
581 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
582 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
583 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
584 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
585 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
586 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
587 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
588 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
589 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
590 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
591 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
592 * libc/sys/linux/include/iconv.h: Ditto.
593 * libc/include/sys/_types.h (_iconv_t): Added.
594 * doc/aclocal.m4: Regenerated.
595 * doc/configure: Ditto.
596 * doc/Makefile.in: Ditto.
597 * iconvdata/Makefile.in: Ditto.
598 * iconvdata/aclocal.m4: Ditto.
599 * iconvdata/configure: Ditto.
600 * libc/*aclocal.m4: Ditto.
601 * libc/*Makefile.in: Ditto.
602 * libc/*configure: Ditto.
603 * libm/*aclocal.m4: Ditto.
604 * libm/*Makefile.in: Ditto.
605 * libm/*configure: Ditto.
606
ed1a95dc
JJ
6072004-01-22 Thomas Pfaff <tpfaff@gmx.net>
608
609 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
610 by a lock when newlib is multithreaded.
611
7d4be1ef
JJ
6122004-01-21 Jeff Johnston <jjohnstn@redhat.com>
613
614 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
615 pointer to match C99 spec.
616 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
617 dst is NULL. Also fix to not alter src pointer when dst is NULL
618 and call _mbrtowc_r instead of _mbtowc_r.
619 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
620 of _wctomb_r.
621
403f752c
JJ
6222004-01-19 Thomas Pfaff <tpfaff@gmx.net>
623
624 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
625 * libc/stdio/freopen.c (freopen): Ditto.
626
85b6d63b
CF
6272004-01-16 Christopher Faylor <cgf@redhat.com>
628
629 * libc/stdio/vfprintf.c: Add sys/lock.h include.
630
4af71a91
JJ
6312004-01-16 Thomas Pfaff <tpfaff@gmx.net>
632
633 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
634 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
635 Add calls to __lock_init_recursive and __lock_close_recursive
636 instead.
637
6a150987
JJ
6382004-01-15 Thomas Pfaff <tpfaff@gmx.net>
639
640 * libc/stdio/fclose.c: Include sys/lock.h.
641 (fclose): Destroy lock when file is closed.
642 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
643 member.
644 * libc/stdio/freopen.c: Include sys/lock.h.
645 (_freopen_r): Destroy lock when file is closed.
646 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
647 _lock member.
648
c9524c0c
JJ
6492004-01-08 Joel Sherrill <joel@oarcorp.com>
650
651 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
652 Remove warnings.
653
9f13ccb3
JJ
6542004-01-08 Joel Sherrill <joel@oarcorp.com>
655
656 * libc/sys/rtems/sys/queue.h: New file.
657 * libc/include/sys/signal.h: Reflect renumbering of signals to
658 fit into 32-bit mask.
659 * libc/include/sys/unistd.h: Add fdatasync() prototype.
660 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
661 required. In particular, add the reentrant variants of libc calls.
662 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
663
9488c414
JJ
6642004-01-06 Mark Mitchell <mark@codesourcery.com>
665
666 * libc/sys/arm/syscalls.c (unistd.h): Include it.
667 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
668 Similarly for stdout and stderr.
669
5125f919
JJ
6702004-01-06 Jeff Johnston <jjohnstn@redhat.com>
671
672 * libc/libc.texinfo: Correct escape character for @ sign
673 so file will be processed by make info. Update copyright years.
674 * libm/libm.texinfo: Ditto.
675
9fc92ceb
JJ
6762003-12-05 Jeff Johnston <jjohnstn@redhat.com>
677
678 * libc/include/sys/stat.h: No longer include stat-dj.h.
679 * libc/include/sys/stat-dj.h: Removed.
680
25c7dad1
JJ
6812003-12-05 Jeff Johnston <jjohnstn@redhat.com>
682
683 * libc/include/wchar.h: Include <sys/reent.h>.
684
576593dd
CF
6852003-12-05 Christopher Faylor <cgf@redhat.com>
686
687 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
688 when defining _mbrtowc.
689 * libc/stdlib/mbsinit.c: Ditto.
690 * libc/stdlib/mbsrtowcs.c: Ditto.
691 * libc/stdlib/wcrtomb.c: Ditto.
692 * libc/stdlib/wcsrtombs.c: Ditto.
693 * libc/stdlib/wctob.c: Ditto.
694
6952003-12-05 Christopher Faylor <cgf@redhat.com>
696
697 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
698 errors when defining _mbrtowc.
699 * libc/stdlib/mbsinit.c: Ditto.
700 * libc/stdlib/mbsrtowcs.c: Ditto.
701
4c889d62
CF
7022003-12-05 Christopher Faylor <cgf@redhat.com>
703
704 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
705 errors when defining _mbrtowc.
706
5d109bde
JJ
7072003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
708
709 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
710 of mb routines for %lc and %ls support.
711 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
712 %ls, and %S support. Remove CYGNUS_NEC markers and
713 code within.
714
3aca0888
JJ
7152003-12-04 Jeff Johnston <jjohnstn@redhat.com>
716
717 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
718 _wcrtomb_r, and _wcsrtombs_r.
719
18dcb167
CV
7202003-12-01 Corinna Vinschen <corinna@vinschen.de>
721
722 * libc/include/sys/fcntl.h: Don't define struct flock when on
723 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
724
93f8e673
CF
7252003-11-28 Christopher Faylor <cgf@redhat.com>
726
727 * libc/include/sys/signal.h: Use system specific signal file when
728 building on cygwin.
729
cc2a11e0
JJ
7302003-11-27 Jeff Johnston <jjohnstn@redhat.com>
731
732 * libc/include/stdlib.h (_atoi_r): New prototype.
733 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
734
83bf7d2f
JJ
7352003-11-27 Jeff Johnston <jjohnstn@redhat.com>
736
737 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
738 * libc/stdlib/atol.c (_atol_r): New reentrant function.
739 * libc/stdlib/atoll.c (_atoll_r): Ditto.
740
5d109bde 7412003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
742 Jeff Johnston <jjohnstn@redhat.com>
743
744 * libc/include/stdlib.h (lldiv_t): New type.
745 (atoll, llabs, lldiv): New prototypes.
746 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
747 * libc/stdlib/stdlib.tex: Ditto.
748 * libc/stdlib/Makefile.in: Regenerated.
749 * libc/stdlib/atoll.c: New file.
750 * libc/stdlib/llabs.c: Ditto.
751 * libc/stdlib/lldiv.c: Ditto.
752
0a707c79
JJ
7532003-11-26 Corinna Vinschen <corinna@vinschen.de>
754
755 * libc/include/fcntl.h: Declare syscalls only when building newlib.
756 * libc/include/unistd.h: Ditto.
757 * libc/include/stat.h: Ditto. Also declare struct stat64.
758
5d109bde 7592003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
760
761 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
762 specifier to use ch instead of *fmt.
763
5d109bde 7642003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
765
766 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
767 code within checks for MB_CAPABLE. For non-mb-capable platforms,
768 use simple byte logic.
769
4f6149d6
JJ
7702003-11-21 Jeff Johnston <jjohnstn@redhat.com>
771
772 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
773 _strtold routine for processing floats and doubles since it
774 is not as fast as _strtod_r.
775
7343eefb
JJ
7762003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
777
778 * libc/machine/h8300/defines.h : Correct pointer register defines
779 for normal mode.
780 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
781 for normal mode.
782 * libc/machine/h8300/reg_memcpy.S : Likewise.
783 * libc/machine/h8300/reg_memset.S : Likewise.
784 * libc/machine/h8300/strcmp.S : Likewise.
785
64cfc6f2
JJ
7862003-11-19 Nicholas Wourms <nwourms@netscape.net>
787
788 * configure.host: Enable positional arguments for printf
789 family for Cygwin.
790 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
791 pointer reference for quad_ptr_t.
792
e1dc8171
JJ
7932003-11-19 Jeff Johnston <jjohnstn@redhat.com>
794
795 * libc/stdio/scanf.c: Don't include local.h more than once.
796
a472290f
JJ
7972003-11-18 Corinna Vinschen <corinna@vinschen.de>
798
799 * libc/include/sys/fcntl.h: Declare _open64.
800 * libc/include/sys/stat.h: Declare _fstat64.
801 * libc/include/sys/unistd.h: Declare _lseek64.
802
a2f1155c
CV
8032003-11-17 Corinna Vinschen <corinna@vinschen.de>
804
805 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
806 (setprogname): Ditto.
807
030441fc
JJ
8082003-11-10 Jeff Johnston <jjohnstn@redhat.com>
809
810 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
811 to use (Ebits + 1) which accounts for the sign-bit.
812
fe359733
JJ
8132003-11-07 Jeff Johnston <jjohnstn@redhat.com>
814
815 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
816 x86 build.
817 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
818 and set up default flags to pass to aclocal.
819 * iconvdata/Makefile.in: Regenerated.
820 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
821 and getpwuid routines.
822 * libc/sys/linux/Makefile.in: Regenerated.
823 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
824 applications to link with newlib's shared libc library.
825 * libc/sys/linux/getpwnam.c: Ditto.
826 * libc/sys/linux/getpwuid.c: Ditto.
827 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
828 that were formerly supplied by /usr/include/linux/types.h with
829 kernel types.
830 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
831 test _ELIX_LEVEL macro.
832
2985521f
JJ
8332003-11-07 Jeff Johnston <jjohnstn@redhat.com>
834
835 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
836 referring to _NO_LONGLONG macro.
837
dcad6a89
JJ
8382003-11-06 Jeff Johnston <jjohnstn@redhat.com>
839
840 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
841 in LOG() macro so this will compile on gcc 3.4 and up.
842 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
843 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
844 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
845 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
846 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
847 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
848 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
849 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
850 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
851 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
852 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
853 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
854 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
855 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
856 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
857 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
858 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
859 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
860 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
861 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
862 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
863 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
864 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
865 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
866 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
867 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
868 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
869 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
870 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
871 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
872 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
873 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
874 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
875 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
876 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
877 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
878
d2ffac09 8792003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 880 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
881
882 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
883 %ls, %S, %lc, and %C format specifiers.
884 (get_arg): Ditto.
885 * libc/stdio/sprintf.c: Add documentation regarding new
886 format specifiers added in vfprintf.c.
887
da2d1227
JJ
8882003-11-05 Jeff Johnston <jjohnstn@redhat.com>
889
890 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
891 to make code work as specified in standard.
892
3ef05bac
JJ
8932003-10-23 Jeff Johnston <jjohnstn@redhat.com>
894
895 * configure.in: Use absolute newlib basedir when forming
896 CC_FOR_NEWLIB include options.
897 * configure: Regenerated.
898
5d109bde 8992003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
900
901 * libc/string/wcsnlen.c: New file.
902 * libc/include/wchar.h: Add wcsnlen prototype.
903 * libc/string/Makefile.am: Add wcsnlen support.
904 * libc/string/Makefile.in: Regenerated.
905 * libc/string/wcstrings.tex: Add wcsnlen documentation.
906
63a823f8
RS
9072003-10-22 Richard Sandiford <rsandifo@redhat.com>
908
909 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
910
76a7df52
JJ
9112003-10-20 Bob Wilson <bob.wilson@acm.org>
912
913 * libc/locale/locale.c: Use double quotes in code.
914 * libc/locale/locale.tex: Likewise.
915 * libc/libc.texinfo: Hyphenate "floating-point".
916 * libc/machine/necv70/necv70.tex: Likewise.
917 * libc/stdio/sprintf.c: Likewise.
918 * libc/stdio/sscanf.c: Likewise.
919 * libc/stdlib/atof.c: Likewise.
920 * libc/stdlib/ldtoa.c: Fix comment typo.
921 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
922 * libc/stdlib/ldiv.c: Likewise.
923 * libm/common/s_expm1.c: Likewise.
924 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
925 * libm/common/s_infinity: Hyphenate "double- and single-precision".
926 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
927 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
928 and "floating-point".
929 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
930 * libm/math/e_pow.c: Fix comment typo.
931 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
932 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
933 * libm/math/s_atan.c: Likewise.
934 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
935 * libm/math/s_isnan.c: Hyphenate "single-precision" and
936 "floating-point". Use "nonzero".
937 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
938 * libm/math/w_acos.c: Likewise.
939 * libm/math/w_acosh.c: Likewise.
940 * libm/math/w_asin.c: Likewise.
941 * libm/math/w_atan2.c: Likewise.
942 * libm/math/w_atanh.c: Likewise.
943 * libm/math/w_cosh.c: Likewise.
944 * libm/math/w_exp.c: Likewise.
945 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
946 version of 2^x in the description.
947 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
948 * libm/math/w_gamma.c: Likewise.
949 * libm/math/w_hypot.c: Likewise.
950 * libm/math/w_j0.c: Likewise.
951 * libm/math/w_sinh.c: Likewise.
952 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
953 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
954 "floating-point".
955 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
956 * libm/mathfp/e_atanh.c: Likewise.
957 * libm/mathfp/e_hypot.c: Likewise.
958 * libm/mathfp/er_lgamma.c: Likewise.
959 * libm/mathfp/s_acos.c: Likewise.
960 * libm/mathfp/s_asine.c: Likewise.
961 * libm/mathfp/s_asinh.c: Likewise.
962 * libm/mathfp/s_atan.c: Likewise.
963 * libm/mathfp/s_atan2.c: Likewise.
964 * libm/mathfp/s_atangent.c: Likewise.
965 * libm/mathfp/s_cosh.c: Likewise.
966 * libm/mathfp/s_exp.c: Likewise.
967 * libm/mathfp/s_fmod.c: Likewise.
968 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
969 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
970 "floating-point". Use "nonzero".
971 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
972 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
973 * libm/mathfp/s_sineh.c: Likewise.
974 * libm/mathfp/w_jn.c: Likewise.
975
b11926e7
JJ
9762003-10-15 Alexandre Oliva <aoliva@redhat.com>
977
978 * Makefile.am: Add $(MAKE) comments to multido and multiclean
979 lines, to enable parallel make.
980 * Makefile.in: Rebuilt.
981
31271d5c
CF
9822003-10-14 Christopher Faylor <cgf@redhat.com>
983
984 * libc/time/clock.c: Clarify documentation of return value when no
985 measurement is available.
986
bc707cbd
JJ
9872003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
988
989 * libm/configure.in: Check libm_machine_dir, not machine_dir.
990 * libm/configure: Regenerate.
991 * libm/Makefile.in: Ditto.
992
f4b10605
JR
9932003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
994
995 * libc/machine/sh/strncpy.S: New file.
996 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
997 * libc/machine/sh/Makefile.in: Regenerate.
998
ce044d8f
JW
9992003-09-11 James E Wilson <wilson@specifixinc.com>
1000
1001 * MAINTAINERS: Update my e-mail address.
1002
080ef411
CV
10032003-09-10 Corinna Vinschen <corinna@vinschen.de>
1004
1005 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
1006
3a767b69
JJ
10072003-09-09 Jeff Johnston <jjohnstn@redhat.com>
1008
080ef411
CV
1009 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
1010 prototype.
1011 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
1012 _simdldcheck(). Also add unsigned cast for index variable in
1013 for loop using sizeof operators.
1014 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
1015 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
1016 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
1017 plus fix shift calculation for determining if there is a
1018 carry from word2.
3a767b69 1019
84154fcc
CV
10202003-09-09 Corinna Vinschen <corinna@vinschen.de>
1021
1022 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
1023 setgroupent for Cygwin.
1024
f1b15058
JJ
10252003-09-05 Jeff Johnston <jjohnstn@redhat.com>
1026
1027 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
1028 is different for _REENT_SMALL than when using regular reent
1029 struct.
1030
cf88c20f 10312003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 1032
b73263e4
BE
1033 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
1034 modern versions of GCC issue a warning.
1035
0a8fd4dc
BE
1036 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
1037 after continuation characters that induces a warning from modern
1038 versions of GCC.
1039
10a32423
BE
10402003-09-04 Ben Elliston <bje@wasabisystems.com>
1041
1042 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
1043 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
1044
ed027a53
JJ
10452003-09-02 Thomas Pfaff <tpfaff@gmx.net>
1046
1047 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
1048 * libc/stdlib/exit.c : Ditto.
1049 * libc/stdlib/on_exit.c: Ditto.
1050
880fa247
JJ
10512003-08-27 Corinna Vinschen <corinna@vinschen.de>
1052
1053 * libc/include/reent.h: Define stat64 as __stat64 when
1054 compiling newlib for Cygwin.
1055
54c1d7ea
JJ
10562003-08-26 Jeff Johnston <jjohnstn@redhat.com>
1057
1058 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
1059 __stat64 when compiling newlib.
1060
0eca0750
JJ
10612003-08-26 Jeff Johnston <jjohnstn@redhat.com>
1062
1063 * libc/include/stdio.h: Allow the io64 function prototypes for
1064 Cygwin when compiling newlib.
1065 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
1066 to expose the Cygwin struct __stat64 type.
1067 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
1068 pointer.
1069 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
1070
9d4aef19
CF
10712003-08-23 Christopher Faylor <cgf@redhat.com>
1072
1073 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
1074 definition to fseeko64.
1075
9fc9e1c9
JJ
10762003-08-22 Jeff Johnston <jjohnstn@redhat.com>
1077
1078 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
1079 * libc/stdio: Globally remove/replace all references to fp->_data.
1080 Replace with _REENT or _GLOBAL_REENT where appropriate.
1081 * libc/stdio/asprintf.c: Ditto.
1082 * libc/stdio/fclose.c: Ditto.
1083 * libc/stdio/fvwrite.c: Ditto.
1084 * libc/stdio/makebuf.c: Ditto.
1085 * libc/stdio/refill.c: Ditto.
1086 * libc/stdio/local.h: Ditto.
1087 * libc/stdio/setvbuf.c: Ditto.
1088 * libc/stdio/sscanf.c: Ditto.
1089 * libc/stdio/stdio.c: Ditto.
1090 * libc/stdio/ungetc.c: Ditto.
1091 * libc/stdio/vfscanf.c: Ditto.
1092 * libc/stdio/vsscanf.c: Ditto.
1093 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
1094 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
1095 * libc/stdio/vsnprintf.c: Ditto.
1096 * libc/stdio/vsprintf.c: Ditto.
1097 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
1098 instead of _REENT to walk file list.
1099 * libc/stdio/fflush.c: Ditto.
1100 * libc/stdio/fgetpos.c: Add reentrant version and have regular
1101 version call reentrant version with _REENT argument.
1102 * libc/stdio/fsetpos.c: Ditto.
1103 * libc/stdio/fseek.c: Ditto.
1104 * libc/stdio/fseeko.c: Ditto.
1105 * libc/stdio/ftell.c: Ditto.
1106 * libc/stdio/ftello.c: Ditto.
1107 * libc/stdio/freopen.c: Ditto.
1108 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
1109 new files to chain. Also use _GLOBAL_REENT pointer for
1110 cleaning up.
1111 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
1112 * libc/stdio/siprintf.c: Ditto.
1113 * libc/stdio/iprintf.c: Ditto.
1114 * libc/stdio/fprintf.c: Ditto.
1115 * libc/stdio/printf.c: Ditto.
1116 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
1117 * libc/stdio/sprintf.c: Ditto.
1118 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
1119 * libc/stdio/rewind.c: Call _fseek_r directly.
1120 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
1121 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
1122 data pointer.
1123 (get_arg): Add extra struct _reent pointer argument.
1124 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
1125 to fp->_data.
1126 * libc/stdio64/fopen64.c: Ditto.
1127 * libc/stdio64/freopen64.c: Ditto.
1128 * libc/stdio64/fsetpos64.c: Ditto.
1129 * libc/stdio64/ftello64.c: Ditto.
1130 * libc/stdio64/local64.h: Ditto.
1131 * libc/stdio64/stdio64.c: Ditto.
1132 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
1133 _fstat64_r for the meantime.
1134
8f021114
JJ
11352003-08-19 Jeff Johnston <jjohnstn@redhat.com>
1136
1137 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
1138 overflow detection.
1139
db979bb4
JJ
11402003-08-13 Aldy Hernandez <aldyh@redhat.com>
1141
1142 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
1143 extern "C".
1144
6efbdc7d
JJ
11452003-08-13 Jeff Johnston <jjohnstn@redhat.com>
1146
1147 * libc/include/math.h: Add prototypes for __signbitf and
1148 __signbitd.
1149
e895fc20
JJ
11502003-07-31 Jeff Johnston <jjohnstn@redhat.com>
1151
1152 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
1153 correct type of conversion when dealing with EUCJP or SJIS.
1154 * libc/ctype/iswblank.c: Ditto.
1155 * libc/ctype/iswcntrl.c: Ditto.
1156 * libc/ctype/iswprint.c: Ditto.
1157 * libc/ctype/iswpunct.c: Ditto.
1158 * libc/ctype/iswspace.c: Ditto.
1159 * libc/ctype/towlower.c: Ditto.
1160 * libc/ctype/towupper.c: Ditto.
1161
0302dfe5
NC
11622003-07-31 Nick Clifton <nickc@redhat.com>
1163
1164 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
1165 before calling main, in case it saves its argument registers.
1166 Remove reference to deleted v850ea port.
1167 * configure.host: Remove reference to deleted v850ea port.
1168 Do not use -mv850 when building for v850e target. This
1169 prevents the ctbp system register from being initialised.
1170
42de5592
JJ
11712003-07-29 Honda Hiroki <hhonda@ipflex.com>
1172
1173 * libc/stdio/vfprintf.c: Set output size to 1 when
1174 we have %f format with precision 0 and # flag not specified.
1175
e5de27b6
AO
11762003-07-29 Alexandre Oliva <aoliva@redhat.com>
1177
1178 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
1179 .am33_2.
1180
3c98a593
CF
11812003-07-25 Christopher Faylor <cgf@redhat.com>
1182
1183 * libc/stdio64/fdopen64.c: Include sys/lock.h.
1184
e222bf67
CF
11852003-07-25 Christopher Faylor <cgf@redhat.com>
1186
1187 * configure.host: Find cygwin include directory, when appropriate.
1188
03536757
CF
11892003-07-24 Christopher Faylor <cgf@redhat.com>
1190
1191 * libc/stdio64/fdopen64.c: New file.
1192 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
1193 * libc/stdio64/Makefile.in: Regenerate.
1194 * libc/include/stdio.h (fdopen64): Define.
1195 * libc/include/stdio.h (_fdopen64_r): Ditto.
1196
18072a4f
AO
11972003-07-10 Alexandre Oliva <aoliva@redhat.com>
1198
1199 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
1200 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
1201 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
1202 restore callee-saved FP registers.
1203
e0bec12f
JR
12042003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
1205
1206 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
1207 for __sh__.
1208 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
1209 truncate.c.
1210 * libc/sys/sh/Makefile.in: Regenerate.
1211 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
1212 * libc/sys/sh/ftruncate.c: New file.
1213 * libc/sys/sh/truncate.c: Likewise.
1214
03d65dd9
AO
12152003-07-09 Alexandre Oliva <aoliva@redhat.com>
1216
1217 * libc/include/math.h (nan, nanf): Update prototype to C99.
1218 * libm/common/s_nan.c (nan): Likewise.
1219 * libm/common/s_nanf.c (nanf, nan): Likewise.
1220 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
1221
74aa9d7d
JJ
12222003-07-07 Jeff Johnston <jjohnstn@redhat.com>
1223
1224 * libc/include/stdbool.h: Removed as this is defined by gcc.
1225
0a447ef3
JJ
12262003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
1227
1228 * libc/include/stdbool.h: New header file defined by C99.
1229
282eff9a
JJ
12302003-07-02 Jeff Johnston <jjohnstn@redhat.com>
1231
1232 * libc/include/sys/types.h (int8_t): Make signed.
1233
4e989b11
JJ
12342003-07-02 Jeff Johnston <jjohnstn@redhat.com>
1235
1236 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
1237
07b40cf8
JJ
12382003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
1239
1240 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
1241 on if we actually created the shared memory file exclusively.
1242
7daa7891
JJ
12432003-06-27 Joe Vornehm <joev@mitre.org>
1244
1245 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
1246 comparisons to account for unsigned internal value w.
1247
51fa7562
JJ
12482003-06-26 Jeff Johnston <jjohnstn@redhat.com>
1249
1250 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
1251 wrbuf for a non-creating open.
1252
b8f7ea5c
JJ
12532003-06-24 Kazu Hirata <kazu@cs.umass.edu>
1254
1255 * libc/machine/h8300/setarch.h: New.
1256 * libc/machine/h8300/memcpy.S: Use it.
1257 * libc/machine/h8300/memset.S: Likewise.
1258 * libc/machine/h8300/reg_memcpy.S: Likewise.
1259 * libc/machine/h8300/reg_memset.S: Likewise.
1260 * libc/machine/h8300/setjmp.S: Likewise.
1261 * libc/machine/h8300/strcmp.S: Likewise.
1262
6d7ea52a
RS
12632003-06-24 Richard Sandiford <rsandifo@redhat.com>
1264
1265 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
1266 to atexit().
1267
5a74f2aa
JJ
12682003-06-20 Jeff Johnston <jjohnstn@redhat.com>
1269
1270 * configure.host (iq2000): Add tabs.
1271
8266e478
JJ
12722003-06-20 Jeff Johnston <jjohnstn@redhat.com>
1273
1274 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
1275 to handle latest on_exit change.
1276 * libc/sys/linux/Makefile.am: Remove special compilation
1277 for malloc.c and mcheck.c.
1278 * libc/sys/linux/Makefile.in: Regenerated.
1279 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
1280 after including <features.h>.
1281 * libc/sys/linux/mcheck.c: Ditto.
1282 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
1283 for <features.h>.
1284 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
1285 add -DNOT_IN_libc to C flags.
1286 * libc/sys/linux/intl/Makefile.in: Regenerated.
1287 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
1288 * libc/sys/linux/linuxthreads/semaphore.h: Include
1289 <bits/pthreadtypes.h>.
1290 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
1291 including <features.h>.
1292 * libc/sys/linux/sys/lock.h: Ditto.
1293
0efe117b
NC
12942003-06-11 Nick Clifton <nickc@redhat.com>
1295
1296 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
1297 _on_exit_args_ptr.
1298
bfdfd7e6
AG
12992003-06-10 Stan Cox <scox@redhat.com>
1300 Anthony Green <green@redhat.com>
1301
1302 * configure.host: Add iq2000 support.
1303 * newlib/libc/include/machine/ieeefp.h: Ditto.
1304 * newlib/libc/include/machine/setjmp.h: Ditto.
1305 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
1306 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
1307 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
1308 libc/machine/iq2000/Makefile.in: New files.
1309
d9e4104b
RS
13102003-06-10 Richard Sandiford <rsandifo@redhat.com>
1311
1312 * libc/sys/h8300hms/setarch.h: New file.
1313 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
1314 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
1315 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
1316 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
1317
729d1ff9
JJ
13182003-06-06 Jeff Johnston <jjohnstn@redhat.com>
1319
1320 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
1321 definition.
1322 * libc/argz/argz_add_sep.c: Ditto.
1323 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
1324 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
1325 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
1326 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
1327 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
1328 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
1329 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
1330 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
1331 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
1332 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
1333 * libc/posix/execl.c libc/posix/execle.c: Ditto.
1334 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
1335 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
1336 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
1337 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
1338 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
1339 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
1340 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
1341 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
1342 * libc/search/twalk.c libc/signal/signal.c: Ditto.
1343
75d7d177
NC
13442003-06-05 Nick Clifton <nickc@redhat.com>
1345
1346 * libc/include/sys/reent.h (struct _on_exit_args): New
1347 structure containing fields used by the on_exit() function.
1348 (struct _atexit): Include struct _on_exit_args. For
1349 _REENT_SMALL do his via a pointer that is initialised when
1350 needed.
1351 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
1352 structure, if one has been allocated.
1353 * libc/stdlib/atexit.c (atexit): Update indirection to
1354 _fntypes field.
1355 * libc/stdlib/on_exit.c (on_exit): Indirect via the
1356 _on_exit_args structure. For _REENT_SMALL, allocate a
1357 structure if one does not exist.
1358 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
1359 structure.
1360
2129f283
JJ
13612003-06-04 Jeff Johnston <jjohnstn@redhat.com>
1362
1363 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
1364 * libc/sys/linux/net/Makefile.in: Regenerated.
1365
bf3bcac2
JJ
13662003-06-03 Jeff Johnston <jjohnstn@redhat.com>
1367
1368 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
1369 * libc/reent/fcntlr.c: Ditto.
1370 * libc/reent/fstat64r.c: Ditto.
1371 * libc/reent/linkr.c: Ditto.
1372 * libc/reent/lseek64r.c: Ditto.
1373 * libc/reent/lseekr.c: Ditto.
1374 * libc/reent/openr.c: Ditto.
1375 * libc/reent/readr.c: Ditto.
1376 * libc/reent/reent.c: Ditto.
1377 * libc/reent/sbrkr.c: Ditto.
1378 * libc/reent/signalr.c: Ditto.
1379 * libc/reent/signgam.c: Ditto.
1380 * libc/reent/statr.c: Ditto.
1381 * libc/reent/timer.c: Ditto.
1382 * libc/reent/unlinkr.c: Ditto.
1383 * libc/reent/writer.c: Ditto.
1384 * libc/syscalls/sysclose.c: Ditto.
1385 * libc/syscalls/sysexecve.c: Ditto.
1386 * libc/syscalls/sysfcntl.c: Ditto.
1387 * libc/syscalls/sysfork.c: Ditto.
1388 * libc/syscalls/sysfstat.c: Ditto.
1389 * libc/syscalls/sysgetpid.c: Ditto.
1390 * libc/syscalls/sysgettod.c: Ditto.
1391 * libc/syscalls/syskill.c: Ditto.
1392 * libc/syscalls/syslink.c: Ditto.
1393 * libc/syscalls/syslseek.c: Ditto.
1394 * libc/syscalls/sysopen.c: Ditto.
1395 * libc/syscalls/sysread.c: Ditto.
1396 * libc/syscalls/syssbrk.c: Ditto.
1397 * libc/syscalls/sysstat.c: Ditto.
1398 * libc/syscalls/systimes.c: Ditto.
1399 * libc/syscalls/sysunlink.c: Ditto.
1400 * libc/syscalls/syswait.c: Ditto.
1401 * libc/syscalls/syswrite.c: Ditto.
1402
702ceb23
JJ
14032003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
1404
1405 * libc/time/tzset_r.c: Change local variables that are
1406 set via sscanf using the %h format specifier to be unsigned short
1407 instead of int.
1408
102861c9
JJ
14092003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
1410
1411 * configure.host: Allow i[34567]86 variant.
1412 * configure.in: Likewise.
1413 * README: Likewise to the docs.
1414 * configure: Regenerated.
1415 * Makefile.in: Ditto.
1416
b359e82c
JJ
14172003-05-28 Jeff Johnston <jjohnstn@redhat.com>
1418 Tom Fitzsimmons <fitzsim@redhat.com>
1419
1420 * configure.in: Add iconvdata support for x86 linux.
1421 * configure: Regenerated.
1422 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
1423 library, iconv, and linuxthreads support.
1424 * libc/sys/linux/configure.in: Ditto.
1425 * libc/sys/linux/Makefile.in: Regenerated.
1426 * libc/sys/linux/configure: Ditto.
1427 * iconvdata/EUC-JP.irreversible: New file.
1428 * iconvdata/Makefile.am: Ditto.
1429 * iconvdata/Makefile.in: Ditto.
1430 * iconvdata/SJIS.irreversible: Ditto.
1431 * iconvdata/aclocal.m4: Ditto.
1432 * iconvdata/configure: Ditto.
1433 * iconvdata/configure.in: Ditto.
1434 * iconvdata/dummy.c: Ditto.
1435 * iconvdata/euc-jp.c: Ditto.
1436 * iconvdata/gconv-modules: Ditto.
1437 * iconvdata/jis0201.c: Ditto.
1438 * iconvdata/jis0201.h: Ditto.
1439 * iconvdata/jis0208.c: Ditto.
1440 * iconvdata/jis0208.h: Ditto.
1441 * iconvdata/jis0212.c: Ditto.
1442 * iconvdata/jis0212.h: Ditto.
1443 * iconvdata/sjis.c: Ditto.
1444 * libc/include/errno.h: Protect definition of error_t.
1445 * libc/sys/linux/gethostid.c: New file.
1446 * libc/sys/linux/sethostid.c: Ditto.
1447 * libc/sys/linux/dl/Makefile.am: Ditto.
1448 * libc/sys/linux/dl/Makefile.in: Ditto.
1449 * libc/sys/linux/dl/abi-tag.h: Ditto.
1450 * libc/sys/linux/dl/atomicity.h: Ditto.
1451 * libc/sys/linux/dl/dl-addr.c: Ditto.
1452 * libc/sys/linux/dl/dl-cache.c: Ditto.
1453 * libc/sys/linux/dl/dl-cache.h: Ditto.
1454 * libc/sys/linux/dl/dl-close.c: Ditto.
1455 * libc/sys/linux/dl/dl-debug.c: Ditto.
1456 * libc/sys/linux/dl/dl-deps.c: Ditto.
1457 * libc/sys/linux/dl/dl-dst.h: Ditto.
1458 * libc/sys/linux/dl/dl-error.c: Ditto.
1459 * libc/sys/linux/dl/dl-fini.c: Ditto.
1460 * libc/sys/linux/dl/dl-init.c: Ditto.
1461 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
1462 * libc/sys/linux/dl/dl-libc.c: Ditto.
1463 * libc/sys/linux/dl/dl-librecon.h: Ditto.
1464 * libc/sys/linux/dl/dl-load.c: Ditto.
1465 * libc/sys/linux/dl/dl-lookup.c: Ditto.
1466 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
1467 * libc/sys/linux/dl/dl-minimal.c: Ditto.
1468 * libc/sys/linux/dl/dl-misc.c: Ditto.
1469 * libc/sys/linux/dl/dl-object.c: Ditto.
1470 * libc/sys/linux/dl/dl-open.c: Ditto.
1471 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
1472 * libc/sys/linux/dl/dl-profile.c: Ditto.
1473 * libc/sys/linux/dl/dl-profstub.c: Ditto.
1474 * libc/sys/linux/dl/dl-reloc.c: Ditto.
1475 * libc/sys/linux/dl/dl-runtime.c: Ditto.
1476 * libc/sys/linux/dl/dl-support.c: Ditto.
1477 * libc/sys/linux/dl/dl-sym.c: Ditto.
1478 * libc/sys/linux/dl/dl-version.c: Ditto.
1479 * libc/sys/linux/dl/dlfcn.h: Ditto.
1480 * libc/sys/linux/dl/do-lookup.h: Ditto.
1481 * libc/sys/linux/dl/do-rel.h: Ditto.
1482 * libc/sys/linux/dl/dynamic-link.h: Ditto.
1483 * libc/sys/linux/dl/kernel-features.h: Ditto.
1484 * libc/sys/linux/dl/ldsodefs.h: Ditto.
1485 * libc/sys/linux/dl/libintl.h: Ditto.
1486 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
1487 * libc/sys/linux/dl/unsecvars.h: Ditto.
1488 * libc/sys/linux/iconv/Makefile.am: Ditto.
1489 * libc/sys/linux/iconv/Makefile.in: Ditto.
1490 * libc/sys/linux/iconv/categories.def: Ditto.
1491 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
1492 * libc/sys/linux/iconv/gconv.c: Ditto.
1493 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
1494 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
1495 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
1496 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
1497 * libc/sys/linux/iconv/gconv_close.c: Ditto.
1498 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
1499 * libc/sys/linux/iconv/gconv_db.c: Ditto.
1500 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
1501 * libc/sys/linux/iconv/gconv_int.h: Ditto.
1502 * libc/sys/linux/iconv/gconv_open.c: Ditto.
1503 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
1504 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
1505 * libc/sys/linux/iconv/hash-string.h: Ditto.
1506 * libc/sys/linux/iconv/iconv.c: Ditto.
1507 * libc/sys/linux/iconv/iconv.h: Ditto.
1508 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
1509 * libc/sys/linux/iconv/iconv_close.c: Ditto.
1510 * libc/sys/linux/iconv/iconv_open.c: Ditto.
1511 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
1512 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
1513 * libc/sys/linux/iconv/loadinfo.h: Ditto.
1514 * libc/sys/linux/iconv/localeinfo.h: Ditto.
1515 * libc/sys/linux/iconv/loop.c: Ditto.
1516 * libc/sys/linux/iconv/skeleton.c: Ditto.
1517 * libc/sys/linux/iconv/strtab.c: Ditto.
1518 * libc/sys/linux/include/dl-hash.h: Ditto.
1519 * libc/sys/linux/include/dlfcn.h: Ditto.
1520 * libc/sys/linux/include/fnmatch.h: Ditto.
1521 * libc/sys/linux/include/gconv.h: Ditto.
1522 * libc/sys/linux/include/glob.h: Ditto.
1523 * libc/sys/linux/include/hesiod.h: Ditto.
1524 * libc/sys/linux/include/ifaddrs.h: Ditto.
1525 * libc/sys/linux/include/libc_private.h: Ditto.
1526 * libc/sys/linux/include/link.h: Ditto.
1527 * libc/sys/linux/include/namespace.h: Ditto.
1528 * libc/sys/linux/include/netconfig.h: Ditto.
1529 * libc/sys/linux/include/netdb.h: Ditto.
1530 * libc/sys/linux/include/nsswitch.h: Ditto.
1531 * libc/sys/linux/include/regex.h: Ditto.
1532 * libc/sys/linux/include/resolv.h: Ditto.
1533 * libc/sys/linux/include/rune.h: Ditto.
1534 * libc/sys/linux/include/runetype.h: Ditto.
1535 * libc/sys/linux/include/semaphore.h: Ditto.
1536 * libc/sys/linux/include/setlocale.h: Ditto.
1537 * libc/sys/linux/include/un-namespace.h: Ditto.
1538 * libc/sys/linux/include/wordexp.h: Ditto.
1539 * libc/sys/linux/include/arpa/ftp.h: Ditto.
1540 * libc/sys/linux/include/arpa/inet.h: Ditto.
1541 * libc/sys/linux/include/arpa/nameser.h: Ditto.
1542 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
1543 * libc/sys/linux/include/arpa/telnet.h: Ditto.
1544 * libc/sys/linux/include/arpa/tftp.h: Ditto.
1545 * libc/sys/linux/include/net/bpf.h: Ditto.
1546 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
1547 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
1548 * libc/sys/linux/include/net/bridge.h: Ditto.
1549 * libc/sys/linux/include/net/ethernet.h: Ditto.
1550 * libc/sys/linux/include/net/fddi.h: Ditto.
1551 * libc/sys/linux/include/net/if.h: Ditto.
1552 * libc/sys/linux/include/net/if_arc.h: Ditto.
1553 * libc/sys/linux/include/net/if_arp.h: Ditto.
1554 * libc/sys/linux/include/net/if_atm.h: Ditto.
1555 * libc/sys/linux/include/net/if_dl.h: Ditto.
1556 * libc/sys/linux/include/net/if_gif.h: Ditto.
1557 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
1558 * libc/sys/linux/include/net/if_llc.h: Ditto.
1559 * libc/sys/linux/include/net/if_media.h: Ditto.
1560 * libc/sys/linux/include/net/if_mib.h: Ditto.
1561 * libc/sys/linux/include/net/if_ppp.h: Ditto.
1562 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
1563 * libc/sys/linux/include/net/if_slvar.h: Ditto.
1564 * libc/sys/linux/include/net/if_sppp.h: Ditto.
1565 * libc/sys/linux/include/net/if_stf.h: Ditto.
1566 * libc/sys/linux/include/net/if_tap.h: Ditto.
1567 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
1568 * libc/sys/linux/include/net/if_tun.h: Ditto.
1569 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
1570 * libc/sys/linux/include/net/if_types.h: Ditto.
1571 * libc/sys/linux/include/net/if_var.h: Ditto.
1572 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
1573 * libc/sys/linux/include/net/intrq.h: Ditto.
1574 * libc/sys/linux/include/net/iso88025.h: Ditto.
1575 * libc/sys/linux/include/net/net_osdep.h: Ditto.
1576 * libc/sys/linux/include/net/netisr.h: Ditto.
1577 * libc/sys/linux/include/net/pfil.h: Ditto.
1578 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
1579 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
1580 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
1581 * libc/sys/linux/include/net/radix.h: Ditto.
1582 * libc/sys/linux/include/net/raw_cb.h: Ditto.
1583 * libc/sys/linux/include/net/route.h: Ditto.
1584 * libc/sys/linux/include/net/slcompress.h: Ditto.
1585 * libc/sys/linux/include/net/slip.h: Ditto.
1586 * libc/sys/linux/include/net/zlib.h: Ditto.
1587 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
1588 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
1589 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
1590 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
1591 * libc/sys/linux/include/netinet/igmp.h: Ditto.
1592 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
1593 * libc/sys/linux/include/netinet/in.h: Ditto.
1594 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
1595 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
1596 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
1597 * libc/sys/linux/include/netinet/in_var.h: Ditto.
1598 * libc/sys/linux/include/netinet/ip.h: Ditto.
1599 * libc/sys/linux/include/netinet/ip6.h: Ditto.
1600 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
1601 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
1602 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
1603 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
1604 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
1605 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
1606 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
1607 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
1608 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
1609 * libc/sys/linux/include/netinet/tcp.h: Ditto.
1610 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
1611 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
1612 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
1613 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
1614 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
1615 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
1616 * libc/sys/linux/include/netinet/udp.h: Ditto.
1617 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
1618 * libc/sys/linux/include/netinet6/ah.h: Ditto.
1619 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
1620 * libc/sys/linux/include/netinet6/esp.h: Ditto.
1621 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
1622 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
1623 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
1624 * libc/sys/linux/include/netinet6/in6.h: Ditto.
1625 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
1626 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
1627 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
1628 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
1629 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
1630 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
1631 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
1632 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
1633 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
1634 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
1635 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
1636 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
1637 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
1638 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
1639 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
1640 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
1641 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
1642 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
1643 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
1644 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
1645 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
1646 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
1647 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
1648 * libc/sys/linux/include/netns/idp.h: Ditto.
1649 * libc/sys/linux/include/netns/idp_var.h: Ditto.
1650 * libc/sys/linux/include/netns/ns.h: Ditto.
1651 * libc/sys/linux/include/netns/ns_error.h: Ditto.
1652 * libc/sys/linux/include/netns/ns_if.h: Ditto.
1653 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
1654 * libc/sys/linux/include/netns/sp.h: Ditto.
1655 * libc/sys/linux/include/netns/spidp.h: Ditto.
1656 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
1657 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
1658 * libc/sys/linux/include/netns/spp_var.h: Ditto.
1659 * libc/sys/linux/include/rpc/Makefile: Ditto.
1660 * libc/sys/linux/include/rpc/auth.h: Ditto.
1661 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
1662 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
1663 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
1664 * libc/sys/linux/include/rpc/clnt.h: Ditto.
1665 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
1666 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
1667 * libc/sys/linux/include/rpc/des.h: Ditto.
1668 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
1669 * libc/sys/linux/include/rpc/nettype.h: Ditto.
1670 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
1671 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
1672 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
1673 * libc/sys/linux/include/rpc/raw.h: Ditto.
1674 * libc/sys/linux/include/rpc/rpc.h: Ditto.
1675 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
1676 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
1677 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
1678 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
1679 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
1680 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
1681 * libc/sys/linux/include/rpc/svc.h: Ditto.
1682 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
1683 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
1684 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
1685 * libc/sys/linux/include/rpc/types.h: Ditto.
1686 * libc/sys/linux/include/rpc/xdr.h: Ditto.
1687 * libc/sys/linux/intl/Makefile.am: Ditto.
1688 * libc/sys/linux/intl/Makefile.in: Ditto.
1689 * libc/sys/linux/intl/bindtextdom.c: Ditto.
1690 * libc/sys/linux/intl/catgets.c: Ditto.
1691 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
1692 * libc/sys/linux/intl/config.h: Ditto.
1693 * libc/sys/linux/intl/dcgettext.c: Ditto.
1694 * libc/sys/linux/intl/dcigettext.c: Ditto.
1695 * libc/sys/linux/intl/dcngettext.c: Ditto.
1696 * libc/sys/linux/intl/dgettext.c: Ditto.
1697 * libc/sys/linux/intl/dngettext.c: Ditto.
1698 * libc/sys/linux/intl/explodename.c: Ditto.
1699 * libc/sys/linux/intl/finddomain.c: Ditto.
1700 * libc/sys/linux/intl/gettext.c: Ditto.
1701 * libc/sys/linux/intl/gettext.h: Ditto.
1702 * libc/sys/linux/intl/gettextP.h: Ditto.
1703 * libc/sys/linux/intl/hash-string.h: Ditto.
1704 * libc/sys/linux/intl/l10nflist.c: Ditto.
1705 * libc/sys/linux/intl/loadinfo.h: Ditto.
1706 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
1707 * libc/sys/linux/intl/locale.alias: Ditto.
1708 * libc/sys/linux/intl/localealias.c: Ditto.
1709 * libc/sys/linux/intl/ngettext.c: Ditto.
1710 * libc/sys/linux/intl/open_catalog.c: Ditto.
1711 * libc/sys/linux/intl/plural.c: Ditto.
1712 * libc/sys/linux/intl/plural.y: Ditto.
1713 * libc/sys/linux/intl/stpcpy.c: Ditto.
1714 * libc/sys/linux/intl/textdomain.c: Ditto.
1715 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
1716 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1717 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
1718 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
1719 * libc/sys/linux/linuxthreads/attr.c: Ditto.
1720 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
1721 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
1722 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
1723 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
1724 * libc/sys/linux/linuxthreads/config.h: Ditto.
1725 * libc/sys/linux/linuxthreads/configure: Ditto.
1726 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1727 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
1728 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
1729 * libc/sys/linux/linuxthreads/events.c: Ditto.
1730 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
1731 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
1732 * libc/sys/linux/linuxthreads/internals.h: Ditto.
1733 * libc/sys/linux/linuxthreads/join.c: Ditto.
1734 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
1735 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
1736 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
1737 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
1738 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
1739 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
1740 * libc/sys/linux/linuxthreads/manager.c: Ditto.
1741 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
1742 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
1743 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
1744 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
1745 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
1746 * libc/sys/linux/linuxthreads/prio.c: Ditto.
1747 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
1748 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
1749 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
1750 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
1751 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
1752 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
1753 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
1754 * libc/sys/linux/linuxthreads/queue.h: Ditto.
1755 * libc/sys/linux/linuxthreads/reent.c: Ditto.
1756 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
1757 * libc/sys/linux/linuxthreads/restart.h: Ditto.
1758 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
1759 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
1760 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
1761 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
1762 * libc/sys/linux/linuxthreads/signals.c: Ditto.
1763 * libc/sys/linux/linuxthreads/specific.c: Ditto.
1764 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
1765 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
1766 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
1767 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
1768 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
1769 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
1770 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
1771 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
1772 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
1773 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
1774 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
1775 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
1776 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
1777 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
1778 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
1779 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
1780 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
1781 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
1782 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
1783 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
1784 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
1785 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
1786 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
1787 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
1788 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
1789 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
1790 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
1791 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
1792 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
1793 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
1794 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
1795 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
1796 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
1797 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
1798 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
1799 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
1800 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
1801 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
1802 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
1803 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
1804 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
1805 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
1806 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
1807 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
1808 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
1809 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
1810 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
1811 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
1812 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
1813 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
1814 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
1815 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
1816 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
1817 * libc/sys/linux/linuxthreads/unload.c: Ditto.
1818 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
1819 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
1820 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
1821 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
1822 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
1823 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
1824 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
1825 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
1826 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
1827 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1828 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
1829 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
1830 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
1831 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1832 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
1833 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1834 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
1835 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
1836 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
1837 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
1838 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
1839 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1840 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
1841 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
1842 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
1843 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
1844 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
1845 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
1846 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
1847 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
1848 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
1849 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
1850 * libc/sys/linux/net/Makefile.am: Ditto.
1851 * libc/sys/linux/net/Makefile.in: Ditto.
1852 * libc/sys/linux/net/addr2ascii.3: Ditto.
1853 * libc/sys/linux/net/addr2ascii.c: Ditto.
1854 * libc/sys/linux/net/ascii2addr.c: Ditto.
1855 * libc/sys/linux/net/base64.c: Ditto.
1856 * libc/sys/linux/net/bindresvport.c: Ditto.
1857 * libc/sys/linux/net/byteorder.3: Ditto.
1858 * libc/sys/linux/net/ether_addr.c: Ditto.
1859 * libc/sys/linux/net/ethers.3: Ditto.
1860 * libc/sys/linux/net/getaddrinfo.3: Ditto.
1861 * libc/sys/linux/net/getaddrinfo.c: Ditto.
1862 * libc/sys/linux/net/gethostbydns.c: Ditto.
1863 * libc/sys/linux/net/gethostbyht.c: Ditto.
1864 * libc/sys/linux/net/gethostbyname.3: Ditto.
1865 * libc/sys/linux/net/gethostbynis.c: Ditto.
1866 * libc/sys/linux/net/gethostnamadr.c: Ditto.
1867 * libc/sys/linux/net/getifaddrs.3: Ditto.
1868 * libc/sys/linux/net/getifaddrs.c: Ditto.
1869 * libc/sys/linux/net/getipnodebyname.3: Ditto.
1870 * libc/sys/linux/net/getnameinfo.3: Ditto.
1871 * libc/sys/linux/net/getnameinfo.c: Ditto.
1872 * libc/sys/linux/net/getnetbydns.c: Ditto.
1873 * libc/sys/linux/net/getnetbyht.c: Ditto.
1874 * libc/sys/linux/net/getnetbynis.c: Ditto.
1875 * libc/sys/linux/net/getnetent.3: Ditto.
1876 * libc/sys/linux/net/getnetnamadr.c: Ditto.
1877 * libc/sys/linux/net/getproto.c: Ditto.
1878 * libc/sys/linux/net/getprotoent.3: Ditto.
1879 * libc/sys/linux/net/getprotoent.c: Ditto.
1880 * libc/sys/linux/net/getprotoname.c: Ditto.
1881 * libc/sys/linux/net/getservbyname.c: Ditto.
1882 * libc/sys/linux/net/getservbyport.c: Ditto.
1883 * libc/sys/linux/net/getservent.3: Ditto.
1884 * libc/sys/linux/net/getservent.c: Ditto.
1885 * libc/sys/linux/net/herror.c: Ditto.
1886 * libc/sys/linux/net/hesiod.3: Ditto.
1887 * libc/sys/linux/net/hesiod.c: Ditto.
1888 * libc/sys/linux/net/if_indextoname.3: Ditto.
1889 * libc/sys/linux/net/ifname.c: Ditto.
1890 * libc/sys/linux/net/inet.3: Ditto.
1891 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
1892 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
1893 * libc/sys/linux/net/inet_addr.c: Ditto.
1894 * libc/sys/linux/net/inet_lnaof.c: Ditto.
1895 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
1896 * libc/sys/linux/net/inet_net.3: Ditto.
1897 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
1898 * libc/sys/linux/net/inet_net_pton.c: Ditto.
1899 * libc/sys/linux/net/inet_neta.c: Ditto.
1900 * libc/sys/linux/net/inet_netof.c: Ditto.
1901 * libc/sys/linux/net/inet_network.c: Ditto.
1902 * libc/sys/linux/net/inet_ntoa.c: Ditto.
1903 * libc/sys/linux/net/inet_ntop.c: Ditto.
1904 * libc/sys/linux/net/inet_pton.c: Ditto.
1905 * libc/sys/linux/net/innetgr-stub.c: Ditto.
1906 * libc/sys/linux/net/ip6opt.c: Ditto.
1907 * libc/sys/linux/net/iso_addr.3: Ditto.
1908 * libc/sys/linux/net/iso_addr.c: Ditto.
1909 * libc/sys/linux/net/issetugid-stub.c: Ditto.
1910 * libc/sys/linux/net/linkaddr.3: Ditto.
1911 * libc/sys/linux/net/linkaddr.c: Ditto.
1912 * libc/sys/linux/net/map_v4v6.c: Ditto.
1913 * libc/sys/linux/net/name6.c: Ditto.
1914 * libc/sys/linux/net/namespace.h: Ditto.
1915 * libc/sys/linux/net/ns.3: Ditto.
1916 * libc/sys/linux/net/ns_addr.c: Ditto.
1917 * libc/sys/linux/net/ns_name.c: Ditto.
1918 * libc/sys/linux/net/ns_netint.c: Ditto.
1919 * libc/sys/linux/net/ns_ntoa.c: Ditto.
1920 * libc/sys/linux/net/ns_parse.c: Ditto.
1921 * libc/sys/linux/net/ns_print.c: Ditto.
1922 * libc/sys/linux/net/ns_ttl.c: Ditto.
1923 * libc/sys/linux/net/nsap_addr.c: Ditto.
1924 * libc/sys/linux/net/nsdispatch.3: Ditto.
1925 * libc/sys/linux/net/nsdispatch.c: Ditto.
1926 * libc/sys/linux/net/nslexer.c: Ditto.
1927 * libc/sys/linux/net/nslexer.l: Ditto.
1928 * libc/sys/linux/net/nsparser.c: Ditto.
1929 * libc/sys/linux/net/nsparser.h: Ditto.
1930 * libc/sys/linux/net/nsparser.y: Ditto.
1931 * libc/sys/linux/net/rcmd.3: Ditto.
1932 * libc/sys/linux/net/rcmd.c: Ditto.
1933 * libc/sys/linux/net/rcmdsh.3: Ditto.
1934 * libc/sys/linux/net/rcmdsh.c: Ditto.
1935 * libc/sys/linux/net/recv.c: Ditto.
1936 * libc/sys/linux/net/res_comp.c: Ditto.
1937 * libc/sys/linux/net/res_config.h: Ditto.
1938 * libc/sys/linux/net/res_data.c: Ditto.
1939 * libc/sys/linux/net/res_debug.c: Ditto.
1940 * libc/sys/linux/net/res_init.c: Ditto.
1941 * libc/sys/linux/net/res_mkquery.c: Ditto.
1942 * libc/sys/linux/net/res_mkupdate.c: Ditto.
1943 * libc/sys/linux/net/res_query.c: Ditto.
1944 * libc/sys/linux/net/res_send.c: Ditto.
1945 * libc/sys/linux/net/res_update.c: Ditto.
1946 * libc/sys/linux/net/resolver.3: Ditto.
1947 * libc/sys/linux/net/rthdr.c: Ditto.
1948 * libc/sys/linux/net/send.c: Ditto.
1949 * libc/sys/linux/net/un-namespace.h: Ditto.
1950 * libc/sys/linux/net/vars.c: Ditto.
1951 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
1952 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1953 * libc/sys/linux/stdlib/Makefile.in: Ditto.
1954 * libc/sys/linux/stdlib/cclass.h: Ditto.
1955 * libc/sys/linux/stdlib/cname.h: Ditto.
1956 * libc/sys/linux/stdlib/collate.c: Ditto.
1957 * libc/sys/linux/stdlib/collate.h: Ditto.
1958 * libc/sys/linux/stdlib/collcmp.c: Ditto.
1959 * libc/sys/linux/stdlib/engine.c: Ditto.
1960 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
1961 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
1962 * libc/sys/linux/stdlib/glob.3: Ditto.
1963 * libc/sys/linux/stdlib/glob.c: Ditto.
1964 * libc/sys/linux/stdlib/reallocf.c: Ditto.
1965 * libc/sys/linux/stdlib/regcomp.c: Ditto.
1966 * libc/sys/linux/stdlib/regerror.c: Ditto.
1967 * libc/sys/linux/stdlib/regex.3: Ditto.
1968 * libc/sys/linux/stdlib/regex2.h: Ditto.
1969 * libc/sys/linux/stdlib/regexec.c: Ditto.
1970 * libc/sys/linux/stdlib/regfree.c: Ditto.
1971 * libc/sys/linux/stdlib/utils.h: Ditto.
1972 * libc/sys/linux/stdlib/wordexp.c: Ditto.
1973 * libc/sys/linux/stdlib/wordfree.c: Ditto.
1974 * libc/sys/linux/sys/dlfcn.h: Ditto.
1975 * libc/sys/linux/sys/elfclass.h: Ditto.
1976 * libc/sys/linux/sys/event.h: Ditto.
1977 * libc/sys/linux/sys/ioccom.h: Ditto.
1978 * libc/sys/linux/sys/libc-tsd.h: Ditto.
1979 * libc/sys/linux/sys/link.h: Ditto.
1980 * libc/sys/linux/sys/lock.h: Ditto.
1981 * libc/sys/linux/sys/param.h: Ditto.
1982 * libc/sys/linux/sys/socket.h: Ditto.
1983 * libc/sys/linux/sys/sockio.h: Ditto.
1984
82095e79
JJ
19852003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1986
1987 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
1988 normal mode
1989 * newlib/libc/machine/h8300/memset.S: Likewise
1990 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
1991 * newlib/lib/machine/h8300/reg_memset.S: Likewise
1992 * newlib/lib/machine/h8300/setjmp.S: Likewise
1993 * newlib/lib/machine/h8300/strcmp.S: Likewise
1994 * newlib/lib/sys/h8300hms/crt0.S: Likewise
1995
8a4b4764
CV
19962003-05-13 Corinna Vinschen <corinna@vinschen.de>
1997
1998 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
1999 * libc/include/stdio.h: Ditto.
2000 * libc/include/sys/config.h: Ditto.
2001 * libc/stdio/mktemp.c: Ditto.
2002
837e070f
CV
20032003-05-13 Corinna Vinschen <corinna@vinschen.de>
2004
2005 * libc/locale/ldpart.c (__part_load_locale): Substitute
2006 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
2007 * libc/search/hash.c (__hash_open): Ditto.
2008 (init_hash): Ditto.
2009 * libc/stdio/fseek.c (fseek): Ditto.
2010 * libc/stdio/makebuf.c (__smakebuf): Ditto.
2011 * libc/stdio/mktemp.c (_gettemp): Ditto.
2012
b47fcdf0
CV
20132003-05-12 Corinna Vinschen <corinna@vinschen.de>
2014
2015 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
2016
11e3a520
CV
20172003-05-12 Corinna Vinschen <corinna@vinschen.de>
2018
2019 * configure.host: Accomodate removing the libc/sys/cygwin dir.
2020 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
2021 if __CYGWIN_USE_BIG_TYPES__ is set.
2022 * libc/search/hash.c (__hash_open): Ditto.
2023 (init_hash): Ditto.
2024 * libc/stdio/fseek.c (fseek): Ditto.
2025 * libc/stdio/makebuf.c (__smakebuf): Ditto.
2026 * libc/stdio/mktemp.c (_gettemp): Ditto.
2027 * libc/sys/cygwin/Makefile.am: Remove.
2028 * libc/sys/cygwin/Makefile.in: Remove.
2029 * libc/sys/cygwin/aclocal.m4: Remove.
2030 * libc/sys/cygwin/configure: Remove.
2031 * libc/sys/cygwin/configure.in: Remove.
2032 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
2033 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
2034 directory.
2035 * libc/sys/cygwin/sys/param.h: Ditto.
2036 * libc/sys/cygwin/sys/utime.h: Ditto.
2037 * libc/sys/cygwin/sys/utmp.h: Ditto.
2038
d1b5e65b
CV
20392003-05-11 Corinna Vinschen <corinna@vinschen.de>
2040
2041 * libc/include/sys/types.h: Don't define key_t for Cygwin.
2042
ec48a953
CF
20432003-05-10 Christopher Faylor <cgf@redhat.com>
2044
2045 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
2046 64 bit inodes.
2047
a3cc5851
CV
20482003-05-09 Corinna Vinschen <corinna@vinschen.de>
2049
2050 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
2051 Include cygwin/config.h instead.
2052
57ff95d3
JJ
20532003-04-16 Jeff Johnston <jjohnstn@redhat.com>
2054
2055 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
2056 all code with #ifdef __SPE__ test.
2057 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
2058
cfd2c7be
CF
20592003-04-15 Chris January <chris@atomice.net>
2060
2061 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
2062 Cygwin.
2063
6f48c0ae
JR
20642003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
2065
2066 * libc/machine/sh/memset.S: Avoid clobbering volatile
2067 objects following a tiny to-be-set array in the same quadword.
2068
8f8d09c0
CV
20692001-04-09 Corinna Vinschen <corinna@vinschen.de>
2070
2071 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
2072 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
2073 * libc/string/Makefile.in: Regenerated.
2074 * libc/string/wcswidth.c: New file.
2075 * libc/string/wcwidth.c: New file.
2076 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
2077
40c3b2d0
JR
2078Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
2079
2080 * libc/machine/sh/memset.S: Fix problem with alloco region
2081 exceeding destination region for length >= 88 bytes, start
2082 & 0x16 == 0, end & 0x1f == 18.
2083
8ae6a3dd
CV
20842001-04-03 Corinna Vinschen <corinna@vinschen.de>
2085
2086 * libc/string/wcscoll.c: Fix comment.
2087
d122b1cc
CV
20882001-04-02 Corinna Vinschen <corinna@vinschen.de>
2089
2090 * libc/include/wchar.h: Add definition for wcscoll.
2091 * libc/string/Makefile.am: Add wcscoll.c.
2092 * libc/string/Makefile.in: Regenerated.
2093 * libc/string/wcscoll.c: New file.
2094 * libc/string/wcstrings.tex: Add wcscoll.
2095
31ee99a4
CV
20962003-04-01 Corinna Vinschen <corinna@vinschen.de>
2097
2098 * libc/stdio/sscanf.c: Update flags description.
2099 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
2100 type.
2101 (__svfscanf_r): Add 'hh' and 'll' handling.
2102
d78045ee
CV
21032003-04-01 Corinna Vinschen <corinna@vinschen.de>
2104
2105 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
2106 __d_position member to _off_t.
2107
e6bdc6c5
JJ
21082003-03-20 Jeff Johnston <jjohnstn@redhat.com>
2109
2110 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
2111 count all characters used to create number against maximum width.
2112 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
2113
e65d559e
JJ
21142003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
2115
2116 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
2117 support.
2118 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
2119 flag to support simulator only extensions.
2120
6b3bb52b
JJ
21212003-03-17 Bob Cassels <bcassels@abinitio.com>
2122
2123 * libc/string/wcschr.c: (wcschr): Look for character first,
2124 then for end of string, so you can do wcschr(x, '\0').
2125
2a940c1a
CV
21262003-03-10 Corinna Vinschen <corinna@vinschen.de>
2127
2128 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
2129 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
2130 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
2131 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
2132 * libc/stdio/fseeko.c (fseeko): Ditto.
2133 * libc/stdio/ftello.c (ftello): Ditto.
2134 * libc/stdio/stdio.c (__swrite): Ditto.
2135 (__sseek): Ditto.
2136 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
2137 * libc/stdio/fseek.c (fseek): Ditto.
2138 * libc/stdio/fsetpos.c (fsetpos): Ditto.
2139 * libc/stdio/ftell.c (ftell): Ditto.
2140 * libc/stdio/local.h: Declare __sseek using _off_t.
2141
150c2818
CV
21422003-03-09 Corinna Vinschen <corinna@vinschen.de>
2143
2144 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
2145
2c440f9c
CV
21462003-03-09 Corinna Vinschen <corinna@vinschen.de>
2147
2148 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
2149 Cygwin.
2150
f882fd15
CV
21512003-03-09 Corinna Vinschen <corinna@vinschen.de>
2152
2153 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
2154 Cygwin.
2155 * libc/include/sys/stat.h: Ditto.
2156 * libc/include/sys/unistd.h: Ditto.
2157 * libc/sys/cygwin/sys/dirent.h: Ditto.
2158
01d61543
CF
21592003-03-07 Christopher Faylor <cgf@redhat.com>
2160
2161 * libc/include/sys/unistd.h: Guard getopt.h call to force only
2162 declaration of getopt and avoid getopt_long declaration.
2163 * libc/sys/cygwin/include/unistd.h: Remove.
2164
5582abd2
CV
21652003-03-07 Corinna Vinschen <corinna@vinschen.de>
2166
2167 * configure.host: Define stdio64_dir for Cygwin.
2168 * libc/include/stdio.h: Change definition of fpos_t to fulfill
2169 Cygwin 64bit file access requirements.
2170 Drop definition of f*64() functions when compiled for Cygwin.
2171 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
2172 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
2173 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
2174
641da1eb
JJ
21752003-03-07 Jeff Johnston <jjohnstn@redhat.com>
2176
2177 * libc/include/sys/reent.h: Remove extraneous _sig_func
2178 declaration.
2179
21802003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
2181
2182 * libc/sys/h8300hms/Makefile.am: Add support for new files.
2183 * libc/sys/h8300hms/Makefile.in: Regenerated.
2184 * libc/sys/h8300hms/close.S: New file.
2185 * libc/sys/h8300hms/fstat.S: Ditto.
2186 * libc/sys/h8300hms/lseek.S: Ditto.
2187 * libc/sys/h8300hms/open.S: Ditto.
2188 * libc/sys/h8300hms/stat.S: Ditto.
2189 * libc/sys/h8300hms/read.S: New file to replace read.c.
2190 * libc/sys/h8300hms/read.c: Removed.
2191 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
2192 _lseek, _close, _stat, _fstat.
2193 * libc/sys/h8300hms/write.S: New file to replace write.c.
2194 * libc/sys/h8300hms/write.c: Removed.
2195
bac50d6b
NC
21962003-02-20 Nick Clifton <nickc@redhat.com>
2197
2198 * Add support for Cirrus Maverick ARM co-processor:
2199
2200 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
2201
2202 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
2203 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
2204
2205 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
2206
2207 * configure.host: set sys_dir, syscall_dir, and
2208 newlib_cflags for ep9312 host.
2209
2210 * configure.host: Restore alpha sorting of entries in case
2211 statements.
2212
12ee7037
JJ
22132003-02-19 Jeff Johnston <jjohnstn@redhat.com>
2214
2215 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
2216
1e810ba0
JJ
22172003-02-18 Christian Groessler <chris@groessler.org>
2218
2219 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
2220 support z8001 segmented mode.
2221
b1ca765e
JJ
22222003-02-18 Earnie Boyd <earnie@users.sf.net>
2223
2224 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
2225 with a NULL value.
2226
51a46b54
CF
22272003-02-10 Christopher Faylor <cgf@redhat.com>
2228
2229 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
2230 Don't define some types under cygwin.
2231
313f1349
JJ
22322003-02-07 Jeff Johnston <jjohnstn@redhat.com>
2233
2234 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
2235 option to allow disabling of syscalls being supplied in newlib.
2236 * aclocal.m4: Regenerated.
2237 * configure: Ditto.
2238 * configure.host: Add support of new configuration option and add
2239 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
2240 * doc/aclocal.m4: Regenerated.
2241 * doc/configure: Ditto.
2242 * libc/*aclocal.m4: Ditto.
2243 * libc/*configure: Ditto.
2244 * libm/*aclocal.m4: Ditto.
2245 * libm/*configure: Ditto.
2246 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
2247 is disabled.
2248 * libc/sys/arm/Makefile.in: Regenerated.
2249
5017a3da
JJ
22502003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
2251
2252 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
2253 -1 to be sure it cannot later match a valid file fd causing
2254 isatty() to return 1.
2255 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
2256 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
2257 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
2258
ad36f7d1
JJ
22592003-02-03 Jeff Johnston <jjohnstn@redhat.com>
2260
2261 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
2262 buffer based on the precision, after we have processed the input value
2263 in a local buffer and know its relative magnitude.
2264
a74181ee
JJ
22652003-01-31 Michael Snyder <msnyder@redhat.com>
2266
2267 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
2268 into registers r1 and r2, so that the simulator can distinguish
2269 this trap from a breakpoint trap. Copied from libgloss.
2270
b85498d4
JJ
22712003-01-31 Michael Snyder <msnyder@redhat.com>
2272
2273 * libc/sys/h8300hms/crt0.S (_start): Change local label
2274 from .loop to .Loop, so that ld and gdb will ignore it.
2275
4700b829
JJ
22762003-01-29 Jason Tishler <jason@tishler.net>
2277
2278 * libc/include/time.h: Declare nanosleep() under Cygwin.
2279
0127ae40
NC
22802003-01-24 Nick Clifton <nickc@redhat.com>
2281
2282 * Add sh2e support:
2283
2284 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
2285
2286 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
2287 * libc/machine/sh/setjmp.S: Likewise.
2288 * libc/include/machine/ieeefp.h: Likewise.
2289
8bbcd9a1
CV
22902003-01-24 Corinna Vinschen <corinna@vinschen.de>
2291
2292 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
2293 for Cygwin.
2294
b8838e6f
JJ
22952003-01-21 Anita Kulkarni <anitak@kpit.com>
2296
2297 * libc/time/difftime.c : Typecast the result to double.
2298
f9e41155
CF
22992003-01-20 Christopher Faylor <cgf@redhat.com>
2300
2301 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
2302
6b5a7988
NC
23032003-01-18 Nick Clifton <nickc@redhat.com>
2304
2305 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
2306 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
2307
c3e92877
JJ
23082003-01-16 Joel Sherrill <joel@OARcorp.com>
2309
2310 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
2311 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
2312 constants are defined in each file in the shared versions in
2313 libc/include.
2314 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
2315 autoconf can link programs.
2316 * libc/include/machine/types.h: Explicitly specify signed on
2317 intXX_t types to ensure they are signed.
2318
84510217
CF
23192003-01-14 Christopher Faylor <cgf@redhat.com>
2320
2321 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
2322 extensions.
2323
b3934ab3
RS
23242003-01-08 Richard Sandiford <rsandifo@redhat.com>
2325
2326 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
2327
be9c60e5
JJ
23282003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
2329
2330 * libc/stdio/sprintf.c: fix typo
2331 * libc/stdio/vfprintf.c: fix typo
2332
d4c3a750
JJ
23332003-01-07 Jeff Johnston <jjohnstn@redhat.com>
2334
2335 * configure.host: Support long double I/O for x86-linux.
2336 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
2337 large enough to hold formatted result.
2338 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
2339
b2294aaa
JJ
23402003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
2341
2342 * Makefile.am: Add vasprintf.
2343 * Makefile.in: Regenerated.
2344
ea5e5daf
JJ
23452003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
2346
2347 * asprintf.c (_asprintf_r): insure both declarations
2348 are the same.
2349
5c581eca
CF
23502002-12-28 Christopher Faylor <cgf@redhat.com>
2351
2352 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
2353 than defining getopt directly.
2354
60b0838f
JJ
23552002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2356
2357 * NEWS: Update with 1.11.0 info.
2358 * README: Ditto.
2359 * acinclude.m4: Change version number to 1.11.0.
2360 * aclocal.m4: Regenerated.
2361 * configure: Ditto.
2362 * doc/aclocal.m4: Ditto.
2363 * doc/configure: Ditto.
2364 * libc/*/aclocal.m4: Ditto.
2365 * libc/*/configure: Ditto.
2366 * libc/libc.texinfo: Ditto.
2367 * libm/*/aclocal.m4: Ditto.
2368 * libm/*/configure: Ditto.
2369 * libm/libm.texinfo: Ditto.
2370 * libc/sys/linux/shared.ld: Add VERS_1.11.
2371
10501d57
JJ
23722002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2373
2374 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
2375 Solutions to Red Hat Inc.
2376 * libc/machine/i386/f_atan2f.S: Ditto.
2377 * libc/machine/i386/f_exp.c: Ditto.
2378 * libc/machine/i386/f_expf.c: Ditto.
2379 * libc/machine/i386/f_frexp.S: Ditto.
2380 * libc/machine/i386/f_frexpf.S: Ditto.
2381 * libc/machine/i386/f_ldexp.S: Ditto.
2382 * libc/machine/i386/f_ldexpf.S: Ditto.
2383 * libc/machine/i386/f_log.S: Ditto.
2384 * libc/machine/i386/f_log10.S: Ditto.
2385 * libc/machine/i386/f_log10f.S: Ditto.
2386 * libc/machine/i386/f_logf.S: Ditto.
2387 * libc/machine/i386/f_pow.c: Ditto.
2388 * libc/machine/i386/f_powf.c: Ditto.
2389 * libc/machine/i386/f_tan.S: Ditto.
2390 * libc/machine/i386/f_tanf.S: Ditto.
2391 * libc/machine/i386/memchr.S: Ditto.
2392 * libc/machine/i386/memcmp.S: Ditto.
2393 * libc/machine/i386/memcpy.S: Ditto.
2394 * libc/machine/i386/memmove.S: Ditto.
2395 * libc/machine/i386/memset.S: Ditto.
2396 * libc/machine/i386/strchr.S: Ditto.
2397 * libc/machine/i386/strlen.S: Ditto.
2398 * libm/machine/i386/f_atan2.S: Ditto.
2399 * libm/machine/i386/f_atan2f.S: Ditto.
2400 * libm/machine/i386/f_exp.c: Ditto.
2401 * libm/machine/i386/f_expf.c: Ditto.
2402 * libm/machine/i386/f_frexp.S: Ditto.
2403 * libm/machine/i386/f_frexpf.S: Ditto.
2404 * libm/machine/i386/f_ldexp.S: Ditto.
2405 * libm/machine/i386/f_ldexpf.S: Ditto.
2406 * libm/machine/i386/f_log.S: Ditto.
2407 * libm/machine/i386/f_log10.S: Ditto.
2408 * libm/machine/i386/f_log10f.S: Ditto.
2409 * libm/machine/i386/f_logf.S: Ditto.
2410 * libm/machine/i386/f_pow.c: Ditto.
2411 * libm/machine/i386/f_powf.c: Ditto.
2412 * libm/machine/i386/f_tan.S: Ditto.
2413 * libm/machine/i386/f_tanf.S: Ditto.
2414
9b3f0d16
JJ
24152002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2416
2417 * libc/stdlib/environ.c: Update license to Red Hat.
2418 * libc/machine/hppa/setjmp.S: Ditto.
2419 * libm/test/Makefile.in: Ditto.
2420
d693ad84
JJ
24212002-12-19 Jeff Johnston <jjohnstn@redhat.com>
2422
2423 * configure.host: Remove references to go32.
2424 * libc/sys/go32/*: Removed.
2425
7da92d15
JJ
24262002-12-16 Kazu Hirata <kazu@cs.umass.edu>
2427
2428 * libc/include/sys/config.h: Change setting of INT_MAX
2429 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
2430 __H8300S__. Also consolidate flag settings for these
2431 platforms.
2432
ea01c7f5
JJ
24332002-12-10 Joel Sherrill <joel@OARcorp.com>
2434
2435 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
2436 for i386-rtems targets.
2437
c049dd5a
JJ
24382002-12-06 Jeff Johnston <jjohnstn@redhat.com>
2439
2440 * libc/include/stdlib.h (strtof): New prototype (from C99).
2441 (strtodf): Changed from prototype to macro which redefines
2442 to strtof.
2443 * libc/stdlib/atof.c: Change documentation to refer to strtof
2444 instead of strtodf.
2445 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
2446 strtodf.
2447 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
2448 (strtof): New function.
2449 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
2450 calls strtof.
2451
46a402e0
CF
24522002-11-27 Christopher Faylor <cgf@redhat.com>
2453
2454 * libc/string/memset.c (memset): Fix comment.
2455
b3cc01b0
CF
24562002-11-26 Christopher Faylor <cgf@redhat.com>
2457
2458 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
2459 function.
2460
d90f3dc1
CF
24612002-11-25 Christopher Faylor <cgf@redhat.com>
2462
2463 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
2464 variable, introduced below, everywhere.
2465
f24585c6
KH
24662002-11-25 Kazu Hirata <kazu@cs.umass.edu>
2467
2468 * libc/string/memset.c (memset): Make it safe even if
2469 sizeof (int) = 2.
2470
2955fd76
JJ
24712002-11-22 Joe Buehler <jbuehler@hekimian.com>
2472
2473 * configure.in: Change check for libc/include in ${CC} to
2474 use an intermediate value so as to work with different shells.
2475 * configure: Regenerated.
2476 * Makefile.in: Ditto.
2477
40ce7368
JJ
24782002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
2479
2480 * libc/sys/h8300hms/read.c: Add support for normal mode
2481 architecture.
2482
505746ad
JJ
24832002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
2484
2485 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
2486 code for __H8300H__ and __H8300S__. Also return 32-bit return code
2487 when -mint32 is used.
2488
28ecb2f5
NC
24892002-11-18 Nick Clifton <nickc@redhat.com>
2490
2491 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
2492
665b994e
JJ
24932002-11-14 Jeff Johnston <jjohnstn@redhat.com>
2494
2495 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
2496 only issue one pass/fail message for a compile/link/execute.
2497 * testsuite/newlib.elix/elix.exp: New file.
2498 * testsuite/newlib.elix/tmmap.c: Ditto.
2499
e91ec2e3
CF
25002002-11-06 Christopher Faylor <cgf@redhat.com>
2501
2502 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
2503 * libc/stdlib/mlock.c: Ditto.
2504 * libc/stdlib/msize.c: Ditto.
2505 * libc/stdlib/msize.c: Ditto.
2506 * libc/stdlib/mtrim.c: Ditto.
2507 * libc/stdlib/valloc.c: Ditto.
2508
944772c7
JJ
25092002-11-12 Jeff Johnston <jjohnstn@redhat.com>
2510
2511 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
2512 for inf/nan, make sure that the check ignores the sign bit.
2513
dd7ee147
JJ
25142002-11-07 Joel Sherrill <joel@OARcorp.com>
2515
2516 * libc/sys/rtems/machine: New directory.
2517 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
2518 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
2519 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
2520 targets more BSD like when installed without requiring files to
2521 be overwritten at install point when RTEMS itself is installed.
2522 * Makefile.am: Pick up system dependent machine .h files such as
2523 might be found on a BSD-ish system.
2524 * Makefile.in: Regenerate.
2525 * libc/include/machine/types.h: When on an RTEMS target, define a
2526 few BSD flavor types.
2527
25282002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
2529
2530 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
2531
18cd62b7
JJ
25322002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2533
2534 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
2535 * libc/include/wctype.h: Ditto.
2536
d2888812
JJ
25372002-11-04 Jeff Johnston <jjohnstn@redhat.com>
2538
2539 * libc/include/wchar.h: Add extern "C" specifier if C++.
2540 * libc/include/wctype.h: Ditto.
2541
978ea3cf
JJ
25422002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2543
2544 * testsuite/newlib.wctype/tiswctype.c: New test case.
2545 * testsuite/newlib.wctype/twctrans.c: Ditto.
2546
a42cf80a
JJ
25472002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2548
2549 * libc/sys/linux/machine/i386/include/endian.h: New file.
2550 * libc/sys/linux/machine/i386/include/param.h: Ditto.
2551
c9ccb1f2
JJ
25522002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2553
2554 * libm/machine/i386/aclocal.m4: Regenerated.
2555 * libm/machine/i386/configure: Ditto.
2556
94c5b430
JJ
25572002-10-18 Jeff Johnston <jjohnstn@redhat.com>
2558
2559 * testsuite/include/check.h: New header file to use with
2560 test cases.
2561 * testsuite/lib/newlib.exp: Add testsuite/include directory
2562 to list of header files to use.
2563 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
2564 * testsuite/newlib.wctype/wctype.exp: New file.
2565
ccdae543
RS
25662002-10-11 Graham Stott <graham.stott@btinternet.com>
2567 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
2568
2569 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
2570 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
2571 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
2572
73972116
JS
25732002-10-07 Joel Sherrill <joel@OARcorp.com>
2574
2575 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
2576 dummy programs.
2577
89e3fcba
JS
25782002-10-07 Joel Sherrill <joel@OARcorp.com>
2579
2580 * libc/include/pthread.h: Define PTHREAD_CANCELED.
2581
54ec52e4
JS
25822002-10-07 Joel Sherrill <joel@OARcorp.com>
2583
2584 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
2585 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
2586 compile with current GNU tools.
2587
d389acba
JJ
25882002-10-07 Jeff Johnston <jjohnstn@redhat.com>
2589
2590 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
2591 the build library.
2592 * configure.in: Ditto.
2593 * Makefile.in: Regenerated.
2594 * configure: Ditto.
2595 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
2596 for specifying configured libraries/directories.
2597 * libc/sys/linux/configure.in: Ditto.
2598 * libc/sys/linux/Makefile.in: Regenerated.
2599 * libc/sys/linux/configure: Ditto.
2600
af5a221f
JJ
26012002-10-03 Jeff Johnston <jjohnstn@redhat.com>
2602
2603 * libc/include/reent.h: Update documentation at start of file.
2604
59a758bd
JW
26052002-09-27 Jim Wilson <wilson@redhat.com>
2606
2607 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
2608 the ctbp register.
2609
1ed3c86d
JJ
26102002-09-27 Jeff Johnston <jjohnstn@redhat.com>
2611
2612 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
2613 Also convert to EUCJP before using arrays. For values not in
2614 the conversion arrays, return WEOF.
2615 * libc/ctype/jp2uc.h: Change from one array to a number of
2616 arrays to account for the fact that the originating table
2617 is not contiguous for the input values since some are invalid.
2618
6e1dfd2d
JJ
26192002-09-24 Jeff Johnston <jjohnstn@redhat.com>
2620
2621 * libc/time/ctime.c: Fix prototype documentation.
2622
06f1353a
CV
26232002-09-24 Corinna Vinschen <corinna@vinschen.de>
2624
2625 * libc/include/sys/errno.h: Add EOVERFLOW.
2626
1e0e64c9
JJ
26272002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2628
2629 * libc/include/wctype.h: New file.
2630
1525d127
JJ
26312002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2632
2633 * libc/ctype/Makefile.am: Add new files.
2634 * libc/ctype/Makefile.in: Regenerated.
2635 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
2636 and wctrans functions to documentation index.
2637 * libc/ctype/iswalnum.c: New file.
2638 * libc/ctype/iswalpha.c: Ditto.
2639 * libc/ctype/iswblank.c: Ditto.
2640 * libc/ctype/iswcntrl.c: Ditto.
2641 * libc/ctype/iswctype.c: Ditto.
2642 * libc/ctype/iswdigit.c: Ditto.
2643 * libc/ctype/iswgraph.c: Ditto.
2644 * libc/ctype/iswlower.c: Ditto.
2645 * libc/ctype/iswprint.c: Ditto.
2646 * libc/ctype/iswpunct.c: Ditto.
2647 * libc/ctype/iswspace.c: Ditto.
2648 * libc/ctype/iswupper.c: Ditto.
2649 * libc/ctype/iswxdigit.c: Ditto.
2650 * libc/ctype/jp2uc.c: Ditto.
2651 * libc/ctype/jp2uc.h: Ditto.
2652 * libc/ctype/local.h: Ditto.
2653 * libc/ctype/towctrans.c: Ditto.
2654 * libc/ctype/towlower.c: Ditto.
2655 * libc/ctype/towupper.c: Ditto.
2656 * libc/ctype/utf8alpha.h: Ditto.
2657 * libc/ctype/utf8print.h: Ditto.
2658 * libc/ctype/utf8punct.h: Ditto.
2659 * libc/ctype/wctrans.c: Ditto.
2660 * libc/ctype/wctype.c: Ditto.
2661 * libc/locale/locale.c (__lc_ctype): New external array to
2662 replace static lc_ctype array.
2663 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
2664 rather than reentrancy structure's _current_locale field.
2665 * libc/stdlib/wctomb_r.c: Ditto.
2666
da25e61f
JJ
26672002-09-20 Jeff Johnston <jjohnstn@redhat.com>
2668
2669 * configure.host: Minor comment and formatting changes.
2670 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
2671 * libc/Makefile.in: Regenerated.
2672 * libc/include/sys/config.h: Minor format change.
2673
5b9ee539
JJ
26742002-09-19 Jeff Johnston <jjohnstn@redhat.com>
2675
2676 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
2677 statement comment.
2678
50558bf3
JJ
26792002-09-19 Jeff Johnston <jjohnstn@redhat.com>
2680
2681 * libc/posix/opendir.c (opendir): Change code to check
2682 for HAVE_FCNTL before calling fcntl.
2683 * libc/search/hash.c (hash_open): Ditto.
2684 * libc/search/hash_page.c (open_tmp): Ditto.
2685 * libc/reent/Makefile.am: Add fcntlr.c.
2686 * libc/reent/Makefile.in: Regenerated.
2687 * libc/reent/fcntlr.c: New file.
2688 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
2689 instead of _fcntl when HAVE_FCNTL flag is set.
2690 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
2691 to see if _fcntl or _fcntl_r should be called. If flag is not
2692 set, default to ENOSYS stub.
2693
9211a1ad
JJ
26942002-09-16 Jeff Johnston <jjohnstn@redhat.com>
2695
2696 * libc/include/wchar.h (mbstate_t): Change protective flag to
2697 be _MBSTATE_T.
2698 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
2699 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
2700 for Cygwin.
2701 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
2702
a8615092
JJ
27032002-09-11 Jeff Johnston <jjohnstn@redhat.com>
2704
2705 * acinclude.m4 (enable-newlib-mb): Change check to
2706 default newlib_mb variable to empty string rather than "no".
2707 * configure.host: Remove hard-coding of -DMB_CAPABLE for
2708 x86-linux and Cygwin. Add code to check for newlib_mb
2709 being unset in which case set to "yes" for x86-linux and
2710 Cygwin. Change check for newlib_mb being "yes" to allow
2711 for an empty string.
2712 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
2713 * newlib.hin (_MB_LEN_MAX): New define to configure.
2714 * aclocal.m4: Regenerated.
2715 * configure: Ditto.
2716 * libc/include/limits.h: New file.
2717 * libc/sys/linux/include/limits.h: Ditto.
2718 * doc/aclocal.m4 doc/configure libc/aclocal.m4
2719 libc/configure libc/include/%redact libc/machine/aclocal.m4
2720 libc/machine/configure libc/machine/a29k/aclocal.m4
2721 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2722 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2723 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2724 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2725 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
2726 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
2727 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2728 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2729 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2730 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2731 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2732 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
2733 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
2734 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2735 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2736 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2737 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2738 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2739 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2740 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2741 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2742 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2743 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2744 libc/machine/v850/configure libc/machine/w65/aclocal.m4
2745 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
2746 libc/machine/xscale/configure
2747 libc/machine/xstormy16/aclocal.m4
2748 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
2749 libc/machine/z8k/configure libc/sys/aclocal.m4
2750 libc/sys/configure libc/sys/a29khif/aclocal.m4
2751 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
2752 libc/sys/arc/configure libc/sys/arm/aclocal.m4
2753 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
2754 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
2755 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
2756 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
2757 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
2758 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
2759 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
2760 libc/sys/idt/configure libc/sys/linux/aclocal.m4
2761 libc/sys/linux/configure libc/sys/linux/include/%redact
2762 libc/sys/linux/machine/aclocal.m4
2763 libc/sys/linux/machine/configure
2764 libc/sys/linux/machine/i386/aclocal.m4
2765 libc/sys/linux/machine/i386/configure
2766 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2767 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
2768 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2769 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2770 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2771 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2772 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2773 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2774 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2775 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2776 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2777 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2778 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2779 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2780 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2781 libm/aclocal.m4 libm/configure: Regenerated.
2782
be83844e
JJ
27832002-09-09 Jeff Johnston <jjohnstn@redhat.com>
2784
2785 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
2786 code that clears the .bss section.
2787
9c64d2a7
JJ
27882002-09-09 Jeff Johnston <jjohnstn@redhat.com>
2789
2790 * libc/include/sys/_types.h (_mbstate_t): Changed to use
2791 unsigned char internally.
2792 * libc/sys/linux/sys/_types.h: Ditto.
2793 * libc/include/sys/reent.h
2794 * libc/stdlib/mblen.c (mblen): Use function-specific state
2795 value from default reentrancy structure.
2796 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
2797 _mbtowc_r is less than 0, reset state __count value and
2798 return -1.
2799 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
2800 is NULL, use the function-specific pointer provided in the
2801 default reentrancy structure.
2802 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
2803 If input state pointer is NULL, use function-specific area
2804 provided in reentrancy structure.
2805 * libc/stdlib/mbsrtowcs.c: Ditto.
2806 * libc/stdlib/wcrtomb.c: Ditto.
2807 * libc/stdlib/wcsrtombs.c: Ditto.
2808 * libc/stdlib/mbstowcs.c: Reformat.
2809 * libc/stdlib/wcstombs.c: Ditto.
2810 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
2811 reset the state's __count value and return -1.
2812 * libc/stdlib/mbtowc.c: Ditto.
2813 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
2814 If number of bytes is used up before completing a valid multibyte
2815 character, return -2 and save the state.
2816 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
2817 and change some __count references to __state for clarity.
2818
218b7a56
JJ
28192002-09-06 Jeff Johnston <jjohnstn@redhat.com>
2820
2821 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
2822 is defined by <limits.h>.
2823
c210a6ea
JJ
28242002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2825
2826 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
2827 defined.
2828
efa077ce
JJ
28292002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2830
2831 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
2832 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
2833 __WCHAR_MAX__ or 0x7fffffffu.
2834 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
2835 * libc/string/wcsncmp.c: Ditto.
2836
e4b0ebc1
JJ
28372002-09-03 Jeff Johnston <jjohnstn@redhat.com>
2838
2839 * libc/string/wcschr.c: Add include of <stddef.h>.
2840 * libc/string/wcspbrk.c: Ditto.
2841 * libc/string/wcsrchr.c: Ditto.
2842 * libc/string/wcsstr.c: Ditto.
2843
3db40db7
JJ
28442002-09-03 Jeff Johnston <jjohnstn@redhat.com>
2845
2846 * libc/include/sys/_types.h (_flock_t): Added.
2847 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
2848 (__lock_try_acquire_recursive): Ditto.
2849 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
2850 _lock field.
2851 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
2852 field.
2853 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
2854 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
2855 * libc/sys/linux/include/time.h (struct timespec): Moved from
2856 <sys/types.h> and added check for __need_timespec flag so type
2857 can be defined by itself.
2858 * libc/sys/linux/sys/_types.h (_flock_t): New type.
2859 * libc/sys/linux/sys/types.h (struct timespec): Moved to
2860 <time.h>.
2861
cd45f029
TF
28622002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
2863
2864 * libc/sys/linux/argp: New directory.
2865 * libc/sys/linux/getopt.c: New file.
2866 * libc/sys/linux/getopt1.c: New file.
2867 * libc/sys/linux/getoptlong.c: Remove file.
2868 * libc/sys/linux/include/argp.h: New file.
2869 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
2870 based on ELIX level.
2871 (SUBDIRS): Add argp_dir.
2872 (SUBLIBS): Add ARGP_LIB.
2873 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
2874 getopt_long.$(oext).
2875 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
2876
3c689185
JJ
28772002-08-29 Jeff Johnston <jjohnstn@redhat.com>
2878
2879 * libc/libc.texinfo: Add node reference to wide-character strings.
2880 * libc/string/wcstrings.tex: New file.
2881 * libc/string/strtok_r.c: Remove outdated advertising clause.
2882 * libc/string/Makefile.am (doc): Add wide-character string
2883 chapter to documentation.
2884 * libc/string/Makefile.in: Regenerated.
2885
890e7a1d
JJ
28862002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2887
2888 * libc/include/wchar.h: Define NULL. Define WEOF more general
2889 way. Declare functions in newlib manner.
2890 * libc/stdlib/Makefile.am: Delete wmem*.c
2891 * libc/stdlib/Makefile.in: Regenerated.
2892 * libc/stdlib/wmemchr.c: Delete.
2893 * libc/stdlib/wmemcmp.c: Ditto.
2894 * libc/stdlib/wmemcpy.c: Ditto.
2895 * libc/stdlib/wmemmove.c: Ditto.
2896 * libc/stdlib/wmemset.c: Ditto.
2897 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
2898 * libc/string/Makefile.in: Regenerated.
2899 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
2900 * libc/string/wcschr.c: Ditto.
2901 * libc/string/wcscmp.c: Ditto.
2902 * libc/string/wcscpy.c: Ditto.
2903 * libc/string/wcscspn.c: Ditto.
2904 * libc/string/wcslcat.c: Ditto.
2905 * libc/string/wcslcpy.c: Ditto.
2906 * libc/string/wcslen.c: Ditto.
2907 * libc/string/wcsncat.c: Ditto.
2908 * libc/string/wcsncmp.c: Ditto.
2909 * libc/string/wcsncpy.c: Ditto.
2910 * libc/string/wcspbrk.c: Ditto.
2911 * libc/string/wcsrchr.c: Ditto.
2912 * libc/string/wcsspn.c: Ditto.
2913 * libc/string/wcsstr.c: Ditto.
2914 * libc/string/wmemchr.c: Ditto.
2915 * libc/string/wmemcmp.c: Ditto.
2916 * libc/string/wmemcpy.c: Ditto.
2917 * libc/string/wmemmove.c: Ditto.
2918 * libc/string/wmemset.c: Ditto.
2919
86620e21
JJ
29202002-08-29 Jeff Johnston <jjohnstn@redhat.com>
2921
2922 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
2923 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
2924 and is treated as if "C" was specified.
2925
f3741c27
JJ
29262002-08-28 Jeff Johnston <jjohnstn@redhat.com>
2927
2928 * Makefile.am (install-data-local): Move install of build
2929 newlib.h after installing headers in libc/include so as to
2930 overwrite default newlib.h.
2931 * Makefile.in: Regenerated.
2932
48da61f5
JJ
29332002-08-28 Jeff Johnston <jjohnstn@redhat.com>
2934
2935 * libc/include/newlib.h: New file for tools that use newlib
2936 headers but don't build newlib first (e.g. gcc).
2937
d82a94ac
JJ
29382002-08-28 Jeff Johnston <jjohnstn@redhat.com>
2939
2940 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
2941 * libc/stdlib/wmemcmp.c: Ditto.
2942 * libc/stdlib/wmemcpy.c: Ditto.
2943 * libc/stdlib/wmemmove.c: Ditto.
2944 * libc/stdlib/wmemset.c: Ditto.
2945
7d08241b
JJ
29462002-08-27 Egor Duda <deo@logos-m.ru>
2947
2948 * libc/stdlib/wmemchr.c: New file.
2949 * libc/stdlib/wmemcmp.c: Ditto.
2950 * libc/stdlib/wmemcpy.c: Ditto.
2951 * libc/stdlib/wmemmove.c: Ditto.
2952 * libc/stdlib/wmemset.c: Ditto.
2953 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
2954 * configure.host: Default -DMB_CAPABLE for cygwin.
2955 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
2956 wmemmove() and wmemset(). Add include of <_ansi.h>.
2957 * libc/stdlib/Makefile.in: Regenerate.
2958
8da1639b
JJ
29592002-08-27 Jeff Johnston <jjohnstn@redhat.com>
2960
ff2bf852 2961 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
2962 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
2963 (install-data-local): Install newlib.h.
2964 * Makefile.in: Regenerated.
2965 * aclocal.m4: Ditto.
2966 * configure: Ditto.
2967 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
2968 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
2969 and _NEWLIB_VERSION to fill in newlib.h header file entries.
2970 In AC_OUTPUT statement, unset ac_file so multilib support does
2971 not use last ac_file temporary used in newlib.h configuration.
2972 * libc/include/_ansi.h: Include <newlib.h>.
2973 * newlib.hin: New template file for newlib.h.
2974 * stamp-h.in: New file.
2975
a4421c11
JJ
29762002-08-26 Wu Yongwei <adah@netstd.com>
2977
2978 * time.h (timezonevar): Change "#if" to "#ifdef".
2979
90b65e2d
JJ
29802002-08-26 Jeff Johnston <jjohnstn@redhat.com>
2981
2982 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
2983 * Makefile.in: Regenerated.
2984 * acinclude.m4: Add support for --enable-newlib-elix-level option.
2985 * aclocal.m4: Regenerated.
2986 * configure: Ditto.
2987 * configure.host: Add code to define _ELIX_LEVEL if
2988 --enable-newlib-elix-level option is used.
2989 * configure.in:
2990 * libc/aclocal.m4: Regenerated.
2991 * libc/configure: Ditto.
2992 * libc/argz/Makefile.am: Add EL/IX level checking.
2993 * libc/argz/Makefile.in: Regenerated.
2994 * libc/argz/dummy.c: New file.
2995 * libc/ctype/Makefile.am: Add EL/IX level checking.
2996 * libc/ctype/Makefile.in: Regenerated.
2997 * libc/locale/Makefile.am: Add EL/IX level checking.
2998 * libc/locale/Makefile.in: Regenerated.
2999 * libc/posix/Makefile.am: Add EL/IX level checking.
3000 * libc/posix/Makefile.in: Regenerated.
3001 * libc/posix/telldir.c: Add EL/IX level checking.
3002 * libc/reent/Makefile.am: Ditto.
3003 * libc/reent/fstat64r.c: Ditto.
3004 * libc/reent/lseek64r.c: Ditto.
3005 * libc/reent/open64r.c: Ditto.
3006 * libc/reent/Makefile.in: Regenerated.
3007 * libc/search/Makefile.am: Add EL/IX level checking.
3008 * libc/search/Makefile.in: Regenerated.
3009 * libc/stdio/Makefile.am: Add EL/IX level checking.
3010 * libc/stdio/Makefile.in: Regenerated.
3011 * libc/stdio64/Makefile.am: Add EL/IX level checking.
3012 * libc/stdio64/Makefile.in: Regenerated.
3013 * libc/stdio64/dummy.c: New file.
9b487837 3014 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
3015 after first include.
3016 * libc/stdio64/fopen64.c: Ditto.
3017 * libc/stdio64/freopen64.c: Ditto.
3018 * libc/stdio64/fseeko64.c: Ditto.
3019 * libc/stdio64/fsetpos64.c: Ditto.
3020 * libc/stdio64/ftello64.c: Ditto.
3021 * libc/stdio64/tmpfile64.c: Ditto.
3022 * libc/stdlib/Makefile.am: Add EL/IX level checking.
3023 * libc/stdlib/Makefile.in: Regenerated.
3024 * libc/stdlib/mstats.c: Add EL/IX level checking.
3025 * libc/string/Makefile.am: Ditto.
3026 * libc/string/Makefile.in: Regenerated.
3027 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
3028 * libc/sys/linux/Makefile.in: Regenerated.
3029 * libc/sys/linux/aclocal.m4: Ditto.
3030 * libc/sys/linux/configure: Ditto.
3031 * libc/sys/linux/aio.c: Add EL/IX level checking.
3032 * libc/sys/linux/ftok.c: Ditto.
3033 * libc/sys/linux/getdate.c: Ditto.
3034 * libc/sys/linux/ids.c: Ditto.
3035 * libc/sys/linux/inode.c: Ditto.
3036 * libc/sys/linux/io.c: Ditto.
3037 * libc/sys/linux/process.c: Ditto.
3038 * libc/sys/linux/resource.c: Ditto.
3039 * libc/sys/linux/sched.c: Ditto.
3040 * libc/sys/linux/sig.c: Ditto.
3041 * libc/sys/linux/termios.c: Ditto.
3042 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
3043 __libc___waitpid weak aliases.
3044 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
3045 that generate the code for a syscall, but do not create a
3046 weak alias.
3047 * libc/syscalls/Makefile.am: Add EL/IX level checking.
3048 * libc/syscalls/Makefile.in: Regenerated.
3049 * libc/time/tzset_r.c: Change to replace strdup with equivalent
3050 functionality.
3051 * libc/unix/Makefile.am: Add EL/IX level checking.
3052 * libc/unix/Makefile.in: Regenerated.
3053
2e2b268c
CF
30542002-08-26 Christopher Faylor <cgf@redhat.com>
3055
3056 * libc/include/malloc.h: On cygwin, define malloc _r functions as
3057 wrapper macros to standard malloc functions.
3058 * libc/include/stdlib.h: Ditto.
3059 * configure.host: Always define MALLOC_PROVIDED on cygwin.
3060
8d9112f2
TF
30612002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3062
3063 * libc/include/langinfo.h: New file.
3064 * libc/include/wchar.h: Likewise.
3065 * libc/include/sys/syslimits.h: Likewise.
3066 * libc/locale/fix_grouping.c: Likewise.
3067 * libc/locale/ldpart.c: Likewise.
3068 * libc/locale/ldpart.h: Likewise.
3069 * libc/locale/lmessages.c: Likewise.
3070 * libc/locale/lmessages.h: Likewise.
3071 * libc/locale/lmonetary.c: Likewise.
3072 * libc/locale/lmonetary.h: Likewise.
3073 * libc/locale/lnumeric.c: Likewise.
3074 * libc/locale/lnumeric.h: Likewise.
3075 * libc/locale/nl_langinfo.3: Likewise.
3076 * libc/locale/nl_langinfo.c: Likewise.
3077 * libc/locale/timelocal.c: Likewise.
3078 * libc/locale/timelocal.h: Likewise.
3079 * libc/stdlib/btowc.c: Likewise.
3080 * libc/stdlib/mbrlen.c: Likewise.
3081 * libc/stdlib/mbrtowc.c: Likewise.
3082 * libc/stdlib/mbsinit.c: Likewise.
3083 * libc/stdlib/mbsrtowcs.c: Likewise.
3084 * libc/stdlib/wcrtomb.c: Likewise.
3085 * libc/stdlib/wcsrtombs.c: Likewise.
3086 * libc/stdlib/wctob.c: Likewise.
3087 * libc/sys/linux/prof-freq.c: Likewise.
3088 * libc/sys/linux/profile.c: Likewise.
3089 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
3090 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
3091 * libc/include/stdlib.h: Change re-entrant functions to take
3092 mbstate_t pointers.
3093 * libc/include/sys/_types.h: Define _mbstate_t.
3094 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
3095 * libc/include/sys/errno.h (EILSEQ): New error code.
3096 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
3097 structure to use mbstate_t.
3098 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
3099 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
3100 * libc/machine/powerpc/vfscanf.c: Likewise.
3101 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
3102 * libc/stdio/vfprintf.c: Likewise.
3103 * libc/stdio/vfscanf.c: Likewise.
3104 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
3105 * libc/stdlib/mblen.c: Use mbstate_t.
3106 * libc/stdlib/mblen_r.c: Likewise.
3107 * libc/stdlib/mbstowcs.c: Likewise.
3108 * libc/stdlib/mbstowcs_r.c: Likewise.
3109 * libc/stdlib/mbtowc.c: Likewise.
3110 * libc/stdlib/mbtowc_r.c: Likewise.
3111 * libc/stdlib/wcstombs.c: Likewise.
3112 * libc/stdlib/wcstombs_r.c: Likewise.
3113 * libc/stdlib/wctomb_r.c: Likewise.
3114 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
3115 profile.c.
3116 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
3117 dl-procinfo.c.
3118 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
3119 * libc/sys/linux/sys/types.h (off_t): Define type.
3120 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
3121 to C-UTF-8.
3122 * testsuite/newlib.locale/UTF-8.exp: Likewise.
3123
fe47ea33
JJ
31242002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
3125
3126 * libc/stdlib/mallocr.c: #include windows.h on Win32.
3127 (AlignPage): Continue macro on next line.
3128
ada73509
JJ
31292002-08-19 Jeff Johnston <jjohnstn@redhat.com>
3130
3131 * libc/sys/linux/include/pthread.h: New file.
3132
64b5e8f2
JJ
31332002-08-19 Jeff Johnston <jjohnstn@redhat.com>
3134
3135 * libc/include/sys/types.h: Support __need_inttypes macro
3136 that only sets the __intxx and __uintxx types.
3137 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
3138 to get mprec.h.
3139 * libc/machine/powerpc/Makefile.in: Regenerated.
3140 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
3141 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
3142 redundant fixed-point conversion prototypes.
3143 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
3144 after setting __need_inttypes.
3145
a94b60ce
CF
31462002-08-18 Christopher Faylor <cgf@redhat.com>
3147
3148 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
3149
29e17a86
JJ
31502002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3151
3152 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
3153 _LONG_DOUBLE to double.
3154
936b520f
JJ
31552002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3156
3157 * configure.host: Add powerpc*-*-eabispe* configuration.
3158 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
3159 * libc/machine/powerpc/atosfix32.c: Ditto.
3160 * libc/machine/powerpc/atosfix64.c: Ditto.
3161 * libc/machine/powerpc/atoufix16.c: Ditto.
3162 * libc/machine/powerpc/atoufix32.c: Ditto.
3163 * libc/machine/powerpc/atoufix64.c: Ditto.
3164 * libc/machine/powerpc/fix64.h: Ditto.
3165 * libc/machine/powerpc/simdldtoa.c: Ditto.
3166 * libc/machine/powerpc/strtosfix16.c: Ditto.
3167 * libc/machine/powerpc/strtosfix32.c: Ditto.
3168 * libc/machine/powerpc/strtosfix64.c: Ditto.
3169 * libc/machine/powerpc/strtoufix16.c: Ditto.
3170 * libc/machine/powerpc/strtoufix32.c: Ditto.
3171 * libc/machine/powerpc/strtoufix64.c: Ditto.
3172 * libc/machine/powerpc/ufix64toa.c: Ditto.
3173 * libc/machine/powerpc/configure.in: Add check for
3174 powerpc*-eabispe and add fixed-point conversion functions.
3175 * libc/machine/powerpc/configure: Regenerated.
3176 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
3177 %r and %R format specifiers which handle fixed-point data.
3178 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
3179 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
3180 function prototypes.
3181
ad552766
JJ
31822002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3183
3184 * Makefile.am: Move cmath stuff into libc/sys/linux.
3185 * Makefile.in: Regenerated.
3186 * configure.host: Default -DMB_CAPABLE for x86-linux.
3187 * libc/include/reent.h: Define _sbrk to take signed int argument.
3188 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
3189 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
3190 make locale name checking more efficient. Also allow "C-ISO-8859-1"
3191 locale for LC_CTYPE and LC_MESSAGES.
3192 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
3193 * libc/sys/linux/brk.c: Change sbrk prototype.
3194 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
3195 include <sys/features.h>.
3196 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
3197 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
3198 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
3199 with a few local additions.
3200 * libc/sys/linux/sys/features.h: New file.
3201 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
3202 to take signed argument.
3203 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
3204 prototypes to take signed size argument.
3205
d3bd3632
TF
32062002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
3207
3208 * libc/sys/linux/cmath: New directory.
3209 * libc/sys/linux/include/cmathcalls.h: New file.
3210 * libc/sys/linux/include/complex.h: New file.
3211 * libc/sys/linux/machine/i386/huge_val.h: New file
3212 * libm/math/w_sincos.c: New file
3213 * libm/math/wf_sincos.c: New file
3214 * libm/mathfp/s_sincos.c: New file
3215 * libm/mathfp/sf_sincos.c: New file
3216 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
3217 * libc/include/math.h: Add sincos and sincosf declarations.
3218 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
3219 (SUBLIBS): Likewise.
3220 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
3221 * libm/math/Makefile.am (src): Add w_sincos.c.
3222 (fsrc): Add wf_sincos.c.
3223 * libm/mathfp/Makefile.am (src): Add s_sincos.c
3224 (fsrc): Add sf_sincos.c.
3225
b3a9676b
JJ
32262002-08-12 Jeff Johnston <jjohnstn@redhat.com>
3227
3228 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
3229 Declare as extern chars and use the address operator to
3230 properly use values set in linker script.
3231
659e7062
JJ
32322002-08-09 Jason Tishler <jason@tishler.net>
3233
3234 * libc/stdlib/mallocr.c: Include <limits.h>.
3235 (request2size): Change macro to do
3236 unsigned long comparisons and avoid signed overflow.
3237 (mALLOc): Add overflow check for the number of bytes to allocate.
3238 (rEALLOc): Ditto.
3239
037240a2
JJ
32402002-08-09 Jeff Johnston <jjohnstn@redhat.com>
3241
3242 * configure.host: Add check for --enable-newlib-io-pos-args
3243 and define WANT_IO_POS_ARGS flag if enabled. Define
3244 the flag by default for x86-linux configurations.
3245 * configure.in: Add support for --enable-newlib-io-pos-args.
3246 * libc/configure.in: Ditto.
3247 * configure: Regenerated.
3248 * libc/configure: Ditto.
3249 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
3250 vfprintf.c and vfiprintf.c.
3251 * libc/stdio/Makefile.in: Regenerated.
3252 * libc/stdio/vfprintf.c: Add positional argument support that
3253 is enabled by compiling with -DWANT_IO_POS_ARGS.
3254
172fda76
RS
32552002-08-07 Richard Sandiford <rsandifo@redhat.com>
3256
3257 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
3258 based on __mips_soft_float rather than __mips64.
3259 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
3260 of both 32-bit and 64-bit code.
3261
4866247e
CF
32622002-08-04 Christopher Faylor <cgf@redhat.com>
3263
3264 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
3265 arguments for popen to match similar functionality in fopen.
3266
b96332ce
CV
32672002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
3268
3269 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
3270
60d99bce
JJ
32712002-07-29 Jeff Johnston <jjohnstn@redhat.com>
3272
3273 * libc/sys/linux/Makefile.am: Add aio64.c.
3274 * libc/sys/linux/Makefile.in: Regenerated.
3275 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
3276 * libc/sys/linux/aio64.c: New file.
3277
80a21be0
JJ
32782002-07-26 Jeff Johnston <jjohnstn@redhat.com>
3279
3280 * libc/include/sys/param.h (MAX, MIN): Added macros.
3281 * libc/sys/linux/Makefile.am: Add new files.
3282 * libc/sys/linux/Makefile.in: Regenerated.
3283 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
3284 * libc/sys/linux/inode.c (fchdir): Added syscall.
3285 * libc/sys/linux/ftw.c: New file.
3286 * libc/sys/linux/ftw64.c: Ditto.
3287 * libc/sys/linux/getwd.c: Ditto.
3288 * libc/sys/linux/scandir64.c: Ditto.
3289 * libc/sys/linux/strverscmp.c: Ditto.
3290 * libc/sys/linux/versionsort.c: Ditto.
3291 * libc/sys/linux/versionsort64.c: Ditto.
3292
6b6425cb
JJ
32932002-07-26 Jeff Johnston <jjohnstn@redhat.com>
3294
3295 * libc/string/strings.tex: Fix typo for memccpy.
3296
dc8ac8e6
JJ
32972002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3298
3299 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
3300 * libc/sys/linux/sys/types.h (off64_t): Definition added.
3301
aa0ca6fd
JJ
33022002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3303
3304 * libc/sys/linux/Makefile.am: Add fclean.c.
3305 * libc/sys/linux/Makefile.in: Regenerated.
3306 * libc/sys/linux/fclean.c: New file.
3307
61921945
JJ
33082002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3309
3310 * libc/sys/linux/Makefile.am: Add confstr.c.
3311 * libc/sys/linux/Makefile.in: Regenerated.
3312 * libc/sys/linux/confstr.c: New file.
3313 * libc/sys/linux/confstr.h: Ditto.
3314 * libc/sys/linux/sys/unistd.h: Include <features.h> and
3315 <bits/environments.h>.
3316
3d966a92
JJ
33172002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3318
3319 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
3320 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
3321 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
3322 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
3323 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
3324 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
3325
53b5bff7
JJ
33262002-07-24 Jeff Johnston <jjohnstn@redhat.com>
3327
3328 * libc/sys/linux/Makefile.am: Add new files.
3329 * libc/sys/linux/Makefile.in: Regenerated.
3330 * libc/sys/linux/fstab.c: New file.
3331 * libc/sys/linux/fstatvfs.c: Ditto.
3332 * libc/sys/linux/fstatvfs64.c: Ditto.
3333 * libc/sys/linux/internal_statvfs.c: Ditto.
3334 * libc/sys/linux/mntent.c: Ditto.
3335 * libc/sys/linux/mntent_r.c: Ditto.
3336 * libc/sys/linux/statvfs.c: Ditto.
3337 * libc/sys/linux/statvfs64.c: Ditto.
3338 * libc/sys/linux/include/paths.h: Ditto.
3339 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
3340 with double-underscore weak-aliases.
3341 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
3342
9cef8ef5
JJ
33432002-07-24 Jeff Johnston <jjohnstn@redhat.com>
3344
3345 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
3346 to use _sig_func_ptr type casted constants.
3347 (_sig_func_ptr): Typedef moved to sys/signal.h.
3348 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
3349 For __rtems, use POSIX definition, otherwise default to ANSI.
3350 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
3351
a703e0f2
JJ
33522002-07-24 Stephane Carrez <stcarrez@nerim.fr>
3353
3354 * configure.host: Recognize m6811-elf and m6812-elf targets.
3355 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
3356 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
3357 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
3358 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
3359 according to __INT_MAX__.
3360 (_POINTER_INT): Define to short.
3361 * libc/machine/m68hc11/Makefile.am: New file.
3362 * libc/machine/m68hc11/Makefile.in: New file.
3363 * libc/machine/m68hc11/configure.in: New file.
3364 * libc/machine/m68hc11/configure: New file.
3365 * libc/machine/m68hc11/aclocal.m4: New file.
3366 * libc/machine/m68hc11/setjmp.S: New file.
3367
d254189b
JJ
33682002-07-23 Jeff Johnston <jjohnstn@redhat.com>
3369
3370 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
3371 prototypes.
3372 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
3373 * libc/stdlib/Makefile.in: Regenerated.
3374 * libc/stdlib/strdup.c: Removed.
3375 * libc/stdlib/strdup_r.c: Removed.
3376 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
3377 mempcpy.c, strndup.c, and strndup_r.c.
3378 * libc/string/Makefile.in: Regenerated.
3379 * libc/string/memccpy.c: New file.
3380 * libc/string/mempcpy.c: Ditto.
3381 * libc/string/strndup.c: Ditto.
3382 * libc/string/strndup_r.c: Ditto.
3383 * libc/string/strdup.c: New file moved from stdlib.
3384 * libc/string/strdup_r.c: Ditto.
3385 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
3386
bc100655
JJ
33872002-07-23 Jeff Johnston <jjohnstn@redhat.com>
3388
3389 * libc/include/stdio.h: Move fcloseall prototype within
3390 #ifndef _REENT_ONLY section.
3391 * libc/sys/linux/Makefile.am: Add new files.
3392 * libc/sys/linux/Makefile.in: Regenerated.
3393 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
3394 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
3395 * libc/sys/linux/sys/types.h: Add ino64_t type.
3396 * libc/sys/linux/ctermid.c: New file.
3397 * libc/sys/linux/ttyname_r.c: Ditto.
3398 * libc/sys/linux/readdir64.c: Ditto.
3399
f5f27f07
JJ
34002002-07-22 Jeff Johnston <jjohnstn@redhat.com>
3401
3402 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
3403 * libc/stdio/Makefile.am: Added fcloseall.c support.
3404 * libc/stdio/Makefile.in: Regenerated.
3405 * libc/stdio/fcloseall.c: New file.
3406 * libc/stdio64/Makefile.am: Remove missing .def references.
3407 * libc/stdio64/Makefile.in: Regenerated.
3408
d541ba3e
JJ
34092002-07-22 Jeff Johnston <jjohnstn@redhat.com>
3410
3411 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
3412 * libc/machine/powerpc/times.c: New file.
3413 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
3414 * libc/machine/powerpc/Makefile.in: Regenerated.
3415
34162002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
3417
3418 * libc/machine/powerpc/time.c: New file.
3419 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
3420 time.c.
3421 * libc/machine/powerpc/Makefile.in: Regenerated.
3422
5e7d0a55
TF
34232002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3424
3425 * libc/libc.texinfo: Change copyright notices to Red Hat from
3426 Cygnus.
3427 * libm/libm.texinfo: Likewise.
3428 * README: Change docs URL to
3429 http://sources.redhat.com/newlib/docs.html.
3430
504628e7
JJ
34312002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3432
3433 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
3434 * libc/sys/linux/Makefile.in: Regenerated.
3435 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
3436 * libc/sys/linux/io.c: Add ftruncate syscall.
3437 * libc/sys/linux/fpathconf.c: New file.
3438 * libc/sys/linux/pathconf.c: Ditto.
3439 * libc/sys/linux/linux_fsinfo.h: Ditto.
3440 * libc/sys/linux/sys/unistd.h: Ditto.
3441
b155ad9f
JJ
34422002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3443
3444 * libc/stdio64/Makefile.am: Remove missing files.
3445 * libc/stdio64/Makefile.in: Regenerated.
3446
c119e0ab
JJ
34472002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3448
3449 * libc/include/sys/config.h[__i386__][__linux__]: Define
3450 _LARGE64FILE_SOURCE to 1.
3451 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
3452 * libc/sys/linux/Makefile.in: Regenerated.
3453 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
3454 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
3455 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
3456 of <linux/resource.h>.
3457 * libc/sys/linux/getrlimit64.c: New file.
3458 * libc/sys/linux/setrlimit64.c: Ditto.
3459
9b022d6d
TF
34602002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3461
3462 * libc/argz/argz_replace.c: Include buf_findstr.h.
3463 * libc/argz/buf_findstr.c: Likewise.
3464 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
3465 value to (char *).
3466 * libc/argz/envz_get.c: Likewise.
3467 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
3468 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
3469 * libc/stdlib/getsubopt.3: New file.
3470 * libc/stdlib/getsubopt.c: New file.
3471 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
3472 Change esp to ebp.
3473
dee51391
JJ
34742002-07-17 Jeff Johnston <jjohnstn@redhat.com>
3475
3476 * configure.host(stdio64_dir): New setting that is used to
3477 enable building of new stdio64 directory.
3478 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
3479 large files.
3480 (stmp-stdio64,stdio64.texi): New targets to optionally add in
3481 stdio64 info to info files.
3482 * libc/Makefile.in: Regenerated.
3483 * libc/configure: Ditto.
3484 * libc/configure.in: Add configuration variables that are set
3485 when stdio64 is selected as subdir in configure.host.
3486 * libc/libc.texinfo: Add optional menu item for Stdio64, based
3487 on whether STDIO64 flag is set or not.
3488 * libc/sys.tex: Add optional stdio64 syscalls based on whether
3489 STDIO64 flag is set or not.
3490 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
3491 _r sycall routines.
3492 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
3493 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
3494 (__SL64): New file flag indicating file is opened via fopen64.
3495 * libc/include/sys/_types.h(_off64_t): Added.
3496 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
3497 * libc/include/sys/reent.h(struct __sFILE64): New file structure
3498 for 64-bit offset large file support.
3499 (__FILE): New intermediate type either set to struct __sFILE64 or
3500 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
3501 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
3502 * libc/reent/Makefile.in: Regenerated.
3503 * libc/reent/fstat64r.c: New file.
3504 * libc/reent/lseek64r.c: Ditto.
3505 * libc/reent/open64r.c: Ditto.
3506 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
3507 based on whether STDIO64 flag is set.
3508 * libc/stdio/stdio.tex: Add blank line.
3509 * libc/stdio64/Makefile.am: New file.
3510 * libc/stdio64/Makefile.in: Ditto.
3511 * libc/stdio64/fgetpos64.c: Ditto.
3512 * libc/stdio64/fopen64.: Ditto.
3513 * libc/stdio64/freopen64.c: Ditto.
3514 * libc/stdio64/fseeko64.c: Ditto.
3515 * libc/stdio64/fsetpos64.c: Ditto.
3516 * libc/stdio64/ftello64.c: Ditto.
3517 * libc/stdio64/local64.h: Ditto.
3518 * libc/stdio64/stdio64.c: Ditto.
3519 * libc/stdio64/stdio64.tex: Ditto.
3520 * libc/stdio64/tmpfile64.c: Ditto.
3521 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
3522 open64.
3523
778876f6
JJ
35242002-07-16 Jeff Johnston <jjohnstn@redhat.com>
3525
3526 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
3527 if LIBC_EXTRA_LIB is present.
3528 * libc/Makefile.in: Regenerated.
3529 * libc/libc.texinfo: Add blank line.
3530 * libc/argz/Makefile.am: Add doc support.
3531 * libc/search/Makefile.am: Ditto.
3532 * libc/argz/Makefile.in: Regenerated.
3533 * libc/search/Makefile.in: Ditto.
3534 * libc/misc/misc.tex: Add ffs function.
3535 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
3536
37981145
JJ
35372002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3538
3539 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
3540 definition that was removed in error.
3541
38b5dc59
JJ
35422002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3543
3544 * libc/include/machine/ieeefp.h: Change to only define
3545 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
3546 __IEEE_LITTLE_ENDIAN must be defined for each platform).
3547 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
3548 remove redundant floating point definitions.
3549
8cb61a96
JJ
35502002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3551
3552 * libc/sys/linux/callocr.c: Fix so code references
3553 calloc.
3554
edba3282
JJ
35552002-07-15 Jeff Johnston <jjohnstn@redhat.com>
3556
3557 * libc/sys/linux/Makefile.am: Add new files.
3558 * libc/sys/linux/Makefile.in: Regenerated.
3559 * libc/sys/linux/bp-sym.h: Moved to include directory.
3560 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
3561 * libc/sys/linux/inode.c: Set _LIBC to 1.
3562 * libc/sys/linux/mq_close.c: Ditto.
3563 * libc/sys/linux/mq_getattr.c: Ditto.
3564 * libc/sys/linux/mq_open.c: Ditto.
3565 * libc/sys/linux/mq_receive.c: Ditto.
3566 * libc/sys/linux/mq_send.c: Ditto.
3567 * libc/sys/linux/mq_setattr.c: Ditto.
3568 * libc/sys/linux/mq_unlink.c: Ditto.
3569 * libc/sys/linux/calloc.c: New file.
3570 * libc/sys/linux/callocr.c: Ditto.
3571 * libc/sys/linux/cfreer.c: Ditto.
3572 * libc/sys/linux/config.h: Ditto.
3573 * libc/sys/linux/free.c: Ditto.
3574 * libc/sys/linux/freer.c: Ditto.
3575 * libc/sys/linux/msize.c: Ditto.
3576 * libc/sys/linux/msizer.c: Ditto.
3577 * libc/sys/linux/mstats.c: Ditto.
3578 * libc/sys/linux/mtrim.c: Ditto.
3579 * libc/sys/linux/mtrimr.c: Ditto.
3580 * libc/sys/linux/pvallocr.c: Ditto.
3581 * libc/sys/linux/realloc.c: Ditto.
3582 * libc/sys/linux/reallocr.c: Ditto.
3583 * libc/sys/linux/thread-m.h: Ditto.
3584 * libc/sys/linux/vallocr.c: Ditto.
3585 * libc/sys/linux/bp-checks.h: Ditto.
3586 * libc/sys/linux/libc-symbols.h: Ditto.
3587 * libc/sys/linux/libc-tsd.h: Ditto.
3588 * libc/sys/linux/libintl.h: Ditto.
3589 * libc/sys/linux/malign.c: Ditto.
3590 * libc/sys/linux/malignr.c: Ditto.
3591 * libc/sys/linux/mallinfor.c: Ditto.
3592 * libc/sys/linux/malloc.c: Ditto.
3593 * libc/sys/linux/mallocr.c: Ditto.
3594 * libc/sys/linux/malloptr.c: Ditto.
3595 * libc/sys/linux/mallstatsr.c: Ditto.
3596 * libc/sys/linux/mcheck.c: Ditto.
3597 * libc/sys/linux/mhooks.h: Ditto.
3598 * libc/sys/linux/include/bp-sym.h: Ditto.
3599 * libc/sys/linux/include/malloc.h: Ditto.
3600 * libc/sys/linux/include/mcheck.h: Ditto.
3601 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
3602 getpagesize.c.
3603 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
3604 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
3605 * libc/sys/linux/machine/i386/getpagesize.c: New file.
3606 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
3607 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3608 * libc/sys/linux/machine/i386/sysdep.h: New file.
3609 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
3610 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
3611 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
3612
ea20b60a
JJ
36132002-07-12 Jeff Johnston <jjohnstn@redhat.com>
3614
3615 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
3616 instead of <asm/siginfo.h>.
3617 * libc/sys/linux/sys/signal.h: Change to include various linux
3618 <bits/xxx.h> header files, rather than <linux/signal.h> so as
3619 to work with multiple releases of glibc header files.
3620
2fc82912
JJ
36212002-07-11 Chris Demetriou <cgd@broadcom.com>
3622
3623 * testsuite/newlib.search/hsearchtest.c: New file to test
3624 newlib/libc/search.
3625 * testsuite/newlib.search/hsearchtest.exp: Likewise.
3626
4a404e97 36272002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
3628
3629 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
3630 a terminal.
3631 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
3632
6aec558e
JJ
36332002-07-08 Jeff Johnston <jjohnstn@redhat.com>
3634
3635 * libc/include/math.h (MAXFLOAT): Added.
3636
e47e6f0e 3637Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
3638
3639 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
3640 Make strcmp.S unconditional.
3641 * libc/machine/sh/Makefile.in: Regenerate.
3642 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
3643 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
3644 for SHcompact.
3645
89ffbd66
JJ
36462002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3647
3648 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
3649 define before including <sys/lock.h>.
3650
ae6c4c84
JJ
36512002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3652
3653 * libc/include/utime.h: Add include of <_ansi.h>.
3654 * libc/sys/linux/Makefile.am: Add utimes.c.
3655 * libc/sys/linux/Makefile.in: Regenerated.
3656 * libc/sys/linux/inode.c(__umask): New static routine.
3657 (umask): Written to use __umask and attempt to thread lock.
3658 (getumask): New function written to use __umask and thread lock.
3659 * libc/sys/linux/utimes.c: New file.
3660 * libc/sys/linux/sys/time.h: Fix utimes prototype.
3661 * libc/sys/linux/sys/utime.h: New file.
3662
a6cac46c
TF
36632002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3664
3665 * libtool.m4: New file.
3666 * libc/sys/linux/process.c: Implement vfork in terms of fork,
3667 rather than as a syscall.
3668
30b2092f
JJ
36692002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3670
3671 * libc/include/stdio.h: Add new prototypes.
3672 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
3673 * libc/stdio/Makefile.in: Regenerated.
3674 * libc/stdio/fseek.c: Add fseeko documentation.
3675 * libc/stdio/ftell.c: Add ftello documentation.
3676 * libc/stdio/fseeko.c: New file.
3677 * libc/stdio/ftello.c: New file.
3678
7501704d
JJ
36792002-07-04 Jeff Johnston <jjohnstn@redhat.com>
3680
3681 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
3682 * libc/stdio/Makefile.in: Regenerated.
3683 * libc/stdio/asprintf.c: New file.
3684 * libc/stdio/vasprintf.c: Ditto.
3685 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
3686 the buffer for asprintf support.
3687 * libc/stdio/sprintf.c: Add asprintf documentation.
3688 * libc/stdio/vfprintf.c: Add vasprintf documentation.
3689 * libc/include/stdio.h: Add new prototypes.
3690
66eee32b
TF
36912002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
3692
3693 * libc/search/hcreate.c: Remove advertising clause from license.
3694 * libc/search/hcreate_r.c: Likewise.
3695
cec4a9f8
JJ
36962002-07-02 Chris Demetriou <cgd@broadcom.com>
3697
3698 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
3699 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
3700 Check that one of them is defined and error out if not.
3701 Add any platforms defined in <machine/ieeefp.h> that are missing.
3702 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
3703 (DB_LITTLE_ENDIAN): New defines.
3704 * libc/search/hash.c: Replace all incorrect checks for
3705 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
3706 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
3707 * libc/search/hash_page.c: Likewise.
3708
2d5eb17e
TF
37092002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
3710
3711 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
3712
c1a3171f
JJ
37132002-06-27 Benjamin Kosnik <bkoz@redhat.com>
3714
3715 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
3716 * libc/include/time.h: Same.
3717 * libc/include/string.h: Same.
3718 * libc/include/stdlib.h: Same.
3719 * libc/include/signal.h: Same.
3720 * libc/include/setjmp.h: Same.
3721 * libc/include/math.h: Same.
3722 * libc/include/locale.h: Same.
3723 * libc/include/ctype.h: Same.
3724 * libc/include/machine/setjmp.h: Same.
3725 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
3726 (_END_STD_C): Add.
3727
533b4e66
JJ
37282002-06-27 Jeff Johnston <jjohnstn@redhat.com>
3729
3730 * libc/include/sys/_types.h: Define _ssize_t as int if int is
3731 32-bits, otherwise define it as long.
3732 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
3733 and define ssize_t as _ssize_t.
3734 * libc/reent/readr.c: Change return type to _ssize_t.
3735 * libc/reent/writer.c: Ditto.
3736 * libc/sys/linux/Makefile.am: Add aio.c.
3737 * libc/sys/linux/Makefile.in: Regenerated.
3738 * libc/sys/linux/aio.c: New file.
3739 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
3740 * libm/common/fdlibm.h: Undef __P before defining it.
3741
c36e6dd7
TF
37422002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
3743
54be629f
TF
3744 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
3745 exponent_is_even_int variable. Handle case where x is
3746 negative, and y is an odd integer.
3747 * libm/mathfp/sf_pow.c (powf): Likewise.
3748
c36e6dd7
TF
3749 * libm/mathfp/er_lgamma.c: Remove __kernel references.
3750 * libm/mathfp/erf_lgamma.c: Likewise.
3751 * libm/mathfp/s_tgamma.c: Likewise.
3752 * libm/mathfp/sf_tgamma.c: Likewise.
3753
baf051ca
JJ
37542002-06-27 Jeff Johnston <jjohnstn@redhat.com>
3755
3756 * libc/sys/linux/Makefile.am: Add new clock routines.
3757 * libc/sys/linux/Makefile.in: Regenerated.
3758 * libc/sys/linux/clock_getres.c: New file.
3759 * libc/sys/linux/clock_gettime.c: Ditto.
3760 * libc/sys/linux/clock_settime.c: Ditto.
3761 * libc/sys/linux/hp-timing.h: Ditto.
3762 * libc/sys/linux/libc-internal.h: Ditto.
3763 * libc/sys/linux/sysconf.c: Fix typo.
3764 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
3765 * libc/sys/linux/machine/hp-timing.h: New file.
3766 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
3767 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
3768 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
3769 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
3770 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
3771 * libc/sys/linux/sys/linux_time.h: New file.
3772 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
3773 replace with <sys/linux_time.h>.
3774
0431ed4e
JR
3775Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
3776
3777 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
3778
fc067ba5
JJ
37792002-06-25 Jeff Johnston <jjohnstn@redhat.com>
3780
3781 * libc/sys/linux/Makefile.am: Consolidate additional items under
3782 ADD_OBJS.
3783 * libc/sys/linux/Makefile.in: Regenerated.
3784
ffddf61e
JJ
37852002-06-25 Jeff Johnston <jjohnstn@redhat.com>
3786
3787 * libc/sys/linux/sethostname.c: New file.
3788 * libc/sys/linux/Makefile.am: Add sethostname.c support.
3789 * libc/sys/linux/Makefile.in: Regenerated.
3790
d5487d3f
TF
37912002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3792
3793 * libc/search/db_local.h: New file.
3794 * libc/include/db.h: Remove.
3795 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
3796 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
3797 "db_local.h".
3798 * libc/search/hash_bigkey.c: Likewise.
3799 * libc/search/hash_buf.c: Likewise.
3800 * libc/search/hash_func.c: Likewise.
3801 * libc/search/hash_log2.c: Likewise.
3802 * libc/search/hash_page.c: Likewise.
3803
38042002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 3805
1e7ca711 3806 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
3807 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
3808 * libc/machine/sh/Makefile.am: Regenerate.
3809
59c6d6c4
JJ
38102002-06-24 Jeff Johnston <jjohnstn@redhat.com>
3811
3812 * libc/sys/linux/gethostname.c: Change name to __gethostname and
3813 add gethostname alias.
3814
a70486d7
JJ
38152002-06-24 Jeff Johnston <jjohnstn@redhat.com>
3816
3817 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 3818 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 3819 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 3820 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
3821 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
3822 * libm/common/fdlibm.h: Ditto.
3823
3118725a
TF
38242002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
3825
3826 * libc/include/ndbm.h: Remove.
3827 * libc/search/ndbm.c: Remove.
3828
30a06168
TF
38292002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
3830
3831 * libc/stdio/fseek.c (fseek): Fix braces.
3832
01f5155e
CV
38332002-06-21 Corinna Vinschen <corinna@vinschen.de>
3834
3835 * libc/time/strftime.c (strftime): Add %e format specifier.
3836
930bc96b
TF
38372002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3838
3839 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
3840 previously defined.
3841
55105f86
JJ
38422002-06-21 Richard Earnshaw (rearnsha@arm.com)
3843
3844 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
3845 (BYTE_ORDER): Define as appropriate for the target.
3846
2e78444a
JJ
38472002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3848
3849 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
3850 to _ssize_t.
3851 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
3852
d427d092
JJ
38532002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3854
3855 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
3856 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
3857 [HAVE_GETDATE](getdate_err): New error code.
3858 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
3859 * libc/stdio/Makefile.in: Regenerated.
3860 * libc/stdio/getdelim.c: New file.
3861 * libc/stdio/getline.c: Ditto.
3862 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
3863 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
3864 * libc/sys/linux/Makefile.in: Regenerated.
3865 * libc/sys/linux/getdate.c: New file.
3866 * libc/sys/linux/getdate_err.c: Ditto.
3867 * libc/sys/linux/ntp_gettime.c: Ditto.
3868 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
3869 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
3870
35728d4f
JJ
38712002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3872
3873 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
3874 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
3875 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
3876 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
3877 * libc/include/sys/param.h: Remove i386 case which is handled
3878 by default case.
3879 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
3880 definitions in case they are already defined.
3881 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
3882 _IEEE_LITTLE_ENDIAN flags.
3883 * libc/include/sys/reent.h: Change __uint32_t references to
3884 use _ULong instead.
3885 (_REENT_GETDATE_REENT_P): New macro.
3886 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
3887 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
3888 * libc/search/hash.h: Add default setting of BYTE_ORDER,
3889 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
3890 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
3891 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
3892 pid_t, off_t, loff_t, caddr_t, and daddr_t type
3893 definitions which are done by subsequent glibc headers.
3894 Add macro definitions to prevent subsequent header files from
3895 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
3896 intptr_t to after glibc definitions of types they are based on.
3897
4a2bfab7
JJ
38982002-06-21 Jeff Johnston <jjohnstn@redhat.com>
3899
3900 * libc/include/errno.h: Protect from multiple inclusion.
3901
f42d18ea
NC
39022002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
3903
3904 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
3905
a7b23a8f
TF
39062002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
3907
3908 * Makefile.am (LIB_OBJECTLISTS): Add
3909 libc/search/objectlist.awk.in.
3910 * libc/Makefile.am (SUBDIRS): Add search.
3911 (SUBLIBS): Add search/libsearch.la.
3912 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
3913 * libc/search: New directory.
3914 * libc/search/Makefile.am: New file.
3915 * libc/search/extern.h: New file.
3916 * libc/search/hash.c: New file.
3917 * libc/search/hash.h: New file.
3918 * libc/search/hash_bigkey.c: New file.
3919 * libc/search/hash_buf.c: New file.
3920 * libc/search/hash_func.c: New file.
3921 * libc/search/hash_log2.c: New file.
3922 * libc/search/hash_page.c: New file.
3923 * libc/search/hcreate.3: New file.
3924 * libc/search/hcreate.c: New file.
a7b23a8f
TF
3925 * libc/search/hcreate_r.c: New file.
3926 * libc/search/ndbm.c: New file.
3927 * libc/search/page.h: New file.
3928 * libc/search/tdelete.c: New file.
3929 * libc/search/tdestroy.c: New file.
3930 * libc/search/tfind.c: New file.
3931 * libc/search/tsearch.3: New file.
3932 * libc/search/tsearch.c: New file.
3933 * libc/search/twalk.c: New file.
3934 * libc/include/db.h: New file.
3935 * libc/include/ndbm.h: New file.
3936 * libc/include/search.h: New file.
3937 * libc/include/sys/queue.h: New file.
3938 * libc/include/sys/cdefs.h: New file.
3939 * libc/include/sys/param.h
3940 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
3941 LITTLE_ENDIAN or BIG_ENDIAN.
3942 * libc/include/sys/errno.h (EFTYPE): New macro.
3943 * libc/search/bsearch.c: Move from libc/stdlib.
3944 * libc/search/qsort.c: Likewise.
3945 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
3946 qsort.c.
3947 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
3948 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
3949
ef467338
JJ
39502002-06-19 Jeff Johnston <jjohnstn@redhat.com>
3951
3952 * libc/sys/linux/Makefile.am: Add support for message queue routines,
3953 ipc routines, and ftok.
3954 * libc/sys/linux/Makefile.in: Regenerated.
3955 * libc/sys/linux/ftok.c: New file.
3956 * libc/sys/linux/ipc.c: Ditto.
3957 * libc/sys/linux/mq_close.c: Ditto.
3958 * libc/sys/linux/mq_getattr.c: Ditto.
3959 * libc/sys/linux/mq_notify.c: Ditto.
3960 * libc/sys/linux/mq_open.c: Ditto.
3961 * libc/sys/linux/mq_receive.c: Ditto.
3962 * libc/sys/linux/mq_send.c: Ditto.
3963 * libc/sys/linux/mq_setattr.c: Ditto.
3964 * libc/sys/linux/mq_unlink.c: Ditto.
3965 * libc/sys/linux/mqlocal.h: Ditto.
3966 * libc/sys/linux/include/mqueue.h: Ditto.
3967 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
3968 __uid_t_defined.
3969
7f55c08c
TF
39702002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
3971
3972 * libm/common/sf_lround.c (round): Change name to: (lround).
3973 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
3974 remquof.
3975
c9ca68d7
TF
39762002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3977
3978 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
3979 procedure.
3980 (newlib_pass_fail): Change to compile and run only one file.
3981 * testsuite/newlib.locale/locale.exp: Use new
3982 newlib_pass_fail_all procedure.
3983 * testsuite/newlib.string/string.exp: Likewise.
3984
4ecedd09
DB
39852002-06-18 Dave Brolley <brolley@redhat.com>
3986
3987 From Catherine Moore, Michael Meissner, Richard Sandiford:
3988 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
3989 (_JBTYPE): Ditto.
3990 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
3991 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
3992 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
3993 * configure.host: Support frv-*-*.
3994 * libc/machine/frv/Makefile.am: New file.
3995 * libc/machine/frv/configure.in: New file.
3996 * libc/machine/frv/setjmp.S: New file.
3997
af1c257a
TF
39982002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
3999
4000 * libc/include/ctype.h: Remove isblank macro.
4001
4002 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
4003 * libc/ctype/isblank.c: New file.
4004 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
4005 declaration. Add isblank macro.
4006
4e04fa90
JJ
40072002-06-18 Jeff Johnston <jjohnstn@redhat.com>
4008
4009 * testsuite/newlib.stdlib/atexit.c: New file.
4010 * testsuite/newlib.stdlib/atexit.exp: Ditto.
4011 * testsuite/newlib.string/tstring.c: Change default start size
4012 to something more reasonable for embedded platforms.
4013
b56d7e79
TF
40142002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4015
ece3c72f
TF
4016 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
4017
b56d7e79
TF
4018 * libc/argz: New directory.
4019 * libc/argz/*: New files.
4020 * libc/argz/argz_add.c: New file.
4021 * libc/argz/argz_add_sep.c: New file.
4022 * libc/argz/argz_append.c: New file.
4023 * libc/argz/argz_count.c: New file.
4024 * libc/argz/argz_create.c: New file.
4025 * libc/argz/argz_create_sep.c: New file.
4026 * libc/argz/argz_delete.c: New file.
4027 * libc/argz/argz_extract.c: New file.
4028 * libc/argz/argz_insert.c: New file.
4029 * libc/argz/argz_next.c: New file.
4030 * libc/argz/argz_replace.c: New file.
4031 * libc/argz/argz_stringify.c: New file.
4032 * libc/argz/buf_findstr.c: New file.
4033 * libc/argz/envz_add.c: New file.
4034 * libc/argz/envz_entry.c: New file.
4035 * libc/argz/envz_get.c: New file.
4036 * libc/argz/envz_merge.c: New file.
4037 * libc/argz/envz_remove.c: New file.
4038 * libc/argz/envz_strip.c: New file.
4039 * libc/include/argz.h: New file.
4040 * libc/include/envz.h: New file.
4041 * Makefile.am (LIBC_OBJECTLISTS): Add
4042 libc/argz/objectlist.awk.in.
4043 * libc/Makefile.am (SUBDIRS): Add argz.
4044 (SUBLIBS): Add argz/libargz.la.
4045 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
4046 * libc/include/errno.h: Add error_t typedef.
4047
d062d3dd
JJ
40482002-06-13 Jeff Johnston <jjohnstn@redhat.com>
4049
4050 * libc/include/stdlib.h: Add _Exit prototype.
4051 * libc/stdlib/Makefile.am: Add _Exit.c support.
4052 * libc/stdlib/Makefile.in: Ditto.
4053 * libc/stdlib/_Exit.c: New file.
4054
a47e66ae
JJ
40552002-06-13 Stephen L. Moshier <steve@moshier.net>
4056
4057 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
4058 x is close to -1.0 and y is very large to use ax (absolute value)
4059 instead of x.
4060 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
4061
13f7d71f
JR
4062Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
4063
4064 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
4065 Fix clobbering bytes before destination if src and dst have same
4066 non-zero misalignment.
1f1fb421
JR
4067
4068 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
4069 Fixed bug in writing end of set region.
4070
b2e8018f
CF
40712002-06-10 Christopher Faylor <cgf@redhat.com>
4072
4073 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
4074 spawnve declaration.
4075
0953fe64
TF
40762002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
4077
4078 * libm/common/s_fdim.c: New file.
4079 * libm/common/s_fma.c: Likewise.
4080 * libm/common/s_fmax.c: Likewise.
4081 * libm/common/s_fmin.c: Likewise.
4082 * libm/common/s_fpclassify.c: Likewise.
4083 * libm/common/s_lrint.c: Likewise.
4084 * libm/common/s_lround.c: Likewise.
4085 * libm/common/s_nearbyint.c: Likewise.
4086 * libm/common/s_remquo.c: Likewise.
4087 * libm/common/s_round.c: Likewise.
4088 * libm/common/s_scalbln.c: Likewise.
4089 * libm/common/s_signbit.c: Likewise.
4090 * libm/common/s_trunc.c: Likewise.
4091 * libm/common/sf_fdim.c: Likewise.
4092 * libm/common/sf_fma.c: Likewise.
4093 * libm/common/sf_fmax.c: Likewise.
4094 * libm/common/sf_fmin.c: Likewise.
4095 * libm/common/sf_lrint.c: Likewise.
4096 * libm/common/sf_lround.c: Likewise.
4097 * libm/common/sf_nearbyint.c: Likewise.
4098 * libm/common/sf_remquo.c: Likewise.
4099 * libm/common/sf_round.c: Likewise.
4100 * libm/common/sf_scalbln.c: Likewise.
4101 * libm/common/sf_trunc.c: Likewise.
4102 * libm/math/w_exp2.c: Likewise.
4103 * libm/math/w_tgamma.c: Likewise.
4104 * libm/math/wf_exp2.c: Likewise.
4105 * libm/math/wf_tgamma.c: Likewise.
4106 * libm/mathfp/s_exp2.c: Likewise.
4107 * libm/mathfp/s_tgamma.c: Likewise.
4108 * libm/mathfp/sf_exp2.c: Likewise.
4109 * libm/mathfp/sf_tgamma.c: Likewise.
4110 * libm/math/er_gamma.c: Fix return value.
4111 * libm/math/erf_gamma.c: Likewise.
4112 * libm/mathfp/er_gamma.c: Likewise.
4113 * libm/mathfp/erf_gamma.c: Likewise.
4114 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
4115 declarations and macros.
4116 Regenerated all Makefile.in, aclocal.m4 and configure files to
4117 use new libtool macros in top-level libtool.m4
4118
39e65e01
JJ
41192002-06-05 Jeff Johnston <jjohnstn@redhat.com>
4120
4121 * libc/include/string.h[__linux__]: Add strsignal prototype.
4122 * libc/include/sys/lock.h: New file with default locking support.
4123 * libc/include/sys/reent.h: Add signal buffer support for strsignal
4124 and psignal.
4125 * libc/posix/Makefile.am: Add support for readdir_r.c.
4126 * libc/posix/Makefile.in: Regenerated.
4127 * libc/posix/closedir.c: Add locking support and hash table cleanup.
4128 * libc/posix/opendir.c: Add lock support.
4129 * libc/posix/readdir.c: Ditto.
4130 * libc/posix/rewinddir.c: Ditto.
4131 * libc/posix/scandir.c: Ditto.
4132 * libc/posix/seekdir.c: Ditto.
4133 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
4134 clean up leftover hash table entries.
4135 * libc/posix/readdir_r.c: New file.
4136 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
4137 * libc/sys/linux/Makefile.in: Regenerated.
4138 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
4139 * libc/sys/linux/sys/signal.h: Add psignal prototype.
4140 * libc/sys/linux/psignal.c: New file.
4141 * libc/sys/linux/strsignal.c: Ditto.
4142
cc890e89
CV
41432002-06-03 Corinna Vinschen <corinna@vinschen.de>
4144
4145 * libc/include/sys/types.h: Don't define dev_t when compiling for
4146 Cygwin.
4147
ea55e3f7
JJ
41482002-05-31 Jeff Johnston <jjohnstn@redhat.com>
4149
4150 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
4151 make siglist.inc dependent on sig.c instead of signal.c.
4152 * libc/sys/linux/Makefile.in: Regenerated.
4153 * libc/sys/linux/sig.c: Rename from signal.c and change code to
4154 use NSIG instead of _NSIG.
4155 * libc/sys/linux/sigaction.c: New file.
4156 * libc/sys/linux/signal.c: Changed to be linux signal() function
4157 so as to override regular newlib default signal.c.
ea55e3f7
JJ
4158 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
4159 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4160 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
4161 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
4162 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
4163 default linux sigset_t typedef by defining it equal to __sigset_t.
4164 * libc/unix/sigset.c: Add check so code isn't compiled on systems
4165 with a sigset_t that isn't implemented with a single int.
4166
9d362914
JJ
41672002-05-30 Jeff Johnston <jjohnstn@redhat.com>
4168
4169 * libc/sys/linux/Makefile.am: Add support for new files.
4170 * libc/sys/linux/Makefile.in: Regenerated.
4171 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
4172 * libc/sys/linux/signal.c: Change to use real-time syscalls for
4173 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
4174 it is in a separate file now.
4175 * libc/sys/linux/machine/i386/Makefile.am
4176 * libc/sys/linux/machine/i386/Makefile.in
4177 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
4178 * libc/sys/linux/sigaction.c: New file.
4179 * libc/sys/linux/sigqueue.c: Ditto.
4180 * libc/sys/linux/sigwait.c: Ditto.
4181 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
4182 * libc/sys/linux/kernel_sigaction.h: Ditto.
4183
b1f07180
JJ
41842002-05-28 Jeff Johnston <jjohnstn@redhat.com>
4185
4186 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
4187 tcsendbrk.c.
4188 * libc/sys/linux/Makefile.in: Regenerated.
4189 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
4190 tcgetpgrp(), and tcsetpgrp() functions.
4191 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
4192 to get __MAX_BAUD rate.
4193 * libc/sys/linux/machine/i386/include/termios.h: New file.
4194 * libc/include/machine/termios.h: Ditto.
4195 * libc/sys/linux/cfspeed.c: Ditto.
4196 * libc/sys/linux/tcsendbrk.c: Ditto.
4197
d29587b4
JJ
41982002-05-24 Jeff Johnston <jjohnstn@redhat.com>
4199
4200 * libc/include/string.h: Add strnlen and strerror_r prototypes.
4201 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
4202 * libc/string/Makefile.in: Regenerated.
4203 * libc/string/strerror_r.c: New file.
4204 * libc/string/strnlen.c: New file.
4205 * libc/sys/linux/Makefile.am: Add rename.c.
4206 * libc/sys/linux/Makefile.in: Regenerated.
4207 * libc/sys/linux/rename.c: New file to override default rename.
4208
9a292385
TF
42092002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4210
4211 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
4212 * libc/sys/linux/sys/time.h: Add conversion macros.
4213 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
4214 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
4215 * libc/sys/linux/gethostname.c: New file.
4216 * libc/sys/linux/seteuid.c: New file.
4217 * libc/sys/linux/sysctl.c: New file.
4218
7a364eb3
JJ
42192002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4220
4221 * libc/string/Makefile.am: Add support for strsep.c.
4222 * libc/string/Makefile.in: Regenerated.
4223 * libc/string/strsep.c: New file.
4224 * libc/string/strtok.c: Change to call __strtok_r service routine.
4225 * libc/string/strtok_r.c: Add __strtok_r routine which takes
4226 additional flag parameter regarding whether to skip leading delimeters.
4227 Change strtok_r to call __strtok_r.
4228
164ee5b0
JJ
42292002-05-23 Gareth Pearce <tilps@hotmail.com>
4230
4231 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
4232 * libc/stdio/Makefile.in: Regenerated.
4233 * libc/stdio/setbuffer.c: New file.
4234 * libc/stdio/setlinebuf.c: New file.
4235
f6b2b567
JJ
42362002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4237
4238 * libc/sys/linux/Makefile.am: Add resource.c.
4239 * libc/sys/linux/Makefile.in: Regenerated.
4240 * libc/sys/linux/resource.c: New file.
4241 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
4242 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
4243 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4244 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
4245 are now found in libc/sys/linux/resource.c.
4246
afe56517
JJ
42472002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4248
4249 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
4250 to use void * pointers and comply with Single Unix spec.
4251 * libc/string/bcmp.c: Change to use void * instead of char *.
4252 * libc/string/bcopy.c: Ditto.
4253 * libc/string/bzero.c: Ditto.
4254
7736feb2
JJ
42552002-05-22 Jeff Johnston <jjohnstn@redhat.com>
4256
4257 * libc/sys/linux/shm_open.c: New file.
4258 * libc/sys/linux/shm_unlink.c: Ditto.
4259 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
4260 shm_unlink.c.
4261 * libc/sys/linux/Makefile.in: Regenerated.
4262 * libc/sys/linux/sys/types.h: Add some additional checks to see
4263 if clock_t or time_t is already defined.
4264
19f111bd
JJ
42652002-05-22 Jeff Johnston <jjohnstn@redhat.com>
4266
4267 * Makefile.am: Don't pass $toollibdir down directly in
4268 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
4269 Pass it under the name: top_toollibdir.
4270 * Makefile.in: Regenerated.
4271
c811b1ee
CV
42722002-05-22 Corinna Vinschen <vinschen@redhat.com>
4273
4274 * libc/include/sys/types.h: Revert previous patch.
4275
2b43ad33
CV
42762002-05-22 Corinna Vinschen <vinschen@redhat.com>
4277
4278 * libc/include/sys/types.h: Include cygwin/types.h always under
4279 Cygwin, not only if _POSIX_THREADS is defined.
4280
dd671cde
TF
42812002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
4282
4283 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
4284
5e2cbfb6
JJ
42852002-05-17 Jeff Johnston <jjohnstn@redhat.com>
4286
4287 * Makefile.am: Copy and install headers from sys/machine/include
4288 directory. Also pass $toollibdir to lower-level directories.
4289 * Makefile.in: Regenerated.
4290 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
4291 stderr to use _REENT macro instead of _impure_ptr directly.
4292 * libc/include/sys/config.h[__i386__][__linux__]: Define
4293 __DYNAMIC_REENT__.
4294 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
4295 call to __getreent() function if !__SINGLE_THREAD__ and
4296 __DYNAMIC_REENT__ is set.
4297 * libc/reent/Makefile.am: Add support for getreent.c.
4298 * libc/reent/Makefile.in: Regenerated.
4299 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
4300 * libc/sys/linux/Makefile.am: Add support for new files.
4301 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
4302 * libc/sys/linux/Makefile.in: Regenerated.
4303 * libc/sys/linux/configure: Ditto.
4304 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
4305 __close, __read, __write, __poll, __open, __lseek, __fcntl from
4306 their __libc_ counterparts.
4307 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
4308 and weak-alias to regular names.
4309 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
4310 to pread64 and __pread64.
4311 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
4312 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
4313 weak-alias to pwrite64.
4314 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
4315 __libc_sched_getscheduler, __libc_sched_get_priority_max,
4316 __libc_sched_get_priority_min, and __libc_sched_setschedule to
4317 name with __ instead of __libc_.
4318 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
4319 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
4320 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
4321 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
4322 to raise.
4323 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
4324 __libc_send to __send.
4325 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
4326 __gettimeofday.
4327 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
4328 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
4329 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
4330 type and typedef __jmp_buf to jmp_buf.
4331 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
4332 setjmp.S.
4333 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4334 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
4335 section.
4336 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
4337 prefix for function macros and then use weak_alias() to regular names.
4338 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4339 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
4340 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
4341 to be flockfile() and funlockfile() respectively.
4342 * libc/sys/linux/sys/types.h
4343 * libc/reent/getreent.c: New file.
4344 * libc/sys/linux/flockfile.c: Ditto.
4345 * libc/sys/linux/funlockfile.c: Ditto.
4346 * libc/sys/linux/getreent.c: Ditto.
4347 * libc/sys/linux/pread.c: Ditto.
4348 * libc/sys/linux/pwrite.c: Ditto.
4349 * libc/sys/linux/raise.c: Ditto.
4350 * libc/sys/linux/system.c: Ditto.
4351 * libc/sys/linux/tcdrain.c: Ditto.
4352 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
4353 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
4354 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
4355 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
4356 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
4357
7fc85bd1
TF
43582002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
4359
4360 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
4361 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
4362 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
4363 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
4364
6935231f 4365Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
4366
4367 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
4368 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
4369 exit point.
d7a2f413 4370
3a6cb01b
TF
43712002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4372
a68fa571
TF
4373 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
4374 options when testing natively on i[3456]86-*-linux.
4375
3a6cb01b
TF
4376 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
4377 only one pass or fail per test file. Trim \r's from output
4378 values received from test programs. Remove support for named
4379 tests.
4380 * testsuite/newlib.locale/UTF-8.exp: Update to support new
4381 newlib_check_output behaviour.
4382 * testsuite/newlib.locale/UTF-8.c: Likewise.
4383
dc824ef7
JJ
43842002-05-15 Jeff Johnston <jjohnstn@redhat.com>
4385
4386 * libc/include/stdlib.h: Add on_exit prototype.
4387 * libc/include/sys/reent.h (struct _atexit): Add argument array
4388 and bits to track type of exit routine to support both on_exit
4389 and atexit.
4390 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
4391 by default and change the setting of the atexit structure.
4392 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
4393 * libc/stdlib/on_exit.c: New file.
4394 * libc/stdlib/Makefile.am: Add support for on_exit.
4395 * libc/stdlib/Makefile.in: Regenerated.
4396 * libc/stdlib/atexit.c: Change to initialize types field.
4397 * libc/stdlib/exit.c: Change to look at types field for each
4398 exit routine and either call an atexit-style or an on_exit-style
4399 routine accordingly.
4400
48d91b4a
JJ
44012002-05-13 Jeff Johnston <jjohnstn@redhat.com>
4402
4403 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
4404 allow v specifier with n or L specifiers. For vector c format,
4405 move tmp declaration to the top.
4406
024739eb
JJ
44072002-05-13 Jeff Johnston <jjohnstn@redhat.com>
4408
4409 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
4410 the original format specifier when looping for vectors to compensate
4411 for any changes made in vector %g format processing.
4412 Also add syntax checking for various invalid scenarios
4413 involving vector format extensions.
4414 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
4415 return code setting for vector formats. Also treat vector
4416 separator mismatch as a match error instead of an input error.
4417 Perform some syntax checking for vector formats.
4418
7d2ce898
TF
44192002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4420
4421 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
4422 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
4423 * libc/string/strlcat.c: New file.
4424 * libc/string/strlcpy.c: New file.
4425
809b6ce7
JJ
44262002-05-10 Jeff Johnston <jjohnstn@redhat.com>
4427
4428 * libc/string/strchr.c: Fix comment typo.
4429
76490806
TF
44302002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
4431
0c048a9a
TF
4432 * acinclude.m4: Add support for --enable-newlib-multithread.
4433 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
4434 --enable-newlib-multithread=no.
4435
76490806
TF
4436 * libc/stdio/getc_u.c: New file.
4437 * libc/stdio/getchar_u.c: New file.
4438 * libc/stdio/putc_u.c: New file.
4439 * libc/stdio/putchar_u.c: New file.
4440 * libc/include/stdio.h: Add declarations for getc_unlocked,
4441 getchar_unlocked, putc_unlocked and putchar_unlocked.
4442 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
4443 (CHEWOUT_FILES): Add new files' .def's.
4444 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
4445
96bff22c
JR
4446Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
4447
4448 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
4449 Also handle as single quad word when destination ends at last
4450 byte of first quad word. Fix byte selection in single quad code.
4451
e71372fa
TF
44522002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
4453
4454 * libc/include/sys/stdio.h: New file.
4455 * libc/sys/linux/sys/stdio.h: New file.
4456 * libc/include/stdio.h: Add declarations for flockfile,
4457 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
4458 * libc/stdio/clearerr.c: Add file locking.
4459 * libc/stdio/fclose.c: Likewise.
4460 * libc/stdio/feof.c: Likewise.
4461 * libc/stdio/ferror.c: Likewise.
4462 * libc/stdio/fflush.c: Likewise.
4463 * libc/stdio/fgetc.c: Likewise.
4464 * libc/stdio/fgetpos.c: Likewise.
4465 * libc/stdio/fgets.c: Likewise.
4466 * libc/stdio/fileno.c: Likewise.
4467 * libc/stdio/fputc.c: Likewise.
4468 * libc/stdio/fputs.c: Likewise.
4469 * libc/stdio/fread.c: Likewise.
4470 * libc/stdio/freopen.c: Likewise.
4471 * libc/stdio/fseek.c: Likewise.
4472 * libc/stdio/ftell.c: Likewise.
4473 * libc/stdio/fwrite.c: Likewise.
4474 * libc/stdio/getc.c: Likewise.
4475 * libc/stdio/putc.c: Likewise.
4476 * libc/stdio/setvbuf.c: Likewise.
4477 * libc/stdio/ungetc.c: Likewise.
4478 * libc/stdio/vfprintf.c: Likewise.
4479
a03790e4
JJ
44802002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4481
60b2107c
TF
4482 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
4483 support for 'p' format. Fix code to print bytes for vector
4484 integer formats that do not specify 'h' or 'l'.
4485 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
4486 for 'p' specifier. Fix code to scan 16 bytes for vector integer
4487 formats that do not specify 'h' or 'l'.
4488
4489 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
4490
9c7d6a9d
TF
44912002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
4492
4493 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
4494 (_sbrk): Add cast of return value.
4495
c33c3635
JJ
44962002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4497
4498 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
4499 (_REENT_L64A_BUF): New macro for accessing area.
4500 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
4501 * libc/stdlib/Makefile.in: Regenerated.
4502 * libc/stdlib/a64l.c: New file.
4503 * libc/stdlib/l64a.c: New file.
4504
f78e59a8
JJ
45052002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4506
4507 * libc/unix/pread.c: Fix typo for _pread_r.
4508 * libc/unix/pwrite.c: Fix type for _pwrite_r.
4509 * libc/sys/linux/pread64.c: Fix typo for read syscall.
4510 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
4511
4b3f6588
CF
45122002-05-03 Christopher Faylor <cgf@redhat.com>
4513
4514 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
4515
e911832c
TF
45162002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
4517
4518 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
4519
0d0fdc8d
CF
45202002-05-01 Christopher Faylor <cgf@redhat.com>
4521
4522 * utmp.h: Define more UNIX constants.
4523
1e997c56
TF
45242002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
4525
0717f01c
TF
4526 * Makefile.am: Add support for checking multilibs.
4527
09841445
TF
4528 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
4529 (SUBDEFS): Add LIBC_EXTRA_DEF.
4530 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
4531 (LIBC_EXTRA_DEF): Likewise.
4532 (extra_dir): Likewise.
4533 * libc/machine/xscale/machine: New directory.
4534 * libc/machine/xscale/machine/profile.h: New file.
4535
1e997c56
TF
4536 * Makefile.am (site.exp): Remove newlib_cflags. Add
4537 multibuildtop.
4538 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
4539 * testsuite/lib/flags.exp: New file.
4540 * testsuite/lib/newlib.exp: Load flags.exp.
4541 (newlib_target_compile): Remove libgloss directory references.
4542 (newlib_init): Remove newlib_cflags references.
4543
4cf4f010
TF
45442002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4545
f6bdb6f9
TF
4546 * testsuite/lib/newlib.exp (newlib_target_compile): Change
4547 method of finding libgloss_target_dir.
4548
4cf4f010
TF
4549 * Makefile.am (site.exp): Change host_alias, host_triplet,
4550 target_alias, target_triplet to refer to gcc's host and target
4551 variables (newlib's build and host variables).
4552 * testsuite/lib/newlib.exp (newlib_init): Change build
4553 references to host references, host references to target
4554 references to reflect Makefile.am changes.
4555 (newlib_target_compile): Likewise.
4556 (newlib_finish): Likewise.
4557
83096ae8
JJ
45582002-04-29 Jeff Johnston <jjohnstn@redhat.com>
4559
4560 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
4561
822afa53
JL
45622002-04-29 Jonathan Larmour <jlarmour@redhat.com>
4563
4564 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
4565 (_system): New function. Ditto.
4566 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
4567 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
4568 targets.
4569
29798f0d
JJ
45702002-04-29 Jeff Johnston <jjohnstn@redhat.com>
4571
4572 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
4573 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
4574 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
4575 * libc/sys/linux/Makefile.in: Regenerated.
4576 * libc/unix/Makefile.in: Ditto.
4577 * libc/sys/linux/pread64.c: New file.
4578 * libc/sys/linux/pwrite64.c: Ditto.
4579 * libc/unix/pread.c: Ditto.
4580 * libc/unix/pwrite.c: Ditto.
4581
557856bd
JJ
45822002-04-26 Jeff Johnston <jjohnstn@redhat.com>
4583
4584 * libc/sys/linux/Makefile.am: Add io64.c.
4585 * libc/sys/linux/Makefile.in: Regenerated.
4586 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
4587 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
4588 * libc/sys/linux/io64.c: New file.
4589
7b2b12d5
JJ
45902002-04-26 Jeff Johnston <jjohnstn@redhat.com>
4591
4592 * configure.in (CC_FOR_NEWLIB): New variable that
4593 bases on $(CC) and adds targ-include and libc/include as
4594 -isystem directives if they are not already part of $(CC).
4595 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
4596 $(CC_FOR_NEWLIB).
4597 * configure: Regenerated.
4598 * Makefile.in: Ditto.
4599
c62adacc
JJ
46002002-04-25 Jeff Johnston <jjohnstn@redhat.com>
4601
4602 * libc/sys/linux/Makefile.am: Add support for sched.c.
4603 * libc/sys/linux/Makefile.in: Regenerated.
4604 * libc/sys/linux/sched.c: New file.
4605 * libc/sys/linux/sys/types.h: Add struct timespec.
4606
217ad4a0
TF
46072002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
4608
4609 * configure.in (CC_FOR_BUILD): Set to gcc whether
4610 cross-compiling or not.
4611 (CC): Add -isystem's for targ-include and libc/include when they
4612 do not already appear in CC.
4613
eaa75b70
TF
46142002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4615
4616 * Makefile.am (check-DEJAGNU): New target.
4617 (site.exp): Likewise.
4618 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
4619 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
4620 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
4621 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
4622 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
4623 * testsuite: New directory.
4624 * testsuite/config: Likewise.
4625 * testsuite/lib: Likewise.
4626 * testsuite/newlib.locale: Likewise.
4627 * testsuite/newlib.string: Likewise.
4628 * testsuite/config/default.exp: New file.
4629 * testsuite/lib/checkoutput.exp: New file.
4630 * testsuite/lib/newlib.exp: New file.
4631 * testsuite/lib/passfail.exp: New file.
4632 * testsuite/newlib.locale/UTF-8.c: New file.
4633 * testsuite/newlib.locale/UTF-8.exp: New file.
4634 * testsuite/newlib.locale/locale.exp: New file.
4635 * testsuite/newlib.string/string.exp: New file.
4636 * testsuite/newlib.string/tstring.c: New file.
4637
b9f9f699
JJ
46382002-04-23 Jeff Johnston <jjohnstn@redhat.com>
4639
4640 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
4641 * libc/sys/linux/Makefile.am: Add support for mmap.c.
4642 * libc/sys/linux/Makefile.in: Regenerated.
4643 * libc/sys/linux/mmap.c: New file.
4644 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
4645 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
4646
7394edbb
TF
46472002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4648
4649 * acinclude.m4 (newlib_cflags): Remove include directories that
4650 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
4651
b9f9f699 46522002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
4653
4654 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
4655 * libc/machine/xscale/memcmp.c: Ditto.
4656 * libc/machine/xscale/memcpy.c: Ditto.
4657 * libc/machine/xscale/memmove.c: Ditto.
4658 * libc/machine/xscale/memset.c: Ditto.
4659 * libc/machine/xscale/strchr.c: Ditto.
4660 * libc/machine/xscale/strcmp.c: Ditto.
4661 * libc/machine/xscale/strcpy.c: Ditto.
4662 * libc/machine/xscale/strlen.c: Ditto.
4663
2dd4c4dc
JJ
46642002-04-19 Alexandre Oliva <aoliva@redhat.com>
4665
4666 * libc/include/sys/config.h: Remove include of <limits.h>.
4667 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
4668 define INT_MAX and LONG_MAX. Use them in tests.
4669
0d844014
JJ
46702002-04-19 Jeff Johnston <jjohnstn@redhat.com>
4671
4672 * configure.host: Add support for powerpc-eabialtivec*.
4673 * libc/include/malloc.h: Add include of <machine/malloc.h>.
4674 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
4675 * libc/include/machine/malloc.h: New file.
4676 * libc/include/machine/stdlib.h: Ditto.
4677 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
4678 * libc/machine/powerpc/Makefile.am: Add conditional objects and
4679 sources based on configuration.
4680 * libc/machine/powerpc/Makefile.in: Regenerated.
4681 * libc/machine/powerpc/configure: Ditto.
4682 * libc/machine/powerpc/configure.in: Add check for
4683 powerpc-eabialtivec* in which case add in additional source files.
4684 * libc/machine/powerpc/setjmp.S: Add altivec support.
4685 * libc/machine/powerpc/vec_calloc.c: New file.
4686 * libc/machine/powerpc/vec_free.c: Ditto.
4687 * libc/machine/powerpc/vec_malloc.c: Ditto.
4688 * libc/machine/powerpc/vec_mallocr.c: Ditto.
4689 * libc/machine/powerpc/vec_realloc.c: Ditto.
4690 * libc/machine/powerpc/machine/malloc.h: Ditto.
4691 * libc/machine/powerpc/machine/stdlib.h: Ditto.
4692 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
4693 with added altivec format specifiers.
4694 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
4695 added altivec format specifiers.
4696
d413aadc
JS
46972002-04-19 Joel Sherrill <joel@OARcorp.com>
4698
4699 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
4700 while autoconf is trying to link main(){}.
4701
27193895
JJ
47022002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4703
4704 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
4705 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
4706
10d00216
JJ
47072002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4708
6b0f808e
JJ
4709 * libc/time/time.tex: Add tzset info.
4710
47112002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4712
4713 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
4714 (strptime): Moved prototype to be within !__STRICT_ANSI__.
4715 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
4716 (tzname): Defined for all platforms.
4717 (daylight, timezone): Defined only for CYGWIN.
4718 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
4719 environment set up.
4720 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4721 environment variable is set.
4722 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
4723 tzset_r.c.
4724 * libc/time/Makefile.in: Regenerated.
4725 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
4726 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
4727 * libc/time/lcltime_r.c (lcltime_r): Ditto.
4728 * libc/time/local.h: New local header file.
4729 * libc/time/mktime.c (mktime): Add timezone support.
4730 * libc/time/mktm_r.c: New file which is the common engine
4731 for gmtime_r and lcltime_r. This code has timezone support.
4732 * libc/time/strftime.c (strftime): Add %Z timezone support.
4733 * libc/time/tzlock.c: New file containing timezone lock stubs.
4734 * libc/time/tzset.c: New file containing tzset() routine.
4735 * libc/time/tzset_r.c: New file containing _tzset_r and
4736 internal routine for calculating timezone changes for specified year.
4737
47382002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4739
4740 * configure.in (CRT0_DIR): Set to libc/.
4741 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
4742 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
4743 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
4744 $(CRT1_DIR)/$(CRT1).
4745 * libc/machine/xstormy16/Makefile.in: Regenerated.
4746 * libc/machine/xstormy16/aclocal.m4: Regenerated.
4747 * libc/machine/xstormy16/configure: Regenerated.
4748
47492002-04-13 Alexandre Oliva <aoliva@redhat.com>
4750
4751 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
4752 fails, don't bail out, and try to correct next time.
4753
4754 * libc/include/sys/config.h: Include limits.h.
4755
47562002-04-12 Eric Norum <eric.norum@usask.com>
4757
4758 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
4759 routine to allow autoconf to determine that building executables
4760 for rtems works.
4761 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
4762 (rtems_gxx_mutex_once): Ditto.
4763
47642002-04-09 Tom Rix <trix@redhat.com>
4765
4766 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
4767
47682002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4769
4770 * libc/include/time.h: Fix strptime declaration.
4771 * libc/time/Makefile.am: Add strptime.c.
4772 * libc/time/Makefile.in: Regenerated.
4773 * libc/time/strptime.c: New file.
4774
47752002-04-08 Jeff Johnston <jjohnstn@redhat.com>
4776
4777 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
4778 siglongjmp prototype, and sigsetjmp macro definition.
4779 * libc/sys/linux/siglongjmp.c: New file.
4780 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
4781 * libc/sys/linux/Makefile.in: Regenerated.
4782
47832002-04-04 Jeff Johnston <jjohnstn@redhat.com>
4784
4785 * Makefile.am: Add support for installing crt1.o if one exists.
4786 * configure.host: Specify crt1.o for linux.
4787 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
4788 * Makefile.in: Regenerated.
4789 * configure: Ditto.
4790 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
4791 Added for non-Cygwin, non-RTEMS configurations.
4792 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
4793 * libc/sys/linux/Makefile.in: Regenerated.
4794 * libc/sys/linux/crt1.c: New empty file to override one defaulted
4795 by gcc. This fixes problem with reconfiguring linux newlib build.
4796 * libc/sys/linux/sysconf.c: New file.
4797
47982002-04-03 Jeff Johnston <jjohnstn@redhat.com>
4799
4800 * configure.host: Add support for machine subdirectory of
4801 sys subdirectory.
4802 * configure.in: Add check for sys machine subdirectory.
4803 * Makefile.am: Ditto.
4804 * configure: Regenerated.
4805 * Makefile.in: Ditto.
4806 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
4807 * libc/sys/linux/sys/syscall.h: Ditto.
4808 * libc/sys/linux/sleep.c: New file.
4809 * libc/sys/linux/socket.c: Ditto.
4810 * libc/sys/linux/sockops.h: Ditto.
4811 * libc/sys/linux/stack.c: Ditto.
4812 * libc/sys/linux/usleep.c: Ditto.
4813 * libc/sys/linux/machine/Makefile.am: Ditto.
4814 * libc/sys/linux/machine/Makefile.in: Ditto.
4815 * libc/sys/linux/machine/aclocal.m4: Ditto.
4816 * libc/sys/linux/machine/configure: Ditto.
4817 * libc/sys/linux/machine/configure.in: Ditto.
4818 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4819 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
4820 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
4821 * libc/sys/linux/machine/i386/configure: Ditto.
4822 * libc/sys/linux/machine/i386/configure.in: Ditto.
4823 * libc/sys/linux/machine/i386/crt0.c: Ditto.
4824 * libc/sys/linux/machine/i386/sigset.c: Ditto.
4825 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
4826 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
4827 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4828 * libc/sys/linux/sys/select.h: Ditto.
4829 * libc/sys/linux/configure.in: Add support for machine directory.
4830 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
4831 * libc/sys/linux/Makefile.in: Regenerated.
4832 * libc/sys/linux/configure: Ditto.
4833 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
4834 * libc/sys/linux/inode.c: Ditto.
4835 * libc/sys/linux/linux.c: Ditto.
4836 * libc/sys/linux/process.c: Ditto.
4837 * libc/sys/linux/systat.c: Ditto.
4838 * libc/sys/linux/time.c: Ditto.
4839 * libc/sys/linux/wait.c: Ditto.
4840 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
4841 * libc/sys/linux/io.c: Change header plus add readv/writev.
4842 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
4843 use __sigsuspend syscall.
4844 * libc/sys/linux/select.c: Change header plus change select to
4845 use _newselect syscall.
4846 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
4847 used by glibc header files.
4848 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
4849 types.
4850
48512002-04-01 Jeff Johnston <jjohnstn@redhat.com>
4852
4853 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
4854 initializing a struct _reent that has been dynamically allocated.
4855 (_REENT_CHECK_MISC): New macro that checks _misc struct for
4856 _REENT_SMALL and does nothing otherwise.
4857 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
4858 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
4859 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
4860 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
4861 [_REENT_SMALL](struct _misc_reent): New structure containing
4862 miscellaneous reentrant areas needed by newlib.
4863 [_REENT_SMALL](struct _reent): Add _misc pointer.
4864 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
4865 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
4866 and _REENT_STRTOK_LAST macros.
4867 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
4868 and _REENT_MBLEN_STATE macros.
4869 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
4870 and _REENT_MBTOWC_STATE macros.
4871 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
4872 and _REENT_WCTOMB_STATE macros.
4873
48742002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
4875
4876 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
4877
4878Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
4879
4880 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
4881
4882Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
4883
4884 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
4885 Store high part of leading bytes too.
4886
48872002-03-22 Richard Sandiford <rsandifo@redhat.com>
4888
4889 * libm/math/ef_hypot.c: Increase scale factor to 68.
4890
48912002-03-13 Alexandre Oliva <aoliva@redhat.com>
4892
4893 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
4894 error.
4895
48962002-03-12 Jeff Johnston <jjohnstn@redhat.com>
4897
4898 * libc/sys/go32/access.c: Change license to relaxed license
4899 used in identical file throughout newlib/libgloss.
4900
49012002-03-12 Richard Earnshaw <rearnsha@arm.com>
4902
4903 * libc/sys/arm/access.c: New file.
4904 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
4905 * libc/sys/arm/Makefile.in: Regenerate.
4906 * libc/sys/arm/syscalls.c (_stat): New function.
4907
49082002-03-11 Michael Meissner <meissner@redhat.com>
4909
4910 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
4911 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
4912 * libc/machine/mips/Makefile.in: Regenerate.
4913 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
4914 * libc/machine/mips/memset.c: Dito.
4915 * libc/machine/mips/strcmp.c: Dito.
4916 * libc/machine/mips/strlen.c: Dito.
4917 * libc/machine/mips/strncmp.c: Dito.
4918
49192002-03-06 Jeff Johnston <jjohnstn@redhat.com>
4920
4921 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
4922 object so it works for shared library or statici library.
49232002-04-17 Jeff Johnston <jjohnstn@redhat.com>
4924
10d00216
JJ
4925 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
4926 (strptime): Moved prototype to be within !__STRICT_ANSI__.
4927 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
4928 (tzname): Defined for all platforms.
4929 (daylight, timezone): Defined only for CYGWIN.
4930 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
4931 environment set up.
4932 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4933 environment variable is set.
4934 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
4935 tzset_r.c.
4936 * libc/time/Makefile.in: Regenerated.
4937 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
4938 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
4939 * libc/time/lcltime_r.c (lcltime_r): Ditto.
4940 * libc/time/local.h: New local header file.
4941 * libc/time/mktime.c (mktime): Add timezone support.
4942 * libc/time/mktm_r.c: New file which is the common engine
4943 for gmtime_r and lcltime_r. This code has timezone support.
4944 * libc/time/strftime.c (strftime): Add %Z timezone support.
4945 * libc/time/tzlock.c: New file containing timezone lock stubs.
4946 * libc/time/tzset.c: New file containing tzset() routine.
4947 * libc/time/tzset_r.c: New file containing _tzset_r and
4948 internal routine for calculating timezone changes for specified year.
4949
5f1c13c6
TF
49502002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
4951
4952 * configure.in (CRT0_DIR): Set to libc/.
4953 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
4954 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
4955 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
4956 $(CRT1_DIR)/$(CRT1).
4957 * libc/machine/xstormy16/Makefile.in: Regenerated.
4958 * libc/machine/xstormy16/aclocal.m4: Regenerated.
4959 * libc/machine/xstormy16/configure: Regenerated.
4960
0cc261b1
AO
49612002-04-13 Alexandre Oliva <aoliva@redhat.com>
4962
2f3009bd
AO
4963 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
4964 fails, don't bail out, and try to correct next time.
4965
0cc261b1
AO
4966 * libc/include/sys/config.h: Include limits.h.
4967
26116455
JJ
49682002-04-12 Eric Norum <eric.norum@usask.com>
4969
4970 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
4971 routine to allow autoconf to determine that building executables
4972 for rtems works.
4973 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
4974 (rtems_gxx_mutex_once): Ditto.
4975
4608280d
TR
49762002-04-09 Tom Rix <trix@redhat.com>
4977
4978 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
4979
dea7e25c
JJ
49802002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4981
4982 * libc/include/time.h: Fix strptime declaration.
4983 * libc/time/Makefile.am: Add strptime.c.
4984 * libc/time/Makefile.in: Regenerated.
4985 * libc/time/strptime.c: New file.
4986
c5ef1e95
JJ
49872002-04-08 Jeff Johnston <jjohnstn@redhat.com>
4988
4989 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
4990 siglongjmp prototype, and sigsetjmp macro definition.
4991 * libc/sys/linux/siglongjmp.c: New file.
4992 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
4993 * libc/sys/linux/Makefile.in: Regenerated.
4994
6e6cd5bd
JJ
49952002-04-04 Jeff Johnston <jjohnstn@redhat.com>
4996
4997 * Makefile.am: Add support for installing crt1.o if one exists.
4998 * configure.host: Specify crt1.o for linux.
4999 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
5000 * Makefile.in: Regenerated.
5001 * configure: Ditto.
5002 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
5003 Added for non-Cygwin, non-RTEMS configurations.
5004 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
5005 * libc/sys/linux/Makefile.in: Regenerated.
5006 * libc/sys/linux/crt1.c: New empty file to override one defaulted
5007 by gcc. This fixes problem with reconfiguring linux newlib build.
5008 * libc/sys/linux/sysconf.c: New file.
5009
fa4a16a1
JJ
50102002-04-03 Jeff Johnston <jjohnstn@redhat.com>
5011
5012 * configure.host: Add support for machine subdirectory of
5013 sys subdirectory.
5014 * configure.in: Add check for sys machine subdirectory.
5015 * Makefile.am: Ditto.
5016 * configure: Regenerated.
5017 * Makefile.in: Ditto.
5018 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
5019 * libc/sys/linux/sys/syscall.h: Ditto.
5020 * libc/sys/linux/sleep.c: New file.
5021 * libc/sys/linux/socket.c: Ditto.
5022 * libc/sys/linux/sockops.h: Ditto.
5023 * libc/sys/linux/stack.c: Ditto.
5024 * libc/sys/linux/usleep.c: Ditto.
5025 * libc/sys/linux/machine/Makefile.am: Ditto.
5026 * libc/sys/linux/machine/Makefile.in: Ditto.
5027 * libc/sys/linux/machine/aclocal.m4: Ditto.
5028 * libc/sys/linux/machine/configure: Ditto.
5029 * libc/sys/linux/machine/configure.in: Ditto.
5030 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
5031 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
5032 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
5033 * libc/sys/linux/machine/i386/configure: Ditto.
5034 * libc/sys/linux/machine/i386/configure.in: Ditto.
5035 * libc/sys/linux/machine/i386/crt0.c: Ditto.
5036 * libc/sys/linux/machine/i386/sigset.c: Ditto.
5037 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
5038 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
5039 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5040 * libc/sys/linux/sys/select.h: Ditto.
5041 * libc/sys/linux/configure.in: Add support for machine directory.
5042 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
5043 * libc/sys/linux/Makefile.in: Regenerated.
5044 * libc/sys/linux/configure: Ditto.
5045 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
5046 * libc/sys/linux/inode.c: Ditto.
5047 * libc/sys/linux/linux.c: Ditto.
5048 * libc/sys/linux/process.c: Ditto.
5049 * libc/sys/linux/systat.c: Ditto.
5050 * libc/sys/linux/time.c: Ditto.
5051 * libc/sys/linux/wait.c: Ditto.
5052 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
5053 * libc/sys/linux/io.c: Change header plus add readv/writev.
5054 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
5055 use __sigsuspend syscall.
5056 * libc/sys/linux/select.c: Change header plus change select to
5057 use _newselect syscall.
5058 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
5059 used by glibc header files.
5060 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
5061 types.
5062
d4dca0e4
JJ
50632002-04-01 Jeff Johnston <jjohnstn@redhat.com>
5064
5065 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
5066 initializing a struct _reent that has been dynamically allocated.
5067 (_REENT_CHECK_MISC): New macro that checks _misc struct for
5068 _REENT_SMALL and does nothing otherwise.
5069 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
5070 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
5071 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
5072 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
5073 [_REENT_SMALL](struct _misc_reent): New structure containing
5074 miscellaneous reentrant areas needed by newlib.
5075 [_REENT_SMALL](struct _reent): Add _misc pointer.
5076 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
5077 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
5078 and _REENT_STRTOK_LAST macros.
5079 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
5080 and _REENT_MBLEN_STATE macros.
5081 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
5082 and _REENT_MBTOWC_STATE macros.
5083 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
5084 and _REENT_WCTOMB_STATE macros.
5085
54a7c6d2
JJ
50862002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
5087
5088 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
5089
c82479b1
CF
5090Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
5091
5092 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
5093
43ecf6e8
JR
5094Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
5095
5096 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
5097 Store high part of leading bytes too.
5098
a485d93f
RS
50992002-03-22 Richard Sandiford <rsandifo@redhat.com>
5100
5101 * libm/math/ef_hypot.c: Increase scale factor to 68.
5102
62a963ee
AO
51032002-03-13 Alexandre Oliva <aoliva@redhat.com>
5104
5105 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
5106 error.
5107
c53d8453
JJ
51082002-03-12 Jeff Johnston <jjohnstn@redhat.com>
5109
5110 * libc/sys/go32/access.c: Change license to relaxed license
5111 used in identical file throughout newlib/libgloss.
5112
d2a246ad
JJ
51132002-03-12 Richard Earnshaw <rearnsha@arm.com>
5114
5115 * libc/sys/arm/access.c: New file.
5116 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
5117 * libc/sys/arm/Makefile.in: Regenerate.
5118 * libc/sys/arm/syscalls.c (_stat): New function.
5119
eabb48d5
MM
51202002-03-11 Michael Meissner <meissner@redhat.com>
5121
5122 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
5123 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
5124 * libc/machine/mips/Makefile.in: Regenerate.
5125 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
5126 * libc/machine/mips/memset.c: Dito.
5127 * libc/machine/mips/strcmp.c: Dito.
5128 * libc/machine/mips/strlen.c: Dito.
5129 * libc/machine/mips/strncmp.c: Dito.
5130
2a606041
JJ
51312002-03-06 Jeff Johnston <jjohnstn@redhat.com>
5132
eabb48d5
MM
5133 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
5134 object so it works for shared library or statici library.
5135 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 5136
55f26f11
JR
5137Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
5138
96bff22c
JR
5139 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
5140 Add memcpy.S, memset.S and strcpy.S.
5141 * libc/machine/sh/Makefile.in: Regenerate.
5142 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 5143 (SHHI, SHLO): Define.
96bff22c
JR
5144 * libc/machine/sh/memset.S: Add code for SH5.
5145 * libc/machine/sh/memset.S: Likewise.
5146 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 5147
afecf2fa
JJ
51482002-02-27 Jeff Johnston <jjohnstn@redhat.com>
5149
5150 * configure.host: Add check for --disable-newlib-io-float
5151 configuration option and add -DNO_FLOATING_POINT to newlib cflags
5152 if appropriate.
5153 * acinclude.m4: Added --disable-newlib-io-float option.
5154 * aclocal.m4: Regenerated.
5155 * configure: Ditto.
5156 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
5157 * libc/*/aclocal.m4 libc/*/configure
5158 * libm/*/aclocal.m4 libm/*/configure: Ditto.
5159 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
5160 if NO_FLOATING_POINT flag is not defined.
5161
c1010a63
JJ
51622002-02-25 Jeff Johnston <jjohnstn@redhat.com>
5163
5164 * libc/include/sys/config.h: Add __extension__ in front of
5165 long long references.
5166
630c657e
CV
51672002-02-23 Corinna Vinschen <corinna@vinschen.de>
5168
5169 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
5170 (_stat): Ditto.
5171
59ee2e20
CV
51722002-02-23 Corinna Vinschen <corinna@vinschen.de>
5173
5174 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
5175 of off_t.
5176
2dd68dc2
NC
51772002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
5178
5179 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
5180 clobbered registers.
5181
55500bf1
TF
51822002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5183
5184 * configure.host (newlib_cflags): When host is in m68* add
5185 -DCOMPACT_CTYPE.
5186
ba0173f0
JJ
51872002-02-15 Jeff Johnston <jjohnstn@redhat.com>
5188
5189 * libc/include/sys/config.h: Add definitions for
5190 __int16_t, __uint16_t, __int64_t, and __uint64_t.
5191
7b61d0c5
JJ
51922002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
5193
5194 * libc/sys/mmixware/link.c: New.
5195 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
5196 volatile.
5197 * libc/sys/mmixware/times.c (_times): Renamed from times.
5198 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
5199 properly by reading previous contents, not through BinaryReadWrite.
5200 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
5201 * libc/sys/mmixware/Makefile.in: Regenerate.
5202
a505db65
CV
52032002-02-10 Corinna Vinschen <corinna@vinschen.de>
5204
5205 * libc/include/grp.h: Don't declare group functions when compiling
5206 Cygwin.
5207
f3b39c45
CV
52082002-02-09 Corinna Vinschen <corinna@vinschen.de>
5209
5210 * libc/include/grp.h: Include Cygwin specific header.
5211 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
5212 when compiling for Cygwin.
5213 * libc/include/sys/types.h: Don't define off_t, uid_t
5214 and gid_t when compiling for Cygwin.
5215
82b3ac56
MG
52162002-02-08 matthew green <mrg@redhat.com>
5217
5218 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
5219 _REENT_EMERGENCY_SIZE, not sizeof(char *).
5220
9f25eed9
AO
52212002-02-08 Alexandre Oliva <aoliva@redhat.com>
5222
5223 Contribute sh64-elf.
5224 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
5225 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
5226 support in printf.
5227 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
5228 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
5229 any labels.
5230 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
5231 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
5232 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
5233 * libc/machine/sh/configure.in: Rework conditionals.
5234 * libc/machine/sh/Makefile.am: Likewise.
5235 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
5236 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
5237 * configure.host: Match `sh*'.
5238 * libc/include/machine/setjmp.h: Define for SH5.
5239 * libc/machine/sh/configure.in: Detect SH5.
5240 * libc/machine/sh/configure: Rebuilt.
5241 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
5242 * libc/machine/sh/Makefile.in: Rebuilt.
5243 * libc/machine/sh/asm.h: Adjust for SH5.
5244 * libc/machine/sh/setjmp.S: Implement in SHmedia.
5245 * libc/sys/sh/crt0.S: Likewise.
5246 * libc/sys/sh/trap.S: Likewise.
5247
a2a405ae
JJ
52482002-02-07 Jeff Johnston <jjohnstn@redhat.com>
5249
5250 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
5251 (mach_add_obj): Conditionally set to setjmp.o or nothing.
5252 (LIB_SOURCES): Remove $(mach_add_src).
5253 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
5254 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
5255 * libc/machine/i386/Makefile.in: Regenerate.
5256
27478365
JJ
52572002-02-05 Manik Raina <manik@cisco.com>
5258
994fa212 5259 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
5260 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
5261 s, p, k, and outstr.
5262 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
5263
815a37f7
JJ
52642002-02-04 Jeff Johnston <jjohnstn@redhat.com>
5265
5266 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
5267 _REENT_CHECK_EMERGENCY macro.
5268
a4139c12
MG
52692002-02-03 matthew green <mrg@redhat.com>
5270
5271 * libc/reent/signgam.c (__signgam): Fix error in previous.
5272
8195aff7
MG
52732002-02-02 matthew green <mrg@redhat.com>
5274
5275 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
5276
5277 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
5278 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
5279 * libc/include/sys/reent.h (struct _reent): Completely new version
5280 for _REENT_SMALL.
5281 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
5282 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
5283 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
5284 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
5285 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
5286 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
5287 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
5288 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
5289 (_REENT_EMERGENCY): Likewise.
5290
5291 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
5292 the start of the real __sFILE, used for stdin, stdout and stderr until
5293 they are setup properly.
5294 (struct __sFILE): Move location of _data in _REENT_SMALL case.
5295 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
5296 allocated stdin, stdout and stderr.
5297 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
5298 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
5299 * libc/stdio/perror.c (_perror_r): Likewise.
5300 * libc/stdio/printf.c (printf, _printf_r): Likewise.
5301 * libc/stdio/putchar.c (_putchar_r): Likewise.
5302 * libc/stdio/puts.c (_puts_r): Likewise.
5303 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
5304 * libc/stdio/vprintf.c (vprintf): Likewise.
5305 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
5306
5307 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
5308
5309 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
5310 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
5311 for _REENT_SMALL.
5312 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
5313 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
5314
5315 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
5316 _REENT_SMALL.
5317 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
5318 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
5319 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
5320 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
5321 * libc/stdlib/rand48.c (__dorand48): Likewise.
5322 * libc/stdlib/seed48.c (_seed48_r): Likewise.
5323 * libc/stdlib/srand48.c (_srand48_r): Likewise.
5324 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
5325 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
5326 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
5327 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
5328 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
5329 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
5330 * libc/stdlib/rand.c (rand): Likewise.
5331
5332 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
5333 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
5334
5335 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
5336 _REENT_MP_FREELIST() and _REENT_MP_P5S.
5337 * libc/include/sys/reent.h (struct _mprec): New structure.
5338
5339 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
5340 _unused_strtok_last.
5341 * libc/string/strtok.c (strtok): Use a local static variable.
5342
5343 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
5344 (_REENT_EMERGENCY_SIZE): Likewise.
5345 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
5346 _REENT_ASCTIME_BUF().
5347 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
5348 _REENT_TM().
5349
5350 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
5351 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
5352 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
5353 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
5354 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
5355 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
5356
9c2e7642
GK
53572002-02-01 Geoffrey Keating <geoffk@redhat.com>
5358
5359 * configure.host (xstormy16): Don't use the generic malloc.
5360 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
5361 * libc/machine/xstormy16/Makefile.in: Regenerate.
5362 * libc/machine/xstormy16/mallocr.c: New file.
5363 * libc/machine/xstormy16/tiny-malloc.c: New file.
5364
4bb6112f
TF
53652002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5366
5367 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
5368 when _CYGWIN_TYPES_H is not defined.
5369
8d345552
TF
53702002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5371
5372 * libc/include/sys/signal.h: Revert 2002-01-23 change.
5373
bcc49082
TF
53742002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5375
5376 * libc/include/sys/signal.h: Remove pthread_kill declaration
5377 when __CYGWIN__ is defined.
5378
13baedeb
CF
53792002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5380
5381 * libc/include/time.h: Add prototype for strptime for Cygwin.
5382
b2db0ebc
NC
53832002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
5384
ebf139fb
NC
5385 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
5386 dst was not word aligned.
5387
b2db0ebc
NC
5388 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
5389 if too much memory is requested.
5390
798c015d
JJ
53912002-01-11 Jeff Johnston <jjohnstn@redhat.com>
5392
5393 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
5394 reads blanks from the input file to break if EOF reached
5395 rather than end processing.
5396
46ad2ef4
JJ
53972002-01-07 Jeff Johnston <jjohnstn@redhat.com>
5398
5399 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
5400
86b06396
JJ
54012002-01-07 Alan Matsuoka <alanm@redhat.com>
5402
5403 * libc/include/machine/ieeefp.h: Configure d10v doubles to
5404 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
5405 libc/include/sys/config.h: Ditto.
5406
423d5064
CV
54072001-12-28 Corinna Vinschen <corinna@vinschen.de>
5408
5409 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
5410
f6eff1c0
GK
54112001-12-22 Geoffrey Keating <geoffk@redhat.com>
5412 Catherine Moore <clm@redhat.com>
5413 Richard Henderson <rth@redhat.com>
5414 Corinna Vinschen <vinschen@redhat.com>
5415
5416 * configure.host: Add support for xstormy16.
5417 * libc/include/machine/ieeefp.h: Add support for xstormy16.
5418 * libc/include/machine/setjmp.h: Add support for xstormy16.
5419 * libc/include/sys/config.h: Add support for xstormy16.
5420 * libc/machine/xstormy16/Makefile.am: New file.
5421 * libc/machine/xstormy16/Makefile.in: New file.
5422 * libc/machine/xstormy16/aclocal.m4: New file.
5423 * libc/machine/xstormy16/configure: New file.
5424 * libc/machine/xstormy16/configure.in: New file.
5425 * libc/machine/xstormy16/setjmp.S: New file.
5426
1f93c55f
TF
54272001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5428
5429 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
5430 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
5431
13b918be
CV
54322001-12-19 Corinna Vinschen <corinna@vinschen.de>
5433
5434 * libm/machine/Makefile.am: Change rules to create correct lib.a.
5435 * libm/machine/Makefile.in: Regenerated through automake.
5436
08e857b4
TF
54372001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5438
5439 * Makefile.am (DOCDIR): Force to empty string when doc
5440 directory is not present.
5441
60565ed6
TF
54422001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5443
5444 * libc/machine/i386/f_*: Move to libm/machine/i386.
5445
54462001-12-18 Joel Sherrill <joel@OARcorp.com>
5447
5448 * libm/machine/Makefile.am: Add dummy doc stub so
5449 "make info" works.
5450
54512001-12-17 Joel Sherrill <joel@OARcorp.com>
5452
5453 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
5454
fc504135
TF
54552001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5456
5457 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
5458 $(COMPILE) rather than $(CC).
5459 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
5460 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
5461 $(LIB_COMPILE) change.
5462 (vfiprintf.$(oext)): Likewise.
5463
efeae9a3
CV
54642001-12-17 Corinna Vinschen <vinschen@redhat.de>
5465
5466 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
5467 conditionalized including of getopt stuff.
5468
cdf7120d
TF
54692001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5470
5471 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
5472 compile line.
f85be99c 5473 (vfiprintf.$(oext)): Likewise.
cdf7120d 5474
2e1a7175
TF
54752001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5476
5477 * Makefile.shared: New file.
5478 * libc/sys/linux/shared.ld: New file.
5479 * libm/machine/*: New files.
5480 * libm/machine/i386/*: New files.
5481 * Makefile.am: Add libtool support. Change math and mathfp
5482 references to variables.
5483 * configure.host: Add variables for libtool support. Add
5484 libm_machine_dir variable.
5485 * configure.in: Add objectlist variables, for libtool
5486 support. Add CC_FOR_BUILD tests.
5487 * libc/Makefile.am: Add libtool support. Change crt0.o
5488 reference to be a variable reference.
5489 * libc/configure.in: Add libtool support. Change sublib
5490 names to be lib${subdir}.la when using libtool.
5491 * libc/ctype/Makefile.am: Add libtool support.
5492 * libc/errno/Makefile.am: Likewise.
5493 * libc/locale/Makefile.am: Likewise.
5494 * libc/machine/Makefile.am: Likewise.
5495 * libc/machine/configure.in: Likewise.
5496 * libc/machine/i386/Makefile.am: Likewise.
5497 * libc/machine/i386/configure.in: Likewise.
5498 * libc/misc/Makefile.am: Likewise.
5499 * libc/posix/Makefile.am: Likewise.
5500 * libc/reent/Makefile.am: Likewise.
5501 * libc/signal/Makefile.am: Likewise.
5502 * libc/stdio/Makefile.am: Likewise.
5503 * libc/stdlib/Makefile.am: Likewise.
5504 * libc/string/Makefile.am: Likewise.
5505 * libc/sys/Makefile.am: Likewise.
5506 * libc/sys/configure.in: Likewise.
5507 * libc/sys/linux/Makefile.am: Add libtool support. Change
5508 awk reference to a variable reference. Change signal.h
5509 reference to a variable reference.
5510 * libc/sys/linux/configure.in: Add libtool support.
5511 * libc/syscalls/Makefile.am: Likewise.
5512 * libc/time/Makefile.am: Likewise.
5513 * libc/unix/Makefile.am: Likewise.
5514 * libm/Makefile.am: Add libtool support. Change math and
5515 mathfp references to variables.
5516 * libm/configure.in: Add libtool support. Add
5517 LIBM_MACHINE_LIB variable.
5518 * libm/common/Makefile.am: Add libtool support.
5519 * libm/math/Makefile.am: Likewise.
5520 * libm/mathfp/Makefile.am: Likewise.
5521 Regenerate all Makefile.in, aclocal.m4, and configure.
5522
b92591a1
JJ
55232001-12-13 Anita Kulkarni <anitak@kpit.com>
5524
5525 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
5526
355b664e
CF
55272001-12-06 John Peacock <jpeacock@rowman.com>
5528
5529 * libc/include/sys/unistd.h: Correct ualarm declaration.
5530
e9853806
NC
55312001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
5532
5533 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
5534 vector before calling the initialisation functions.
5535
a8e091b0
CF
55362001-11-29 Christopher Faylor <cgf@redhat.com>
5537
5538 * libc/include/dirent.h: Protect against multiple inclusion.
5539
ab634123
CF
55402001-11-27 Christopher Faylor <cgf@redhat.com>
5541
5542 * libc/include/sys/types.h: Define useconds_t.
5543 * libc/include/sys/ulimit.h: Declare ualarm.
5544
d37e401e
CF
55452001-11-21 Christopher Faylor <cgf@redhat.com>
5546
5547 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
5548
8ac90051
HPN
55492001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
5550
5551 * libc/sys/mmixware/*: Tweak license header in all source files.
5552
d7ca37e4
CV
55532001-11-12 Corinna Vinschen <vinschen@redhat.com>
5554
5555 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
5556 to here. Rearrange for general inclusion by stdlib.h.
5557 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
5558 isn't defined.
5559 * libc/sys/linux/include/alloca.h: Move to libc/include.
5560
28f8744e
AG
55612001-11-12 Anthony Green <green@redhat.com>
5562
5563 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
5564
4cede8c4
HPN
55652001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
5566
5567 * libc/sys/mmixware/*: Correct spacing in all source files.
5568 * libc/sys/mmixware/syscall.h: Move misplaced file...
5569 * libc/sys/mmixware/sys/syscall.h: ...here.
5570
8be9b48b
JJ
55712001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
5572
5573 * libc/include/machine/ieeefp.h: Add support for mmix target.
5574 * libc/include/machine/setjmp.h: Ditto.
5575 * configure.host: Ditto.
5576 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
5577 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
5578 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
5579 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
5580 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
5581 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
5582 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
5583 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
5584 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
5585 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
5586 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
5587 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
5588 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
5589 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
5590 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
5591 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
5592 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
5593 libc/sys/mmixware/aclocal.m4: Generate.
5594
c7dd4f95
CV
55952001-11-05 Corinna Vinschen <corinna@vinschen.de>
5596
5597 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
5598 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
5599 when __CYGWIN__ is defined.
5600 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
5601 logwtmp().
5602
a6a6f9fe
JJ
56032001-11-01 Arati Dikey <aratidikey@hotmail.com>
5604
5605 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
5606 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
5607 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
5608 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
5609
d0504c35
JJ
56102001-10-24 Christopher Faylor <cgf@redhat.com>
5611
5612 * libc/stdio/fseek.c: Reset pointer to buffer base
5613 when forced to seek outside of current buffer contents.
5614 This prevents the code from erroneously thinking there is
5615 anything in the current buffer.
5616
0280c8c0
GK
56172001-10-22 Geoffrey Keating <geoffk@redhat.com>
5618
5619 * libc/include/math.h: The C++ standard adds the single-precision
5620 versions of the elementary functions.
5621
333d6098
CF
56222001-10-22 Christopher Faylor <cgf@redhat.com>
5623
5624 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
5625 throughout.
5626 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
5627 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
5628 * system.c (_system_r): Ditto.
5629
c7118319
CV
56302001-10-17 Corinna Vinschen <corinna@vinschen.de>
5631
5632 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 5633 __CYGWIN__ or __rtems__ is defined.
c7118319 5634
5665b0e1
JJ
56352001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
5636
5637 * libc/include/stdlib.h: add declarations for
5638 _strtoull_r, _strtoll_r, strtoull, and strtoll.
5639 * libc/stdio/local.h: remove declarations of
5640 __strtoull_r and __strtoll_r.
5641 * libc/stdio/vfscanf.c(__svfscanf_r): call
5642 _strtoull_r instead of __strtoull_r. Ditto
5643 _strtoll_r vs. __strtoll_r.
5644 * libc/stdlib/Makefile.am: add new files to
5645 .c list and .def list
5646 * libc/stdlib/Makefile.in: regenerate
5647 * libc/stdlib/strtoll_r.c: rename __strtoll_r
5648 as _strtoll_r
5649 * libc/stdlib/strtoull_r.c: rename __strtoull_r
5650 as _strtoull_r
5651 * libc/stdlib/strtoull.c: new file
5652 * libc/stdlib/strtoll.c: new file
5653
d2d5eb41
CF
5654Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
5655
5656 * libc/include/process.h: Add getpid() declaration.
5657
448e3c14
NC
56582001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
5659
5660 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
5661 for new style arm/elf ctor/dtor handling.
5662 Minor formatting tidy up.
5663
7a2afbbb
JJ
56642001-09-13 Jeff Johnston <jjohnstn@redhat.com>
5665
5666 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
5667 and strtoull_r.c.
5668 * libc/stdlib/Makefile.in: Regenerated.
5669 * libc/stdlib/strtoll_r.c: New file.
5670 * libc/stdlib/strtoull_r.c: New file.
5671 * libc/stdio/local.h: Add prototypes for long long string
5672 conversion routines.
5673 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
5674 tied to %L integer conversion specifier.
5675
6342caa4
JJ
5676Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
5677
5678 * strftime.c (strftime): Fix "%W" implementation to properly handle
5679 Mondays too.
5680
b2d319cb
JJ
56812001-09-07 Jeff Law <law@redhat.com>
5682
5683 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
5684 __fini with "mov.l" instead of "mov.w".
5685
233823ba
CV
56862001-09-05 Corinna Vinschen <corinna@vinschen.de>
5687
5688 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
5689 and getopt.h.
5690
63c17b54
JJ
56912001-09-04 Jason Merrill <jason_merrill@redhat.com>
5692
5693 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
5694
a3e67ddf
CV
56952001-09-03 Corinna Vinschen <corinna@vinschen.de>
5696
5697 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
5698 field.
5699 (__DIRENT_VERSION): New define.
5700
6d47f33a
CV
57012001-09-03 Corinna Vinschen <corinna@vinschen.de>
5702
5703 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
5704 Shrink __d_reserved accordingly to keep structure size.
5705 (dirfd): Declare external.
6d47f33a 5706
348c5e06
JJ
57072001-08-29 Joel Sherrill <joel@OARcorp.com>
5708
5709 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
5710
57112001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5712
5713 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
5714 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
5715 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
5716 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
5717 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
5718 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
5719 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
5720 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
5721 Add conditional compilation to avoid HW FPU instructions
5722 when compiled for soft-float.
5723
f29865c5
JJ
57242001-08-29 Jeff Johnston <jjohnstn@redhat.com>
5725
5726 * Makefile.am: Add check for ln failing when creating libg.a
5727 so that cp gets used as a backup.
5728 * Makefile.in: Regenerated.
5729
9e2a4ef8
JJ
57302001-08-29 Jeff Johnston <jjohnstn@redhat.com>
5731
5732 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
5733 No longer include time.h. Add struct __tm to use for
5734 _localtime_buf in the reentrant structure. Add a
5735 _NULL definition to use in initializing the reentrant struct.
5736 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
5737 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
5738 <sys/_types.h>.
5739 * libc/include/sys/unistd.h: Include <sys/_types.h>.
5740 * libc/time/lcltime.c (localtime): Cast the reentrant struct
5741 _localtime_buf to be struct tm *.
5742
1ae900d6
JR
5743Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
5744
5745 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
5746 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
5747 __ctors_end.
5748 * libc/sys/h8300hms/syscalls.c: Include errno.h.
5749 (_unlink): New stub function.
5750
8e26d5b5
CF
5751Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
5752
5753 * libc/include/sys/errno.h: Add a cautionary comment.
5754
e8267664
JJ
57552001-08-21 Jeff Johnston <jjohnstn@redhat.com>
5756
5757 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
5758 for SIZE_SZ so that alignment ends up a minimum of 8.
5759
4acf3edf
CF
5760Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
5761
5762 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
5763 arguments.
5764
5765 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
5766 Cygwin.
5767
52c80be8
JJ
57682001-08-13 Jeff Johnston <jjohnstn@redhat.com>
5769
5770 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
5771 macro constants for mallopt options.
5772 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
5773
a7061f7f
JJ
57742001-08-02 Jeff Johnston <jjohnstn@redhat.com>
5775
5776 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
5777 otherwise default.
5778
0b4bfdd5
AH
57792001-07-12 Aldy Hernandez <aldyh@redhat.com>
5780
5781 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
5782
2b6b730c
NC
57832001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
5784
5785 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
5786 Define for little endian ARMs.
5787
5788 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
5789 __IEEE_BYTES_LITTLE_ENDIAN is defined.
5790
25842b68
JJ
57912001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
5792
5793 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
5794
371b76ef
JJ
57952001-06-11 Egor Duda <deo@logos-m.ru>
5796
5797 * libc/ctype/ctype_.c: When compiled with gcc on platforms
5798 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
5799 initialized memory region. Platform can define COMPACT_CTYPE
5800 to avoid allocation of the additional 128 bytes of data.
5801 Add pointer to _ctype_ array. Always initialize all _ctype_
5802 array elements.
5803
43b44bc5
JL
58042001-06-08 Jonathan Larmour <jlarmour@redhat.com>
5805
5806 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
5807 NULL pointer.
5808
188bc140
NC
58092001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
5810
5811 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
5812
2ce88418
NC
58132001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
5814
5815 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
5816 matching, non-word alignment, and the length is <= 4 but more than
5817 enough to move them over a word boundary.
5818 Add comments explaining what each instruction does.
5819
ca60ed47
CF
5820Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
5821
5822 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 5823 * libc/include/sys/unistd.h: Ditto.
ca60ed47 5824
8b3bcfba
JJ
58252001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
5826
5827 * libc/string/strrchr.c: Use strchr for the speed improvements.
5828
b09e3cf8
JJ
58292001-05-01 Jeff Johnston <jjohnstn@redhat.com>
5830
5831 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
5832 real file systems, let __smakebuf() determine if line buffering
5833 should be used for stdout.
5834
0ca66974
JJ
58352001-04-27 Jeff Johnston <jjohnstn@redhat.com>
5836
5837 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
5838
7cb7017a
JJ
58392001-04-27 Jeff Johnston <jjohnstn@redhat.com>
5840
5841 * libc/include/stdlib.h: Add prototype for _strtod_r.
5842
a874cd21
JJ
58432001-04-24 Charles Wilson <cwilson@ece.gatech.edu
5844
5845 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
5846 * libc/stdio/vprintf.c (_vprintf_r): new function
5847 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
5848 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
5849 _DEFUN, and call _vfprintf_r, not vfprintf.
5850 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
5851 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
5852 _DEFUN, and call _vfprintf_r, not vfprintf.
5853
cb4cc283
CF
58542001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
5855
5856 * libc/include/sys/unistd.h [X_OK]: Use better protection against
5857 Cygwin X_OK definitions in sys/file.h.
5858
8c9df1d5
CF
5859Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
5860
5861 * libc/include/sys/time.h: Define timercmp and other macros for
5862 __CYGWIN__, too.
5863
3ac6f3a7
JJ
58642001-04-20 Jeff Johnston <jjohnstn@redhat.com>
5865
5866 * acinclude.m4: Added --enable-malloc-debugging configure flag.
5867 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
5868 --enable-malloc-debugging selected.
5869 * aclocal.m4 configure: Regenerated.
5870 libm/aclocal.m4 libm/configure: Ditto.
5871 * libc/aclocal.m4 libc/configure: Ditto.
5872 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
5873 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
5874 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
5875 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
5876 * doc/aclocal.m4 doc/configure: Ditto.
5877
52cb9e69
JJ
58782001-04-20 Jeff Johnston <jjohnstn@redhat.com>
5879
5880 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
5881 into one list.
5882 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
5883 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
5884 function prototypes.
5885 (_fscanf_r, _sscanf_r): Ditto.
5886 * libc/include/stdlib.h: Added _strtod_r prototype.
5887 * libc/stdio/Makefile.am: Add new v*scanf functions.
5888 * libc/stdio/Makefile.in: Regenerate.
5889 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
5890 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
5891 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
5892 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
5893 (sscanf): Changed to call __svfscanf_r with _REENT argument.
5894 (_sscanf_r): New routine.
5895 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
5896 with __svfscanf_r prototype.
5897 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
5898 routines.
5899 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
5900 structure as argument as calls reentrant versions of helper functions
5901 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
5902 to _strtol_r and _strtod_r respectively.
5903 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
5904 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
5905 _REENT argument.
5906 * libc/stdio/vscanf.c: New file.
5907 * libc/stdio/vsscanf.c: Ditto.
5908
ee9f39fb
JJ
59092001-04-19 Robert Collins <rbtcollins@hotmail.com>
5910
5911 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
5912 Define daylight to _daylight if it is not defined
5913 Prepare a variable export of timezone based on timezonevariable.
5914 (Cannot be used with the timezone() function.)
5915
273861e3
JJ
59162001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
5917
5918 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
5919 Correct the numerical values.
5920
a25b8414
CF
59212001-04-13 Robert Collins <rbtcollins@hotmail.com>
5922
5923 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
5924
b8a8c59d
CV
5925Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
5926
5927 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
5928 on case insensitve file systems.
5929
74f8cc63
CF
59302001-04-12 Robert Collins <rbtcollins@hotmail.com>
5931
5932 * libc/include/sys/features.h: Add appropriate defines for Cygwin
5933 pthread support.
5934 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
5935 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
5936 types. Include <cygwin/types.h> for the cygwin specific typedefs.
5937
16740220
RS
59382001-04-04 Richard Sandiford <rsandifo@redhat.com>
5939
5940 * libc/include/machine/ieeefp.h: Comment about new configuration
5941 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
5942 * libm/common/fdlib.h: Define new macros for testing floats.
5943 * libm/common/sf_*: Use them.
5944 * libm/math/ef_*: Likewise.
5945 * libm/math/sf_*: Likewise.
5946
0694d8d3
JJ
59472001-03-29 Jeff Johnston <jjohnstn@redhat.com>
5948
5949 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
5950 prolog to by-pass possible assembler error.
5951
4833b38c
JJ
59522001-03-21 Egor Duda <deo@logos-m.ru>
5953
5954 Allow building internal stubs for non-reentrant syscalls
5955 if target provides its own malloc
5956 * libc/reent/reent.c (errno): Move definition here.
5957 * libc/reent/sbrkr.c: From here.
5958
d17d6d42
CF
59592001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
5960
5961 * libc/include/sys/types.h (BSD int typedefs): Guard with
5962 _BSDTYPES_DEFINED rather than _WINSOCK_H.
5963 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
5964 _SYS_TYPES_FD_SET.
5965 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
5966 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
5967
c7ee75cd
CV
5968Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
5969
5970 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
5971 _PC_POSIX_SECURITY constants for Cygwin.
5972
63dc5d80
CV
5973Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
5974
5975 * libc/sys/cygwin/crt0.c: Add copyright hint.
5976 * libc/sys/cygwin/sys/dirent.h: Ditto.
5977 * libc/sys/cygwin/sys/param.h: Ditto.
5978 * libc/sys/cygwin/sys/utime.h: Ditto.
5979 * libc/sys/cygwin/sys/utmp.h: Ditto.
5980
6f637037
AO
59812001-03-13 Alexandre Oliva <aoliva@redhat.com>
5982
5983 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
5984 equivalent to LONGINT.
5985
e69b6f73
JJ
59862001-03-08 Richard Sandiford <rsandifo@redhat.com>
5987
5988 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
5989 jmpbuf on MIPS64 targets.
5990 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
5991
6198dece
CF
5992Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
5993
e69b6f73
JJ
5994 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
5995 declarations.
6198dece 5996
cfc05d96
JJ
5997Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
5998
5999 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
6000 For RTEMS, define to be ssize_t. Default to int if not defined.
6001 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
6002 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
6003 * libc/stdio/local.h (__sread, __swrite): Likewise.
6004 * libc/include/sys/reent.h (_read, _write): Likewise.
6005 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
6006 * libc/syscalls/sysread.c (read): Likewise.
6007 * libc/syscalls/syswrite.c (write): Likewise.
6008
6249353a
JJ
60092001-03-05 Jeff Johnston <jjohnstn@redhat.com>
6010
6011 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6012
658b5db9
CF
6013Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
6014
6015 * libc/include/sys/stat.h: Use special defines for executable stat bits
6016 when compiling for Cygwin.
6017 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
6018 for Cygwin.
6019
19ca46d5
JJ
60202001-03-02 Jeff Johnston <jjohnstn@redhat.com>
6021
6022 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
6023 of strtok_r is always defined.
6024
b73ed85e
JJ
60252001-03-02 Jeff Johnston <jjohnstn@redhat.com>
6026
6027 * libc/include/machine/ansi.h: New dummy header file.
6028
ee37ede1
JJ
60292001-02-22 Jeff Johnston <jjohnstn@redhat.com>
6030
6031 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
6032 changed the copyright information to allow free modification of the
6033 file with no reference to "copying.dj".
6034 * libc/include/sys/stat-dj.h: Ditto.
6035 * libc/machine/i386/setjmp.S: Ditto.
6036 * libc/sys/h8300hms/sys/file.h: Ditto.
6037 * libc/sys/sysmec/access.c: Ditto.
6038 * libc/sys/sysnecv850/access.c: Ditto.
6039 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
6040 * libc/stdlib/getenv_r.c: Ditto.
6041 * libc/stdlib/putenv_r.c: Ditto.
6042 * libc/stdlib/setenv_r.c: Ditto.
6043 * libc/stdlib/getenv.c: Removed DJ reference since any possible
6044 modifications will now be in the _r version of this file.
6045 * libc/stdlib/putenv.c: Ditto.
6046 * libc/stdlib/setenv.c: Ditto.
6047 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
6048 valid. Added a reference to DJ's web page that contains his address.
6049 * libc/sys/go32/*.s: Removed references to DJ's old address.
6050 * libc/sys/go32/*.c: Ditto.
6051 * libc/sys/go32/*.h: Ditto.
6052 * libc/sys/go32/*.S: Ditto.
6053 * libc/sys/go32/sys/*.h: Ditto.
6054
3a8fc0e4
JJ
60552001-02-21 Jeff Johnston <jjohnstn@redhat.com>
6056
6057 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
6058 HAVE_FCNTL flag check.
6059 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
6060 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
6061
b24ee749
CF
6062Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
6063
6064 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
6065
ab4745dc
JJ
60662001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6067
6068 * libc/include/stdlib.h: Add declarations of rand48 functions and
6069 their reentrant versions.
6070 * libc/include/sys/reent.h: Move macros from rand48.h. Add
6071 struct _rand48 for shared parameters of rand48 functions.
6072 (struct _reent): Add a variable _r48 of struct _rand48.
6073 (_REENT_INIT): Add _r48 initialization.
6074 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
6075 (CHEWOUT_FILES): Add rand48.def.
6076 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
6077 * libc/stdlib/Makefile.in: Regenerated.
6078 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
6079 NetBSD C library.
6080 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
6081 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
6082 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
6083 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
6084 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
6085 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
6086 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
6087 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
6088 * libc/stdlib/rand48.c (__dorand48): Ditto.
6089 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
6090 parameters into macros referring them in the reentrant structure.
6091
a34c461f
JJ
60922001-02-12 Jeff Johnston <jjohnstn@redhat.com>
6093
6094 * libc/include/sys/stat.h: Add mknod for Cygwin now that
6095 Cygwin definition has correct prototype.
6096
34f31ff2
JJ
60972001-02-08 Jeff Johnston <jjohnstn@redhat.com>
6098
6099 * libc/include/sys/stat.h: Must revert change for mknod
6100 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
6101 prototype.
6102
5336d6de
JJ
61032001-02-08 Jeff Johnston <jjohnstn@redhat.com>
6104
6105 * libc/include/stdio.h: Revert putw prototype.
6106
8915d10a
JJ
61072001-02-08 Edward M. Lee <tailbert@yahoo.com>
6108
6109 * libc/include/grp.h: add prototype for initgroups.
6110 * libc/include/stdio.h: fix prototype for putw.
6111 * libc/include/sys/signal.h: add prototype for killpg.
6112 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
6113 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
6114 vhangup and remove duplicate sysconf prototype.
6115
93ac4487
JJ
61162001-02-07 Jeff Johnston <jjohnstn@redhat.com>
6117
6118 * libc/sys/rtems/sys/types.h: Removed.
6119
31f5feea
JJ
61202001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
6121
6122 * libc/include/locale.h: add LC_MESSAGES definition
6123
b5139f59
AO
61242001-02-01 Alexandre Oliva <aoliva@redhat.com>
6125
6126 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
6127 SYS_get_argN):
6128 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
6129 __setup_argv_and_call_main): New.
6130
e29d8355
JJ
61312001-01-31 Jeff Johnston <jjohnstn@redhat.com>
6132
6133 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
6134 if defined.
6135 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
6136 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
6137 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
6138 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
6139
82ea92f3
CF
6140Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
6141
6142 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
6143 compiling under Cygwin.
6144
3aaa66f8
JJ
61452001-01-29 Jeff Johnston <jjohnstn@redhat.com>
6146
6147 * libc/include/math.h (signgam): Change to errno-like solution
6148 using a function to return the address of the real signgam.
6149 * libc/reent/signgam.c: New file containing __signgam().
6150 * libc/reent/Makefile.am: Added signgam.c to list of files.
6151 * libc/reent/Makefile.in: Regenerated.
6152
610b895a
AO
61532001-01-25 Alexandre Oliva <aoliva@redhat.com>
6154
b0913397
AO
6155 * libc/sys/sh/syscalls.c (_times): New.
6156
610b895a
AO
6157 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
6158 * libc/sys/sh/syscalls.c (_gettimeofday): New.
6159
3643210e
JJ
61602001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6161
6162 * libc/include/math.h (signgam): Regress previous fix as
6163 it does not handle programs with extern int signgam in them.
6164
841081c9
JJ
61652001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6166
6167 * libc/include/math.h (signgam): Changed to a macro refering to
6168 its location in the reentrant structure.
6169
e9cd87b8
JJ
61702001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6171
6172 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
6173 that suppressed . for %.0f, 0.1. Check now looks if there
6174 are padding zeroes (expt) in addition to any digits (ndig) to
6175 print.
6176
a302b48c
JJ
61772001-01-18 Jeff Johnston <jjohnstn@redhat.com>
6178
6179 * libc/sys/arc/Makefile.am: New file.
6180 * libc/sys/arc/Makefile.in: Ditto.
6181 * libc/sys/arc/aclocal.m4: Ditto.
6182 * libc/sys/arc/configure: Ditto.
6183 * libc/sys/arc/configure.in: Ditto.
6184 * libc/sys/arc/crt0.S: Ditto.
6185 * libc/sys/arc/isatty.c: Ditto.
6186 * libc/sys/arc/mem-layout.c: Ditto.
6187 * libc/sys/arc/sbrk.c: Ditto.
6188 * libc/sys/arc/syscalls.c: Ditto.
6189 * libc/sys/arc/sys/syscall.h: Ditto.
6190
d0319c3b
CF
6191Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
6192
6193 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
6194
e45ab890
CF
6195Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
6196
6197 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
6198
1376245a
DD
6199Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
6200
6201 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
6202
92b57543
NC
62032001-01-09 Nick Clifton <nickc@redhat.com>
6204
6205 * configure.host (v859): Remove unsupported compiler options.
6206
7d6d33d4
JJ
6207Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
6208
6209 * src/newlib/configure.host (*-*-rtems*): add printf long long
6210 support for RTEMS.
6211
602f8b5a 62122000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
6213
6214 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6215
9c2b8183
JJ
6216Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
6217
6218 * configure.host: Turn on long double I/O for Cygwin.
6219
804368d3
JJ
6220Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
6221
6222 * MAINTAINERS: Removed Ranjith.
6223 * NEWS: Updated for 1.9.0.
6224 * README: Updated.
6225 * acinclude.m4: Updated to release 1.9.0.
6226 * aclocal.m4 configure
6227 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6228 libc/machine/aclocal.m4 libc/machine/configure
6229 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
6230 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
6231 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
6232 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
6233 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
6234 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
6235 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
6236 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
6237 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
6238 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
6239 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
6240 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
6241 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
6242 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
6243 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
6244 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
6245 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
6246 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
6247 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
6248 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
6249 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
6250 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
6251 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
6252 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
6253 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
6254 libc/sys/aclocal.m4 libc/sys/configure
6255 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
6256 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
6257 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
6258 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
6259 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
6260 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
6261 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
6262 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
6263 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
6264 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6265 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6266 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6267 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6268 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6269 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6270 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6271 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6272 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6273 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6274 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6275 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6276 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6277 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6278 libm/aclocal.m4 libm/configure: Regenerated.
6279
0985d43f
CV
6280Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6281
6282 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
6283 when __CYGWIN__ is defined.
6284
b6182a09
JJ
62852000-12-13 Jeff Johnston <jjohnstn@redhat.com>
6286
6287 * libc/stdlib/ldtoa.c (_ldcheck): New routine
6288 that categorizes a long double as NaN, Infinity, or other.
6289 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
6290 isinfl and isnanl static routines which were i386-specific. Changed
6291 calls to the two removed routines to a single _ldcheck call.
6292 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
6293
adbbb034
JJ
62942000-12-13 Jeff Johnston <jjohnstn@redhat.com>
6295
6296 * Makefile.am: Fixed install-data-local target to use
6297 $(mkinstalldirs) for the installed header files to ensure
6298 the directories exist before copying.
6299 * Makefile.in: Regenerated.
6300
cbd19336
JJ
63012000-12-12 Jeff Johnston <jjohnstn@redhat.com>
6302
6303 * libc/include/sys/unistd.h: Restored Cygwin _SC
6304 constants and moved new constants appropriately
6305 so Cygwin will build.
6306
8fb37963
JJ
63072000-12-11 Joel Sherrill <joel@OARcorp.com>
6308
6309 * Merge RTEMS specific .h files into main libc/include.
6310 * libc/sys/rtems/include/signal.h: Removed.
6311 * libc/sys/rtems/include/time.h: Removed.
6312 * libc/sys/rtems/sys/features.h: Removed.
6313 * libc/sys/rtems/sys/sched.h: Removed.
6314 * libc/sys/rtems/sys/siginfo.h: Removed.
6315 * libc/sys/rtems/sys/signal.h: Removed.
6316 * libc/sys/rtems/sys/time.h: Removed.
6317 * libc/sys/rtems/sys/times.h: Removed.
6318 definitions for time_t and clock_t since these are
6319 no longer in time.h.
6320 * libc/include/pthread.h: New file.
6321 * libc/include/sys/sched.h: New file.
6322 * libc/include/sys/features.h: New file.
6323 * libc/include/time.h: Removed duplicate definition of clock_t
6324 and time_t, get them from <sys/types.h> instead. Add prototypes
6325 for POSIX clock and timer functionality.
6326 * libc/sys/linux/sys/types.h: Changed to include
6327 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
6328 * libc/include/sys/signal.h: Add more complete set of POSIX
6329 signal functionality including real-time and threaded signals.
6330 * libc/include/sys/types.h: Add clock_t, time_t, struct
6331 timespec, and struct itimerspec. Centralizing these makes
6332 things cleaner. RTEMS uses 64-bit dev_t.
6333 Added numerous primitive definitions
6334 for pthreads including macros, pthread_attr_t,
6335 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
6336 pthread_once_t, and pthread_t.
6337 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
6338 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
6339 Feature flags removed and moved to new file <sys/features.h>.
6340 Full set of POSIX sysconf() constants
6341
2efbc2a7
JJ
63422000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
6343
6344 * configure.host: Added x86 linux target.
6345 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
6346 definitions provided if not already defined.
6347 * libc/sys/linux/crt0.c: New file.
6348 * libc/sys/linux/Makefile.am: Ditto.
6349 * libc/sys/linux/Makefile.in: Ditto.
6350 * libc/sys/linux/aclocal.m4: Ditto.
6351 * libc/sys/linux/brk.c: Ditto.
6352 * libc/sys/linux/configure: Ditto.
6353 * libc/sys/linux/configure.in: Ditto.
6354 * libc/sys/linux/getoptlong.c: Ditto.
6355 * libc/sys/linux/ids.c: Ditto.
6356 * libc/sys/linux/inode.c: Ditto.
6357 * libc/sys/linux/io.c: Ditto.
6358 * libc/sys/linux/linux.c: Ditto.
6359 * libc/sys/linux/process.c: Ditto.
6360 * libc/sys/linux/realpath.c: Ditto.
6361 * libc/sys/linux/select.c: Ditto.
6362 * libc/sys/linux/signal.c: Ditto.
6363 * libc/sys/linux/systat.c: Ditto.
6364 * libc/sys/linux/termios.c: Ditto.
6365 * libc/sys/linux/time.c: Ditto.
6366 * libc/sys/linux/wait.c: Ditto.
6367 * libc/sys/linux/include/alloca.h: Ditto.
6368 * libc/sys/linux/include/getopt.h: Ditto.
6369 * libc/sys/linux/include/stdint.h: Ditto.
6370 * libc/sys/linux/include/unistd.h: Ditto.
6371 * libc/sys/linux/sys/cdefs.h: Ditto.
6372 * libc/sys/linux/sys/dirent.h: Ditto.
6373 * libc/sys/linux/sys/errno.h: Ditto.
6374 * libc/sys/linux/sys/fcntl.h: Ditto.
6375 * libc/sys/linux/sys/file.h: Ditto.
6376 * libc/sys/linux/sys/ioctl.h: Ditto.
6377 * libc/sys/linux/sys/resource.h: Ditto.
6378 * libc/sys/linux/sys/signal.h: Ditto.
6379 * libc/sys/linux/sys/stat.h: Ditto.
6380 * libc/sys/linux/sys/syscall.h: Ditto.
6381 * libc/sys/linux/sys/termios.h: Ditto.
6382 * libc/sys/linux/sys/time.h: Ditto.
6383 * libc/sys/linux/sys/types.h: Ditto.
6384 * libc/sys/linux/sys/utmp.h: Ditto.
6385 * libc/sys/linux/sys/utsname.h: Ditto.
6386 * libc/sys/linux/sys/wait.h: Ditto.
6387
a08c98bb
JJ
63882000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6389
6390 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
6391 can be a relative path to $(top_srcdir)/install.sh so ensure the
6392 autoconf detected settings are properly passed recursively.
6393 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
6394 properly to subdirectories.
6395 * Makefile.in: Regenerated.
6396
b294082c
JJ
63972000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
6398
6399 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
6400 a floating point register unless really printing a floating
6401 point number.
6402
2005ab6b
JJ
64032000-12-07 Jeff Johnston <jjohnstn@redhat.com>
6404
6405 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
6406 Also removed \r's.
6407 (asctoeg): Replaced alloca call with stack array and malloc
6408 when storage exceeds reasonable limit.
6409 (e53toe): Fixed einfin calls missing ldp parameter.
6410 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
6411
9f6e8f1b
JJ
64122000-12-06 Jeff Johnston <jjohnstn@redhat.com>
6413
2005ab6b 6414
9f6e8f1b
JJ
6415 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
6416
6bdac416
JJ
64172000-12-06 Jeff Johnston <jjohnstn@redhat.com>
6418
6419 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
6420 * libc/stdlib/Makefile.in: Regenerated.
6421 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
6422 * libc/stdio/vfieeefp.h: Added long double bit structures.
6423 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
6424 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
6425 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
6426 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
6427 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
6428 _strtold routines used for conversions between character
6429 and long double.
6430
ec270d31
CV
6431Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6432
6433 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
6434
db2d9549
JJ
64352000-12-04 Joel Sherrill <joel@OARcorp.com>
6436
6437 * libc/include/machine/time.h: RTEMS systems can configure clock
6438 tick rate so use sysconf() to ask.
6439
6ba54a15
JJ
64402000-12-04 Joel Sherrill <joel@OARcorp.com>
6441
6442 * libc/include/sys/times.h: Add reference to POSIX standard.
6443
8677b819
JJ
64442000-12-04 Joel Sherrill <joel@OARcorp.com>
6445
6446 * libc/include/sys/time.h: Added BSD timer manipulation macros
6447 used by RTEMS code.
6448
1b61a706
JJ
64492000-12-04 Joel Sherrill <joel@OARcorp.com>
6450
6451 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
6452 referenced by code generated by gcc 2.8.1.
6453 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
6454 satisfy gcc.
6455
f5e7c124
JJ
64562000-12-04 Joel Sherrill <joel@OARcorp.com>
6457
6458 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
6459
768abc9c
JJ
64602000-12-04 Joel Sherrill <joel@OARcorp.com>
6461
6462 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
6463
9e5dd5ea
JJ
64642000-12-04 Joel Sherrill <joel@OARcorp.com>
6465
6466 * configure.host (or16, or32): New entries for OpenCores
6467 OpenRisc CPUs.
6468 (*-*-rtems*): Add -DNO_EXEC.
6469
768abc9c 64702000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
6471
6472 * libc/include/sys/errno.h: Added comments on many error numbers.
6473 * libc/string/strerror.c: Added some more strings.
6474
b273323f
JJ
64752000-11-30 Jeff Johnston <jjohnstn@redhat.com>
6476
6477 * libc/sys/sh/syscalls.c (_link): New stub.
6478
0ffc3b94
NC
64792000-11-29 Nick Clifton <nickc@redhat.com>
6480
6481 * configure.host: Add xscale target.
6482 * libc/machine/xscale: New directory.
6483 * libc/machine/xscale/Makefile.am: New file.
6484 * libc/machine/xscale/Makefile.in: New file.
6485 * libc/machine/xscale/aclocal.m4: New file.
6486 * libc/machine/xscale/configure: New file.
6487 * libc/machine/xscale/configure.in: New file.
6488 * libc/machine/xscale/memchr.S: New file.
6489 * libc/machine/xscale/memcmp.S: New file.
6490 * libc/machine/xscale/memcpy.S: New file.
6491 * libc/machine/xscale/memmove.S: New file.
6492 * libc/machine/xscale/memset.S: New file.
6493 * libc/machine/xscale/strchr.S: New file.
6494 * libc/machine/xscale/strcmp.S: New file.
6495 * libc/machine/xscale/strcpy.S: New file.
6496 * libc/machine/xscale/strlen.S: New file.
6497
cbbf0f96
CV
6498Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6499
6500 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
6501 avoid compiler warnings.
6502
73dea790
MM
65032000-11-22 Michael Meissner <meissner@redhat.com>
6504
6505 * libc/posix/execl.c (execl): Don't reference environ directly,
6506 reference it only via a static pointer to avoid problems with some
6507 shared library systems and with different uses of small data where
6508 the user specifies his own version of environ.
6509 * libc/posix/execv.c (execv): Ditto.
6510 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
6511 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
6512 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
6513
6514 * libc/stdlib/getenv.c (environ): Delete unused reference to
6515 environ.
6516
6517 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
6518 colorization.
6519 * libc/stdlib/system.c: Ditto.
6520
08eac2ae
CF
6521Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
6522
6523 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
6524 including windows headers.
6525
5478bf37
JJ
65262000-11-20 Jeff Johnston <jjohnstn@redhat.com>
6527
6528 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
6529 * libc/include/dirent.h: Added definition of MAXNAMLEN if
6530 not defined by sys/dirent.h.
6531 * libc/posix/execvp.c: Added include of dirent.h to get
6532 MAXNAMLEN value which used to be in unistd.h.
6533
3a760728
CV
6534Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6535
6536 * libc/include/sys/types.h: Change type of i to `size_t' in
6537 FD_ZERO macro to avoid compiler warnings.
6538
86fff69f
CF
6539Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
6540
6541 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
6542 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
6543
ba9e88d2
CV
6544Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6545
6546 * libc/include/sys/unistd.h: Add defines for sysconf values
6547 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
6548 _SC_AVPHYS_PAGES.
6549
a8018ef3
CF
6550Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
6551
6552 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
6553 declarations for __CYGWIN__.
6554
b944c6f6
GK
65552000-09-19 Geoffrey Keating <geoffk@cygnus.com>
6556
6557 * libc/signal/signal.c (__sigtramp_r): ISO C requires
6558 case labels to be integral constant expressions, so
6559 use an if/else tree instead.
6560 (_raise_r): Likewise.
6561
7f18fcb4
JJ
65622000-09-13 Jeff Johnston <jjohnstn@redhat.com>
6563
6564 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
6565 clipping patch from e-mail reader.
6566
242361df
JJ
65672000-09-13 Will Cohen <wcohen@redhat.com>
6568
6569 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
6570 Added return value 0.
6571 (_longjmp): Allow longjmp to return value of second argument
6572 passed to it.
6573
8a8c59b9
JJ
65742000-09-06 Jeff Johnston <jjohnstn@redhat.com>
6575
6576 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
6577 inline code to prevent having to include another header file.
6578
a385ae75
CF
6579Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
6580
6581 * Makefile.am: Fix space vs. tab problem in install-data-local.
6582 * Makefile.in: Regenerate.
6583
6584Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
6585
6586 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
6587 (_EXPARM): New macro for defining a function parameter.
6588 * libc/include/stdlib.h: Use _EXPARM.
6589 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
6590
a36cd013
JJ
65912000-09-05 Manfred Hollstein <manfredh@redhat.com>
6592
6593 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
6594 required, as documented in the gnu coding standards.
6595 * Makefile.in: Regenerate.
6596
f825dfda
JJ
65972000-09-05 Jeff Johnston <jjohnstn@redhat.com>
6598
6599 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
6600 make O_NDELAY and O_NONBLOCK have the same value.
6601
4ba9aab7
JJ
66022000-08-30 Kazu Hirata <kazu@hxi.com>
6603
6604 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
6605
db7acc38
JJ
66062000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
6607
6608 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
6609 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
6610 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
6611 everywhere else.
6612
44e36af4
GK
66132000-08-30 Geoffrey Keating <geoffk@cygnus.com>
6614
6615 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
6616 * libc/include/string.h: Don't include <sys/types.h>,
6617 as it causes really bad namespace pollution. Don't declare
6618 swab(), it is properly declared in unistd.h.
6619
00a2f168
JJ
66202000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
6621
6622 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
6623 (broken) support for non-existent /etc/passwd field "comment".
6624
6beeb240
JJ
66252000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
6626
6627 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
6628 only if _DIRENT_HAVE_D_NAMLEN is defined.
6629 (alphasort): aligned prototype with
6630 libc/sys/cygwin/sys/dirent.h and simplified function body.
6631 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
6632 long telldir (DIR *) as mentioned in annex B of POSIX.1
6633
ef44da42
JJ
66342000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
6635
6636 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
6637 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
6638 Added __CLI and __STI macros (controlled via
6639 _I386MACH_ALLOW_HW_INTERRUPTS macro).
6640 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
6641 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
6642 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
6643 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
6644 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
6645 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
6646 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
6647 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
6648 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
6649 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
6650 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
6651 for all global entry points.
6652 * libc/machine/i386/setjmp.S: removed code replicated in
6653 libc/machine/i386/i386mach.h and included i386mach.h instead;
6654 Use __CLI and __STI instead of cli and sti.
6655
14d3488d
DD
66562000-08-25 DJ Delorie <dj@redhat.com>
6657
6658 * libc/include/sys/unistd.h (environ): this one isn't from the
6659 DLL, no __IMPORT
6660
c9ca4412
CF
6661Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
6662
6663 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
6664 environ when compiling under cygwin since it is already declared in
6665 unistd.h.
6666
2d5862de
JJ
66672000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6668
6669 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
6670 like x << y-z to the equivalent x << (y-z).
6671 (d2b): changed if statements with assignment to perform the
6672 assignment prior to the if check.
6673 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
6674 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
6675 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
6676 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
6677 precedence.
6678 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
6679 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
6680 execve.c).
6681 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
6682 precedence.
6683 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
6684 clarify && and || precendence (and to remove pascalism).
6685 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
6686 * libm/math/s_infconst.c: added another pair of braces to all
6687 initializers for __infinity (need three: for __infinity[1] array,
6688 for union __dmath, and for i[2]).
6689
0888fedd
JJ
66902000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6691
199359f0
JJ
6692 * libc/stdlib/abort.c: changed description: uses "raise" instead of
6693 "getpid" and "kill"; added: uses "write" and "_exit".
6694 Also included unistd.h for "_exit" prototype.
6695 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
6696 reent.h for "_fork_r" and "_wait_r" prototypes.
6697 (do_system): changed extern char *environ[] to POSIX-friendly
6698 extern char **environ.
6699 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
6700 prototypes.
6701 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
6702 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
6703 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
6704 * libc/reent/openr.c: included fcntl.h for "open" prototype.
6705 * libc/reent/signalr.c: included signal.h for "kill" prototype,
6706 unistd.h for "getpid" prototype.
6707 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
6708 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
6709 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
6710 prototype. Also included stdlib.h for "abort", string.h for
6711 "strdup" and "strncmp" prototypes.
6712 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
6713 "strncpy", unistd.h for "read" and "close" prototypes.
6714 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
6715 "strcat" prototypes.
6716
67172000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
6718
0888fedd
JJ
6719 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
6720 used later (ifdef __SCLE)
6721 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
6722 used later (ifdef MB_CAPABLE)
6723 * libc/string/memset.c (memset): removed unused variables "count"
6724 and "unaligned_addr"
6725 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
6726 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
6727 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
6728 and "gid"
6729
a334e5ef
JJ
67302000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
6731
6732 * libc/stdlib/envlock.c: changed documented "__env_lock" and
6733 "__env_unlock" prototype from "void *" or "char *" to
6734 "struct _reent *" to match real function. Also added include
6735 of envlock.h.
6736 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
6737 "__malloc_unlock" prototype from "void *" or "char *" to
6738 "struct _reent *" to match real function.
6739 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
6740 prototypes (for getenv_r.c and setenv_r.c).
6741
644b7f26
DD
67422000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
6743
6744 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
6745 and prototype in cygwin's utmp.h
6746
5bacbf10
JJ
67472000-08-16 Eric Fifer <efifer@sanwaint.com>
6748
6749 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
6750
38a6bf98
NC
67512000-08-09 Nick Clifton <nickc@cygnus.com>
6752
6753 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
6754 epilogue and to allow the functions to be used in a Thumb based
6755 toolchain.
6756
befe0fb3
JJ
67572000-08-08 Jeff Johnston <jjohnstn@redhat.com>
6758
6759 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
6760 so size of 0 results in nothing being written to string.
6761 Also fixed code so that when size is non-zero, there is only
6762 a maximum of size - 1 characters written to the array and
6763 a nul terminator is appended at the end.
6764 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
6765
749d9bcd
DD
67662000-08-01 DJ Delorie <dj@redhat.com>
6767
6768 * libc/include/sys/config.h: define __IMPORT appropriately
6769 * libc/include/ctype.h (_ctype_): use __IMPORT
6770 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
6771 * libc/include/math.h (__mb_cur_max): ditto
6772 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
6773 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
6774 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
6775 * libc/include/unistd.h (environ): ditto
6776
7c110b17
MM
67772000-07-28 Michael Meissner <meissner@redhat.com>
6778
6779 * libc/include/math.h (__infinity): Declare as an array without
6780 bounds to get around small data support. Rewrite Cygwin support
6781 to be more general.
6782 * libm/math/s_infconst.c (__infinity): Ditto.
6783 * libm/mathfp/s_infconst.c (__infinity): Ditto.
6784
bf7be721
CF
6785Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
6786
6787 * libc/include/math.h: Use appropriate dll import linkage for
6788 __infinity under Cygwin.
6789
91a8d90b
DD
67902000-07-13 DJ Delorie <dj@cygnus.com>
6791
6792 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
6793
ba2048d3
JJ
6794Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
6795
6796 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
6797 to argument list for AngelSWI_Reason_GetCmdLine.
6798
4634da64
JJ
6799Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
6800
6801 * configure.host: Add support for AVR target.
6802 * libc/include/machine/ieeefp.h: Likewise.
6803 * libc/include/sys/config.h: Likewise.
6804
b19f72a2
RK
6805Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
6806
6807 * README: Newlib 1.8.2 must be built in a separate directory
6808 than the sources.
6809
a704d94a
JJ
6810Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6811
6812 * libc/include/sys/reent.h (_rand_next): Added __extension__
6813 qualifier as long long type is not strict ANSI.
6814 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
6815 to long long constant.
6816
b585720b
CV
6817Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
6818
6819 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
6820 `setegid' provided by Cygwin.
6821
01c327ba
CV
6822Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
6823
6824 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
6825 account for Cygwin.
6826
46a43a99
JJ
6827Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6828
6829 * libc/include/sys/reent.h (_rand_next): Changed to
6830 unsigned long long and moved to end of _reent struct in _new union.
6831 (_REENT_INIT): Changed to move _rand_next initialization.
6832 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
6833 linear congruential algorithm that is used by DJGPP.
6834
a68078cb
RK
6835Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
6836
6837 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
6838 * libc/include/sys/config.h: Define __RAND_MAX.
6839
518882f3
JJ
6840Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6841
6842 * libc/stdlib/rand_r.c: New algorithm that meets minimal
6843 standard.
6844
d51d968a
CF
6845Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
6846
6847 * libc/include/string.h: Work around problem with strsignal and gdb.
6848
d2dd5765
CF
6849Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
6850
6851 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
6852 * libc/include/malloc.h: Ditto.
6853 * libc/include/process.h: Ditto.
6854 * libc/include/stdio.h: Ditto.
6855 * libc/include/stdlib.h: Ditto.
6856 * libc/include/time.h: Ditto.
6857 * libc/include/machine/setjmp.h: Ditto.
6858 * libc/include/sys/errno.h: Ditto.
6859 * libc/include/sys/signal.h: Ditto.
6860 * libc/include/sys/stat.h: Ditto.
6861 * libc/include/sys/time.h: Ditto.
6862 * libc/include/sys/unistd.h: Ditto.
6863 * libc/include/string.h: Ditto. strsignal should return a const char *.
6864
88870218
JJ
68652000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
6866
6867 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
6868 * libm/common/s_log1p.c (log1p): Likewise.
6869 * libm/common/s_scalbn.c (scalbn): Likewise.
6870 * libm/math/e_log.c: Likewise.
6871 * libm/math/e_asin.c: Likewise.
6872 * libm/math/ef_asin.c: Likewise.
6873 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
6874 * libm/math/e_j1.c (pone, qone): Likewise.
6875 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
6876 * libm/math/ef_j1.c (ponef, qonef): Likewise.
6877 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
6878 * libm/mathfp/e_j1.c (pone, qone): Likewise.
6879 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
6880 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
6881
c4e1aa01
DD
68822000-05-19 DJ Delorie <dj@cygnus.com>
6883
6884 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
6885 (__sread): always read in binary mode
6886 (__swrite): always write in binary mode
6887 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
6888 compatibility issues with different dll versions
6889 * libc/stdio/fopen.c: use __stextmode
6890 * libc/stdio/fdopen.c: ditto
6891 * libc/stdio/freopen.c: ditto
6892 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
6893 * libc/stdio/local.h: declare __stextmode
6894
f4393261
DD
68952000-05-18 DJ Delorie <dj@cygnus.com>
6896
6897 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
6898
2b533fac
JJ
6899Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6900
6901 * libc/include/ctype.h: Changed tolower and toupper macros
6902 to use __extension__ to prevent pedantic warnings.
6903
75362a76
RK
6904Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
6905
6906 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
6907 structures.
6908
ec463fc7
JW
6909Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
6910
6911 * libc/include/machine/ieeefp.h: Add ia64 support.
6912 * configure.host: Likewise.
6913
f35ceefa
JJ
6914Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
6915
6916 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
6917 month is now padded with space, not zero. This now conforms to
6918 ANSI standard.
6919
b96fca8c
CV
6920Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
6921
6922 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
6923 host or network path") used by cygwin. Add some comments.
6924
49d64538
JJ
6925Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
6926
6927 * libc/include/stdio.h (FILE): define __SCLE for "convert line
6928 endings" for Cygwin.
6929 (__sgetc): convert line endings if needed
6930 (__sputc): ditto
6931 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
6932 * libc/stdio/fopen.c (_fopen_r): ditto
6933 * libc/stdio/freopen.c (freopen): ditto
6934 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
6935 * libc/stdio/fvwrite.c (__sfvwrite): ditto
6936
91fb1e7f
AO
6937Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
6938
6939 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
6940 post-increment when it is worth it, spacewise.
6941
c87be3e4
JJ
6942Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
6943
6944 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
6945 * libc/stdio/findfp.c (std): Added declaration of flags and file.
6946 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
6947 return type.
6948 * libc/stdio/putchar.c (putchar): Added return statement.
6949 * libc/stdio/refill.c (lflush): Added correct parentheses.
6950 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
6951 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
6952 prints long value to use l qualifier.
6953 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
6954 messages and initialized local values: ilim, ilim1, and spec_case.
6955 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
6956 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
6957 * libc/stdlib/mprec.c: Ditto.
6958 * libc/stdlib/setenv_r.c: Ditto.
6959 * libc/stdlib/strtod.c: Ditto.
6960 * libc/stdlib/strtol.c: Ditto.
6961 * libc/stdlib/strtoul.c: Ditto.
6962 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
6963 * libm/common/sf_log1p.c: Ditto.
6964 * libm/common/sf_scalbn.c: Ditto.
6965 * libm/math/ef_log.c: Ditto.
6966
11f5b065
CV
6967Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
6968
6969 * libc/posix/execvp.c (execvp): Check path for
6970 trailing slash.
6971
796e3b20
CV
6972Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
6973
6974 * libc/include/sys/unistd.h: Add prototypes for
6975 fchmod, fchown, lchown.
6976
b489803a
JJ
6977Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
6978
6979 * acinclude.m4: Changed release to 1.8.2.
6980 * aclocal.m4 configure doc/aclocal.m4 doc/configure
6981 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
6982 libc/machine/configure libc/machine/a29k/aclocal.m4
6983 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6984 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6985 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6986 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6987 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
6988 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6989 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6990 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6991 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6992 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6993 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
6994 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6995 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6996 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6997 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6998 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6999 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7000 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7001 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7002 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7003 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7004 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7005 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
7006 libc/machine/z8k/configure libc/sys/aclocal.m4
7007 libc/sys/aclocal.m4 libc/sys/configure
7008 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7009 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7010 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7011 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7012 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7013 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7014 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7015 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7016 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7017 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7018 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7019 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7020 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7021 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7022 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7023 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7024 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7025 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7026 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7027 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7028 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7029 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7030 libm/aclocal.m4 libm/configure: Regenerated.
7031
79908d67
NC
70322000-03-24 Nick Clifton <nickc@cygnus.com>
7033
7034 * libc/sys/arm/syscalls.c: Fix compile time warnings.
7035 (do_AngelSWI): Add "cc" to list o registers clobbered.
7036
7684ddaf
FN
7037Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
7038
7039 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
7040 information to be clobbered by an Angel C library support syscall.
7041
b8ec20c8
JJ
7042Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7043
7044 * libc/stdlib/envlock.c: Fixed comment typo.
7045
fae4c299
JJ
7046Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7047
7048 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
7049 code to update nread as each character is processed instead
7050 of using buffer contents which throw away leading zeroes.
7051
dc98804b
RK
7052Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
7053
7054 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
7055
5ed2f523
JJ
7056Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
7057
7058 * libc/include/string.h: Include <sys/types.h>.
7059
1cf0ee34
AO
7060Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7061
7062 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
7063 with XSH5, not SVID.
7064
e9c94978
JJ
7065Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
7066
7067 * libc/include/string.h: Changed last argument back to ssize_t
7068 to make it compatible with XPG4 definition which is
7069 defined in <unistd.h>. There is a conflict in the SVID 3
7070 and XPG4 definitions and newlib will settle with XPG4.
7071 * libc/string/swab.c: Ditto.
7072
3072163c
JJ
7073Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
7074
7075 * libc/include/string.h: Changed last argument to size_t.
7076 * libc/string/swab.c: Changed last argument to size_t.
7077
f205ea7a
AO
7078Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7079
7080 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
7081 (CHEWOUT_FILES): Added unlinkr.def.
7082 * libc/reent/Makefile.in: Rebuilt.
7083 * libc/sys.tex: Include unlinkr.def.
7084 * libc/reent/linkr.c (_unlink_r): Moved to...
7085 * libc/reent/unlinkr.c: ... new file.
7086
85dd2e5b
AO
7087Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7088
7089 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
7090 (CHEWOUT_FILES): Added swab.def.
7091 * libc/string/Makefile.in: Rebuilt.
7092 * libc/string/string.tex: Include swab.def.
7093 * libc/include/string.h (swab): Declare.
7094 * libc/string/swab.c: New file.
7095
c5053058
AO
7096Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7097
7098 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
7099 (CHEWOUT_FILES): Added getw.def and putw.def.
7100 * libc/stdio/Makefile.in: Rebuilt.
7101 * libc/stdio/stdio.tex: Include getw.def and putw.def.
7102 * libc/stdio/getw.c: New file.
7103 * libc/stdio/putw.c: New file.
7104
dbaf37cf
JJ
7105Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
7106
7107 * libc/stdio/flags.c (__sflags): Added check that mode[1]
7108 is non-null before looking at mode[2].
7109
bc019ef2
RK
7110Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
7111
7112 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
7113 * libm/mathfp/sf_atan.c: Ditto.
7114
7115Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
7116
7117 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
7118
cd641b2d
RK
7119Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
7120
7121 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
7122 _DOUBLE_IS_32BITS.
7123
b0ba0ac2
JJ
7124Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
7125
7126 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
7127 call prior to calling _VFPRINTF_R so reentrant data area is set.
7128 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
7129
8a0efa53
CF
7130Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7131
7132 * libc/stdio/vfscanf.c (limits.h): #include.
7133 (MAX_LONG_LEN): #define.
7134 (__svfscanf): Handle floating point numbers with arbitrary amounts
7135 of leading zeroes.
7136
71372000-02-15 Nick Clifton <nickc@cygnus.com>
7138
7139 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
7140 zero. Set the blocksize to 1024/
7141
7142Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
7143
7144 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
7145 with line buffering.
7146
7147Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7148
7149 * acinclude.m4: Changed include directory for winsup headers.
7150 * aclocal.m4 configure libc/aclocal.m4
7151 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
7152 libc/locale/Makefile.in libc/machine/aclocal.m4
7153 libc/machine/configure libc/machine/a29k/aclocal.m4
7154 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7155 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7156 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7157 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7158 libc/machine/fr30/configure
7159 libc/machine/h8300/aclocal.m4
7160 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7161 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7162 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7163 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7164 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7165 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
7166 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7167 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7168 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7169 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7170 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7171 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7172 libc/machine/powerpc/configure
7173 libc/machine/sh/aclocal.m4
7174 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7175 libc/machine/sparc/configure
7176 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7177 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7178 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7179 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7180 libc/misc/Makefile.in libc/posix/Makefile.in
7181 libc/reent/Makefile.in
7182 libc/signal/Makefile.in
7183 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
7184 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7185 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
7186 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7187 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
7188 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7189 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7190 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7191 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7192 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7193 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7194 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7195 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7196 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
7197 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
7198 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
7199 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
7200 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
7201 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
7202 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
7203 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
7204 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
7205 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
7206 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
7207 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
7208 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
7209 libm/configure: Regenerated.
7210
7211Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
7212
7213 * libc/stdlib/putenv_r.c (_putenv_r): New file.
7214 * libc/stdlib/strdup_r.c (_strdup_r): New file.
7215 * libc/include/string.h: Added _strdup_r.
7216 * libc/stdlib/putenv.c: Added call to reentrant version.
7217 * libc/stdlib/strdup.c: Ditto.
7218 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
7219 * libc/include/stdlib.h: Ditto.
7220 * libc/stdlib/Makefile.in: Regenerated.
7221 * libc/string/Makefile.in: Regenerated.
7222 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
7223 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
7224 management calls to reentrant versions.
7225 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
7226 * libc/stdlib/wctomb.c: Ditto.
7227 * libc/stdlib/mblen.c: Ditto.
7228 * libc/stdlib/mbstowcs.c: Ditto.
7229 * libc/stdlib/mbtowc.c: Ditto.
7230 * libc/stdlib/getenv.c: Ditto.
7231 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
7232 and _strdup_r.
7233
7234Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
7235
7236 patch from Corinna Vinschen <corinna@vinschen.de>
7237 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
7238
bc019ef2 7239Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
7240
7241 * libm/mathfp/s_atangent.c: Fix exponent calculation.
7242 * libm/mathfp/s_ldexp.c: Ditto.
7243 * libm/mathfp/sf_atangent.c: Ditto.
7244 * libm/mathfp/sf_ldexp.c: Ditto.
7245
7246Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7247
7248 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
7249 * libc/include/locale.h: define NULL to be 0.
7250
7251Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
7252
7253 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
7254 function.
7255
7256Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
7257
7258 * libc/machine/mn10300/setjmp.S: Handle am33.
7259
72601999-11-26 Nick Clifton <nickc@cygnus.com>
7261
7262 * libc/sys/arm/syscalls.c: Add function prototypes.
7263 (stack_ptr): Move declaration before function definitions.
7264
7265Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7266
7267 * NEWS: Updated version information.
7268 * README: Ditto.
7269
7270Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
7271
7272 * libc/machine/i386/strchr.S: Fixed alignment test.
7273
7274Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
7275
7276 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
7277
7278Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
7279
7280 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
7281 ensuring that there is space between the two.
7282
7283Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
7284
7285 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
7286 only.
7287
72881999-10-08 Vadim Egorov <egorovv@1c.ru>
7289
7290 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
7291 section
7292
7293Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7294
7295 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
7296 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
7297
7298Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
7299 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
7300 per POSIX 1003.1b.
7301 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
7302 per POSIX 1003.1b.
7303
73041999-09-13 DJ Delorie <dj@cygnus.com>
7305
7306 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
7307 also.
7308
7309Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
7310
7311 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
7312 also note BUFSIZ as its size.
7313
7314Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
7315
7316 * configure.host: Corrected feature defines for RTEMS.
7317 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
7318 * libc/include/sys/stat.h: mkfifo() should take const path arg.
7319 * libc/include/sys/unistd.h: pathconf() should take const path arg.
7320 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
7321 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
7322 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
7323 _PC_PRIO_IO, and _PC_SYNC_IO.
7324 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
7325 * libc/machine/m68k/Makefile.in: Regenerated.
7326 * libc/machine/m68k/strcpy.c: New file.
7327 * libc/machine/m68k/strlen.c: New file.
7328 * libc/stdio/tmpnam.c: Always make the returned name usable.
7329 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
7330 * libc/sys/rtems/sys/dirent.h: New file.
7331 * libc/sys/rtems/sys/types.h: Added dev_t.
7332
7333Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
7334
7335 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
7336
7337Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
7338
7339 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
7340 my patch.
7341
7342Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
7343
7344 patch from Jeff Johnston <jjohnstn@cygnus.com>
7345 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
7346 buffer is not in a useful state.
7347
73481999-09-01 Nick Clifton <nickc@cygnus.com>
7349
7350 * libc/sys/arm/syscalls.c (_link): Add stub.
7351
7352Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7353
7354 * ftell.c (ftell): Use actual position within buffer for text mode.
7355 * findfp.c (std): Initialize ptr->_bf._size.
7356
7357Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
7358
7359 * libc/include/sys/unistd.h: Add nice() declaration.
7360
73611999-08-09 Nick Clifton <nickc@cygnus.com>
7362
7363 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
7364 declare as a thumb function so that the disassembler will see the
7365 mode change.
7366
7367Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7368
7369 * libc/reent/reent.tex: Updated list of reentrant functions.
7370
73711999-07-09 Michael Meissner <meissner@cygnus.com>
7372
7373 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
7374
7375Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
7376
7377 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
7378 separate file.
7379 * libc/stdio/snprintf.c: New file.
7380 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
7381 separate file.
7382 * libc/stdio/vsnprintf.c: New file.
7383 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
7384 * libc/stdio/Makefile.in: Regenerated.
7385
7386Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
7387
7388 Patch submitted by Egor Duda <deo@logos-m.ru>:
7389 * libc/include/stdio.h: Add declarations for *nprintf.
7390 * libc/stdio/sprintf.c (snprintf): New function.
7391 (_snprintf_r): New function.
7392 * libc/stdio/vsprintf.c (vsnprintf): New function.
7393 (_vnsprintf_r): New function.
7394
7395Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7396
7397 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
7398 * libm/Makefile.am (stmp-targetdep): Ditto.
7399 * libc/Makefile.in: Regenerated.
7400 * libm/Makefile.in: Ditto.
7401
7402Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7403
7404 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
7405 * libm/Makefile.am (stmp-targetdep): Ditto.
7406 * libc/Makefile.in: Regenerated.
7407 * libm/Makefile.in: Ditto.
7408
7409Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
7410
7411 * Makefile.am: Removed dependencies on all-recursive and added "."
7412 to the SUBDIRS list to prevent infinite recursion from occurring.
7413 Also removed any references to EXTRA_DATA.
7414 * libc/Makefile.am: Ditto.
7415 * libc/machine/Makefile.am: Ditto.
7416 * libc/machine/i386/Makefile.am: Ditto.
7417 * libm/Makefile.am: Ditto.
7418 * libc/sys/Makefile.am: Ditto.
7419 * Makefile.in: Regenerated.
7420 * aclocal.m4: Ditto.
7421 * configure: Ditto.
7422 * doc/Makefile.in: Ditto.
7423 * doc/aclocal.m4: Ditto.
7424 * doc/configure: Ditto.
7425 * libc/Makefile.in: Ditto.
7426 * libc/aclocal.m4: Ditto.
7427 * libc/configure: Ditto.
7428 * libc/machine/Makefile.in: Ditto.
7429 * libc/machine/aclocal.m4: Ditto.
7430 * libc/machine/configure: Ditto.
7431 * libc/machine/mn10300/Makefile.in: Ditto.
7432 * libc/machine/mn10300/aclocal.m4: Ditto.
7433 * libc/machine/mn10300/configure: Ditto.
7434 * libc/sys/Makefile.in: Ditto.
7435 * libc/sys/aclocal.m4: Ditto.
7436 * libc/sys/configure: Ditto.
7437 * libm/Makefile.in: Ditto.
7438 * libm/aclocal.m4: Ditto.
7439 * libm/configure: Ditto.
7440
7441Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7442
7443 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
7444
7445Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7446
7447 * libc/include/stdlib.h: Add reentrant routines.
7448 * libc/stdlib/Makefile.am: Add reentrant routines.
7449 * libc/stdlib/Makefile.in: Ditto.
7450 * libc/stdlib/envlock.c: New file.
7451 * libc/stdlib/envlock.h: New file.
7452 * libc/stdlib/getenv.c: Modify to call reentrant routine.
7453 * libc/stdlib/getenv_r.c: New file.
7454 * libc/stdlib/mblen.c: Modify to call reentrant routine.
7455 * libc/stdlib/mblen_r.c: New file.
7456 * libc/stdlib/setenv.c: Modify to call reentrant routine.
7457 * libc/stdlib/setenv_r.c: New file.
7458 * libc/stdlib/stdlib.tex: Add reentrant routines.
7459
7460Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
7461
7462 * libc/include/sys/types.h: Define __MS_types__ whenever
7463 cygwin or win32.
7464
7465Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
7466
7467 * libc/include/machine/ieeefp.h: Always default to little
7468 endian if Windows, regardless of architecture.
7469 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
7470 regardless of architecture.
7471
7472Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
7473
7474 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
7475 _WIN32 isn't defined.
7476
7477Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
7478
7479 * libm/common/s_rint.c (rint): Add volatile qualifier for
7480 intermediate value w.
7481 * libm/common/sf_rint.c (rintf): Ditto.
7482
7483Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7484
7485 * libc/sys/arm/syscalls.c (remap_handle): Added check to
7486 ensure that std streams are initialized before being referenced.
7487
74881999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
7489
7490 * README: Update reference to newlib@cygnus.com new
7491 newlib@sourceware.cygnus.com address.
7492
7493Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
7494
7495 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
7496 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
7497 defined, even if _WIN32 isn't defined.
7498
7499Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
7500
7501 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
7502
7503Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7504
7505 * libc/include/sys/reent.h: Change Long and ULong to __Long and
7506 __ULong.
7507 * libc/stdlib/dtoa.c: Ditto.
7508 * libc/stdlib/mprec.c: Ditto.
7509 * libc/stdlib/mprec.h: Ditto.
7510 * libc/stdlib/strtod.c: Ditto.
7511
75121999-04-21 Nick Clifton <nickc@cygnus.com>
7513
7514 * configure.host (mcore): Remove mcore machine directory.
7515
75161999-04-18 Nick Clifton <nickc@cygnus.com>
7517
7518 * libc/include/machine/ieeefp.h: Add support for mcore target.
7519 * libc/include/machine/setjmp.h: Add support for mcore target.
7520 * configure.host: Add support for mcore target.
7521
75221999-04-13 Mark Salter <msalter@cygnus.com>
7523
7524 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
7525 * libc/sys/arm/syscalls.c: Added isatty.
7526
7527Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7528
7529 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
7530 insert zeroes after significant digits.
7531
7532Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7533
7534 * libc/stdio/vfprintf.c (cvt): Changed floating point
7535 cvt routine to use union used by dtoa to properly determine
7536 if the sign bit is on or not.
7537 * libc/stdio/vfieeefp.h: New file
7538
7539Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7540
7541 * aclocal.m4: Regenerated.
7542 * configure: Regenerated.
7543
7544Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
7545
7546 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
7547 f_tanf reference.
7548 * libc/machine/i386/Makefile.in: Regenerated.
7549
7550Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
7551
7552 * acinclude.m4: Changed to work with new automake.
7553 * configure: Regenerated.
7554 * libc/machine/i386/aclocal.m4: Regenerated.
7555 * libc/machine/i386/configure: Regenerated.
7556
7557Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
7558
7559 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
7560 for telldir() and seekdir(). Rename unused structure element
7561 for use with these two routines.
7562
7563Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
7564
7565 * libc/time/mktime.c (validate_structure): Multiple fixes to
7566 code to handle cases where input fields are outside valid ranges.
7567 * libc/stdlib/div.c (div): Modified invalid rounding check.
7568 * libc/stdlib/ldiv.c (ldiv): Ditto.
7569
7570Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
7571
7572 * libc/machine/i386/memcpy.S: Performance rewrite.
7573 * libc/machine/i386/memmove.S: Ditto.
7574 * libc/machine/i386/i386mach.h: Added more register definitions.
7575 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
7576 option used.
7577 * libc/include/machine/fastmath.h: Add definitions for x86
7578 fast-math routines.
7579
7580Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7581
7582 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
7583
7584Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
7585
7586 Adjust newlib headers for new Cygwin Win32 API header files:
7587 * libc/include/sys/time.h: Check _WINSOCK_H rather than
7588 _GNU_H_WINDOWS32_SOCKETS.
7589 * libc/include/sys/types.h: Ditto.
7590
7591Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7592
7593 *include/sys/reent.h: Add checks for size of Bigint element Long.
7594 *libc/dtoa.c: Change routines to use generic Long type.
7595 *libc/mprec.c: Change routines to use generic Long type.
7596 *libc/mprec.h: Change routines to use generic Long type.
7597
7598Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
7599
7600 * libc/Makefile.am: Add .def files.
7601 * libc/Makefile.in: Regenerate.
7602 * libc/e_acosh.c: Documentation update.
7603 * libc/e_atanh.c: Documentation update.
7604 * libc/e_hypot.c: Documentation update.
7605 * libc/e_remainder.c: Documentation update.
7606 * libc/er_lgamma.c: Documentation update.
7607 * libc/mathfp.tex: Documentation update.
7608 * libc/s_acos.c: Documentation update.
7609 * libc/s_atan.c: Documentation update.
7610 * libc/s_atan2.c: Documentation update.
7611 * libc/s_cosh.c: Documentation update.
7612 * libc/s_fmod.c: Documentation update.
7613 * libc/s_isnan.c: Documentation update.
7614 * libc/s_log10.c: Documentation update.
7615 * libc/s_pow.c: Documentation update.
7616 * libc/w_jn.c: Documentation update.
7617
7618Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
7619
7620 * aclocal.m4: Regenerate.
7621 * configure: Regenerate.
7622
7623Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
7624
7625 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
7626 to return 1 if user specified return code is 0.
7627 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
7628
7629Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
7630
7631 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
7632 to save the return address. Fixed longjmp to return to the original
7633 calling address of setjmp and to return the user specified return code
7634 rather than default to 1.
7635 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
7636
7637Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
7638
7639 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
7640
76411999-02-10 Nick Clifton <nickc@cygnus.com>
7642
7643 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
7644 volatile so that its assignments will not be discarded.
7645
7646Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
7647
7648 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
7649 be __STRICT_ANSI__ which is generated by compiler.
7650 * libc/include/ctype.h: Ditto.
7651 * libc/include/math.h: Ditto.
7652 * libc/include/stdio.h: Ditto.
7653 * libc/include/stdlib.h: Ditto.
7654 * libc/include/string.h: Ditto.
7655 * libc/include/sys/signal.h: Ditto.
7656
76571999-02-08 Nick Clifton <nickc@cygnus.com>
7658
7659 * configure.host: Add support for StrongARM target.
7660
7661Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
7662
7663 * libc/string/strncpy.c (strncpy): Removed redundant code
7664 that was copying bytes if data unaligned.
7665
76661999-02-02 Brendan Kehoe <brendan@cygnus.com>
7667
7668 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
7669 mbstowcs.def, and wcstombs.def.
7670
7671Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
7672
7673 * libc/include/sys/errno.h: Add Cygwin errno.
7674 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
7675 is specified.
7676
76771999-01-29 Nick Clifton <nickc@cygnus.com>
7678
7679 * libc/sys/arm/syscalls.c: Move C library functions into seperate
7680 file.
7681
7682 * libc/sys/arm/libcfunc.c: New file containing C library functions
7683 from syscalls.c
7684
7685 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
7686 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
7687
7688
76891999-01-27 Michael Meissner <meissner@cygnus.com>
7690
7691 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
7692 type, and cut size in half so that the jmp_buf array is guaranteed
7693 to be aligned on a 64-bit boundary.
7694
7695Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
7696
7697 * libc/string/strings.tex: Added information about
7698 strcasecmp and strncasecmp.
7699 * libc/stdlib/stdlib.tex: Added missing information
7700 about mblen, mbstowcs, and wcstombs.
7701 * libc/string/strchr.c: Changed how mask is built to use
7702 shift operators so register will be used instead of storage.
7703
77041999-01-22 DJ Delorie <dj@cygnus.com>
7705
7706 * libc/include/stdlib.h: don't use dllimport if we're building
7707 newlib, since it's inside cygwin.dll
7708
7709Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
7710
7711 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
7712 _ctype_ under cygwin.
7713
7714Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
7715
7716 * include/stdlib.h: Fix typo from previous checkin.
7717
7718Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
7719
7720 * include/ctype.h: Use __declspec(dllimport) method for exporting
7721 variable from cygwin DLL.
7722 * include/time.h: Ditto.
7723 * sys/errno.h: Ditto.
7724 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
7725 * libc/locale/locale.c: Use __declspec(dllexport) method for
7726 exporting variable from cygwin DLL.
7727
7728Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
7729
7730 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
7731 access of bogus pointer will result in SIGSEGV.
7732
77331999-01-07 Nick Clifton <nickc@cygnus.com>
7734
7735 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
7736 of an underscore prefix to function names.
7737
7738Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
7739
7740 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
7741 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
7742
77431998-12-31 Michael Meissner <meissner@cygnus.com>
7744
7745 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
7746 to `%' if not already defined.
7747
77481998-12-30 Michael Meissner <meissner@cygnus.com>
7749
7750 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
7751 arguments const char *, not char *.
7752 * libc/include/stdio.h (_tempnam_r): Ditto.
7753
7754 * libc/include/sys/reent.h (struct _reent): The _sig_func type
7755 points to a function taking an integer, not void.
7756
7757Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
7758
7759 * configure.host: Add a define for Cygwin builds.
7760 * libc/include/ctype.h: Don't use dll imported variables in newlib.
7761
7762Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
7763
7764 * libc/include/ctype.h: Define _ctype_ as dll imported variable
7765 for use with Cygwin.
7766 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
7767 dll imported variables for use with Cygwin.
7768 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
7769 as a dll imported variable for Cygwin.
7770
7771Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
7772
7773 * libc/include/sys/unistd.h: Add proto for getpass.
7774
7775Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
7776
7777 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
7778 alphasort.
7779
7780Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
7781
7782 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
7783 not posix_path_list_p.
7784
77851998-12-15 Nick Clifton <nickc@cygnus.com>
7786
7787 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
7788 a signed int.
7789
77901998-12-13 Nick Clifton <nickc@cygnus.com>
7791
7792 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
7793
77941998-12-12 Nick Clifton <nickc@cygnus.com>
7795
7796 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
7797 <msalter@cygnus.com>
7798 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
7799 * libc/machine/fr30/Makefile.in: Regenerated.
7800
78011998-12-11 Nick Clifton <nickc@cygnus.com>
7802
7803 * configure.host: Remove use of libc/sys for FR30 port.
7804 * libc/sys/fr30: Remove directory (replaced by libgloss).
7805
78061998-12-10 Ken Raeburn <raeburn@cygnus.com>
7807
7808 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
7809 * libc/string/strncat.c (ALIGNED): Ditto.
7810
7811Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
7812
7813 * libc/include/sys/time.h: include sys/types.h
7814
7815Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
7816
7817 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
7818 comparison found when checking word at a time.
7819
78201998-12-04 Nick Clifton <nickc@cygnus.com>
7821
7822 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
7823
78241998-12-03 Nick Clifton <nickc@cygnus.com>
7825
7826 * libc/sys/fr30/syscalls.c (_times): New function stub.
7827
7828Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
7829
7830 * configure.host (mach_add_setjmp): Replaced mach_add_objs
7831 with mach_add_setjmp flag which indicates if setjmp should
7832 be added to the machine directory objects.
7833 * acinclude.m4: Removed reference to mach_add_objs.
7834 * aclocal.m4: Regenerated.
7835 * Makefile.in: Regenerated.
7836 * configure: Regenerated.
7837 * libc/aclocal.m4: Regenerated.
7838 * libc/Makefile.in: Regenerated.
7839 * libc/configure: Regenerated.
7840 * libc/machine/aclocal.m4: Regenerated.
7841 * libc/machine/Makefile.in: Regenerated.
7842 * libc/machine/configure: Regenerated.
7843 * libc/machine/i386/aclocal.m4: Regenerated.
7844 * libc/machine/i386/Makefile.am: Altered to selectively add
7845 setjmp.S to the src files list.
7846 * libc/machine/i386/Makefile.in: Regenerated.
7847 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
7848 * libc/machine/i386/configure: Regenerated.
7849
78501998-12-02 Nick Clifton <nickc@cygnus.com>
7851
7852 * libc/sys/fr30/crt0.s (_start): Fix function names.
7853
7854 * libc/machine/fr30: New directory
7855 * libc/machine/fr30/Makefile.am: New file.
7856 * libc/machine/fr30/Makefile.in: New generated file.
7857 * libc/machine/fr30/configure.in: New file.
7858 * libc/machine/fr30/configure: New generated file.
7859 * libc/machine/fr30/aclocal.m4: New generated file.
7860 * libc/sys/fr30/Makefile.am: New file.
7861 * libc/sys/fr30/Makefile.in: New generated file.
7862 * libc/sys/fr30/configure.in: New file.
7863 * libc/sys/fr30/configure: New generated file.
7864 * libc/sys/fr30/syscalls.c: New file.
7865
7866Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
7867
7868 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
7869
78701998-12-01 Ken Raeburn <raeburn@cygnus.com>
7871
7872 * libc/time/strftime.c (strftime): Also handle %y for years before
7873 1900.
7874
7875Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
7876
7877 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
7878 UNIX convention. Perform tolower on characters before comparing
7879 them rather than use toupper.
7880 * libc/string/strncasecmp.c (strncasecmp): Ditto.
7881
7882Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
7883
7884 * configure.host: Added using i386 machine directory
7885 for all x86 cross-compiler and configuring
7886 which added object files to use via new "mach_add_objs" variable.
7887 * configure: Regenerated.
7888 * libc/configure: Regenerated.
7889 * libc/Makefile.in: Regenerated.
7890 * libc/aclocal.m4: Regenerated.
7891 * libc/ctype/Makefile.in: Regenerated.
7892 * libc/errno/Makefile.in: Regenerated.
7893 * libc/locale/Makefile.in: Regenerated.
7894 * libc/machine/Makefile.in: Regenerated.
7895 * libc/machine/aclocal.m4: Regenerated.
7896 * libc/machine/configure: Regenerated.
7897 * libc/posix/Makefile.in: Regenerated.
7898 * libc/reent/Makefile.in: Regenerated.
7899 * libc/signal/Makefile.in: Regenerated.
7900 * libc/stdio/Makefile.in: Regenerated.
7901 * libc/stdlib/Makefile.in: Regenerated.
7902 * libc/string/Makefile.in: Regenerated.
7903 * libc/string/memmove.c: Optimized code to use memcpy
7904 logic when performing a non-destructive copy.
7905 * libc/string/strncmp.c: Altered code to allow building
7906 optimized for size or speed.
7907 * libc/syscalls/Makefile.in: Regenerated.
7908 * libc/time/Makefile.in: Regenerated.
7909 * libc/unix/Makefile.in: Regenerated.
7910 * libc/machine/i386/Makefile.am: Added new files and reference
7911 to "mach_add_objs" to indicate optional object files.
7912 * libc/machine/i386/Makefile.in: Regenerated.
7913 * libc/machine/i386/aclocal.m4: Regenerated.
7914 * libc/machine/i386/configure: Regenerated.
7915 * libc/machine/i386/memchr.S: New file that implements
7916 function in Intel assembler.
7917 * libc/machine/i386/memcmp.S: ditto.
7918 * libc/machine/i386/memcpy.S: ditto.
7919 * libc/machine/i386/memmove.S: ditto.
7920 * libc/machine/i386/memset.S: ditto.
7921 * libc/machine/i386/strchr.S: ditto.
7922 * libc/machine/i386/strlen.S: ditto.
7923 * libc/machine/i386/f_atan2.S: New file that implements
7924 fast version of math function to be used by compiler when
7925 --ffast_math compile option is used.
7926 * libc/machine/i386/f_atan2f.S: ditto.
7927 * libc/machine/i386/f_exp.c: ditto.
7928 * libc/machine/i386/f_expf.c: ditto.
7929 * libc/machine/i386/f_frexp.S: ditto.
7930 * libc/machine/i386/f_frexpf.S: ditto.
7931 * libc/machine/i386/f_ldexp.S: ditto.
7932 * libc/machine/i386/f_ldexpf.S: ditto.
7933 * libc/machine/i386/f_log.S: ditto.
7934 * libc/machine/i386/f_logf.S: ditto.
7935 * libc/machine/i386/f_log10.S: ditto.
7936 * libc/machine/i386/f_log10f.S: ditto.
7937 * libc/machine/i386/f_math.h: New file.
7938 * libc/machine/i386/f_pow.c: ditto.
7939 * libc/machine/i386/f_powf.S: ditto.
7940 * libc/machine/i386/f_tan.S: ditto.
7941 * libc/machine/i386/f_tan.S: ditto.
7942 * libc/machine/i386/i386mach.h: New file.
7943
7944Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
7945
7946 patch from Mumit Khan <khan@xraylith.wisc.edu>
7947 * libc/include/stdio.h (tempnam): Add prototype.
7948 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
7949 (tempnam): Adhere to prototype.
7950
7951Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
7952
7953 * Makefile.am: Add default for AR_FLAGS.
7954 * Makefile.in: Regenerate.
7955
7956Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
7957
7958 * libc/include/time.h: move __cplusplus wrapper after includes
7959 * libc/include/sys/time.h: ditto. If Cygwin, include
7960 sys/select.h.
7961 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
7962
79631998-11-23 Ken Raeburn <raeburn@cygnus.com>
7964
7965 * libc/time/strftime.c (strftime): Handle %y after year 2000.
7966
7967Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
7968
7969 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
7970 abnormnal end-of-crt0 marker.
7971
7972Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
7973
7974 * libc/sys/fr30/crt0.s: New file/directory.
7975 * libc/include/machine/setjmp.h: Add FR30 target.
7976 * libc/include/machine/ieeefp.h: Add FR30 target.
7977 * configure.host: Add FR30 target.
7978
7979Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
7980
7981 * libm/math: Files that are duplicated in common directory removed.
7982 * libm/math/fdlibm.h: Removed.
7983 * libm/math/s_cbrt.c: Removed.
7984 * libm/math/s_copysign.c: Removed.
7985 * libm/math/s_expm1.c: Removed.
7986 * libm/math/s_finite.c: Removed.
7987 * libm/math/s_ilogb.c: Removed.
7988 * libm/math/s_infinity.c: Removed.
7989 * libm/math/s_lib_ver.c: Removed.
7990 * libm/math/s_log1p.c: Removed.
7991 * libm/math/s_logb.c: Removed.
7992 * libm/math/s_matherr.c: Removed.
7993 * libm/math/s_modf.c: Removed.
7994 * libm/math/s_nan.c: Removed.
7995 * libm/math/s_nextafter.c: Removed.
7996 * libm/math/s_rint.c: Removed.
7997 * libm/math/s_scalbn.c: Removed.
7998 * libm/math/sf_cbrt.c: Removed.
7999 * libm/math/sf_copysign.c: Removed.
8000 * libm/math/sf_expm1.c: Removed.
8001 * libm/math/sf_finite.c: Removed.
8002 * libm/math/sf_ilogb.c: Removed.
8003 * libm/math/sf_infinity.c: Removed.
8004 * libm/math/sf_log1p.c: Removed.
8005 * libm/math/sf_logb.c: Removed.
8006 * libm/math/sf_modf.c: Removed.
8007 * libm/math/sf_nan.c: Removed.
8008 * libm/math/sf_nextafter.c: Removed.
8009 * libm/math/sf_rint.c: Removed.
8010 * libm/math/sf_scalbn.c: Removed.
8011 * libm/math/Makefile.am: Removed references to deleted files (above).
8012 * libm/math/Makefile.in: Regenerated.
8013 * libm/Makefile.am: Added common directory to math.
8014 * libm/Makefile.in: Regenerated.
8015
8016Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8017
8018 * libm/mathfp: Add non-ANSI functions.
8019 * libm/mathfp/e_acosh.c acosh(): New file.
8020 * libm/mathfp/e_atanh.c atanh(): New file.
8021 * libm/mathfp/e_hypot.c hypot(): New file.
8022 * libm/mathfp/e_j0.c j0(): New file.
8023 * libm/mathfp/e_j1.c j1(): New file.
8024 * libm/mathfp/e_remainder.c remainder(): New file.
8025 * libm/mathfp/e_scalb.c scalb(): New file.
8026 * libm/mathfp/ef_acosh.c acoshf(): New file.
8027 * libm/mathfp/ef_atanh.c atanhf(): New file.
8028 * libm/mathfp/ef_hypot.c hypotf(): New file.
8029 * libm/mathfp/ef_j0.c j0f(): New file.
8030 * libm/mathfp/ef_j1.c j1f(): New file.
8031 * libm/mathfp/ef_remainder.c remainderf(): New file.
8032 * libm/mathfp/ef_scalb.c scalbf(): New file.
8033 * libm/mathfp/er_gamma.c gamma_r: New file.
8034 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
8035 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
8036 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
8037 * libm/mathfp/w_cabs.c cabs(): New file.
8038 * libm/mathfp/w_drem.c drem(): New file.
8039 * libm/mathfp/w_jn.c jn(): New file.
8040 * libm/mathfp/wf_cabs.c cabsf(): New file.
8041 * libm/mathfp/wf_drem.c dremf(): New file.
8042 * libm/mathfp/wf_jn.c jnf(): New file.
8043
8044Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
8045
8046 * libc/sys/cygwin32: remove directory and contents
8047 * libc/sys/cygwin: and add back, losing the "32".
8048 * configure.host: check for cygwin* instead of cygwin32.
8049 * acinclude.m4: ditto.
8050 * aclocal.m4: regenerate with aclocal
8051 * configure: regenerate with autoconf
8052
8053Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
8054
8055 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
8056 for length
8057
8058Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8059
8060 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
8061 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
8062 to make rand/srand, strtok, asctime, localtime, w_gamma,
8063 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
8064 time.h to bring in struct tm definition.
8065 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
8066 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
8067 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
8068 instead of static variable.
8069 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
8070 struct reent instead of static variable.
8071 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
8072 struct reent instead of static variable.
8073 * libm/math/Makefile.am: Removed s_signgam.o.
8074 * libm/math/Makefile.in: Regenerated.
8075 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
8076 struct reent instead of global variable 'signgam'.
8077 * libm/math/w_lgamma.c (lgamma): Likewise.
8078 * libm/math/wf_gamma.c (gammaf): Likewise.
8079 * libm/math/wf_lgamma.c (lgammaf): Likewise.
8080 * libm/math/s_signgam.c: Removed.
8081 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
8082 to be const.
8083 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
8084 to be const.
8085 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
8086 libc/include/reent.h.
8087 * libc/reent/Makefile.in: Regenerated.
8088 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
8089 to be const.
8090 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
8091 'JIS_action_table' to be const.
8092 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
8093
8094Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
8095
8096 * acinclude.m4: $with_target_subdir should default to '.'
8097 or confusion results when configuring in same directory as sources.
8098 * Regenerate all aclocal.m4 and configure files.
8099
8100Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
8101
8102 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
8103 can be set by defining MALLOC_ALIGNMENT=16. Also added support
8104 for platforms where sizeof(size_t) < sizeof(long) via
8105 SIZE_T_SMALLER_THAN_LONG macro.
8106
8107Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
8108
8109 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
8110 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
8111 which sets _CLOCKS_PER_SEC_ for selected machines.
8112 * libc/include/machine/time.h: New file.
8113
8114Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8115
8116 * libc/syscalls/sysexecve.c: New file.
8117 * libc/syscalls/sysgettod.c: New file.
8118 * libc/syscalls/systimes.c: New file.
8119 * libc/syscalls/Makefile.am: Added new objects.
8120 * libc/syscalls/Makefile.in: Regenerated.
8121 * libc/include/_syslist.h (_execve): Moved define in file.
8122 * libc/include/reent.h: Added _execve_r declaration.
8123 * libc/Makefile.in: Regenerated.
8124 * libc/ctype/Makefile.in: Regenerated.
8125 * libc/errno/Makefile.in: Regenerated.
8126 * libc/locale/Makefile.in: Regenerated.
8127 * libc/machine/Makefile.in: Regenerated.
8128 * libc/misc/Makefile.in: Regenerated.
8129 * libc/posix/Makefile.in: Regenerated.
8130 * libc/reent/Makefile.in: Regenerated.
8131 * libc/reent/execr.c (_execve_r): Added _execve_r function.
8132 * libc/signal/Makefile.in: Regenerated.
8133 * libc/stdio/Makefile.in: Regenerated.
8134 * libc/time/Makefile.in: Regenerated.
8135 * libc/unix/Makefile.in: Regenerated.
8136 * libm/mathfp/Makefile.in: Regenerated.
8137
8138Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8139
8140 * libc/string/Makefile.in: Regenerated.
8141 * libc/string/memchr.c (memchr): Moved code to reduce object size.
8142 * libc/string/memcpy.c (memcpy): Ditto.
8143 * libc/string/memcmp.c (memcmp): Ditto.
8144 * libc/string/memset.c (memset): Ditto.
8145 * libc/string/strchr.c (strchr): Ditto.
8146 * libc/string/strcmp.c (strcmp): Ditto.
8147 * libc/string/strcpy.c (strcpy): Ditto.
8148 * libc/string/strlen.c (strlen): Ditto.
8149
8150Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8151
8152 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
8153 to generate aclocal.m4.
8154 * libm/Makefile.in: Regenerated.
8155 * libm/aclocal.m4: Regenerated.
8156 * libm/configure: Regenerated.
8157 * libm/math/Makefile.in: Regenerated.
8158 * libm/mathfp/Makefile.in: Regenerated.
8159
81601998-09-25 Mark Salter <msalter@cygnus.com>
8161
8162 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
8163 by adding leading and trailing underscores to symbol names.
8164
8165Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
8166
8167 * Makefile.in: Add default for AR_FLAGS.
8168
8169Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
8170
8171 patch from ian@airs.com (Ian Taylor):
8172 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
8173 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
8174 is needed for detecting the build machine. Required for
8175 cygwin native builds.
8176
8177 * Regenerate all aclocal.m4 and configure files.
8178
8179Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
8180
8181 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
8182 used to start with LC.
8183
8184Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8185
8186 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
8187 (longjmp): Likewise.
8188
8189Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8190
8191 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
8192 the test for small number of bytes.
8193
8194Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8195
8196 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
8197 math library that uses floating point algorithms instead of the old
8198 libm.
8199 * Makefile.in: Regenerate with automake version 1.3b.
8200 * configure: Rebuild.
8201 * libm/Makefile.in: Regenerate with automake version 1.3b.
8202 * libm/aclocal.m4: Regenerate.
8203 * libm/configure: Rebuild.
8204 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
8205 * libm/acinclude.m4: Define macros for configure.in.
8206 * libm/config.h.in: Generate.
8207 * libm/mathfp/Makefile.am: New file.
8208 * libm/mathfp/Makefile.in: Generate.
8209 * libm/mathfp/s_acos.c (acos): New file.
8210 * libm/mathfp/s_asin.c (asin): New file.
8211 * libm/mathfp/s_asine.c (asine): New file.
8212 * libm/mathfp/s_atan.c (atan): New file.
8213 * libm/mathfp/s_atan2.c (atan2): New file.
8214 * libm/mathfp/s_atangent.c (atangent): New file.
8215 * libm/mathfp/s_ceil.c (ceil): New file.
8216 * libm/mathfp/s_copysign.c (copysign): New file.
8217 * libm/mathfp/s_cos.c (cos): New file.
8218 * libm/mathfp/s_cosh.c (cosh): New file.
8219 * libm/mathfp/s_exp.c (exp): New file.
8220 * libm/mathfp/s_fabs.c (fabs): New file.
8221 * libm/mathfp/s_finite.c (finite): New file.
8222 * libm/mathfp/s_floor.c (floor): New file.
8223 * libm/mathfp/s_fmod.c (fmod): New file.
8224 * libm/mathfp/s_frexp.c (frexp): New file.
8225 * libm/mathfp/s_infconst.c: New file.
8226 * libm/mathfp/s_isinf (isinf).c: New file.
8227 * libm/mathfp/s_isnan.c (isnan): New file.
8228 * libm/mathfp/s_ispos.c (ispos): New file.
8229 * libm/mathfp/s_ldexp.c (ldexp): New file.
8230 * libm/mathfp/s_log.c (log): New file.
8231 * libm/mathfp/s_log10.c (log10): New file.
8232 * libm/mathfp/s_logarithm.c (logarithm): New file.
8233 * libm/mathfp/s_mathcnst.c: New file.
8234 * libm/mathfp/s_modf (modf).c: New file.
8235 * libm/mathfp/s_numtest.c (numtest): New file.
8236 * libm/mathfp/s_pow.c (pow): New file.
8237 * libm/mathfp/s_scalbn.c (scalbn): New file.
8238 * libm/mathfp/s_sin (sin).c: New file.
8239 * libm/mathfp/s_sine.c (sine): New file.
8240 * libm/mathfp/s_sineh.c (sineh): New file.
8241 * libm/mathfp/s_sinf.c (sinf): New file.
8242 * libm/mathfp/s_sinh.c (sinh): New file.
8243 * libm/mathfp/s_sqrt.c (sqrt): New file.
8244 * libm/mathfp/s_tan.c (tan): New file.
8245 * libm/mathfp/s_tanh.c (tanh): New file.
8246 * libm/mathfp/sf_acos.c (acosf): New file.
8247 * libm/mathfp/sf_asin.c (asinf): New file.
8248 * libm/mathfp/sf_asine.c (asinef): New file.
8249 * libm/mathfp/sf_atan.c (atanf): New file.
8250 * libm/mathfp/sf_atan2.c (atan2f): New file.
8251 * libm/mathfp/sf_atangent.c (atangent): New file.
8252 * libm/mathfp/sf_ceil.c (ceilf): New file.
8253 * libm/mathfp/sf_copysign.c (copysignf): New file.
8254 * libm/mathfp/sf_cos.c (cosf): New file.
8255 * libm/mathfp/sf_cosh.c (coshf): New file.
8256 * libm/mathfp/sf_exp.c (expf): New file.
8257 * libm/mathfp/sf_fabs.c (fabsf): New file.
8258 * libm/mathfp/sf_finite.c (finitef): New file.
8259 * libm/mathfp/sf_floor.c (floorf): New file.
8260 * libm/mathfp/sf_fmod.c (fmodf): New file.
8261 * libm/mathfp/sf_frexp.c (frexpf): New file.
8262 * libm/mathfp/sf_isinf.c (isinff): New file.
8263 * libm/mathfp/sf_isnan.c (isnanf): New file.
8264 * libm/mathfp/sf_ispos.c (isposf): New file.
8265 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
8266 * libm/mathfp/sf_log.c (logf): New file.
8267 * libm/mathfp/sf_log10.c (log10f): New file.
8268 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
8269 * libm/mathfp/sf_modf.c (modff): New file.
8270 * libm/mathfp/sf_numtest.c (numtestf): New file.
8271 * libm/mathfp/sf_pow.c (powf): New file.
8272 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
8273 * libm/mathfp/sf_sin.c (sinf): New file.
8274 * libm/mathfp/sf_sine.c (sinef): New file.
8275 * libm/mathfp/sf_sineh.c (sinehf): New file.
8276 * libm/mathfp/sf_sinh.c (sinhf): New file.
8277 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
8278 * libm/mathfp/sf_tan.c (tanf): New file.
8279 * libm/mathfp/sf_tanh.c (tanhf): New file.
8280 * libm/mathfp/zmath.h: New file.
8281
8282Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8283
8284 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
8285 exit if it has been overwritten by pre-fetching in delay slot.
8286
82871998-09-01 Michael Meissner <meissner@cygnus.com>
8288
8289 * Makefile.am (tooldir): Add in host_alias, so that multilib
8290 libraries are installed in the directory the compiler looks in.
8291 * Makefile.in: Regenerate.
8292
8293 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
8294
8295Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
8296
8297 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
8298 ahead of test for number of bytes being moved.
8299
8300Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
8301
8302 * libc/include/sys/unistd.h: Nothing special needed for
8303 _exit under cygwin.
8304
8305Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
8306
8307 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
8308 conform to user label naming conventions.
8309
8310Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
8311
8312 * libc/sys/cygwin32/sys/utime.h: variable names in
8313 protos should start with two leading underscores
8314 * libc/include/string.h: ditto
8315 * libc/include/sys/signal.h: ditto
8316 * libc/include/sys/stat.h: ditto
8317 * libc/include/sys/time.h: ditto
8318 * libc/include/sys/unistd.h: ditto
8319 * libc/include/ctype.h: ditto
8320 * libc/include/stdlib.h: ditto
8321 * libc/include/sys/reent.h: struct _atexit function ptr takes a
8322 void, same with _sig_func.
8323
8324Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
8325
8326 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
8327 for MB_CAPABLE to reduce code size when newlib is not configured
8328 with --enable-newlib-mb.
8329 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
8330 mbtowc_r.o to minimize size.
8331 * libc/stdlib/Makefile.in: Rebuild.
8332
8333Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
8334
8335 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
8336 to -DREENT.
8337 * libc/sys/sparc64/Makefile.in: Rebuild.
8338
8339Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
8340
8341 * Makefile.am (MAKEOVERRIDES): Define.
8342 * Makefile.in: Rebuild.
8343
8344Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
8345
8346 * libc/sys/sparc64/sys/stat.h (stat): Add const.
8347
8348Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
8349
8350 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
8351 newlib_cflags when looking for targ-include.
8352 * */aclocal.m4, */configure: Rebuild.
8353
8354Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
8355
8356 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
8357 to "_end".
8358
8359Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
8360
8361 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
8362 on SPARCs with little-endian data.
8363 * libc/include/machine/ieeefp.h: Ditto.
8364
8365Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
8366
8367 * acinclude.m4: Handle a relative srcdir correctly when setting
8368 newlib_cflags.
8369 * */aclocal.m4, */configure: Rebuild.
8370
8371Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
8372
8373 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
8374 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
8375 * libm/math/wrf_gamma.c (gammaf_r): ditto
8376 * libm/math/wr_lgamma.c (lgamma_r): ditto
8377 * libm/math/wr_gamma.c (gamma_r): ditto
8378 * libm/math/wf_sqrt.c (sqrtf): ditto
8379 * libm/math/wf_sinh.c (sinhf): ditto
8380 * libm/math/wf_scalb.c (scalbf): ditto
8381 * libm/math/wf_remainder.c (remainderf): ditto
8382 * libm/math/wf_pow.c (powf): ditto
8383 * libm/math/wf_log10.c (log10f): ditto
8384 * libm/math/wf_log.c (logf): ditto
8385 * libm/math/wf_lgamma.c (lgammaf): ditto
8386 * libm/math/wf_jn.c (jnf, ynf): ditto
8387 * libm/math/wf_j1.c (j1f, y1f): ditto
8388 * libm/math/wf_j0.c (j0f, y0f): ditto
8389 * libm/math/wf_hypot.c (hypotf): ditto
8390 * libm/math/wf_gamma.c (gammaf): ditto
8391 * libm/math/wf_fmod.c (fmodf): ditto
8392 * libm/math/wf_exp.c (expf): ditto
8393 * libm/math/wf_cosh.c (coshf): ditto
8394 * libm/math/wf_atanh.c (atanhf): ditto
8395 * libm/math/wf_atan2f.c (atan2f): ditto
8396 * libm/math/wf_asin.c (asinf): ditto
8397 * libm/math/wf_acosh.c (acoshf): ditto
8398 * libm/math/wf_acos.c (acosf): ditto
8399 * libm/math/w_sqrt.c (sqrt): ditto
8400 * libm/math/w_sinh.c (sinh): ditto
8401 * libm/math/w_scalb.c (scalb): ditto
8402 * libm/math/w_remainder.c (remainder): ditto
8403 * libm/math/w_pow.c (pow): ditto
8404 * libm/math/w_log10.c (log10): ditto
8405 * libm/math/w_log.c (log): ditto
8406 * libm/math/w_lgamma.c (lgamma): ditto
8407 * libm/math/w_jn.c (jn, yn): ditto
8408 * libm/math/w_j1.c (j1, y1): ditto
8409 * libm/math/w_j0.c (j0, y0): ditto
8410 * libm/math/w_hypot.c (hypot): ditto
8411 * libm/math/w_gamma.c (gamma): ditto
8412 * libm/math/w_fmod.c (fmod): ditto
8413 * libm/math/w_exp.c (exp): ditto
8414 * libm/math/w_cosh.c (cosh): ditto
8415 * libm/math/w_atanh.c (atanh): ditto
8416 * libm/math/w_atan2f.c (atan2): ditto
8417 * libm/math/w_asin.c (asin): ditto
8418 * libm/math/w_acosh.c (acosh): ditto
8419 * libm/math/w_acos.c (acos): ditto
8420
8421Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
8422
8423 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
8424 (fsrc): Add wf_cabs.c and wf_drem.c.
8425 * libm/math/Makefile.in: Rebuild.
8426
8427 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
8428 unused directory variables. Remove duplicate CFLAGS.
8429 * Makefile.in: Rebuild.
8430
8431 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
8432 with $(CC_FOR_BUILD).
8433 (makedoc.o): Likewise.
8434 * doc/Makefile.in: Rebuild.
8435
8436 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
8437 force a definition of COMPILE.
8438 (libfoo_a_SOURCES): Define.
8439 * libc/sys/cygwin32/Makefile.in: Rebuild.
8440 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
8441 force a definition of COMPILE.
8442 (libfoo_a_SOURCES): Define.
8443 * libc/sys/tic80/Makefile.in: Rebuild.
8444
8445Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
8446
8447 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
8448 flag.
8449
8450Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
8451
8452 * Build using autoconf and automake. Added many Makefile.am and
8453 configure.in files, plus generated files. Old configure.in files
8454 and all old Makefile.in files completely replaced. Removed
8455 host/any. Added acinclude.m4 and configure.host.
8456
8457Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
8458
8459 * libc/stdio/vfprintf.c: enable long long support, sometimes.
8460 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
8461
8462Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8463
8464 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
8465 * libc/machine/sh/Makefile.in: Add rules for new files.
8466
8467Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8468
8469 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
8470 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
8471 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
8472
8473Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
8474
8475 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
8476 code is ignored.
8477
8478Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
8479
8480 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
8481 internal static buffer when s is NULL, as prescribed by ANSI.
8482
84831998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
8484
8485 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
8486 removed.
8487 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
8488 libc/stdlib will be used for h8300hms.
8489
8490Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8491
8492 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
8493 version that can be built either for speed or size.
8494 * libc/machine/mn10300/memset.S (_memset): ditto
8495 * libc/machine/mn10300/memchr.S (_memchr): ditto
8496 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
8497 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
8498 * libc/machine/mn10300/strchr.S (_strchr): ditto
8499 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
8500 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
8501 * libc/machine/mn10300/Makefile.in: Added entries for
8502 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8503 strcmp.o, strcpy.o, and strlen.o.
8504
8505Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
8506
8507 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
8508 been replaced with libgloss/mn10200.
8509
8510Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
8511
8512 * libc/string/strchr.c (strchr): Make s a constant pointer to
8513 avoid warning.
8514
8515Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
8516
8517 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
8518 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
8519 board SWIs instead of Demon board SWIs).
8520
8521Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
8522
8523 * libc/string/strncat.c (strncat): Make -Os act the same as
8524 PREFER_SIZE_OVER_SPEED being defined.
8525
8526Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
8527
8528 * libc/string/memchr.c (memchr): Make -Os act the same as
8529 PREFER_SIZE_OVER_SPEED being defined.
8530 * libc/string/memcmp.c (memcmp): Ditto.
8531 * libc/string/memcpy.c (memcpy): Ditto.
8532 * libc/string/memset.c (memset): Ditto.
8533 * libc/string/strcat.c (strcat): Ditto.
8534 * libc/string/strchr.c (strchr): Ditto.
8535 * libc/string/strcmp.c (strcmp): Ditto.
8536 * libc/string/strcpy.c (strcpy): Ditto.
8537 * libc/string/strlen.c (strlen): Ditto.
8538 * libc/string/strncat.c (strncat): Ditto.
8539 * libc/string/strncmp.c (strncmp): Ditto.
8540 * libc/string/strncpy.c (strncpy): Ditto.
8541
8542Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
8543
8544 * libc/include/sys/itimer.h: remove
8545 * libc/include/sys/time.h: itimer stuff should be here
8546
8547Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
8548
8549 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
8550 bit instead of comparing to 0 so -0.0 can be printed correctly.
8551
8552Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8553
8554 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
8555
8556Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
8557
8558 * libc/include/sys/unistd.h: fix sync() proto
8559 * libc/include/sys/fcntl.h: remove _close which is already
8560 defined in unistd.h.
8561 * libc/include/sys/time.h: add getitimer proto
8562
8563Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
8564
8565 * libc/string/strchr.c: convert arg to unsigned char
8566 * libc/include/stdlib.h: add protos for random, srandom
8567 * libc/include/sys/stat.h: add lstat proto
8568 * libc/include/sys/time.h: add setitimer proto
8569 * libc/include/sys/unistd.h: add readlink, symlink protos
8570 * libc/include/process.h: instead of including windows.h and using
8571 HANDLEs in sexec protos, just use void *s. Need to include
8572 sys/types.h.
8573
8574Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
8575
8576 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
8577
8578Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
8579
8580 * libc/include/process.h: add secure exec protos
8581
8582Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
8583
8584 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
8585 which are accessed as both doubles and integers.
8586 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
8587 * libc/stdlib/strtod.c (_strtod_r): Likewise.
8588 * libc/stdlib/mprec.h: Add "union double_union" and change
8589 word0/word1 macros to use it.
8590
8591Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
8592
8593 * libc/include/sys/signal.h: add __cplusplus wrapper
8594
8595Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
8596
8597 * libc/include/sys/utime.h: new generic file that gets replaced by
8598 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
8599 function.
8600 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
8601 * libc/include/time.h: remove duplicate utime proto
8602 * libc/include/utime.h: add comment
8603
8604Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
8605
8606 * libc/include/sys/time.h: Add missing include to
8607 allow use of _EXFUN. Remove times function that is
8608 already defined in times.h.
8609
8610Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
8611
8612 * libc/include/time.h: Fix typo in tzset.
8613
8614Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
8615
8616 * libc/include/sys/time.h: add missing Cygwin32 function protos
8617 * libc/include/sys/unistd.h: ditto
8618 * libc/include/time.h: ditto
8619
8620Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
8621
8622 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
8623 FIXME.
8624 * libc/include/sys/types.h: add a new __MS_types__ section
8625 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
8626 __BIT_TYPES_DEFINED__.
8627
8628Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
8629
8630 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
8631 since it overrides the one in libc/include/sys. Also, start
8632 including types.h.
8633
8634Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
8635
8636 * libm/math/Makefile.in: add s_signgam.o to obj list
8637
8638Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
8639
8640 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
8641
8642Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
8643
8644 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
8645 so don't use defines.
8646
8647Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
8648
8649 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
8650
8651Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
8652
8653 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
8654 _current_locale as default locale.
8655
8656Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
8657
8658 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
8659 insufficient space in a chunk.
8660
8661Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
8662
8663 * configure.in (links): Added check for --enable-newlib-mb configure
8664 option which defines the MB_CAPABLE macro.
8665 * libc/locale/locale.c (_setlocale_r): Added support for setting
8666 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
8667 defined.
8668 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
8669 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
8670 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
8671 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
8672 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
8673 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8674 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
8675 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
8676 * libc/stdlib/Makefile.in: Added new multibyte
8677 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
8678 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
8679 _mbstowcs_r(), and _wcstombs_r().
8680 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
8681 for JIS, SJIS, and EUC-JP characters.
8682 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
8683 MB_CAPABLE defined.
8684 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
8685 MB_CAPABLE defined.
8686 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
8687 MB_CAPABLE defined.
8688 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
8689 if MB_CAPABLE defined.
8690 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
8691 if MB_CAPABLE defined.
8692 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
8693 to the format string processing when MB_CAPABLE.
8694 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
8695 call _mbtowc_r().
8696
8697Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
8698
8699 The following modifications are courtesy of Anthony Thompson,
8700 athompson@cambridge.arm.com:
8701 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
8702 boith RDI and RDP monitors.
8703 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
8704 RDI and RDP monitors.
8705
8706Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
8707
8708 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
8709 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
8710 (_swiopen): Fixed open flags to treat write with append as just append.
8711 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
8712 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
8713
8714Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8715
8716 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
8717 When needing to transfer an initial 2-byte-word, store as
8718 two single bytes.
8719
8720Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8721
8722 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
8723 __SH3E__ .
8724 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
8725 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
8726
8727Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
8728
8729 * configure.in (target_cflags): If --enable-target-optspace, use
8730 -Os to compile newlib rather than -O2. Default to using -Os for
8731 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
8732 used.
8733
8734Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
8735
8736 * libc/include/machine/setjmp.h: change sigsetjmp and
8737 siglongjmp definitions to use an array instead of a struct
8738 for __CYGWIN32__
8739
8740Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
8741
8742 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
8743
8744Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
8745
8746 * libc/string/strxfrm.c: fix to get correct return value
8747
8748Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
8749
8750 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
8751 builds. Make mode change labels global so that they will be seen
8752 by the debugger.
8753
8754Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
8755
8756 * configure.in (links): Do not use ARM debiugging protocols for PE
8757 builds.
8758
8759 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
8760 message.
8761
8762Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8763
8764 * libc/stdio/findfp.c (__sinit): Made stdout default to
8765 line buffered mode as defined by ANSI.
8766
8767Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
8768
8769 * libc/include/sys/itimer.h: New file.
8770
8771 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
8772
8773Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8774
8775 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
8776 failure.
8777
8778Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
8779
8780 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
8781 insns.
8782
8783Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
8784
8785 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
8786
8787Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
8788
8789 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
8790 support.
8791
8792 * libc/include/machine/setjmp.h: Add D30V support.
8793
8794 * configure.in (d30v-*): Add d30v machine directory.
8795
8796Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
8797
8798 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
8799 been replaced with libgloss/mn10300.
8800
8801Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
8802
8803 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
8804 it is no longer needed.
8805
8806Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
8807
8808 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8809
8810Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
8811
8812 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
8813 the file when O_APPEND is set, wherever the EOF happens to be at
8814 that time.
8815
8816Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
8817
8818 patch from cgf@bbc.com (Christopher Faylor):
8819 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
8820 convention of closing fp prior to attempting to open the file
8821 argument. This allows correct operation when reopening
8822 stdin/stdout/stderr. Replaces last freopen.c patch.
8823
8824Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
8825
8826 patch from cgf@bbc.com (Christopher Faylor):
8827 * libc/stdio/freopen.c: freopen was not preserving the fd
8828 of the stream being operated on. This confuses programs that
8829 expect that the handles for stdout and stderr will be 1 and 2.
8830
8831Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
8832
8833 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
8834
8835Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
8836
8837 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
8838
8839Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
8840
8841 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
8842 altered to not use a branch. Also added hint that last
8843 bclr in longjmp will likely result in branch.
8844
8845
8846Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
8847
8848 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8849
8850Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
8851
8852 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
8853 v850 builds.
8854
8855 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8856
8857Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
8858
8859 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
8860 that loads FR14 to specify offset of 8 rather than 4
8861 so it loads from offset 96 (where setjmp stored it).
8862
8863Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8864
8865 * libc/machine/sh/memcpy.S: (_memcpy): Update to
8866 latest version supplied by customer.
8867 * libc/machine/sh/memset.S (_memset): Ditto.
8868
8869Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
8870
8871 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
8872 PR14730).
8873
8874Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
8875
8876 * libc/include/string.h: remove redefinition of ffs
8877
8878Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
8879
8880 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8881 defined
8882
8883Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
8884
8885 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
8886 TI Libraries to link to libc.a
8887
8888Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
8889
8890 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
8891 * libc/include/sys/stat.h (_{,f}stat): Ditto.
8892 * libc/include/sys/wait.h (_wait): Ditto.
8893 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
8894 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
8895
8896Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
8897
8898 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
8899 minded stabs so function name shows up when running the simulator
8900 with -t.
8901 * libc/sys/d10v/{crt0,trap}.S: Ditto.
8902
8903Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
8904
8905 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8906 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
8907 Use R5 where we used to use R3.
8908
8909Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
8910
8911 * libc/stdlib/getopt.c (getopt): replaced __progname
8912 with nargv[0] to improve portability to imbedded systems.
8913
8914Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
8915
8916 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
8917 patch supplied by Tont.Thompson@arm.com to fix the creation of the
8918 stdout file.
8919
8920Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
8921
8922 * libc/stdio/tmpnam.c (worker): Generate a different file name
8923 each time.
8924
8925 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
8926 fails, try an execlp for sh.
8927
8928 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
8929 option for the winsup include directory.
8930
8931Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
8932
8933 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
8934 debugging interface from Tony.Thompson@arm.com.
8935
8936 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
8937 * libc/sys/arm/swi.h: ditto.
8938
8939Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
8940
8941 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
8942 DIR struct used for readdir hashes.
8943
8944Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
8945
8946 * libc/string/strchr.c: Use "unsigned chars" as necessary.
8947
8948Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
8949
8950 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
8951 integer targets.
8952
8953Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
8954
8955 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
8956 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
8957 * libc/include/malloc.h: Add extern "C" if __cplusplus.
8958 (__malloc_copy): Declare.
8959
8960Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
8961
8962 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
8963 <sys/config.h>.
8964 (POINTER_UINT): Define.
8965 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
8966 (MALLOC_ALIGNMENT): Don't define if already defined.
8967 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
8968 long.
8969
8970Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
8971
8972 * libc/string/memset.c (memset): Fiddle with code so that the long
8973 value being stored is not a stack value. Unroll storing longs 4
8974 times.
8975
8976Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
8977
8978 * Reduce code size for libm modules.
8979 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
8980 and simply move code into sqrt.
8981 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
8982 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
8983 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
8984 * libm/math/wr_gamma.c (gamma_r): Likewise.
8985 * libm/math/wf_sinh.c (sinfh): Likewise.
8986 * libm/math/w_sinh.c (sinh): Likewise.
8987 * libm/math/wf_scalb.c (scalbf): Likewise.
8988 * libm/math/w_scalb.c (scalb): Likewise.
8989 * libm/math/wf_remainder.c (remainderf): Likewise.
8990 * libm/math/w_remainder.c (remainder): Likewise.
8991 * libm/math/wf_pow.c (powf): Likewise.
8992 * libm/math/w_pow.c (pow): Likewise.
8993 * libm/math/wf_log10.c (log10f): Likewise.
8994 * libm/math/w_log10.c (log10): Likewise.
8995 * libm/math/wf_log.c (logf): Likewise.
8996 * libm/math/w_log.c (log): Likewise.
8997 * libm/math/w_lgamma.c (lgamma): Likewise.
8998 * libm/math/wf_lgamma.c (lgammaf): Likewise.
8999 * libm/math/wf_jn.c (jnf): Likewise.
9000 * libm/math/w_jn.c (jn): Likewise.
9001 * libm/math/wf_j1.c (j1f): Likewise.
9002 * libm/math/w_j1.c (j1): Likewise.
9003 * libm/math/wf_j0.c (j0f): Likewise.
9004 * libm/math/w_j0.c (j0): Likewise.
9005 * libm/math/wf_hypot.c (hypotf): Likewise.
9006 * libm/math/w_hypot.c (hypot): Likewise.
9007 * libm/math/wf_gamma.c (gammaf): Likewise.
9008 * libm/math/w_gamma.c (gamma): Likewise.
9009 * libm/math/wf_fmod.c (fmodf): Likewise.
9010 * libm/math/w_fmod.c (fmod): Likewise.
9011 * libm/math/wf_exp.c (expf): Likewise.
9012 * libm/math/w_exp.c (exp): Likewise.
9013 * libm/math/wf_cosh.c (coshf): Likewise.
9014 * libm/math/w_cosh.c (cosh): Likewise.
9015 * libm/math/wf_atanh.c (atanhf): Likewise.
9016 * libm/math/w_atanh.c (atanh): Likewise.
9017 * libm/math/wf_atan2.c (atan2f): Likewise.
9018 * libm/math/w_atan2.c (atan2): Likewise.
9019 * libm/math/wf_asin.c (asinf): Likewise.
9020 * libm/math/w_asin.c (asin): Likewise.
9021 * libm/math/wf_acosh.c (acoshf): Likewise.
9022 * libm/math/w_acosh.c (acosh): Likewise.
9023 * libm/math/wf_acos.c (asocf): Likewise.
9024 * libm/math/w_acos.c (acos): Likewise.
9025 * libm/math/wf_sqrt.c (sqrtf): Likewise.
9026 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
9027 for embedded systems.
9028
9029Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
9030
9031 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
9032 Lea in case of a foreign sbrk.
9033
9034Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
9035
9036 Incorporate Doug Lea's malloc:
9037 * libc/stdlib/mallocr.c: Completely replaced.
9038 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
9039 (realloc): Remove.
9040 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
9041 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
9042 mallopt.
9043 (mallinfo, malloc_stats, mallopt): New functions.
9044 (_mstats_r): Just call _malloc_stats_r.
9045 * libc/stdlib/malign.c: New file.
9046 * libc/stdlib/mlock.c: New file.
9047 * libc/stdlib/msize.c: New file.
9048 * libc/stdlib/mtrim.c: New file.
9049 * libc/stdlib/realloc.c: New file.
9050 * libc/stdlib/valloc.c: New file.
9051 * libc/stdlib/malloc.h: Remove.
9052 * libc/stdlib/callocr.c: Remove.
9053 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
9054 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
9055 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
9056 reallocr.o, valloc.o, vallocr.o.
9057 (CHEWOUT_FILES): Add mlock.def, mstats.def.
9058 (MALLOC_CFLAGS): New variable.
9059 (mallocr.o): New target, build from mallocr.c.
9060 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
9061 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
9062 (msizer.o, malloptr.o): Likewise.
9063 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
9064 (valloc.o): New target.
9065 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
9066 * libc/include/malloc.h: Declare struct mallinfo, and new
9067 routines.
9068 * libc/include/stdlib.h (cfree): Correct declaration.
9069
9070Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
9071
9072 * libc/include/machine/setjmp.h: Add support for Thumb target.
9073
9074 * libc/include/machine/ieeefp.h: Add support for Thumb target.
9075
9076 * configure.in (links): Add support for Thumb target.
9077
9078Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
9079
9080 * libc/sys/arm/setjmp.S: Updated with version from branch.
9081
9082Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
9083
9084 * libc/include/stdio.h: add POSIX-required define L_ctermid
9085 for ctermid
9086
9087Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
9088
9089 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
9090 addition to MISSING_SYSCALL_NAMES.
9091
9092Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9093
9094 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
9095
9096Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
9097
9098 * libc/include/string.h: change strsignal proto to return
9099 a char *. This eliminates compile problems in gdb resulting
9100 from gdb's definition of strsignal in defs.h.
9101
9102Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
9103
9104 * libc/sys/cygwin32/sys/utime.h: new (moved here from
9105 winsup/include) so as not to conflict with the one in
9106 libc/include.
9107 * libc/include/string.h: add protos for strsignal, strtosigno
9108
9109Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
9110
9111 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
9112
9113 * configure.in (d30v-*-*): Add configuration.
9114
9115Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
9116
9117 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
9118 to select which kind of debug monitor is in use for an ARM target.
9119
9120 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
9121 Angel and Demon debug monitors. Part of this code was supplied by
9122 Tony Thompson at ARM: athompso@arm.com.
9123
9124Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
9125
9126 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
9127 semantics when the count is greater than the length of the second
9128 source string.
9129
9130Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
9131
9132 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
9133 * libc/include/sys/unistd.h: add protos for usleep, truncate,
9134 truncate and ftruncate take off_t, not size_t
9135
9136Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
9137
9138 * libc/string/strcat.c (strcat): Add missing comment end.
9139 * libc/string/strncat.c (strncat): Likewise.
9140
9141Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
9142
9143 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
9144 targets.
9145 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
9146 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
9147 defined.
9148 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
9149 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
9150 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
9151
9152Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
9153
9154 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
9155 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
9156
9157Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
9158
9159 * libc/machine/i386/setjmp.S: New file.
9160 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
9161 (OFILES): Add setjmp.o.
9162 (setjmp.o): Add rule for.
9163 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
9164
9165Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
9166 Jeffrey A Law (law@cygnus.com)
9167
9168 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
9169 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
9170 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
9171 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
9172
9173Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
9174
9175 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
9176 rules.
9177
9178 * libc/include/sys/config.h: Use __v850 to select v850
9179 endianness.
9180
9181 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
9182 buffer size.
9183
9184 * libc/include/machine/ieeefp.h: Use __v850 to select v850
9185 endianness.
9186
9187Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
9188
9189 * libc/stdlib/setenv.c: change unsetenv definition to match
9190 style of setenv (with _DEFUN). The string should be a const.
9191 * libc/include/stdlib.h: unsetenv proto should return void.
9192
9193Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
9194
9195 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
9196
9197Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
9198
9199 * libc/stdio/glue.h: remove.
9200 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
9201 * libc/stdio/Makefile.in: remove glue.h dependencies
9202
9203Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
9204
9205 * libc/sys/sysnecv850/crt0.S: Created V850e version.
9206
9207Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
9208
9209 * configure.in (target_cpu): Add `arc'.
9210
9211Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
9212
9213 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
9214 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
9215 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
9216 * newlib/libc/reent/reent.c: Add _wrapup_reent.
9217 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
9218
9219Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
9220
9221 * libc/machine/mips/setjmp.S: Handle mips16 builds.
9222
9223Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
9224
9225 * libc/include/stdio.h (siprintf): Declare.
9226
9227Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
9228
9229 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
9230 TARGET_CFLAGS and NEWLIB_FLAGS.
9231
9232Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
9233
9234 * configure.in (links): Add support for v850ea target.
9235
9236Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
9237
9238 * configure.in (links): Add support for v850e target.
9239
9240Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
9241
9242 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
9243
9244Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
9245
9246 * configure.in (arc-*-*): Add support for.
9247 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
9248
9249Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9250
9251 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
9252
9253Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
9254
9255 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
9256 comparison which accesses invalid memory when the key is
9257 larger than the last member of the array.
9258 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
9259 for CYGWIN32
9260 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
9261
9262Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
9263
9264 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
9265 not _STRICT_ANSI.
9266
9267Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
9268
9269 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
9270 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
9271
9272Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
9273
9274 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
9275 to load/store memory.
9276
9277Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
9278
9279 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
9280 underscores if _WIN32.
9281
9282Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
9283
9284 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
9285 support ifdef _USE_WRITE missed in last change.
9286 From Anders Blomdell <anders.blomdell@control.lth.se>.
9287
9288Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
9289
9290 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
9291 (_tmpnam_r, _tempnam_r): Update.
9292
9293Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
9294
9295 * libc/machine/sparc/setjmp.S: New file.
9296 * libc/machine/sparc/Makefile.in: Add setjmp.
9297 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
9298
9299Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
9300
9301 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
9302
9303Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
9304
9305 From Joel Sherrill <joel@oarcorp.com>.
9306 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
9307
9308 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
9309 * configure.in: Recognize *-*-rtems*.
9310 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
9311 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
9312 time.h,times.h,types.h}: New files.
9313 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
9314
9315Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
9316
9317 patch from sos@prospect.com.ru (Sergey Okhapkin):
9318 * include/sys/wait.h: correct operator precidence bug
9319 in WIFSIGNALED
9320
9321Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
9322
9323 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
9324 with newlib's unsetenv function
9325 * libc/sys/cygwin32/sys: new directory for includes
9326 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
9327 here from winsup/include/sys
9328
9329Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
9330
9331 * libc/include/sys/unistd.h: _exit should only be
9332 labelled noreturn when not __CYGWIN32__
9333 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
9334 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
9335 increment NSIG
9336
9337Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
9338
9339 * libc/include/sys/time.h: Only define timeval and timezone if
9340 _GNU_H_WINDOWS32_SOCKETS is not defined.
9341 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
9342
9343Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
9344
9345 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
9346 * libc/machine/mn10300/setjmp.S: Likewise.
9347
9348 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
9349 the mn10300 (more relaxing opportunities).
9350
9351Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
9352
9353 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
9354 Build libraries with -mstrict-align.
9355
9356Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
9357
9358 * libc/string/strlwr.c: New file.
9359 * libc/string/strupr.c: New file.
9360 * libc/include/string.h: Declare strlwr and strupr.
9361 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
9362 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
9363 (strlwr.o, strupr.o): New targets.
9364 * libc/string/strings.tex: Include strlwr and strupr docs.
9365
9366 * libc/include/sys/types.h: Don't define u_char, et. al., if
9367 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
9368 et. al. Make FD_SETSIZE default 64 rather than 60. Define
9369 _types_fd_set rather than fd_set, and define fd_set as a macro.
9370
9371 * libc/include/malloc.h: New file.
9372
9373 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
9374 strnicmp if they are not already defined.
9375
9376 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
9377 _timezone, _daylight, and _tzname.
9378
9379Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
9380
9381 * configure.in: Sort all configuration tables.
9382
9383 From Joel Sherrill <joel@oarcorp.com>
9384 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
9385
9386Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
9387
9388 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
9389 use int when declaring kill.
9390
9391 * libc/include/sys/timeb.h: New file.
9392
9393Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
9394
9395 * libc/include/sys/time.h: add itimer support for Cygwin32
9396
9397Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
9398
9399 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
9400 out a message that abort was called to stderr.
9401
9402Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
9403
9404 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
9405 so that libio doesn't freak.
9406
9407 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
9408 int.
9409
9410 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
9411 memory sizes, not int.
9412
9413Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
9414
9415 * libm/math/ef_hypot.c: Use long constants where
9416 appropriate.
9417 * libm/math/ef_sqrt.c: Ditto.
9418
9419 * libc/sys/sysmec/times.c(_times): Change to times.
9420
9421 * libc/sys/sysmec/read.c(_read): The third argument is
9422 size_t.
9423 * libc/sys/sysmec/write.c (_write): Ditto.
9424
9425 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
9426 (_lseek): It's off_t for the second argument.
9427
9428Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
9429
9430 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
9431 as well as machine/ieeefp.h.
9432
9433Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
9434
9435 * libc/include/sys/signal.h: add signal protos for winsup
9436 functions (when __CYGWIN32__), include types.h
9437 * libc/include/sys/types.h: Change __go32_types__ internal
9438 define to __MS_types__ since it's used for more than just
9439 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
9440 defined.
9441 * libc/include/sys/unistd.h: add ftruncate proto for
9442 winsup functions (when __CYGWIN32__)
9443
9444Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
9445
9446 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
9447
9448Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
9449
9450 * libc/include/machine/setjmp.h: Add tic80 support.
9451 * libc/machine/tic80/setjmp.S: Likewise.
9452
9453Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
9454
9455 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
9456 link programs from libraries only (such as in the X11
9457 distribution)
9458
9459Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
9460
9461 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
9462 supplied elsewhere in newlib.
9463
9464Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
9465
9466 * Makefile.in (INSTALL): Change install.sh to install-sh.
9467
9468Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
9469
9470 * README: update WWW address for on-line documentation.
9471
9472Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
9473
9474 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
9475 increment NSIG
9476
9477Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
9478
9479 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
9480 mn10300.
9481 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
9482
9483Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
9484
9485 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
9486 * libc/sys/d10v/syscalls.c: Likewise.
9487 * libc/sys/h8300hms/sbrk.c: Likewise.
9488 * libc/sys/h8500hms/syscalls.c: Likewise.
9489 * libc/sys/m88kbug/syscalls.c: Likewise.
9490 * libc/sys/sh/syscalls.c: Likewise.
9491 * libc/sys/sysmec/sbrk.c: Likewise.
9492 * libc/sys/sysnecv850/sbrk.c: Likewise.
9493 * libc/sys/w65/syscalls.c: Likewise.
9494 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
9495
9496Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
9497
9498 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
9499 emulated syscall instead of "trap".
9500
9501Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
9502
9503 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
9504 not trap 0.
9505
9506Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
9507
9508 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
9509
9510Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
9511
9512 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
9513 not "sh".
9514 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
9515 not "d10v".
9516 * libc/sys/tic80/crt0.c: New file for TIc80.
9517 * libc/sys/tic80/Makefile.in: New file for TIc80.
9518 * libc/machine/tic80/Makefile.in: New file for TIc80.
9519
9520Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
9521
9522 * libc/machine/sh/memcpy.S: New file.
9523 * libc/machine/sh/memset.S: New file.
9524 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
9525
9526Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
9527
9528 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
9529 for TIc80.
9530
9531Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
9532
9533 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
9534 the mn10200.
9535
9536Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
9537
9538 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
9539 (patch from andrew@pogo.WV.TEK.COM).
9540
9541Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
9542
9543 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
9544 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
9545
9546Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
9547
9548 * configure.in: Add cases for "tic80" to set machine_dir,
9549 sys_dir, and syscall_dir.
9550
9551Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
9552
9553 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
9554
9555Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
9556
9557 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
9558
9559Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
9560
9561 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
9562 Use proper constant prefix.
9563
9564Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
9565
9566 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
9567 that loses on the mn10200 where ints and pointers are different
9568 sizes.
9569
9570Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
9571
9572 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
9573 target as signal is provided in winsup.
9574
9575Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
9576
9577 * libc/include/sys/process.h: Corrected const definitions
9578 in spawn functions. Added cwait.
9579
9580Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
9581
9582 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
9583 doubles.
9584 * libc/include/sys/config.h: Similarly.
9585
9586Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9587
9588 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
9589 target_cflags.
9590 (i[3456]86-*-sco*): Ditto.
9591
9592 * libc/signal/Makefile.in (OFILES): Add signal.o.
9593 (CFILES): Add signal.c.
9594
9595 * libc/signal/raise.c (_raise_r): Only compile code if
9596 SIGNAL_PROVIDED is defined.
9597
9598 * libc/signal/signal.c: Redo whole file so that it works with
9599 current newlib. Use _kill_r if no signal handler provided.
9600
9601 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
9602 signal stubs.
9603 * libc/sys/sysvnecv70/Makefile.in: Ditto.
9604 * libc/sys/sysnecv850/Makefile.in: Ditto.
9605
9606 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
9607 * libc/sys/sysmec/{raise,signal}.c: Ditto.
9608 * libc/sys/sysvnecv70/signal.s: Ditto.
9609 * libc/sys/sysnecv850/raise.c: Ditto.
9610
9611 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
9612 simulator and debugger can tell the difference between a signal
9613 being raised and an exit system call.
9614
9615 * NEWS: Document software signals being provided.
9616
9617Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9618
9619 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
9620 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
9621 include/sys/config.h.
9622 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
9623 Change from 'inpure_data'.
9624 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
9625 &impure_data, not &inpure_data.
9626
9627 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
9628 and and System V ABI, define so that _impure_ptr lives in the
9629 .sdata section.
9630
9631Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9632
9633 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
9634 nothing if not defined.
9635 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
9636 its attributes.
9637
9638 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
9639
9640Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
9641
9642 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
9643 * libc/sys/sysmec/trap.s: Handle mn10200 too.
9644 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
9645
9646Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
9647
9648 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
9649
9650Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
9651
9652 * libc/include/sys/errno.h: Added net errno's.
9653
9654Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9655
9656 * libc/misc/ffs.c: New file to support ffs function for GCC test
9657 gcc.c-torture/execute/960909-1.c.
9658
9659 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
9660
9661Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
9662
9663 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
9664 * libc/sys/sysmec/trap.S: Likewise.
9665
9666Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
9667
9668 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
9669 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
9670
9671Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
9672
9673 * libc/sys/sysmec/signal.c: Dummy file.
9674 * libc/sys/sysmec/Makefile.in: Build it.
9675
9676Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
9677
9678 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
9679 mips16.
9680
9681Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
9682
9683 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
9684 c-startup and simulator traps.
9685
9686
9687 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
9688 * libc/sys/sysmec/trap0.S: Likewise.
9689
9690Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9691
9692 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
9693 round to double word alignment.
9694 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
9695 byte alignment.
9696
9697 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
9698
9699 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
9700 out of memory.
9701
9702Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
9703
9704 * configure.in: Handle mn10200 and mn10300.
9705 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
9706 * libc/include/sys/config.h: Likewise.
9707 * libc/sys/sysmec: New directory for mec stuff.
9708 * libc/machine/mn10300: New directory for mn10300 stuff.
9709 * libc/machine/mn10200: Similarly for mn10200 stuff.
9710
9711Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
9712
9713 * libc/sys/arm/crt0.S: Use .text, not .section .text.
9714 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
9715
9716 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
9717 (nlink_t): Change type from unsigned int to unsigned short.
9718 (mode_t): Ensure size is 32 bits even if int is 16.
9719 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
9720 (st_spare[123]): Change type from int to long.
9721
9722Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9723
9724 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
9725 byte boundary.
9726
9727 * configure.in (d10v*): Define SMALL_MEMORY.
9728
9729Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9730
9731 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
9732 -mrelocatable-lib and -mno-eabi flags.
9733
9734Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
9735
9736 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
9737 Fix handling of mis-aligned source operand when both the
9738 destination & length are properly aligned.
9739
9740Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
9741
9742 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
9743 times.o, time.o and gettime.o
9744 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
9745 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
9746 SYS_gettimeofday.
9747
9748Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
9749
9750 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
9751 * libc/sys/sysnecv850/access.c: New file.
9752
9753Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
9754
9755 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
9756
9757 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
9758 long.
9759
9760Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
9761
9762 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
9763
9764Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
9765
9766 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
9767 * libc/include/sys/config.h: Add m32r support.
9768
9769Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
9770
9771 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
9772 here.
9773
9774Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
9775
9776 * libc/include/machine/setjmp.h: Add D10v support.
9777
9778Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
9779
9780 * configure.in: Configure the "libc/syscalls" directory for
9781 the v850.
9782
9783 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
9784 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
9785 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
9786 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
9787 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
9788
9789Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
9790
9791 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
9792 stack for args for main and other routines. Zero out args for
9793 main.
9794
9795 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
9796 correctly.
9797
9798Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9799
9800 * libc/stdio/findfp.c (std): Remove extraneous ';' after
9801 function.
9802
9803 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
9804
9805 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
9806 real system calls now.
9807
9808 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
9809 before casting them to int.
9810 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
9811
9812 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
9813 aligning pointer.
9814 * libc/string/memset.c (memset): Ditto.
9815
9816 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
9817 first convert ints to _POINTER_INT to eliminate GCC warning.
9818
9819 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
9820 processing %p.
9821
9822 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
9823 from 65000 if ints are only 16 bits.
9824
9825 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
9826 from 50000 if ints are only 16 bits.
9827
9828 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
9829 int type that is the same size as a pointer.
9830
9831 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
9832 processing %p.
9833 (get_number): Explicitly cast number to long before shifting by 16
9834 or 24, in case ints are short.
9835
9836 * libc/include/sys/config.h (_POINTER_INT): Define as short.
9837
9838Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
9839
9840 * libc/string.h: Added ffs, removed swab.
9841 * libc/sys/errno.h: Added EOPNOTSUPP.
9842 * libc/sys/unistd.h: Added swab.
9843
9844Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
9845
9846 * libc/include/sys/stat.h: Added fchmod.
9847 * libc/include/sys/unistd.h: Added fsync.
9848
9849Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
9850
9851 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
9852 and ECONNRESET (104) for cygwin32.
9853
9854Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
9855
9856 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
9857 do the static destructors.
9858
9859Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
9860
9861 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
9862
9863Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
9864
9865 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
9866 * configure.in: Recognize m32r-*-*.
9867
9868Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
9869
9870 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
9871 __rt_stkovf_split_small): Added default software stack overflow
9872 handlers, which just call SWI_Exit.
9873 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
9874 limit initialisation.
9875
9876Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
9877
9878 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
9879
9880Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
9881
9882 * libc/include/sys/types.h: Added ssize_t definition.
9883
9884Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9885
9886 * libc/machine/d10v/setjmp.S: Use ';' for comments.
9887 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
9888
9889 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
9890 branch around a single ldi instruction.
9891
9892 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
9893 Call exit, instead of just issuing a stop instruction.
9894
9895Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9896
9897 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
9898
9899Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9900
9901 * libc/stdlib/mprec.h: Explicitly declare all large constants as
9902 longs, and then cast them to __uint32_t.
9903
9904 * libc/include/sys/config.h: Protect against multiple inclusions.
9905
9906Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
9907
9908 * configure.in (d10v*): Set syscall_dir.
9909
9910Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
9911
9912 * libc/sys/d10v/crt0.S: Set stack pointer.
9913
9914Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
9915
9916 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
9917 in assembly for efficiency. Change calling convention to allow
9918 long ints to be returned.
9919
9920Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9921
9922 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
9923
9924Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
9925
9926 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
9927 Handle empty entries in $PATH.
9928
9929Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
9930
9931 * libc/machine/d10v/setjmp.S: Make it really work.
9932
9933Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
9934
9935 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
9936 the .stack section.
9937
9938Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
9939
9940 * sys/sysnecv850/sys/file.h: Remove.
9941 * sys/sysnecv850/sys/syscall.h: New file.
9942 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
9943 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
9944 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
9945 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
9946 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
9947 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
9948 * sys/sysnec850/trap.S: New file.
9949 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
9950 syscalls.
9951 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
9952 * sys/sysnec850/sbrk.c: New version.
9953
9954Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
9955
9956 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
9957 as long as r6 is less than r7.
9958
9959Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
9960
9961 * Makefile.in (mostlyclean): Separate from clean target. Don't
9962 remove *.a or targ-include.
9963 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
9964
9965Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9966
9967 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
9968 d10v.
9969 (__SMALL_BITFIELDS): Ditto.
9970
9971 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
9972
9973Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
9974
9975 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
9976 prefix.
9977
9978 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
9979 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
9980 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
9981 * libc/sys/sysnecv850/write.c (write): Likewise.
9982
9983 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
9984 .bss.
9985
9986Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9987
9988 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
9989 appropriately for D10V, depending on -mint16/-mint32.
9990
9991Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
9992
9993 * configure.in: Add cases for D10V.
9994
9995Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
9996
9997 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
9998
9999Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
10000
10001 * libc/include/machine/ieeefp.h: Fix typo.
10002
10003Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
10004
10005 * libc/sys/d10v: New directory for D10V stuff.
10006 * libc/include/machine/ieeefp.h: Add D10V defines.
10007
10008Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
10009
10010 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
10011 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
10012 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
10013 * libc/string/strerror.c (strerror): Add them.
10014
10015Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
10016
10017 * libc/sys/sysnecv850: New directory for v850 stuff.
10018
10019 * libc/machine/v850: New directory for v850 stuff.
10020 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
10021
10022 * configure.in: Add support for the v850.
10023
10024 * libc/include/machine/ieeefp.h: Add v850 defines.
10025 * libc/include/machine/setjmp.h: Likewise.
10026 * libc/include/sys/config.h: Add v850 defines.
10027
10028Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
10029
10030 * libc/include/machine/ieeefp.h
10031 * libc/include/machine/setjmp.h
10032 * libc/include/sys/fcntl.h
10033 * libc/include/sys/signal.h
10034 * libc/include/sys/types.h
10035 * libc/stdlib/system.c:
10036 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
10037 API availability, __CYGWIN32__ for cygwin32 environment specific).
10038
10039Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
10040
10041 * libc/include/stdlib.h: add multibyte character functions. Add
10042 __eprintf for assert.
10043
10044Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10045
10046 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
10047 arithmetic or __alignof__ to properly get the alignment, instead
10048 of hardwiring it to 4.
10049
10050Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
10051
10052 * libc/stdio/fseek.c: add fflush call to adjust seek offset
10053 on append stream (fix from NetBSD sources), adjust curoff offset
10054 for ungetc's benefit.
10055 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
10056 * libc/stdio/rewind.c: replace code with up to date NetBSD
10057 code to undo hacks made to work around above problem of not
10058 having fflush call mentioned above
10059
10060Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10061
10062 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
10063 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
10064 Partially revert last changes. The thread specific errno is set
10065 iff if the underlying syscall fails and the global errno is not
10066 zero.
10067
10068Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10069
10070 * libc/reent/filer.c: Removed files, all functions have split out
10071 into their own files.
10072 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
10073 New files containing functions formally in filer.c
10074 * libc/reent/Makefile.in: Updated for above change.
10075
10076 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
10077 syscall fails, not if errno is changed.
10078 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
10079 _write_r): Likewise.
10080 * libc/reent/fstatr.c (_fstat_r): Likewise.
10081 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
10082 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
10083 * libc/reent/signalr.c (_kill_r): Likewise.
10084 * libc/reent/statr.c (_stat_r): Likewise.
10085 * libc/reent/timer.c (_gettimeofday_r): Likewise.
10086
10087 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
10088 signalr.c, statr.c, timer.c} (errno): declare extern rather
10089 than as a common.
10090
10091 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
10092 instead of calling vfprintf so that i*printf will not require
10093 floating point support code.
10094
10095Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
10096
10097 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
10098 path delimiter.
10099 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
10100 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
10101
10102Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
10103
10104 * libc/include/signal.h: _sig_func_ptr function takes an int
10105 * libc/include/sys/signal.h: sa_handler function takes an int
10106
10107Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
10108
10109 * libc/include/machine/ieeefp.h: Simplify H8/S support.
10110 * libc/include/sys/config.h: Add missing H8/S conditional.
10111
10112Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
10113
10114 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
10115
10116Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
10117
10118 * libc/include/machine/setjmp.h: Handle H8/S.
10119 * libc/include/machine/ieeefp.h: Likewise.
10120 * libc/include/sys/config.h: Likewise.
10121 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
10122 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
10123 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
10124 * libc/sys/h8300hms/crt0.S: Likewise.
10125
10126Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
10127
10128 * Makefile.in (datadir): Set to $(prefix)/share.
10129 (oldincludedir, docdir): Removed.
10130 * doc/Makefile.in (datadir): Set to $(prefix)/share.
10131 (oldincludedir, docdir): Removed.
10132 * libc/Makefile.in (datadir): Set to $(prefix)/share.
10133 (oldincludedir, docdir): Removed.
10134 * libm/Makefile.in (datadir): Set to $(prefix)/share.
10135 (oldincludedir, docdir): Removed.
10136
10137Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
10138
10139 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
10140 _reent struct.
10141
10142Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
10143
10144 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
10145 fetch current path rules with sysconf and handler posix/win32
10146 appropriately.
10147
10148 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
10149
10150 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
10151 (WAIT_CHILD): Always define.
10152
10153Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
10154
10155 * libc/stdlib/eprintf.c: New file.
10156 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
10157 (eprintf.o): New target.
10158
10159Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
10160
10161 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
10162 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
10163
10164Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
10165
10166 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
10167 NT in PowerPC endianess cases.
10168
10169Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10170
10171 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
10172
10173Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10174
10175 * libc/string/strtok.c: Fix doc typo.
10176
10177Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10178
10179 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
10180 _next, _scanpoint, _signgam fields.
10181
10182 * libc/include/stdlib.h (rand_r): Added new declaration.
10183 (_rand_r, _srand_r): Removed declarations.
10184 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
10185 have been made obsolete by rand_r.
10186 * libc/stdlib/rand_r.c: New file, rand_r function as specified
10187 by POSIX.1c.
10188
10189 * libc/string/strtok.c: Update documentation to describe
10190 strtok_r().
10191
10192Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
10193
10194 * libc/include/sys/stat.h (stat structure): Use the expanded stat
10195 structure on Solaris, and PowerPC systems even though __svr4__ is
10196 defined.
10197
10198Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
10199
10200 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
10201
10202Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
10203
10204 * host/any: Use ../.. rather than .. to get to the main build
10205 directory. This matches the current layout of the build
10206 directory.
10207
10208Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
10209
10210 * libc/machine/h8300/__main.S: Delete. No longer needed.
10211 * libc/machine/h8300/Makefile.in: Corresponding changes.
10212 * libc/sys/h8300hms/crt1.c: New file.
10213 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
10214 * libc/sys/h8300hms/crt0.s: Call __main.
10215
10216 * libc/sys/h8300hms/crt0.S: Use temporary label names
10217 for branch targets.
10218
10219Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
10220
10221 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
10222
10223Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10224
10225 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
10226 .sdata on the PowerPC so that we can link newlib with code
10227 compiled with -msdata.
10228
10229Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
10230
10231 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
10232
10233Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
10234
10235 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
10236 exception handler to __cygwin_exception_handler.
10237
10238Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
10239
10240 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
10241
10242Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
10243
10244 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
10245 SunOS VPATH.
10246 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
10247 wcstombs.o): Likewise.
10248
10249Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
10250
10251 * libc/stdlib/environ.c (initial_env): New static local.
10252 (environ): Point to `initial_env'.
10253
10254 * libc/include/machine/setjmp.h: Clean up.
10255 (__H8300H__,__PPC__): Define _JBTYPE.
10256 (__arm__): Provide entry for.
10257 (sigjmp_buf): Delete.
10258 (jmp_buf): Use _JBTYPE if defined, otherwise int.
10259
10260Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
10261
10262 * libc/machine/h8300/strcmp.S: Sign extend the result to
10263 32bits so we don't lose with -mint32.
10264
10265Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
10266
10267 * libc/sys/go32/sys/errno.h: New file.
10268 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
10269 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
10270 errno's address (make compatible with rest of newlib).
10271 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
10272 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
10273
10274Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
10275
10276 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
10277 * libc/machine/sparc/Makefile.in: Build them.
10278 * libc/machine/sparc/machine/sparclet.h: New file.
10279
10280Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10281
10282 * libc/machine/sh/asm.h: New file.
10283 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
10284 support for SH3e's FP registers. Use asm.h.
10285
10286Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
10287
10288 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
10289 as first argument. Call _dtoa_r and pass the reent structure
10290 instead of calling __dtoa.
10291
10292Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
10293
10294 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
10295 the h8300, h8500, and others. Add comments for some rather
10296 dubious code.
10297
10298Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
10299
10300 * Makefile.in (check): Check that testsuite exists before cd.
10301
10302Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10303
10304 * libc/include/string.h (strsep): Correct prototype.
10305
10306Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
10307
10308 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
10309 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
10310 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
10311
10312Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
10313
10314 * libc/posix/{creat.c,isatty.c}: New files.
10315 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
10316
10317 * libc/sys/sparc64/crt0.S (environ): Delete.
10318 (.LHaveBias): Renamed from HaveBias.
10319
10320Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
10321
10322 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
10323 (_morecore_r): Delete SBRK_IS_ALLOC support.
10324
10325Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10326
10327 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
10328 module rather than touch, so we don't get warning messages when
10329 all of the libraries are combined into libc.a.
10330
10331Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
10332
10333 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
10334 crt0.s replaced by version in libgloss.
10335
10336Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10337
10338 * libc/reent/Makefile.in (OFILES): Add impure.o.
10339 * libc/reent/impure.o: New file, define initial reentrancy struct.
10340 * libc/reent/reent.c: Remove above definition.
10341
10342 * libm/math/sf_asinh.c: Fix typo.
10343
10344 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
10345 srf_ldexp.o.
10346
10347 * libm/libm.texinfo: Change documentation to reflect changes
10348 in reentrancy model.
10349 * libm/math/w_gamma.c: Likewise.
10350
10351Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
10352
10353 * configure.in (*-*-cygwin32): New.
10354 (*-*-win32): Deleted.
10355 * libc/sys/win32 renamed libc/sys/cygwin32.
10356
10357Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10358
10359 * libc/include/sys/file.h: New include file.
10360
10361Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
10362
10363 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
10364
10365Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
10366
10367 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
10368
10369Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10370
10371 * doc/makedoc.c (realloc): Declare at file scope.
10372 (catchar): Not here.
10373
10374Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
10375
10376 * Makefile.in (VERSION): Update to 1.7.0.
10377 * {libc,libm}/Makefile.in (VERSION): Likewise.
10378 * configure.in: Minor clean up of multilib stuff.
10379
10380 From David Johnson <davidj@ICSI.Berkeley.EDU>
10381 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
10382
10383 * libc/stdlib/environ.c: New file.
10384 * libc/stdlib/Makefile.in (OFILES): Build it.
10385 * libc/sys/h8500hms/crt0.c (environ): Deleted.
10386 * libc/sys/m88kbug/crt0.c (environ): Deleted.
10387 * libc/sys/z8ksim/crt0.c (environ): Deleted.
10388 * libc/sys/netware/environ.c: Deleted.
10389
10390Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
10391
10392 * configure.in (links): set sys_dir, posix_dir, syscall_dir
10393
10394Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
10395
10396 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
10397 declaration out to external scope and declare it PTR, not char *.
10398
10399Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
10400
10401 * libc/include/sys/unistd.h (getpagesize): New declaration.
10402 (_SC_PAGESIZE): New definition.
10403 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
10404 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
10405
10406Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
10407
10408 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
10409 addressing. System call returns size, not (last address + 1).
10410
10411Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10412
10413 * libm/math/*.c: Removed _foo_r() reentrancy API.
10414 * libc/include/math.h: Removed _foo_r prototypes and macros.
10415
10416 * libm/math/*.c: On systems with IEEE single precision "doubles"
10417 move foo() -> foof() wrapper code from the files that implement
10418 the standard IEEE double precision functions to the files that
10419 implement IEEE single precision functions. (ie. On those systems
10420 sin is moved from s_sin.c to sf_sin.c). There should eventually
10421 be use of a C extension (like gcc's alias attribute) so that the
10422 wrappers are not needed at all.
10423
10424 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
10425 strict NEC V810 compiler.
10426 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
10427 for same reason.
10428
10429Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10430
10431 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
10432 from NetBSD C library.
10433 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
10434
10435 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
10436 and adapted from implementation I wrote for NetBSD C library.
10437 The difference is __assert doesn't take a format argument,
10438 so that there won't be multiple copies of the same string
10439 constant in the executable if assertions are enabled in
10440 more than one source module.
10441 * libc/include/assert.h (assert): Changed to call __assert.
10442
10443Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10444
10445 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
10446 word1 on systems with 32 bit doubles.
10447 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
10448 so that we can do arithmetic on them.
10449 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
10450 compilers.
10451
10452Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
10453
10454 * libc/sys/arm/crt0.S: Zero bss.
10455
10456Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
10457
10458 * libc/include/unctrl.h: New file.
10459 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
10460 * configure.in (subdirs): Add libc/misc.
10461 * libc/Makefile.in (SUBDIRS): Add misc.
10462 (SUBLIBS): Add misc/lib.a.
10463
10464 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
10465
10466Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
10467
10468 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
10469 (_vfprintf_r): Call CHECK_INIT.
10470
10471Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
10472
10473 * Makefile.in (MULTITOP): Delete.
10474 (MULTISRCTOP, MULTIBUILDTOP): Add.
10475 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
10476 instead of cfg-ml-pos.in.
10477
10478Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
10479
10480 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
10481 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
10482 presence.
10483
10484Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10485
10486 * libc/string/strtok.c: Include string.h to pick up strtok_r
10487 prototype.
10488
10489Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10490
10491 * libc/string/strtok.c: include <_ansi.h>.
10492 * libc/time/asctime_r.c: `reresult' -> `result'.
10493
10494Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10495
10496 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
10497 in #ifndef _REENT_ONLY ... #endif conditional.
10498
10499 * libc/include/string.h (_strtok_r): Remove declaration.
10500 * libc/include/time.h (_asctime_r): Remove declaration.
10501 * libc/string/strtok.c (_strtok_r): Removed.
10502 * libc/time/asctime.c (_asctime_r): Removed.
10503
10504 * libc/string/Makefile.in (OFILES): Add new object.
10505 * libc/string/strtok_r.c: New file. strtok_r function as
10506 specified by POSIX.1c, adapted from strtok implementation
10507 from NetBSD C library.
10508 * libc/string/strtok.c (strtok): Reimplemented in terms of
10509 strtok_r.
10510
10511 * libc/time/Makefile.in (OFILES): Add new objects.
10512 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
10513 New files, reentrant time functions specified by POSIX.1c.
10514 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
10515 reentrant time functions re-written in terms of reentrant
10516 functions.
10517 * libc/time/lcltime.c: Renamed from localtime.c
10518
10519 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
10520 gmtime_r, and localtime_r.
10521
10522Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
10523
10524 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
10525 * libc/include/sys/unistd.h (getlogin): Revert change of
10526 Oct 19.
10527 * libc/include/sys/signal.h (sigprocmask): Change prototype
10528 so it compiles with c++.
10529
10530Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
10531
10532 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
10533 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
10534 to give some room in case we need to align the jmp_buf.
10535
10536 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
10537 the new ppc-asm.h include file the compiler provides to specify
10538 function prologue/epilogue. Eliminate saves of the xer and ctr
10539 registers, which are volatile. Before starting to save registers,
10540 align to 8 byte boundary.
10541
10542Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
10543
10544 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
10545 referenced by standard libraries.
10546
10547Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
10548
10549 * libc/unix/Makefile.in, libc/string/Makefile.in,
10550 libc/stdio/Makefile.in, libc/reent/Makefile.in,
10551 libc/posix/Makefile.in:
10552 Remove tabs from otherwise empty line. Confuses some
10553 older non-GNU versions of "make".
10554
10555Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
10556
10557 * libc/sys/unistd.h (getlogin): Returns const char *.
10558
10559Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
10560
10561 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
10562 * libc/include/errno.h: Moved into and include...
10563 * libc/include/sys/errno.h: New file.
10564 * libc/include/sys/wait.h: New file.
10565 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
10566 * libc/sys/win32/*: Moved out.
10567 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
10568 * configure.in (i[345]86-*-win32): HAVE_RENAME
10569
10570Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
10571
10572 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
10573 avoid macro expansion for these two names.
10574
10575Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
10576
10577 * libc/machine/h8500/psi.S: r6 renamed to fp.
10578
10579Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
10580
10581 * configure.in (powerpc*): No longer need to define
10582 NO_LONGLONG_POINTERS to supress warnings.
10583
10584Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10585
10586 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
10587 through PTR instead of directly.
10588
10589 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
10590 non-standard constructor support.
10591
10592Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10593
10594 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
10595 address of the Bigint instead of the address of its _x field,
10596 as the size the result buffer was calculated accordingly.
10597 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
10598
10599 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
10600 from NetBSD C library. No longer special cases division by
10601 zero (which needs to be done by the application anyway), but
10602 it doesn't need to call abs() (or labs()) four times either.
10603
10604 * libc/stdlib/qsort.c: Replaced with implementation from
10605 NetBSD C library.
10606
10607Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10608
10609 * libc/stdio/vfprintf.c: Replaced with implementation from
10610 NetBSD C library (which is derived from the 4.4BSD C library).
10611 * libc/stdio/cvt.c: Removed.
10612 * libc/stdio/Makefile: Updated.
10613
10614Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
10615
10616 * libc/sys/win32/syscalls.c (rename): New.
10617 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
10618
10619Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
10620
10621 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
10622 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
10623
10624 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
10625 (setjmp.o): Delete rule to build setjmp.o.
10626 * libc/sys/sh/setjmp.S: Delete file.
10627
10628Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10629
10630 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
10631 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
10632 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
10633 pow5mult and s2b to identifiers with leading underscores.
10634 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
10635 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
10636
10637Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
10638
10639 * libc/sys/posix/popen.c (sys/types.h): Include.
10640
10641Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
10642
10643 * libc/sys/win32/syscalls.h (fhandler): New struct.
10644 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
10645 (__fhandler_normal): Declare.
10646 (hinfo): New member op_handlers.
10647 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
10648 (__write): Likewise.
10649 (_read, _write, _open, _close, _lseek): Validate fd here.
10650 Move file type specific stuff to foo_normal.
10651 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
10652 New functions.
10653 (__lookup_fhandler): New function.
10654 (__lookup_fhandler_hook, __fhandler_normal): New variables.
10655
10656 From anders.blomdell@control.lth.se (Anders Blomdell)
10657 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
10658 Don't touch standard handles.
10659 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
10660 (_execve): Only create __FD_TABLE__ if necessary.
10661 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
10662
10663Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
10664
10665 * libc/sys/win32/sys/termios.h (FLUSHO): New.
10666 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
10667 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
10668 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
10669 without a handler is received.
10670 * libc/sys/win32/Makefile.in: Remove --nodelete.
10671 * libc/sys/win32/resouce.c (gettimeofday): New.
10672 * libc/sys/win32/syscalls.c (path_to_real_path): New.
10673 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
10674
10675Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
10676
10677 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
10678 Don't append "/*" to search pattern if trailing '/' already there,
10679 append "*".
10680 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
10681 like /'s, convert them to \'s. Handle //<drive>/ path names.
10682 Add space for quoted \'s in arg string. Print translated prog name
10683 and original prog name.
10684 (_execve): Handle parent doing exec a teensy bit better.
10685 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
10686 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
10687 path needs conversion, handle both cases. Delete `const' from result.
10688 (hash_path_name): New function.
10689 (_open): Call it.
10690 (_stat): Likewise. Fill in more fields for directories.
10691 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
10692 (wait_for_any): Fix trace message.
10693 (waitpid): Explicitly test for intpid == 0.
10694
10695 From anders.blomdell@control.lth.se (Anders Blomdell)
10696 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
10697 so `next' is valid.
10698
10699Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
10700
10701 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
10702 complicated.
10703
10704Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10705
10706 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
10707 at all, not just == 1.
10708 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
10709
10710Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10711
10712 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
10713 * libc/sys/win32/include/wintypes.h: include <winnt.h>
10714 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
10715 file.
10716
10717Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
10718
10719 * libc/sys/syscalls.c (getcwd): Fix off by one error.
10720
10721 * libc/sys/signal.c (sleep): Fill it in.
10722 * libc/sys/termios.c (tcflush): Use PurgeComm
10723 (tcsetattr): Set some more of the bits.
10724 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
10725
10726Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
10727
10728 * libc/sys/arm/crt0.S (fp): Initialize to 0.
10729 Conditionally include .idata$3 stuff ifdef __pe__.
10730
10731Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
10732
10733 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
10734 * libc/sys/win32/pipe.c (pipe): Ditto.
10735 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
10736 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
10737 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
10738 (tcgetattr): Contents are new.
10739 * libc/sys/win32/include/winkernel.h (DCB): New.
10740 (GetCommState, SetCommState): New.
10741
10742Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
10743
10744 * libc/sys/arm/crt0.S (_start): Define.
10745
10746Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
10747
10748 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
10749 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
10750
10751 * libc/sys/win32/sysconf.c: New
10752 * libc/sys/win32/sys/winadvapi.h: New
10753 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
10754 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
10755 * libc/sys/win32/pipe.c (pipe): Ditto.
10756 * libc/sys/win32/signal.c (_raise): New.
10757 (_kill): Moved from spawn.c
10758 * libc/sys/win32/spawn.c (kill): Moved to signal.c
10759 * libc/sys/win32/syscalls.c (__read): Use new fields.
10760 (_open): Ditto.
10761 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
10762 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
10763 * libc/include/sys/unistd.h (rmdir): Takes const path.
10764 * libc/include/sys/stat.h (mkdir): Takes const path.
10765 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
10766
10767Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
10768
10769 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
10770
10771 Add support for specifying paths as //<drive>/foo/bar.
10772 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
10773 (__path_to_real_path): Declare.
10774 (PATH_TO_REAL_PATH): New macro.
10775 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
10776 (__path_needs_conversion_p, __path_to_real_path): New functions.
10777 (_open): Fix test for error return from CreateFileA.
10778 Handle new path syntax.
10779 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
10780 * libc/sys/win32/dirsearch.c (opendir): Likewise.
10781
10782Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
10783
10784 * libc/sys/win32/include/*.h: Reorganized
10785 * libc/sys/win32/include/WINREADME: New.
10786 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
10787 * libc/sys/win32/*.c: Fix for new include scheme.
10788 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
10789 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
10790 * libc/sys/win32/passwd.c (*): Fix.
10791 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
10792 (_stat): Get directory owner and permissions right.
10793 * libc/sys/win32/syscalls.h (uinfo): New.
10794 * libc/sys/win32/version.def: Remove leading underscores.
10795
10796Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10797
10798 * libc/sys/win32/key.c: include "include/wincon.h".
10799
10800Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
10801
10802 * libc/sys/win32/{key, stubs}.c: New.
10803 * libc/sys/win32/Makefile: Adjust to cope.
10804 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
10805 (environ_init): Change env names to upper case.
10806 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
10807 * libc/sys/win32/passwd.c (*): Fill in the functions.
10808 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
10809 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
10810 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
10811 (_open): Initialze hmap->execable_p too.
10812 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
10813 (_fstat): Fill in permissions.
10814 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
10815
10816Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
10817
10818 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
10819 if defined.
10820 (cfg-ml-pos.in invocation): Likewise.
10821
10822Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10823
10824 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
10825 s_isnan.o and sf_isnan.o.
10826
10827Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
10828
10829 * All Makefile.in files: added maintainer-clean target as a
10830 synonym for realclean.
10831
10832Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
10833
10834 * libc/include/machine/setjmp.h: Add hppa support.
10835 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
10836 support.
10837 * libc/machine/hppa/Makefile.in: Related changes.
10838
10839Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
10840
10841 * configure.in (machine_dir): Don't set for v810-*-*.
10842
10843Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10844
10845 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
10846 conventions correctly.
10847
10848Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
10849
10850 * libc/stdio/puts.c: Update documentation of return value to match
10851 ANSI standard.
10852
10853Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
10854
10855 Fix file descriptor inheritance.
10856 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
10857 (NOT_OPEN_FD): Fix.
10858 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
10859 close-on-exec flag not set. Initialize child's entire fd table.
10860 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
10861 CHILD_P.
10862 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
10863 if CHILD_P. Initialize entire hmap entry.
10864 (dup): Only create new handle as inheritable if CHILD_P.
10865 (dup2): Likewise. Properly initialize hmap entry.
10866
10867 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
10868 _spawn.
10869 (_exit): Use CHILD_P.
10870 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
10871 (_stat): Likewise.
10872
10873Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10874
10875 * libc/sys/win32/crt0.c (passover): fix up the state table.
10876 * libc/posix/popen.c: Added.
10877 * libc/posix/Makefile.in: compile popen.c.
10878
10879Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
10880
10881 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
10882 h8/500 define _DOUBLE_IS_32BITS.
10883
10884Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
10885
10886 Get vfork/exec/spawn/cwait/wait working again.
10887 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
10888 (procinfo): New member vfork_level.
10889 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
10890 (vfork_init_first): Use GetCurrentProcessId to get pid.
10891 Initialize vfork_level.
10892 (vfork_init): Delete __PID__.
10893 (environ_init): New function. Undo patch of Aug 19, Posix says
10894 environment variables are case sensitive.
10895 (mainCRTStartup): Call it.
10896 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
10897 (my_longjump: Make static.
10898 (_spawn): New argument `h'. Delete setting of __PID__.
10899 Delete local `idx'. Look for chars that need quotes, rather than
10900 ones that don't. Set handle of created process in `h'.
10901 Result is process id if created task.
10902 (allocate_spawn_entry): New function.
10903 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
10904 (_execve): Set __FD_TABLE__ before spawning child.
10905 Scan our fd table when passing fds, not our parent's.
10906 Store handle and pid in procinfo entry.
10907 (vfork0): Ensure strace message always printed.
10908 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
10909 (vfork): Don't clobber result of vfork0.
10910 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
10911 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
10912
10913 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
10914 and `exit_code'.
10915 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
10916 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
10917 adding vfork level to pseudo-pid.
10918 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
10919 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
10920 (_exit): If child, set exit code.
10921 (__vfork_record_death): Only close process handle if valid.
10922 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
10923 didn't exec.
10924 (wait_for_any): Likewise. Start scan after root entry.
10925
10926Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10927
10928 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
10929 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
10930 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
10931 of actual file length.
10932
10933 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
10934 * libc/include/paths.h: _PATH_BSHELL added.
10935 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
10936 and STDERR_FILENO.
10937
10938Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10939
10940 * libc/include/ar.h: Added.
10941 * libc/include/sys/types.h: ino_t goes back to 32-bits.
10942 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
10943 * libc/sys/win32/syscalls.c (_open): compute .namehash based
10944 on filename.
10945 (_fstat): use .namehash for inode number of the fd.
10946
10947Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
10948
10949 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
10950 Change hinfo to __this_procinfo.
10951 * libc/sys/win32/crt0.c: Remove procinfo_list.
10952
10953Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10954
10955 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
10956 win32 environment.
10957
10958Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10959
10960 * libc/sys/win32/include/grp.h: Removed.
10961 * libc/sys/include/grp.h: Added.
10962 * libc/sys/win32/grp.c: Include <grp.h>.
10963
10964Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
10965
10966 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
10967 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
10968 Defined for all but strict ANSI.
10969 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
10970 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
10971 * libc/signal/signal.c (_signal_r): Changed from using
10972 _MAX_SIGNALS to NSIG.
10973 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
10974 __hmap): Deleted.
10975 (__strace, __vfork_next_pid): New.
10976 (__exe_suffix): Default to 1.
10977 (passover, table): Understand quoted arguments.
10978 (vfork_init_first): New.
10979 (vfork_init): Initialize new process structure.
10980 (mainCRTStartup): Pass environ to main.
10981 * exceptions.c (__sig_mask): New
10982 (ehandler3): Ignore signals in mask.
10983 (really_exit): Remove CHILD_P test.
10984 * pipe.c (pipe, dup, dup2): Use new process and file structure.
10985 * resource.c (getrusage): Ditto.
10986 * signal.c (sigprocmask): New.
10987 * spawn.c (*): Rewritten.
10988 * syscalls.c (*): Use new process and file structure.
10989 (find_unused_handle): New.
10990 * syscalls.h (MAX_HANDLES): Deleted.
10991 (hinfo): Removed child_created_p.
10992 (MAX_CHILDREN): Deleted.
10993 (vfork_jmp_info, procinfo): New.
10994 * wait.c (*): Mostly new.
10995 * sys/strace.h (_STRACE_PARANOID): New.
10996 * sys/param.h: New file.
10997
10998Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10999
11000 * libc/include/sys/stat.h: add S_BLKSIZE.
11001 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
11002 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
11003 types under win32.
11004 (mode_t): add a #else to avoid multiple definitons.
11005
11006 * libc/sys/win32/Makefile.in: add grp.c.
11007 * libc/sys/win32/grp.c: include grp.h correctly.
11008 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
11009 of the st structure with real information.
11010 * libc/sys/win32 (dirent): d_ino is of type ino_t.
11011
11012Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
11013
11014 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
11015 and (maybe) sparc64.
11016 (nlink_t): Provide typedef.
11017
11018Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11019
11020 * libc/sys/win32/grp.c: New file.
11021 * libc/sys/win32/include/grp.h: New file.
11022
11023Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11024
11025 * libc/include/machine/ieeefp.h: Added whitespace to make this
11026 file easier to maintain.
11027 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
11028 depending on the value of __LITTLE_ENDIAN__.
11029 On the sh3e, define _DOUBLE_IS_32BITS.
11030
11031Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
11032
11033 * libc/sys/vr4300/syscalls.c: Added missing support
11034 routines. _raise() and getpid().
11035
11036Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
11037
11038 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
11039
11040Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
11041
11042 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
11043 and VR4300 processor.
11044 * libc/sys/vr4300: Add directory.
11045 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
11046 monitor run-time support.
11047
11048Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11049
11050 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
11051 * libc/stdlib/stdlib.tex: Don't include atol.def.
11052
11053Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11054
11055 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
11056
11057Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
11058
11059 * libc/ctype/Makefile.in: Fill in _to* dependencies.
11060
11061Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
11062
11063 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
11064 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
11065 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
11066 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
11067 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
11068
11069Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11070
11071 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
11072
11073Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11074
11075 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
11076 * libc/stdlib/atoff.c: New file.
11077 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
11078 * libc/stdlib/atoi.c (atol): Removed.
11079 * libc/stdlib/atol.c: Removed duplicate documentation.
11080
11081 * libc/include/ctype.h (_tolower, _toupper): Moved inside
11082 #ifndef _STRICT_ANSI conditional.
11083 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
11084 * libc/ctype/_tolower.c: New file.
11085 * libc/ctype/_toupper.c: New file.
11086 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
11087 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
11088 * libc/ctype/toascii.c (_toascii): Removed.
11089
11090Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
11091
11092 * libc/sys/sparc64/sys/types.h: Deleted.
11093
11094Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11095
11096 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
11097 and recognize Windows_95 systems.
11098
11099Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11100
11101 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
11102 and passed fds should be opened in text mode.
11103
11104Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11105
11106 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
11107 in __hmap, set to binary mode by default.
11108
11109Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11110
11111 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
11112 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
11113 vector 34.
11114
11115Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
11116
11117 * Makefile.in (install): Install all libraries found in the
11118 top level. If there's a sys/<type>/include directory,
11119 install those headers into include.
11120
11121 * libc/sys/win32/kernel.def351: Delete
11122 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
11123 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
11124 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
11125 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
11126 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
11127 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
11128 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
11129 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
11130
11131 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
11132 * libc/sys/win32/crt0.c: Force all env names to upper case.
11133 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
11134 * libc/sys/win32/*.c: Headers have moved.
11135 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
11136 __vfork_child_idx is now __vfork_child_ptr.
11137
11138 * posix/execvp (execvp): Don't crash if no PATH envname.
11139
11140Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11141
11142 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
11143 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
11144 through the _freelist instead of through the _reclaim list.
11145 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
11146 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
11147 sources.
11148
11149Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11150
11151 * libc/machine/h8500/setjmp.S: New file.
11152 * libc/include/machine/setjmp.h: Updated for H8/500.
11153
11154Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
11155
11156 * libc/sys/win32/syscalls.c (_open): More stracing.
11157 (_stat): Open the file in O_BINARY.
11158
11159Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11160
11161 * libc/machine/h8300/setjmp.S: New file.
11162 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
11163
11164Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
11165
11166 * libc/sys/win32/crt0.c (__exe_suffix): New global.
11167 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
11168 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
11169 __exe_suffix. Free fd_tab after setting env variable.
11170 (spawnv,_execve): Update.
11171 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
11172 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
11173 (__small_vfprintf): New function.
11174 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
11175 * libc/sys/win32/wait.c (cwait): Validate argument.
11176
11177 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
11178 (process_deletion_queue): Likewise.
11179
11180 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
11181
11182Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
11183
11184 * libc/sys/win32: Copyrights and gratuitous indenting.
11185
11186Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
11187
11188 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
11189 (process_deletion_queue): Likewise.
11190 (__close_all_files): New function.
11191 (_close): Only queue file deletion if really a file.
11192 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
11193 _P_APPEND_EXE.
11194 (_exit): Call __close_all_files.
11195
11196 * libc/stdlib/system.c: #include <errno.h>.
11197 (_system_r): Fix results in -DNO_EXEC case.
11198
11199 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
11200 Reorganize structure.
11201 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
11202 if argument is valid. Save directory name in DIR. malloc space
11203 for dirent struct separately.
11204 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
11205
11206 * libc/include/errno.h (ENAMETOOLONG): Define.
11207 * libc/string/strerror.c (strerror): Reword ENFILE.
11208 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
11209
11210Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
11211
11212 * libc/sys/win32/crt0.c (__progname): New global.
11213 (mainCRTStartup): Support strace=bitmask,filename.
11214 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
11215 * libc/sys/win32/syscalls.c (_write): Print parent trace message
11216 if error.
11217 (getcwd): Handle len too small. Convert '\\' to '/'.
11218 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
11219 Add prototypes for open, creat, fcntl.
11220 (O_APPEND): Change value to conform to Microsoft's value.
11221 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
11222
11223 * libc/stdlib/getopt.c: New file.
11224 * libc/stdlib/Makefile.in: Build it.
11225
11226Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
11227
11228 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
11229 Fix scanning of $PATH.
11230 * libc/posix/exec*.c: Call _execve, not execve.
11231 * libc/posix/execve.c: New file.
11232 * libc/posix/Makefile.in (OFILES): Add execve.o.
11233
11234 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
11235 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
11236 (_STRACE): If level==0, always print. Handle new bit mask scheme.
11237 * libc/sys/win32/crt0.c: Update _STRACE calls.
11238 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
11239
11240 * libc/sys/win32/smallprint.c (rn): Fix digit list.
11241
11242 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
11243 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
11244 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
11245 Print __seterrno trace message first.
11246 (_execve): Renamed from execve.
11247 (vfork): Update __strace usage.
11248 (__vfork_child_pid): Deleted.
11249 (__vfork_children, __vfork_child_idx): New globals.
11250 (_spawnvp): New function.
11251 (spawnvp, spawnv, _execve): Call _spawnvp.
11252 (init_child): Record child in __vfork_children.
11253 (__vfork_get_entry, __vfork_record_death): New functions.
11254 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
11255 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
11256 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
11257 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
11258 (children): New typedef.
11259 (__vfork_children,__vfork_child_idx): Declare.
11260 (__vfork_get_entry,__vfork_record_death): Declare.
11261 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
11262 (waitpid): Handle pid == -1.
11263 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
11264 * configure.in (i386-win32): Add -DNO_FORK.
11265 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
11266 * libc/reent/execr.c (_fork_r): Likewise.
11267 * libc/stdlib/system.c (do_system): New function.
11268 If WIN32, try to get shell path from $SH_PATH, use vfork.
11269 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
11270 otherwise return 0.
11271
11272Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
11273
11274 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
11275 * libc/sys/win32/fcntl.h: Don't include self.
11276 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
11277 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
11278 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
11279 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
11280 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
11281 Correct prototypes.
11282 * libc/sys/win32/strace.c: New file.
11283 * libc/sys/win32/smallprint.c: New file.
11284 * libc/sys/win32/crt0.c (func): Delete.
11285 (mainCRTStartup): Fix alloca usage. Set handles explictly.
11286 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
11287 * libc/sys/win32/exceptions.c: Lint.
11288 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
11289 Clean up handle usage.
11290 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
11291 (open.c): Default file type is text.
11292 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
11293 * libc/sys/win32/advapi32.def: New
11294
11295Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
11296
11297 * configure.in (posix_dir, libc_posix_lib): New variables.
11298 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
11299 (i[345]86-*-win32): Define posix_dir.
11300 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
11301 (if unix_dir): Fix typo.
11302 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
11303 scandir,seekdir,telldir}: New files.
11304 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
11305 from libc/unix.
11306 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
11307 (SUBDIRS): Add posix.
11308 (SUBLIBS): Add $(LIBC_POSIX_LIB).
11309
11310 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
11311 (NSIG): Increase to 21.
11312 * libc/include/sys/unistd.h (pid_t): Move from here,
11313 * libc/include/sys/types.h (pid_t): to here.
11314
11315 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
11316 (__ptrace): Delete.
11317 (hinfo): New members close_exec_p, child_created_p.
11318 (struct exception_list): Define.
11319 (__hmap): Redefine as pointer to table.
11320 (__parent_hmap, __child_hmap): New globals.
11321 (__set_errno, __really_exit): Declare.
11322 (__vfork_child_pid): Declare.
11323 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
11324 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
11325 (__parent_hmap, __child_hmap): New globals.
11326 (__hmap): Redefine as pointer to active map.
11327 (__get_console): New function.
11328 (mainCRTStartup): Change leading '=' in environ vars to '!'.
11329 (env __FD_TABLE__): Watch for this and initialize our fd/handle
11330 mapping table from it if defined.
11331 (argv, envp): Dump if __strace >= 4.
11332 (main): Call here.
11333 * libc/sys/win32/exceptions.c (myp): Redefine.
11334 (__syscalls_b): Delete.
11335 (__stack_trace): New function.
11336 (ehandler3): Update to use _STRACE. Print stack trace.
11337 Call __really_exit instead of exit.
11338 (init_exceptions): Delete args argc,argv. New arg mine.
11339 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
11340 FindFirstFileA, FindNextFileA, GetComputerNameA,
11341 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
11342 * libc/sys/win32/signal.c (signal): Validate arg.
11343 (alarm, sleep): Define as stubs for now.
11344 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
11345 (__syscalls_b, errno): Delete.
11346 (__vfork_child_pid, __vfork_jmp_buf): New globals.
11347 (__seterrno): Handle more errors.
11348 (__sys_printf): Renamed from _ptrace.
11349 (__really_exit): New function.
11350 (queue_file_deletion, process_deletion_queue): New functions.
11351 (__resume_parent): New function.
11352 (_unlink): Handle trying to delete open file.
11353 (__totime_t): Renamed from totime_t.
11354 (setsid, __read, __write): New functions.
11355 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
11356 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
11357 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
11358 * libc/sys/win32/console.c: Update to new definition of __hmap.
11359 * libc/sys/win32/Makefile.in: Build new files.
11360 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
11361 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
11362 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
11363 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
11364
11365Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
11366
11367 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
11368
11369Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11370
11371 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
11372 have been made to the master dtoa.c sources (from netlib.att.com)
11373 since they were integrated into newlib in early 1992. Fixes
11374 problems with storage leaks and handling of numbers with very
11375 negative exponents.
11376
11377Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11378
11379 * Makefile.in (all): set rootpre and srcrootpre before calling
11380 sub-makes.
11381
11382Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
11383
11384 * libc/sys/win32/crt0.c: Change __hmap usage.
11385 * libc/sys/win32/exceptions.c: Use _ptrace call.
11386 * libc/sys/win32/syscalls.c: Use _ptrace call.
11387 (read, write): Cope with DOS style CRLF when in TEXT mode.
11388 * libc/sys/win32/syscalls.h: Declare hinfo struct.
11389 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
11390 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
11391 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
11392 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
11393
11394Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11395
11396 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
11397
11398 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
11399 wrappers for hypot() and remainder() for BSD libm compatibility.
11400 These are public domain implementations written by me for the
11401 NetBSD libm some time ago. Note cabs() is required by ucbtest.
11402 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
11403 (fobj): Added wf_cabs.o and wf_drem.o.
11404
11405Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11406
11407 * libc/sys/h8500hms/misc.c: New file.
11408 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
11409
11410Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11411
11412 * libc/time/localtime.c (localtime): Fix problem with leap year
11413 handling. Stole algorithm from Arthur David Olson's tz code.
11414
11415Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
11416
11417 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
11418
11419 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
11420 (_exit): Use argument.
11421
11422Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
11423
11424 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
11425
11426Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
11427
11428 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
11429
11430Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11431
11432 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
11433 target_cflags.
11434
11435Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
11436
11437 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
11438 ptrace with case insensitivity
11439 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
11440 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
11441 New files.
11442
11443Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
11444
11445 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
11446 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
11447 (all, install, *clean): Use new multilib support.
11448 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
11449
11450Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
11451
11452 * libc/include/sys/signal.h (__WIN32__): New.
11453
11454 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
11455
11456 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
11457 (ulp, b2d): Handle 32 bit doubles.
11458 * libc/stdlib/mprec.h: Handle 32 bit doubles.
11459 * libc/stdlib/strtod.c (_strtod_r): Ditto.
11460
11461Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
11462
11463 from medp@primag.co.uk:
11464 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
11465 dynamically allocated buffers.
11466
11467Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
11468
11469 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
11470 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
11471
11472Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11473
11474 * configure.in (powerpc): Fix previous fix.
11475
11476Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11477
11478 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
11479 directories for this target.
11480
11481Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11482
11483 * configure.in (hppa): Add machine_dir definition.
11484 * libc/machine/hppa: New directory with PA specific implementations
11485 of the basic memory/string functions.
11486
11487Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11488
11489 * configure.in: Update current PowerPC multilib directories.
11490 Split big and little endian configurations.
11491
11492Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
11493
11494 * configure.in: Add --enable-single-float option to configure to
11495 control use of MIPS single-float directories. Default to yes.
11496
11497 * Makefile.in (all): Don't recurse into multilib directory if it
11498 does not exist.
11499
11500Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11501
11502 * libc/sys/sh/syscalls.c: Fix typo.
11503
11504Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
11505
11506 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
11507 Pass down DLLTOOL.
11508 * libc/include/process.h: Define WAIT_CHILD.
11509 * libc/include/types.h: Get sizes right for win32.
11510 * configure.in (i386-*-pe): Becomes i386-win32.
11511 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
11512 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
11513 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
11514 is defined.
11515
11516Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
11517
11518 * configure.in (i[345]86-*-pe): New target (NT).
11519 * host/any: DLLTOOL new.
11520 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
11521 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
11522 WIN32 (just enough to cross host the comp-tools).
11523
11524Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
11525
11526 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
11527 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
11528
11529Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
11530
11531 * libc/include/machine/ieeefp.h (arm): Change to always be
11532 __IEEE_BIG_ENDIAN (even on little endian ARM's).
11533
11534Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
11535
11536 * libc/sys/crt0.S: Initialze sp, and call exit after main.
11537 * libc/sys/syscalls.c (abort): New.
11538 * configure.in (arm): Define ABORT_PROVIDED.
11539
11540Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11541
11542 * configure.in (powerpc): Define multidirs.
11543
11544Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
11545
11546 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
11547
11548Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
11549
11550 * configure.in (sparclite): Delete target_cflags. Define multidirs.
11551
11552Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
11553
11554 * configure.in, libc/include/machine/ieeefp.h: Modified
11555 for arm:
11556 libc/machine/arm/*, libc/sys/arm/*: New
11557
11558Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11559
11560 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
11561 __powerpc__ when determining endianness.
11562
11563Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11564
11565 * configure.in (m68*): Add multidir for the m68332.
11566
11567 * host/any (CC): Fix typo in last change.
11568
11569Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
11570
11571 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
11572 when determining endianness.
11573 * libc/include/machine/ieeefp.h: Ditto.
11574 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
11575 operands.
11576
11577Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
11578
11579 * libc/include/errno.h (ENOTEMPTY): Define.
11580
11581Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11582
11583 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
11584 target_cflags.
11585
11586 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
11587 and umultiply.o.
11588
11589 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
11590 instead of only when open succeeds. ANSI requires that multiple
11591 calls to tmpnam() result in different files.
11592
11593 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
11594 objects pulled in from /lib/libc.a that must be renamed before
11595 being pulled into newlib. /lib/libc.a's div.o conflicted with
11596 newlib's file with the same name.
11597
11598 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
11599
11600 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
11601 the build tree will only be used if the executables are present
11602 (instead of just the Makefiles).
11603
11604 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
11605 wcstombs): Define.
11606 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
11607 versions of these functions that I orignally wrote for the
11608 NetBSD C library.
11609 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
11610 versions I wrote for NetBSD.
11611
11612Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
11613
11614 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
11615 * libc/sys/sparclite/crt0.s: ditto.
11616
11617Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
11618
11619 * configure.in: Add soft-float for proelf.
11620
11621Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
11622
11623 * libc/stdlib/mprec.h (Bcopy): Copy the right number
11624 of bytes.
11625
11626Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
11627
11628 * Makefile.in (all): Depend on `force'.
11629 * configure.in (syscall_dir): Renamed from fake_sys_dir.
11630 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
11631 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
11632 * libc/Makefile.in: Likewise.
11633 * libc/include/reent.h: Update syscall references.
11634 (_fcntl_r): Add prototype.
11635 * libc/syscalls/*.c #include <reent.h>.
11636 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
11637
11638Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
11639
11640 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
11641 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
11642 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
11643 (time.h, sys/types.h): Always include (even if MSDOS).
11644 (stat): Fix prototype.
11645
11646Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
11647
11648 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
11649
11650Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11651
11652 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
11653
11654Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
11655
11656 * libc/include/regdef.h: New file.
11657 * libc/machine/mips/machine/regdef.h: New file.
11658
11659Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
11660
11661 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
11662
11663Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
11664
11665 * libc/sys/sh/crt0.S: Pass main's return to exit.
11666 * libc/sys/sh/trap.S: Put errno in the right place.
11667
11668Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11669
11670 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
11671 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
11672 * libm/math/ef_rem_pio2.c: Likewise.
11673 * libm/math/e_log10.c: Remove unused static one.
11674 * libm/math/ef_log10.c: Likewise.
11675 * libm/math/s_frexp.c: Likewise.
11676 * libm/math/sf_frexp.c: Likewise.
11677
11678Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
11679
11680 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
11681 longjmp.S: Upgraded.
11682 * libc/sys/go32/sys/setjmp.h: Upgraded.
11683 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
11684
11685Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11686
11687 * configure.in: Add many entries to multidirs for mips targets.
11688
11689Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11690
11691 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
11692 5.2 which fixes bug where jn(-1,x) is three times larger than
11693 the actual answer.
11694 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
11695
11696Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
11697
11698 * libc/sys/w65/sys/syscalls.h: New file
11699 * libc/include/machine/ieeefp.h: W65 support.
11700 * libc/include/sys/config.h: Ditto.
11701 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
11702 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
11703 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
11704
11705Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
11706
11707 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
11708
11709Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
11710
11711 * Makefile.in, configure.in: Remove any references to the old
11712 "stub" dir.
11713
11714Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11715
11716 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
11717 uses ... in prototype.
11718
11719
11720Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
11721
11722 * libc/sys/a29khif/sys/libconfig.h: Remove.
11723 * libc/sys/go32/sys/libconfig.h: Remove.
11724 * libc/sys/sun4/sys/libconfig.h: Remove.
11725 * libc/sys/sysvi386/sys/libconfig.h: Remove.
11726 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
11727 * libc/sys/sparc64/sys/libconfig.h: Remove.
11728
11729 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
11730 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
11731 * libc/include/math.h: Change all uses of _FLOAT_RET and
11732 _FLOAT_ARG to float.
11733 * libm/test/math.c: Likewise.
11734 * testsuite/libm.sac/math.c: Likewise.
11735 * testsuite/libm.sac/working/math.c: Likewise.
11736
11737Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
11738
11739 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
11740 gcc calls gas with endian option.
11741 * configure.in (sh): Build little endian version too.
11742
11743Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11744
11745 * configure.in: Configure big and little endian versions for MIPS
11746 targets.
11747
11748Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
11749
11750 * libc/include/limits.h: Deleted.
11751 * libc/include/machine/limits.h: Deleted.
11752
11753Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
11754
11755 * ChangeLog: Remove stub directory. This has all been rewritten
11756 and moved to devo/libgloss.
11757
11758Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
11759
11760 * Makefile.in (dvi): Add to info target, use $@ in sub make.
11761 (docs): Merge into info target.
11762 * libm/Makefile.in (dvi): Add $(srcdir).
11763 * libm/math/Makefile.in (chobjs): Remove underscores from file
11764 names. Texinfo doesn't like them.
11765 (wacos.def, ...): Add explicit targets for all .def files.
11766 * libm/math/math.tex: Remove underscores from @include file names.
11767 * doc/Makefile.in (dvi): Add dummy target.
11768 * testsuite/Makefile.in (dvi): Add dummy target.
11769
11770Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
11771
11772 * Makefile.in (VERSION): Define. For net newlib releases.
11773
11774Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
11775
11776 * README: New file.
11777
11778Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
11779
11780 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
11781
11782Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11783
11784 * libc/stdlib/setenv.c (_findenv): Declare.
11785
11786 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
11787 fcntl to not use _EXFUN, and change string parameters to open and
11788 creat to be ``const char *''.
11789 * libc/sys/sparc64/sys/fcntl.h: Likewise.
11790 * libc/sys/sparc64/creat.c (creat): Make PATH const.
11791 * libc/syscalls/sysopen.c: Include <fcntl.h>.
11792 (open) Make _FILE const.
11793 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
11794 (_creat): Make PATH const.
11795 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
11796 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
11797 * libc/sys/m88kbug/syscalls.c (open): Likewise.
11798 * libc/sys/sh/syscalls.c (_open): Likewise.
11799 * stub/shared/glue.c (open): Make BUF const.
11800 * stub/ex93x/syscalls.c (open): Make FILENAME const.
11801
11802Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
11803
11804 * libc/include/errno.h: Add ENMFILE
11805 * libc/include/sys/config.h: Support Z8000.
11806 * libc/include/sys/signal.h: New signals for go32.
11807 * libc/machine/h8500/psi.S (__addpsir0r0): New function
11808 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
11809 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
11810 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
11811 size is variable, depending upon CHUNK_POWER.
11812 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
11813
11814Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
11815
11816 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
11817
11818Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11819
11820 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
11821
11822Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11823
11824 * configure.in: Change i[34]86 to i[345]86.
11825
11826 * libc/include/math.h: Don't define HUGE_VAL if it is already
11827 defined.
11828
11829Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11830
11831 * testsuite/libm.sac/test_erfc.c: Correct some result values.
11832 * testsuite/libm.sac/test_gammaf.c: Likewise.
11833 * testsuite/libm.sac/test_sin.c: Likewise.
11834 * testsuite/libm.sac/test_tanh.c: Likewise.
11835
11836Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11837
11838 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
11839 already set. Define typedefs __int32_t and __uint32_t.
11840 * libc/include/math.h: Include <machine/ieeefp.h>.
11841 (union __dmath): Use __uint32_t.
11842 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
11843 instead of int and unsigned int.
11844
11845Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11846
11847 Replace the math library with the SunPRO fdlibm package.
11848 * libm/math: Completely changed all files.
11849 * libm/ieeefp: Remove contents and directory.
11850 * libm/Makefile.in (LIBM_FP_LIB): Remove.
11851 (SUBDIRS): Just set to math/lib.a.
11852 * libm/libm.texinfo: Updated for new library.
11853 * libc/include/math.h: Extensive changes for new math library.
11854 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
11855 from _FLOAT_ARG to float.
11856 (maxpowtwo, maxpowtwof): Don't declare.
11857 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
11858 (libm_fp_lib): Removed.
11859 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
11860 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
11861 argument to ${RUNTEST}.
11862 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
11863 (.c.o): New rule.
11864 (RUNTESTFLAGS): Set CC and CFLAGS.
11865 (TESTS): Remove test_log2 and test_log2f.
11866 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
11867 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
11868 _FLOAT_ARG, for single precision argument type.
11869 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
11870 expected failure. Close the input pipe.
11871 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
11872 Correct misspelling of inaccurate.
11873 (test_mok): Use ``inaccurate'', not ``wrong''.
11874 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
11875 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
11876 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
11877 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
11878 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
11879 test_yn.c): Correct many result values. Many are still wrong.
11880
11881 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
11882 just copy the string.
11883 (_gcvt): Always return the buffer.
11884
11885Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11886
11887 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
11888
11889Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
11890
11891 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
11892 structure.
11893 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
11894 (_reclaim_reent): declare new entry point.
11895 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
11896 functions.
11897
11898 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
11899 ever allocated, so that we can later reclaim them all.
11900 (pow5mult): make reentrant.
11901
11902 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
11903 so that when given NULL as a buffer, return a pointer to static
11904 space in the rent structure. This is not documented behaviour;
11905 it's only to support ecvt and fcvt, which aren't ANSI anyway.
11906 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
11907 therefore become reentrant).
11908
11909 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
11910
11911Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11912
11913 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
11914
11915Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
11916
11917 * Makefile.in: Make link to libg.a after libc.a; this is needed
11918 for the testsuites to build executables when everything comes
11919 from the tree.
11920
11921Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
11922
11923 * libc/Makefile.in: Add a VERSION variable so we can keep track.
11924 * libm/Makefile.in: Add a VERSION variable so we can keep track.
11925
11926Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
11927
11928 * libc/include/stdio.h: Use __VALIST, not va_list.
11929
11930Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
11931
11932 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
11933 testsuite/libm.sac/execute.exp:
11934 Replace error proc calls with perror calls.
11935
11936Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
11937
11938 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
11939 * libc/include/time.h: #define NULL as 0L.
11940
11941Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
11942
11943 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
11944 care of it.
11945
11946Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11947
11948 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
11949 not __unix__.
11950
11951Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
11952
11953 * configure.in (TARGET_CFLAGS): Set -O2 as default.
11954 (z8k-*-*): Use syscalls fake sys dir.
11955 * libc/sys/z8k/glue.c: Rename syscalls.
11956 * libc/sys/go32/Makefile.in: Use new routines.
11957 * libc/machine/Makefile.in: Fix typo in ln stuff.
11958
11959Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
11960
11961 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
11962 * libc/Makefile.in (crt0.o): Likewise.
11963 * libc/machine/Makefile.in (lib.a): Likewise.
11964 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
11965
11966 All Makefile.in files: Added mostlyclean, realclean and distclean
11967 targets.
11968
11969 * Makefile.in: Don't bother to unexport XTRAFLAGS or
11970 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
11971 the top level Makefile.
11972
11973Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
11974
11975 * libc/sys/sparc64/sys/stat.h: New file.
11976 * libc/sys/sparc64/sys/time.h: New file.
11977 * libc/sys/sparc64/sys/types.h: New file.
11978
11979Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
11980
11981 * stub/ex93x/crt0.s (start): Add code to clear bss.
11982
11983Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
11984
11985 * libc/include/sys/types.h (time_t): Properly protect inside
11986 #ifndef __time_t_defined.
11987
11988 * libc/stdio/fileno.c: New file.
11989 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
11990 (fileno.o): Add dependency.
11991 * libc/include/stdio.h (__sgetc): Rename never to _never.
11992 (fileno macro): Disable, needs to do CHECK_INIT first.
11993
11994Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
11995
11996 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
11997 goal.
11998
11999 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
12000 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
12001 runtest.
12002 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
12003 runtest.
12004
12005Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
12006
12007 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
12008 of the various constants.
12009
12010Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
12011
12012 * libc/include/math.h: #ifndef __math_68881 around things which
12013 conflict with the (gcc-provided) inline functions in
12014 gcc/ginclude/math-68881.h.
12015
12016Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
12017
12018 * libc/include/_syslist.h (_gettimeofday): Define.
12019 (_times): Ditto.
12020 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
12021 (struct tms, timeval, timezone): Declare.
12022 (_gettimeofday_r, _times_r): Declare.
12023 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
12024 #ifdef _CLOCK_T_ surrounding definition of clock_t.
12025 (time_t): Add multiple definition protection, __time_t_defined.
12026 * libc/include/sys/time.h: Don't #include <time.h>.
12027 Always define struct timezone (remove #ifndef _TIME_H_).
12028 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
12029 #ifdef _CLOCK_T_ surrounding definition of clock_t.
12030 * libc/reent/Makefile.in (OFILES): Add timer.o.
12031 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
12032 * libc/reent/timer.c: New file.
12033 * libc/time/clock.c: #include <reent.h>.
12034 (clock): Call _times_r instead of times.
12035 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
12036 HAVE_GET_TIME_OF_DAY.
12037 Add comment regarding supporting OS routine(s) required (for docs).
12038 #include <reent.h>.
12039 (time): Call _gettimeofday_r instead of gettimeofday.
12040 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
12041 * libc/time/ctime.c: Ditto.
12042 * libc/time/strftime.c: Ditto.
12043 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
12044 (TEMPLATE_SFILES_R): Define here. Also define times.
12045 Add times_r.o/times.S dependence.
12046 (time2.c, junk.c): Deleted.
12047 * libc/sys/sparc64/time2.c: Deleted.
12048 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
12049
12050 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
12051 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
12052 * libc/sys/sparc64/junk.c: Deleted.
12053
12054Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
12055
12056 * libc/sys/sparc64/Makefile.in: Add times syscall.
12057 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
12058 be used with and without it. Add comment clarifying Medium/Anywhere
12059 model requirements.
12060 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
12061 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
12062 even if obsolete.
12063
12064Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
12065
12066 * configure.in (target_cflags): Move init.
12067 (sparc64-*-*): Define HAVE_BLKSIZE.
12068
12069Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
12070
12071 * libc/include/sys/_types.h: New file.
12072 * libc/include/reent.h: #include it.
12073 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
12074 MISSING_SYSCALL_NAMES.
12075 Sort syscalls.
12076 * libc/include/_syslist.h: Remove _raise.
12077 * libc/reent/signalr.c: New file.
12078 * libc/reent/Makefile.in: Compile it.
12079 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
12080 Add doc for raise and _raise_r.
12081 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
12082 (raise): Call _raise_r.
12083 (_raise_r): Call _getpid_r and _kill_r.
12084 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
12085 (abort): Loop forever calling raise and _exit.
12086
12087Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12088
12089 * configure.in: Remove extraneous echo.
12090
12091Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
12092
12093 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
12094 collision with unistd.h, and fix for svr4.
12095
12096Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
12097
12098 * libc/stdio/local.h (_llicvt): Declare.
12099 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
12100 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
12101 (_llicvt): Define.
12102 (_sicvt): Fix function header (`value' is short).
12103 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
12104 Add printing of long long's support.
12105 Add printing of 8 byte pointer support.
12106
12107Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
12108
12109 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
12110 stat, chmod): New hooks.
12111 (sbrk): Abort if stack and heap collide.
12112 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
12113 shortcut when given small args.
12114 * libc/machine/sh/setjmp.s: Rewritten.
12115 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
12116 of cmp/str instruction.
12117
12118Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12119
12120 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
12121 and machine_dir powerpc.
12122 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
12123 Add cases for __powerpc__.
12124 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
12125 New files.
12126
12127 * libc/include/stdio.h (_iprintf_r): Declare correctly.
12128
12129Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
12130
12131 * libc/stdlib/callocr.c: New file with _calloc_r in it.
12132 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
12133
12134Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
12135
12136 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
12137 (print_e): More comments to describe args, etc.
12138 "type" arg may now be 'g' or 'G' for %g/G format --> remove
12139 trailing blanks.
12140 (_gcvt): Remove locals decpt, sign, end, p, done.
12141 More comments for print_e invocation.
12142 Pass "type" to print_e as is (g/G).
12143
12144Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
12145
12146 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
12147 stock m68000.
12148
12149Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
12150
12151 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
12152 works with any sized pointer, including ones bigger than ints and
12153 longs.
12154
12155Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
12156
12157 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
12158
12159Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12160
12161 * libc/include/stdlib.h (_calloc_r): Add prototype.
12162 * libc/machine/h8500/negsi2.c: New file.
12163 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
12164 large unsigned numbers.
12165 * libc/machine/h8500/cmpsi.c: Add cmppsi.
12166 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
12167 works when sizeof(size_t) != sizeof(char *).
12168 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
12169 get play area
12170 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
12171
12172Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
12173
12174 * libc/include/assert.h (assert): Handle -traditional.
12175
12176Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
12177
12178 * Makefile.in: added ; after every "fi" and "done" that wasn't at
12179 the end of a line (ie. anything before a backslash continuation)
12180 so that bash handles them.
12181
12182Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
12183
12184 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
12185 stat to lstat
12186
12187Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
12188
12189 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
12190 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
12191 libc/machine/sh/udivsi3.s: Use new calling convention.
12192
12193Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
12194
12195 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
12196 chmod, access, chdir, chown by making _path const. Also fix _amode
12197 param of access.
12198
12199Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
12200
12201 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
12202 _khif_tmpnam, because it doesn't comply with ANSI but may be
12203 useful anyway. Real tmpnam was already in libc/stdio, and was
12204 colliding with this one (pr 2176.)
12205 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
12206 the wrong idea anyhow.
12207
12208Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
12209
12210 * configure.in: Remove h8300h, we have multilib now.
12211
12212Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
12213
12214 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
12215 functions, to get preference over the ones in libiberty (since we
12216 provide correct declarations in <string.h>.
12217 * libc/string/Makefile.in: add support for strncasecmp,
12218 strcasecmp.
12219
12220Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
12221
12222 * Change netware config not to look for cpu explicitly.
12223
12224Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
12225
12226 * libc/sys/sparc64/{creat.c,junk.c}: New files.
12227 * libc/sys/sparc64/Makefile.in: Add dependencies.
12228
12229Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
12230
12231 * configure.in: Clean up v9 a bit, new "os" aoutv8.
12232
12233Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
12234
12235 * libc/include/sys/reent.h: make structure smaller by allocating
12236 some stuff when needed.
12237 * libc/signal/signal.c: allocate as needed
12238 * libc/stdio/findfp.c,stdio/local.h: ditto
12239 * libc/stdlib/mprec.c: ditto
12240
12241 * libc/time/localtime.c: don't return a dangling stack ptr.
12242
12243Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
12244
12245 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
12246
12247Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12248
12249 * libc/include/stdio.h (__sputc): comment out static inline which
12250 confuses coff toolchains.
12251
12252Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
12253
12254 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
12255 _write.s, getpid.c, kill.c, read.s}:
12256 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
12257 through the syscalls directory.
12258
12259Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
12260
12261 * configure.in: fixed double quote gotcha.
12262
12263Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
12264
12265 * stub/ex931: stub library for sparclite board.
12266 * stub/idp: Renamed from mc68ec. Added contructor table
12267 stuff to linker script.
12268 * stub/mvme135: Renamed from m68kmvme. Added contructor table
12269 stuff to linker script.
12270
12271Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12272
12273 * configure.in: Configure testsuites only if they exist.
12274
12275Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12276
12277 * configure.in: Don't set machine_dir for i386 until there is
12278 something in libc/machine/i386 to compile. For i[34]86-*-netware*
12279 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
12280 CLOCK_PROVIDED and MALLOC_PROVIDED.
12281
12282 * libc/sys/netware: New directory. Contains simplistic and
12283 probably incorrect stubs for NetWare. Should be enough to load
12284 the library.
12285 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
12286 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
12287 stub files.
12288
12289 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
12290 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
12291 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
12292 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
12293
12294Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
12295
12296 * testsuite/Makefile.in: add "docs" dummy target for consistency
12297 with rest of newlib; turn "info" and "install-info" into dummy
12298 targets, since they wouldn't have worked. (Depended on
12299 nonexistent "doc" subdir.)
12300
12301Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
12302
12303 * configure.in: handle mips* instead of mips
12304
12305Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
12306
12307 * libc/include/sys/dirent.h: New file. If it is not overridden by
12308 a version of libc/sys/*/sys/dirent.h, it includes the next
12309 <dirent.h> file in case there is one lurking somewhere.
12310
12311Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12312
12313 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
12314 compliance, namely: Accept a minus sign. Consider a single 0 with
12315 a radix of 0 as being a conversion. Determine overflow correctly.
12316 If an overflow occurs, set *ptr to the end of the number, not the
12317 middle.
12318 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
12319
12320Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
12321
12322 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
12323
12324Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
12325
12326 * Makefile.in (INSTALL): Use $srcrootpre.
12327 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
12328 can't handle it.
12329 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
12330 it.
12331 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
12332 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
12333 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
12334 * libm/math/Makefile.in (matherr.o): Ditto.
12335
12336Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12337
12338 * configure.in: Build multidirs for z8k.
12339 * libc/include/stdlib.h (_strtoul_r): add prototype.
12340 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
12341 * libc/include/machine/setjmp.h: Add for z8k.
12342 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
12343 * libc/sys/z8ksim/glue.c: tidy up.
12344
12345Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
12346
12347 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
12348 New files. Requires execve system call.
12349 * libc/unix/Makefile.in: Use them.
12350 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
12351 Deleted, moved to libc/unix.
12352 * libc/sys/sparc64/Makefile.in: Remove them.
12353
12354Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
12355
12356 * libc/sys/sparc64/{template.S template_r.S}: New files.
12357 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
12358 from templates.
12359 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
12360 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
12361 umask.S unlink.S wait4.S write.S}: Removed, now built from
12362 templates.
12363
12364Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
12365
12366 * libc/time/time.c: #include <_ansi.h>.
12367
12368Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
12369
12370 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
12371
12372Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12373
12374 * configure.in: match m8* rather than m88k so that m88110 is
12375 recognized as well.
12376
12377Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
12378
12379 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
12380 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
12381 misc.c: New file.
12382
12383 * configure.in: Add multilib support to h8300.
12384
12385Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
12386
12387 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
12388 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
12389 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
12390
12391Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12392
12393 * configure.in: Corrected multidirs for sparc target.
12394
12395Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12396
12397 Support for building newlib multiple times with different
12398 compilation flags.
12399 * configure.in: Only configure doc at top level. Set multidirs
12400 when appropriate for target, unless not at top level. If
12401 multidirs is set, independently configure each subdirectory.
12402 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
12403 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
12404 automagically set by configure.in.
12405 (all): If MULTIDIRS is set, build multiple copies of libraries.
12406 (install): If MULTIDIRS is set, install multiple copies of
12407 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
12408 MULTISUBDIR is set, don't bother to install header files.
12409 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
12410 ${srcrootpre}.
12411 * stub/configure.in: Set MULTISUBDIR appropriately.
12412 * stub/Makefile.in (install): Install in
12413 $(tooldir)/lib/$(MULTISUBDIR).
12414 * All Makefile.in files: Define SRCTOP as well as TOP.
12415
12416Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
12417
12418 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
12419 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
12420
12421Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
12422
12423 * libc/sys/h8300hms/exit.c (_exit): New function.
12424
12425Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12426
12427 * configure.in: recognize m88110.
12428
12429Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12430
12431 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
12432 prototype main and call with args.
12433
12434Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
12435
12436 First real try at system traps for m88k-bug.
12437 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
12438 to real trap calls.
12439 * libc/sys/m88kbug/sys/systraps.h: new file.
12440
12441Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12442
12443 Patches to fix info building when target does not use sys
12444 directory.
12445 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
12446 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
12447 libc/sys.tex.
12448 * libc/sys/Makefile.in (doc): do nothing.
12449
12450Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12451
12452 * libc/Makefile.in (CRT0): new macro.
12453 (all): depend on $(CRT0) rather than crt0.o.
12454
12455 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
12456 do not default crt0, instead, set crt0 and crt0_dir based on
12457 sys_dir and stub_dir.
12458
12459 * Makefile.in (CRT0_DIR): new macro.
12460 (all): depend on $(CRT0) rather than crt0.o which may not exist.
12461 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
12462 $(CRT0).
12463 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
12464
12465Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12466
12467 * testsuite/lib/libm.exp:
12468 added code to support compiling and linking of tests for
12469 libm.sac (paranoia to be added next) and processing the
12470 pass or failure of the tests.
12471
12472 * testsuite/config/unix-libm.exp:
12473 platform specific proc's for dealing with compiler, linker
12474 and the way we execute and process the test results.
12475
12476 * testsuite/libm.sac/execute.exp:
12477 generic framework for the sac tests. the config and lib
12478 expect code for specific platforms tie it all together.
12479
12480 * testsuite/libm.sac/test_is.c:
12481 changed the output of the test to be consistant with the
12482 other tests. parsing of pass nad fail messages is now fixed.
12483
12484Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
12485
12486 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
12487 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
12488 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
12489 #ifdef __cplusplus, surround by extern ""C { ... }.
12490 * libc/include/assert.h: Do *not* protect assert.h against
12491 multiple inclusion! Also, #undef it before #define, to allow
12492 redefinition.
12493 * libc/include/stdio.h (getlogin, cuserid): Removed. These
12494 should be only in unistd.h.
12495
12496 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
12497 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
12498 ... }.
12499
12500Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
12501
12502 * libc/machine/sparc/Makefile.in: Must create a library, even
12503 if empty.
12504
12505Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12506
12507 * configure.in: set machine_dir for m88k. edit crt0 definition
12508 into makefiles.
12509
12510 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
12511
12512 * libc/Makefile.in (all): also build crt0.o.
12513
12514 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
12515 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
12516 to remove CRT0.
12517
12518 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
12519 (all): reworked to build in place.
12520 (clean): remove lib.a
12521 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
12522
12523 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
12524 (_start): key off edata rather than _start_bss.
12525
12526Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
12527
12528 * libc/include/sys/unistd.h, libc/include/reent.h,
12529 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
12530
12531Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12532
12533 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
12534
12535 * Makefile.in (libc.a): break into two rules, one for libc.a and
12536 one for libc/libc.a. Force subdirs current before rebuilding
12537 library.
12538 (libm.a): break into two rules, one for libm.a and one for
12539 libm/libm.a. Force subdirs current before rebuilding library.
12540
12541 * libc/Makefile.in (SUBLIBS): fix typo.
12542
12543 * libc/sys/Makefile.in (all): force descent into subdirs, then
12544 rebuild library iff out of of date.
12545
12546Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12547
12548 Rework so that library is built and then finished rather than
12549 being built on each invocation of make.
12550
12551 * host/any (machine_dir, sys_dir, signal_dir): these are not
12552 shared and have been moved to their associated Makefile.in's.
12553 (AR_FLAGS): switch to qc which is faster.
12554 * configure.in: no longer assign machine_dir for m88k. set
12555 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
12556 stub_dir set, then add to configdirs. add comment about silly
12557 configuration.
12558 (configdirs): drop stub. It will be added only
12559 when needed.
12560 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
12561 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
12562 stub_lib, crt0): new variables for tailoring lower level
12563 makefiles. Assign accordingly and edit into makefiles.
12564 * libm/Makefile.in: updated copyright.
12565 (TARGETLIB): removed.
12566 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
12567 (SUBDIRS): removed TARGETDEP_DIRS.
12568 (LIBM_FP_LIB, SUBLIBS): new macros.
12569 (all): reworked.
12570 (force): new target to force rebuilds.
12571 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12572 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
12573 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
12574 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
12575 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
12576 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
12577 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
12578 stub/m68kmvme/Makefile.in: updated copyright.
12579 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
12580 (all): reworked. made this the default rule.
12581 (clean): also remove lib.a.
12582 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12583 * stub/Makefile.in: updated copyright.
12584 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
12585 (stub_lib): new macro.
12586 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
12587 RANLIB.
12588 (all): reworked.
12589 (clean, install): assume stub_dir exists.
12590 (Makefile): depend on configure.in. call $(SHELL) rather than
12591 sh. drop redundant ./
12592 * stub/configure.in (stublib): new macro, assign it, edit it into
12593 makefiles.
12594 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
12595 updated copyright.
12596 (all): reworked.
12597 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12598 * libc/Makefile.in (TARGETCRT0): removed.
12599 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
12600 TARGETCRT0.
12601 (SUBDIRS): drop TARGETDEP_DIRS.
12602 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
12603 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
12604 (force): new target to force rebuilds.
12605 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
12606 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
12607 removed.
12608 (clean): assume sys_dir always exists.
12609 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
12610 drop redundant ./
12611 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
12612 libc/locale/Makefile.in, libc/machine/Makefile.in,
12613 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
12614 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
12615 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
12616 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
12617 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
12618 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
12619 libc/signal/Makefile.in, libc/stdio/Makefile.in,
12620 libc/stdlib/Makefile.in, libc/string/Makefile.in,
12621 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
12622 libc/time/Makefile.in, libc/unix/Makefile.in,
12623 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
12624 (TARGETLIB): removed.
12625 (all): reworked.
12626 (clean): also remove lib.a.
12627 (Makefile): call $(SHELL) rather than sh. drop redundant ./
12628 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
12629 new macros.
12630 (SUBDIRS): moved to follow frag inclusion, change stub to
12631 stub_dir.
12632 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
12633 are now set in the libc Makefile.
12634 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
12635 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
12636 TARGETCRT0.
12637 (force): new target to force rebuilds.
12638 * stub/configure.in: determine and set stub_lib for for Makefile.
12639
12640Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
12641
12642 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
12643 crt0.s renamed to crt0.S.
12644 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
12645
12646 * libc/machine/h8300/Makefile.in: Make `all' the default target.
12647 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
12648 h8300h.
12649 * libc/machine/h8300/defines.h: Add macros to handle pointers for
12650 h8300 (16 bits) and h8300h (32 bits).
12651 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
12652 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
12653
12654Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
12655
12656 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
12657 implementation of setjmp and longjmp for the m88k.
12658 * libc/include/machine/setjmp.h: Added __m88000__ case.
12659
12660Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
12661
12662 * configure.in: Recognize h8300h as variant of h8300.
12663
12664Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12665
12666 * libc/include/sys/unistd.h (read, write): get prototypes right.
12667 (sbrk): New prototype.
12668 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
12669 * libc/stdio/local.h: Include unistd.h.
12670 * libc/machine/h8300/syscalls.c: Names have changed.
12671
12672Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
12673
12674 * configure.in: add sys_dir assignment for m88k-bug.
12675
12676Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
12677
12678 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
12679 a.out or elf.
12680 * libc/sys/sparc64: all *.S files: Use new macros.
12681 * libc/sys/sparc64/isatty.c: New file.
12682 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
12683 functions beyond what newlib provides.
12684
12685Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
12686
12687 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
12688 svr4.
12689
12690Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
12691
12692 * libc/include/machine/ieeefp.h: Add support for h8/300h.
12693
12694Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
12695
12696 * configure.in: add m88k.
12697 * libc/include/machine/ieeefp.h: add case for m88k. Also add
12698 sanity check so no one else need ever chase what I did to find
12699 this.
12700
12701 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
12702
12703Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
12704
12705 * doc/makedoc.c: Include <ctype.h>.
12706
12707Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
12708
12709 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12710 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12711 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
12712
12713 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
12714
12715Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
12716
12717 * libc/include/errno.h (ENOSYS): Added.
12718
12719 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
12720
12721Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12722
12723 * libc/stdio/fflush.c (fflush): Check for reent struct
12724 initialization.
12725 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
12726
12727Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
12728
12729 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
12730 out of dtoa.c so it doesn't pollute the namespace.
12731 * libc/include/_syslist.h: new file -- mappings from _function to
12732 function, for systems where we can't win (by default, all of them,
12733 until we start updating system calls.)
12734 * libc/syscalls: new directory -- stubs for exporting _function
12735 names as unmodified function names.
12736 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
12737 _syslist.h on all platforms by default, but put hooks in for
12738 fake_sys_dir so we can include it when we've renamed the system
12739 calls.
12740 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
12741 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
12742 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
12743 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
12744 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
12745 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
12746 non ANSI functions to call _function.
12747
12748Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
12749
12750 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
12751 when base 16 is specified. Don't accept non-digits if radix > 10.
12752
12753Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
12754
12755 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
12756
12757Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
12758
12759 * libc/include/sys/stat.h: Surround text after #endif with
12760 comments.
12761
12762Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
12763
12764 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
12765 _malloc_r, _realloc_r, and free_r call the corresponding
12766 non-reentrant functions.
12767
12768 * libm/math/modf.c (modf): We now take the address of ipart, so
12769 don't make it a register variable.
12770
12771Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
12772
12773 * libm/math/*: Rename all xxx_r fns to _xxx_r.
12774
12775Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
12776
12777 * libc/libc.texinfo and embedded docn throughout: formatting
12778 improvements, minor rephrasing for clarity, and improved
12779 reentrancy docn.
12780
12781Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12782
12783 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
12784
12785 * libc/stdio/cvt.c (_licvt): Print the right value on machines
12786 where sizeof(int) != sizeof(long).
12787
12788Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
12789
12790 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
12791 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
12792 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
12793 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
12794 libm/math/matherr.c: changes for better docn formatting (info).
12795
12796 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
12797 libc/reent/reent.tex, libc/signal/signal.tex,
12798 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
12799 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
12800 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
12801 makeinfo node defaulting to get better Info file node structure.
12802 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
12803 Also include a few formerly missing sections (subroutines).
12804
12805 * doc/doc.str: delete fossil expansion for "func"
12806
12807 * default.menu, no-signal.menu: delete.
12808
12809 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
12810 method used to adjust doc for missing "signals" chapter when
12811 signal_dir is empty.
12812
12813Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12814
12815 * configure.in: added testsuite/libm.sac
12816
12817Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
12818
12819 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
12820 code model).
12821
12822Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
12823
12824 * libm/Makefile.in: Use $(MAKE) rather than make, and define
12825 MAKEOVERRIDES to be empty.
12826
12827Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
12828
12829 * configure.in: Don't build mips-*-* with -msoft-float, since that
12830 makes it incompatible with hard floating point.
12831
12832Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12833
12834 * Makefile.in: added recursive 'make check'
12835
12836Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12837
12838 * configure.in: added ./testsuite ./testsuite/libm.paranoia
12839 * ./testsuite/Makefile.in: created
12840 * ./testsuite/libm.paranoia: paranoia tests added
12841
12842Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
12843
12844 * configure.in: For mips-*-* set machine_dir to mips.
12845
12846 * libc/machine/mips: New directory.
12847 * libc/machine/mips/Makefile.in: New file.
12848 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
12849 setjmp and longjmp.
12850 * libc/include/machine/setjmp.h: Added __mips__ case.
12851
12852 * libc/machine/lmips: Removed unused and useless directory.
12853
12854Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
12855
12856 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
12857
12858Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
12859
12860 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
12861 start up).
12862
12863Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
12864
12865 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
12866 SETJMP_H.
12867
12868Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
12869
12870 * libm/test/convert.c: structure member errno -> errno_val.
12871 Must include <errno.h> to use errno, it's a macro now.
12872 * libm/test/math.c: Ditto.
12873 * libm/test/math2.c: Include errno.h.
12874 * libm/test/string.c: Ditto.
12875 * libm/test/test.h: structure member errno -> errno_val.
12876 Remove extern int errno decl.
12877
12878Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
12879
12880 * libc/stdio/Makefile.in: Added dependencies on local header
12881 files.
12882 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
12883 files.
12884
12885Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
12886
12887 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
12888
12889Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
12890
12891 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
12892 Initialize _data.
12893
12894 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
12895 * libc/stdio/local.h: Add prototype for _licvt.
12896
12897 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
12898 instead of malloc,reealloc.
12899
12900 * libc/stdlib/local.h: New file.
12901 * libc/stdlib/efgcvt.c: #include local.h.
12902 (gcvt): Fix call to _gcvt.
12903 * libc/stdlib/ecvtbuf.c: #include local.h.
12904
12905 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
12906 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
12907 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
12908
12909 * libc/stdlib/atexit.c: moved global data to struct _reent.
12910 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
12911
12912 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
12913
12914Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
12915
12916 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
12917 here from ../reent.h.
12918
12919Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
12920
12921 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
12922 should be provided in both libc.a and libm.a.
12923 (libc.a): Depend on targ-include and libm.a. Copy
12924 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
12925 (libm.a): Depend on targ-include.
12926 * configure.in (subdirs): Removed libc/math.
12927
12928Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12929
12930 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
12931
12932Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
12933
12934 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
12935 sys/reent.h instead of reent.h.
12936 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
12937 headers moved to sys/reent.h.
12938 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
12939 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
12940 __need__MAX_SIGNALS defined.
12941 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
12942 std{in,out,err} refer to new _std{in,out,err} members.
12943
12944Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
12945
12946 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
12947 case.
12948
12949Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
12950
12951 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
12952 rather than whatever macro seterrno() has.
12953
12954Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
12955
12956 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
12957 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
12958
12959 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
12960 __STDC__.
12961
12962 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
12963 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
12964 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
12965
12966 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
12967 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
12968
12969 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
12970 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
12971 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
12972 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
12973 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
12974 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
12975 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
12976 renamed to _xxx_r. struct reent_struct renamed to struct _reent
12977 for ANSI. structure members given leading "_" for ANSI. Use
12978 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
12979
12980 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
12981 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
12982 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
12983 reent_struct renamed to struct _reent for ANSI.
12984 Structure members given leading "_" for ANSI.
12985 _CONST --> const in prototypes.
12986 Use _HAVE_STDC instead of __STDC__.
12987
12988 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
12989 _xxx_r.
12990 struct reent_struct renamed to struct _reent for ANSI.
12991 Structure members given leading "_" for ANSI.
12992
12993 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
12994 _xxx_r.
12995 struct reent_struct renamed to struct _reent for ANSI.
12996
12997 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
12998 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
12999 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
13000 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
13001 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
13002
13003 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
13004 signal.h, stdio.h, stdlib.h, string.h, time.h}:
13005 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
13006 #ifndef _STRICT_ANSI non-ANSI routines.
13007 Reentrant routines renamed from _r_xxx to _xxx_r.
13008 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
13009 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
13010 Clean up namespace (structure members have leading "_").
13011 struct reent_struct renamed to struct _reent for ANSI compliance.
13012 _CONST --> const in function prototypes.
13013
13014 * libc/include/string.h: Add NULL and size_t.
13015
13016 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
13017 unlink, wait, wait4. Reentrant syscall routines close, fork,
13018 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
13019 write.
13020 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
13021 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
13022 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
13023 write.S}: Define reentrant versions.
13024 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
13025 reentrant syscalls.
13026
13027 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
13028
13029 * libc/include/stdlib.h (RAND_MAX): Fix value.
13030
13031Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
13032
13033 * libc/sys/a29khif/_main.c: Removed unnecessary file.
13034 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
13035 VPATH support targets after all: target.
13036
13037 * stub/mvme135/mvme.S: Renamed exceptionhandler to
13038 exceptionHandler, which is what mvme135-stub.c expects.
13039
13040Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
13041
13042 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
13043
13044 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
13045 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
13046 compliant).
13047
13048Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
13049
13050 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
13051 first.
13052 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
13053 _r_write): Ditto.
13054 libc/reent/fstatr.c (_r_fstat): Ditto.
13055 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
13056 libc/reent/sbrkr.c (_r_sbrk): Ditto.
13057 libc/reent/statr.c (_r_stat): Ditto.
13058
13059 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
13060 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
13061 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
13062 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
13063 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
13064 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
13065 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
13066 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
13067 (__swrite): Ditto for _r_lseek, _r_write.
13068 (__sseek): Ditto for _r_lseek.
13069 (__close): Ditto for _r_close.
13070 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
13071
13072 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
13073 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
13074
13075 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
13076 to make reent_struct the first argument (and thus consistent with
13077 the rest of newlib).
13078
13079 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
13080 reference to __STDC__.
13081
13082Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
13083
13084 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
13085 global __cleanup.
13086
13087Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
13088
13089 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
13090 first.
13091 libc/stdio/fclose.c (fclose): Ditto.
13092
13093Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
13094
13095 * Run through indent and rename reentrant routines for ANSI.
13096 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
13097 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
13098 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
13099 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
13100 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
13101 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
13102 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
13103 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
13104 vsprintf.c wbuf.c wsetup.c local.h}
13105
13106 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
13107
13108 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
13109 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
13110 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
13111 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
13112 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
13113 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
13114
13115 * Run through indent.
13116 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
13117 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
13118 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
13119 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
13120 strxfrm.c}
13121
13122 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
13123 localtime.c mktime.c strftime.c time.c}:
13124 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
13125
13126 * Reformatting + renaming (for ANSI, GNU style, consistency).
13127 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
13128 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
13129 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
13130
13131Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
13132
13133 * libc/include/stdio.h (stdin_r): Fix.
13134
13135Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
13136
13137 * Makefile.in: Unexport some variables to keep GNU make from
13138 putting them in the environment and using up needed ARG_MAX space
13139 (a hack is used to let this work with older makes as well).
13140
13141Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
13142
13143 * Makefile.in: Use $(MAKE) rather than make.
13144 (MAKEOVERRIDES): Define to be empty.
13145 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
13146 (libc.a, libm.a): Depend on targ-include.
13147 * host/any (LD): Don't define.
13148 (INCLUDES): Use targ-include.
13149 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
13150 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
13151 * libc/Makefile.in: Use $(MAKE) rather than make.
13152 (MAKEOVERRIDES): Define to be empty.
13153 (FLAGS_TO_PASS): Don't pass LD (it's not used).
13154 (all): Rewrote to be slightly smaller.
13155 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
13156 Define to be empty.
13157 (FLAGS_TO_PASS): Don't pass LD (it's not used).
13158 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
13159
13160Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
13161
13162 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
13163 with errno/errno.c.
13164
13165Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
13166
13167 * Changes for reentrancy.
13168 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
13169 Use ptr->_errno, not errno.
13170 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
13171 libc/stdio/remove.c (remove_r): New function.
13172 libc/stdio/rename.c (rename_r): New function.
13173 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
13174 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
13175 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
13176 reentrant versions of system calls.
13177 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
13178 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
13179 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
13180 libc/stdio/findfp.c: Include <string.h>.
13181 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
13182 "local.h".
13183 libc/stdio/wbuf.c: Include "fvwrite.h"
13184
13185 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
13186 <string.h>.
13187 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
13188 (NULL): Don't define if already defined.
13189 libc/stdlib/system.c: Call reentrant versions of system calls.
13190 (system_r): New function.
13191
13192 * Changes for reentrancy.
13193 libc/include/_ansi.h (_PARAMS): New macro.
13194 libc/include/errno.h: Define errno as a macro that calls __errno.
13195 (__errno_r): New macro for reentrant code.
13196 libc/include/math.h: Include reent.h. Declare many reentrant
13197 functions.
13198 (signgam): Now a macro, not a variable.
13199 (struct exception): Added err field.
13200 libc/include/reent.h: Don't declare __sglue. Added function
13201 declarations.
13202 (struct reent_struct): Moved errno to beginning. Added _signgam.
13203 libc/include/stdio.h, libc/include/stdlib.h: Added function
13204 declarations.
13205
13206 * More reentrancy hacking.
13207 libc/errno/errno.c (__errno): New function.
13208 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
13209 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
13210 files.
13211
13212 * Added many new reentrant functions to libm/math/*.
13213 libm/math/error.c (__matherror): Added reent_struct pointer
13214 argument. Changed all callers.
13215 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
13216 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
13217 libm/math/tan.h: Removed obsolete unused header files.
13218
13219 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
13220
13221 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
13222
13223Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13224
13225 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
13226 delay slots.
13227
13228Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13229
13230 * libc/libc.texinfo: comment out reentrancy chapter (duh)
13231
13232Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13233
13234 * libc/reent/reent.tex: New file. (text from
13235 newlib/libc/libc.texinfo)
13236 * libc/stdio/tmpnam.c: fixed doc typo
13237 * libc/stdlib/rand.c: fixed doc typo
13238
13239Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13240
13241 * libc/reent/reent.tex: New file. (text from
13242 newlib/libc/libc.texinfo)
13243
13244Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13245
13246 support for reentrancy
13247 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
13248 new files
13249 * libc/errno/errno.c, libc/include/ieeefp.h,
13250 libc/include/locale.h, libc/include/reent.h,
13251 libc/include/signal.h, libc/include/stdio.h,
13252 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
13253 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
13254 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
13255 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
13256 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
13257 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
13258 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
13259 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
13260 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
13261 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
13262 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
13263 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
13264 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
13265 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
13266 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
13267 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
13268 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
13269 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
13270 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
13271 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
13272 libc/time/strftime.c: modify to provide reentracy.
13273
13274 new routines:
13275 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
13276 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
13277 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
13278 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
13279 mstats_r, realloc_r, localeconv_r, setlocale_r
13280
13281Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
13282
13283 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
13284 libc/include/sys/config.h, libc/include/sys/signal.h,
13285 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
13286 provided macros (such as m68000), use the ansi version
13287 (__m68000__) so that the library can be used with code compiled
13288 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
13289 and sparc.
13290
13291Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
13292
13293 * configure.in (sparc*): Don't set -fsoft-float for sparc
13294 configurations. Do set -fsoft-float for sparclite configurations.
13295
13296Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
13297
13298 * default.menu, no-signal.menu: alternate forms of libc main menu
13299 (in newlib rather than newlib/libc due to configuration restrictions)
13300
13301 * configure.in: select one of the two menus above, link to
13302 libc.menu
13303
13304 * libc/libc.texinfo: include menu from separate file
13305
13306Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
13307
13308 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
13309 (info): Split long shell command in half.
13310 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
13311 sub-makes, just CHEW and TARGETDOC.
13312 (targetdep.tex): Removed now special handling of sys and machine
13313 subdirectories, made obsolete some time ago.
13314 * libc/machine/Makefile.in (doc): Don't pass everything to
13315 sub-make, just CHEW and TARGETDOC.
13316 (Makefile): New target.
13317 * libc/sys/Makefile.in (Makefile): New target.
13318
13319Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
13320
13321 * Makefile.in (here and most subdirectories): Only pass down CHEW
13322 and TARGETDOC when making info, not for other targets.
13323
13324 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
13325 $(AR_FLAGS) rather than $(ARUPDATE).
13326
13327Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
13328
13329 * Try to reduce command line length:
13330 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
13331 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
13332 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
13333 (info): Pass CHEW to other subdirs.
13334
13335Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
13336
13337 * configure.in: add signal_dir, like unix_dir, but by default it
13338 is set to "signal" so that a29khif can turn it off (since a29khif
13339 has raise() as part of machine-specific signal.s.)
13340
13341Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13342
13343 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
13344 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
13345 correctly.
13346 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
13347 libc/stdio/vfprintf: type lint.
13348 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
13349 initialzation code.
13350 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
13351
13352Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
13353
13354 * stub/mvme135/mvme135-asm.S: new file.
13355 stub/mvme135mvme135-stub.c: moved all assembler routines into
13356 mvme135-asm.S.
13357 stub/mvme135/Makefile.in: build mvme135-stub.o.
13358
13359Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
13360
13361 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
13362 sub-Makefiles instead, to try to avoid line length limitations.
13363
13364Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
13365
13366 * libc/include/unistd.h (read, write): Use void* instead of
13367 char*.
13368
13369Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
13370
13371 * stub/go32/resetpc: sample script to send a reset packet to the
13372 stub
13373
13374 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
13375 DOS environment, which compiles with Turbo C.
13376
13377 * stub/go32/DSER32.LNK: new file, linker commands for serial
13378 remote stub.
13379
13380 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
13381 start up message to identify version; call set_debug_traps.
13382
13383 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
13384 keyboard interaction); call handle_exception() in go_til_stop,
13385 rather than return, so that the remote stub gets control.
13386
13387 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
13388 rename, rather than mv), set flags that work with current Turbo C,
13389 including using the /3 flag; also, add commands to build dser32.
13390
13391 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
13392 default Turbo C installation (\tc rather than \usr)
13393
13394 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
13395 "&..."
13396
13397Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13398
13399 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
13400
13401Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13402
13403 * libc/stdio/cvt.c (licvt): new function to convert ints when
13404 sizeof(int) != sizeof(long).
13405
13406 * libc/include/stdio.h: added prototype for iprintf.
13407 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
13408
13409Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
13410
13411 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
13412 __REGISTER_PREFIX__.
13413
13414Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
13415
13416 * libc/sys/m68kbare: moved into stub directory.
13417
13418Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
13419
13420 * configure.in, Makefile.in: created new directory stub, to hold
13421 sample code for specific targets.
13422
13423Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
13424
13425 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
13426 in the unified libc/include/sys/fcntl.h.
13427
13428Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
13429
13430 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
13431 printed .01, not 0.01.
13432
13433Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
13434
13435 * configure.in: compile with -m68000 for m68* targets.
13436
13437Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
13438
13439 * libm/math/remainder.c (remainder): document the svr4 and sunos
13440 references used to construct the function.
13441
13442Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
13443
13444 * libm/math/remainder.c (rint, remainder): fix old typos.
13445 * libm/math/Makefile.in: actually build remainder.c (functions
13446 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
13447 page.)
13448
13449Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
13450
13451 * libc/string/bcopy.c: BSD version works on overlapping strings,
13452 so ours should too.
13453
13454 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
13455 ("SHELL").
13456
13457Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
13458
13459 * Makefile.in (docs): new target.
13460
13461Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
13462
13463 * libc/include/sys/times.h: define clock_t as required by POSIX.
13464 libc/include/time.h: protect clock_t from multiple definitions.
13465
13466Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13467
13468 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
13469 does not need more than the original three iterations to get
13470 within 1 ulp. (Paranoia tests for rounding to better than that,
13471 but further iterations *don't* help, only more subtle changes
13472 can.)
13473
13474Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
13475
13476 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
13477 were doing nothing useful.
13478
13479Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
13480
13481 * configure.in: define MALLOC_PROVIDED for vxworks targets;
13482 removed sys_dir settings of vxworks68 and vxworks960.
13483 host/any: don't pass -nostdinc to gcc, since newlib no longer
13484 provides all required header files.
13485
13486 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
13487 is not defined; this provides a hook for VxWorks.
13488
13489Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13490
13491 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
13492 buffer if buf is NULL, don't do it here -- it is already being
13493 done by makebuf elsewhere in stdio.
13494
13495Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
13496
13497 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
13498 that C programs can call functions without using initial
13499 underscores.
13500
13501Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
13502
13503 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
13504
13505Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
13506
13507 * configure.in: set TARGET_CFLAGS for certain CPU types to
13508 -msoft-float.
13509
13510Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13511
13512 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
13513
13514Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
13515
13516 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
13517 m68k*-unknown-coff.
13518
13519Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
13520
13521 * libc/include/stdio.h: define __need___va_list before including
13522 <stdarg.h>, to avoid defining va_arg, et. al.
13523
13524Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
13525
13526 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
13527 (don't cd to the user's home directory).
13528
13529 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
13530 In general this is the wrong thing to do, but I can't get around
13531 GNU make's insistence on passing command line arguments any other
13532 way.
13533
13534Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
13535
13536 * configure.in: always configure the libc/sys directory, since it
13537 now provides a required documentation file.
13538
13539 * Makefile.in: replaced all instances of $(MAKE) with make. In
13540 general this is the wrong thing to do, but I can't get around GNU
13541 make's insistence on passing command line arguments any other way.
13542
13543Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
13544
13545 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
13546 terminated.
13547
13548 * libc/stdio/local.h: include <stdarg.h> to define va_list.
13549 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
13550
13551 * libc/include/float.h, libc/include/stdarg.h,
13552 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
13553 versions instead.
13554 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
13555 <stdarg.h>, not from <machine/types.h>. Protect definition of
13556 NULL.
13557 libc/include/time.h: get size_t from stddef.h. Protect definition
13558 of NULL.
13559 libc/include/machine/limits.h: override gcc <limits.h> by defining
13560 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
13561 get correct INT_MIN and LONG_LONG values.
13562 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
13563 size_t or va_list at all; they're now gotten from stddef.h
13564 instead.
13565 libc/include/machine/varargs.h: removed; use gcc version instead.
13566 libc/include/sys/types.h: explicitly include <machine/types.h>.
13567
13568 * libm/math/sqrt.h: using the fp-bit routines appears to require
13569 more iterations.
13570
13571 * Makefile.in, host/any: let system include files override machine
13572 include files.
13573
13574Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13575
13576 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
13577 override _*_T_ definitions defaulted here.
13578
13579Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
13580
13581 * Makefile.in (install): install the include files in
13582 $(tooldir)/include, not $(exec_prefix)/include.
13583
13584Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
13585
13586 * Makefile.in (install): fixed typo, and changed install to not
13587 force rebuild of libc.a and libm.a.
13588
13589Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
13590
13591 * libc/sys/a29khif/*: Changed all .include's to include
13592 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
13593 that they will be installed for the user.
13594
13595 * Makefile.in (all): create targ-include, a directory holding the
13596 machine and system specific header files during the build.
13597 (install): fixed installation of machine and system specific
13598 header files.
13599
13600 * Makefile.in: fixed comment.
13601 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
13602 we can pass $(INCLUDES) to it.
13603
13604Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
13605
13606 * libc/include/sys/param.h: new generic file, which may be
13607 overridden for specific systems.
13608
13609 * libc/include/sys/signal.h: define all ANSI signal names, and
13610 NSIG (which is not ANSI) for a29k.
13611
13612Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
13613
13614 * Makefile.in: don't pass down arguments the lower level makes
13615 will not need.
13616 * libc/Makefile.in: recurse directly, rather than using subdir_do,
13617 in hopes of avoiding argument length limits.
13618 * libm/Makefile.in: recurse directly, rather using subdir_do, in
13619 hopes of avoiding argument length limits.
13620
13621Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
13622
13623 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
13624 mode_t is defined.
13625
13626Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
13627
13628 * Fixed make info and make install-info for newlib, changing most
13629 Makefile.in and several *.tex files. Moved doc directory from
13630 libc to top level.
13631
13632 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
13633 Should be rewritten.
13634
13635 * libc/string/strings.tex: renamed node index to node index
13636 function, so that it does not conflict with the top level index
13637 node.
13638
13639 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
13640
13641Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
13642
13643 * Overhauled general configuration for newlib. Eliminated all
13644 target dependent Makefile fragments. Create libraries in newlib
13645 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
13646 than CROSS_CC, et. al. Broke make docs; will fix later.
13647
13648 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
13649 Should be rewritten.
13650
13651Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
13652
13653 * libc/configure.in: cleaned up somewhat; switch on ${target}
13654 rather than ${target_alias}.
13655 * libm/configure.in: cleaned up somewhat; switch on ${target}
13656 rather than ${target_alias}.
13657
13658 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
13659 * libc/include/ctype.h: marked _ctype_ as _CONST.
13660
13661 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
13662 _CONST.
13663
13664 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
13665 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
13666 libc/stdio/gets.c (gets): removed non-ANSI warning message.
13667 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
13668
13669 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
13670 bigtens, tinytens): marked arrays _CONST.
13671 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
13672 rather than a static variable.
13673
13674 * libc/time/asctime.c (asctime), libc/time/localtime.c
13675 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
13676 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
13677 mname_len, mname): Marked static arrays _CONST.
13678
13679 * libm/math/gamma.h: made local variables non-static.
13680
13681 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
13682 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
13683 _CONST.
13684
13685 * libm/math/constants.c: removed file, because the constants it
13686 defined were never referenced.
13687 libm/math/Makefile.in: removed references to constants.c.
13688 libm/math/mathimpl.h: removed declarations of constants.
13689
13690Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
13691
13692 * libc/include/machine/varargs.h: only call __builtin_saveregs if
13693 it is sensibly defined in libgcc2. Checks preprocessor defines,
13694 which is not a good solution.
13695
13696 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
13697
13698 * libm/frexp.c: handle denormalized numbers as arguments.
13699
13700 * libm/math/Makefile.in: added some dependencies for .c files
13701 which include local .h files.
13702
13703Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
13704
13705 * libc/configure.in: set target_alias for OSE*. Replace
13706 target_makefile_frag if it is blank.
13707
13708 * libc/Makefile.in: make sure everything is passed to subsidiary
13709 makes; create all directories when installing.
13710
13711 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
13712 CROSS_ARUPDATE instead of AR.
13713
13714 * libm/configure.in: set target_alias for OSE*. Replace
13715 target_makefile_frag if it is blank.
13716
13717 * libm/Makefile.in: make sure everything is passed to subsidiary
13718 makes; create all directories when installing.
13719
13720Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
13721
13722 * add following change from libc copy.
13723
13724Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13725
13726 * libc/libc.texinfo: make copyright disclaimers appear on back of
13727 title page; make format of same slightly less ugly; avoid using
13728 underbars in section headings (avoids nasty texinfo bug in table
13729 of contents).
13730
13731 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
13732 comments only) avoid using underbars in section headings
13733
13734 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
13735 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
13736 changes in comments only): shorten headings ieeefp/infinity.c,
13737 ieeefp/isnan.c: (doc, comments only) more informative headings
13738
13739 * libc/math/bessel.c: (doc, comments only) shorten heading
13740
13741 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
13742 (doc, comments only) shorten headings
13743
13744 * libc/time/localtime.c (doc, comments only): shorten headings
13745
13746 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
13747 isnan
13748 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
13749 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
13750 headings
13751 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
13752 only) more informative headings
13753 * libm/math/bessel.c: (doc, comments only) shorten heading
13754
13755Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13756
13757 * .../Makefile.in: use CROSS_ARUPDATE consistently.
13758 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
13759 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
13760 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
13761 defined, the one from the .mt file will be correct.
13762 * libc/include/machine, libc/include/sys: created, and populated
13763 with common files from machine/*/machine. ifdefs were used for
13764 most, typically by handling exceptions first and then filling in
13765 defaults. Files with D.J. Delorie copyright #included rather than
13766 copied. Most files in include/sys really were the same in the
13767 original.
13768 * libc/include/...: cleaned up use of _EXFUN.
13769 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
13770 it with double quotes, not angles.
13771
13772Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
13773
13774 * libc/Makefile.in: always create installation directories.
13775
13776Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13777
13778 * libc/configure.in: handle host properly (using canonical
13779 triples), better error message for the case of target not found
13780
13781Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
13782
13783 * libc/Makefile.in (insincdir): Ensure this directory exists
13784 before attempting installation.
13785
13786Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13787
13788 * libc/stdlib/assert.c: now calls abort like it should
13789 * libc/sys/a29khif: many many patches for 29khif work
13790 * libc/machine/i386: gnulib2 expanded there.
13791
13792Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13793
13794 Added accurate fp conversion routines to stdlib, moved dcvt from
13795 stdio to stdlib and called it ecvtbuf:
13796 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
13797 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
13798 routines
13799 * libc/libc.texinfo: Modifed to include the copyright info from
13800 the mprec files
13801 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
13802 * libc/test/ : many vector which tested for the implementation
13803 defined returns of strange conversion requests have been updated
13804 to relflect the new implementation
13805
13806Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13807
13808 * libc/libc.texinfo: new chapter on variable arg lists
13809 (stdarg.h/varargs.h)
13810 * libc/libc.texinfo: new title
13811 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
13812 (doc only) shorter headings for better formatting.
13813
13814Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13815
13816 * libc/libc.texinfo: three more info menu entries
13817 * libc/locale/locale.tex: new chapter
13818 * libc/locale/locale.c: new doc for setlocale, localeconv
13819 * libc/locale/Makefile.in: use new locale doc
13820 * libc/signal/signal.tex: new chapter
13821 * libc/signal/raise.c, libc/signal/signal.c: new doc
13822 * libc/signal/Makefile.in: use new doc
13823 * libc/time/time.tex: new chapter
13824 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
13825 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
13826 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
13827 * libc/time/Makefile.in: use new doc
13828
13829Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13830
13831 * libm/math/log1p.c: split to use the new function way of float
13832 function definition. math/log1p.h deleted
13833 * libm/math/scalb.c: obsolete and deleted
13834 * libm/math/scalbn.c: created from part log1p.c
13835 * libm/math/Makefile.in: know about log1p and scalbn
13836
13837Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13838
13839 * libc/ctype/isupper.c: revise doc;
13840 libc/ctype/ctype.tex: use doc from isupper.c
13841
13842 * libc/string/bzero.c: new doc
13843
13844Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
13845
13846 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
13847 new doc
13848 * libc/stdlib/Makefile.in: extract new doc
13849 * libc/stdlib/stdlib.tex: use new doc
13850
13851 * libc/string/strerror.c: expanded doc.
13852
13853 * libc/stdio/Makefile.in: extract doc from more files
13854 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
13855 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
13856 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
13857 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
13858 libc/stdio/vsprintf.c: new doc
13859 * libc/stdio/stdio.tex: use new doc
13860
13861Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13862
13863 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
13864 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
13865 finitef functions.
13866 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
13867 time ago.
13868
13869 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
13870 * libc/stdio/setbuf.c: added ansi style definition.
13871 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
13872 buffer if none provided.
13873 * libc/stdio/tmpfile.c: lint
13874 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
13875 rather than using static, also make sure file isn't already
13876 present. Uses P_tmpdir. (tempnam): rewritten to use new
13877 subroutine, and uses P_tmpdir.
13878 * libc/stdio/siprintf.c: created
13879
13880Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13881
13882 Release 1.03 for NEC, major mods. Main differences from release
13883 1.02::
13884
13885 More tests in test/:
13886 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
13887 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
13888 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
13889 get/set mask, get/set sticky and get/set roundtoi. Tests
13890 that setting the bits changes the way arithmetic is done.
13891 * string.c: added test to make sure memcmp does it with unsigned
13892 chars.
13893 * test.c: cleaned up and removed lint.
13894 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
13895 dvec.c: tests for string to value conversions, sprintf, scanf,
13896 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
13897 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
13898 rounding in sprintf too.
13899 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
13900 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
13901 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
13902 and function form.
13903 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
13904 powf
13905
13906 In the library:
13907 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
13908 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
13909 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
13910 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
13911 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
13912 than sprintf.
13913 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
13914 * Method of producting float versions of double functions has
13915 changed, functions will be modified gradually. So far:
13916 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
13917 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
13918 altered
13919 * libc/string/memcmp.c: now uses unsigned chars
13920 * libc/string/bcmp.c, libc/string/strcpy.c,
13921 libc/stsring/strxfrm.c: fixed doc
13922 * libc/sys/sysvnecv70.tex: fix example of sbrk code
13923\f
13924Local Variables:
13925version-control: never
13926End:
This page took 1.73645 seconds and 5 git commands to generate.